Configuring Tomcat 6 Server on Plesk for Windows - tomcat6

I've windows 2008 R2 Server with Plesk 11.0.9 installed. Plesk has inbuilt version of Tomcat 5.5 and which is working fine. Now we want to update Tomcat Server and we have installed Tomcat 6 in the same directory where previous version is installed. Then we start Tomcat 6 Service and stopped Tomcat 5.5 service. We also restarted the server but still in plesk panel in server component it shows Tomcat 5 version and Tomcat 5 service is running :( , no luck with tomcat 6.
I google it and every where i only see tomcat 6 installation for Plesk with Linux server nothing for Plesk for Windows. Not even on Plesk forum.
We require to install konacart and for this we require tomacat 6, please help me.

First of all, you have to backup "C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat" folder to "C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat5.5"(for example).
Stop Tomcat service.
Than unzip apache-tomcat-6.0.36-windows-x86.zip to "C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat" with overwriting content.
Than replace server.xml file from old Tomcat 5.5 folder("C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat5.5\conf\server.xml") to folder with Tomcat 6.0 "C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat\conf\server.xml"
Than update key "ImagePath" in registry HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\Tomcat5\ to "C:\Program Files (x86)\Parallels\Plesk\Additional\Tomcat\bin\tomcat6.exe"
//RS//Tomcat5 (Tomcat5 here it's just service name )
Start Tomcat service.
I have tested this configuration with *.war applications and it's working for me.
Also there was error message like "TomcatManager::installVHost "Can't find Engine PSA" - it's because I don't use server.xml from Tomcat 5.5

Related

Cannot succesfully install TimescaleDB on Postgres 10 (Windows Server 2016)

I am having trouble getting TimescaleDB to work on my windows server 2016 machine with Postgres 10.
I open up a fresh windows server 2016 instance with AWS and I install Postgres using the windows GUI installer. (C:\Postgres).
The installer automatically updates the path to include the bin directory (C:\PostgreSQL\pg10\bin).
I stop postgres.
I run the TimescaleDB windows installer file and it says it's successfully completed.
I update the conf file. (shared_preload_libraries = 'timescaledb').
I restart my computer and start postgres, but postgres never sucessfully starts. The windows event yells at me, saying I 2018-03-29 17:01:35 UTC [952]: [1-1] user=,db=,app=,client= FATAL: could not load library "C:/POSTGR~1/pg10/../pg10/lib/postgresql/timescaledb.dll": The specified module could not be found.
Any idea whats going on?
This may be related to https://github.com/timescale/timescaledb/issues/485#issuecomment-377533298 which is caused by a missing dependency, Visual C++ Redistributable for Visual Studio 2015.

Fatal error occured upon installing weblogic server 11g 10.3.6 (jar) on windows 7

Error appears when running jar file
I want to install Oracle form developer 11g, for that i have to install Weblogic server 11g but it gives fatal error upon installing , jdk 1.7.0_80 64 bit installed.Snap is attached for reference...can any one help me finding the solution? Thanks in advance
Solved the issue by deleting oracle and java instances because i have install jdk 1.7 and oracle developer 10g contains jdk 1.4,so there is an issue in java versions..because of that when i run weblogic.jar file,it gives an error
Check your java version. 1.7.0_11
Run cmd as Adminsnitrator
%JAVA_HOME%\bin\java -Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m -jar wls1036_generic.jar -mode=GUI -log=wlslog.log

Solr - Solr Deployment not showing in Jboss

I have Jboss 7 running in Linux system. and I had deployed Solr 3.5 in it. It was working fine before.
After some days, Today when I started jboss 7 , it does not start my solr 3.5 . my sorl.war file exist at jboss-as-web-7.0.2.Final/standalone/deployments/
such issue also occured some times before, when my war deployment shows solr.war.failed in deployments. and i was able to resolve it by just moving / renaming that file.
But currently I am unable to deploy my was file and not showing as running when I start Jboss.
Below is response when i start jboss
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /opt/jboss-as-web-7.0.2.Final
JAVA: /usr/lib/jvm/jdk1.7.0_40/bin/java
JAVA_OPTS: -Xms64m -Xmx512m -XX:MaxPermSize=256m
-Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
=========================================================================
I also tried by creating war file again and again deploy it.
Please help me to resolve this issue. how can i make it running??
Thanks
Make sure your solr.war is placed in jboss-as-web-7.0.2.Final/standalone/deployments/ and add an empty file named solr.war.dodeploy right next to the war.. If the deploy fails, copy the full stacktrace of the error.

Tomcat issue - Unable to start server

Publishing to Tomcat v 6.0 Server at localhost...has encountered a
problem.Removing obsolete files from server...
I get this message whenever I try to start the server. Why?

Solr in TomCat on Windows Server 2008 R2 - Solr doesn't start automatically

I have followed this guide to install Solr in TomCat running on Windows Server 2008 R2.
http://drupal.org/node/1359598
As described in step 6 of the guide I can run Solr from the command line using the following:
java -Dsolr.solr.home=c:/solr/ -jar start.jar
As expected I can now see Solr at http://localhost:8983/solr/
If I reboot the server Solr does not start automatically. I have to run the start.jar file via the command line as shown above.
I have tried adding the following to the Java Options in the Configure TomCat UI.
-Dsolr.solr.home=c:\solr
This doesn't work. The only way I can run Solr is to use the command line. I'm sure that this is a simple problem to resolve but I can't work it out. Does anyone have any idea what I've configured incorrectly?
My technology stack is:
JRE 7
TomCat 7.0
Solr 3.6.0
Windows Server 2008 R2 (IIS 7.5)
Default servlet container in solr is jetty, not tomcat. So when you are running java -jar start.jar you are starting jetty.
Please refer to the following doc on running solr with tomcat .
Once you have done this, to start tomcat as a service that automatically restarts follow this doc http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html

Resources