" /> SCI and Tomcat 5.5 running as a windows service? - Genesys CTI User Forum

Author Topic: SCI and Tomcat 5.5 running as a windows service?  (Read 14720 times)

Offline anandtadimalla

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #15 on: August 23, 2011, 07:54:13 AM »
Advertisement
[b]output of ps -ef|grep catalina:[/b]
[root@H3G_OffshoreDEV_Gig_01 ~]# ps -ef|grep catalina
genesys  5152    1  0 Aug22 ?        00:01:17 /usr/java/jre1.5.0_22/bin/java -Djava.util.logging.config.file=/genesys/app/H3G/OffDev/ApacheGroup/Tomcat1/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/genesys/app/H3G/OffDev/ApacheGroup/Tomcat1/endorsed -classpath /genesys/app/H3G/OffDev/ApacheGroup/Tomcat1/bin/bootstrap.jar -Dcatalina.base=/genesys/app/H3G/OffDev/ApacheGroup/Tomcat1
-Dcatalina.home=/genesys/app/H3G/OffDev/ApacheGroup/Tomcat1 -Djava.io.tmpdir=/genesys/app/H3G/OffDev/ApacheGroup/Tomcat1/temp org.apache.catalina.startup.Bootstrap start
root      6944  6879  0 13:05 pts/11  00:00:00 grep catalina
[root@H3G_OffshoreDEV_Gig_01 ~]#



Regards,
AT

Offline fnunezsa

  • Full Member
  • ***
  • Posts: 213
  • Karma: 5
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #16 on: August 23, 2011, 08:47:00 PM »
ouch  :(

Are you sure that your Tomcat is running? That output does not seem to reflect Tomcat running, there is a java process running, but not Tomcat

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #17 on: August 23, 2011, 09:43:02 PM »
I'm curious also in what should go in there. This is my output for a server that has Tomcat running...what should be used as parameter?


[quote]
[root@ebdics ~]# ps -ef |grep catalina
102      8955    1  0 Aug19 ?        00:00:26 /usr/java/jre1.5.0_16/bin/java -Xms64m -Xmx256m -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/opt/apache-tomcat-5.5.23/conf/logging.properties -Djava.endorsed.dirs=/opt/apache-tomcat-5.5.23/common/endorsed -classpath :/opt/apache-tomcat-5.5.23/bin/bootstrap.jar:/opt/apache-tomcat-5.5.23/bin/commons
-logging-api.jar -Dcatalina.base=/opt/apache-tomcat-5.5.23 -Dcatalina.home=/opt/apache-tomcat-5.5.23 -Djava.io.tmpdir=/opt/apache-tomcat-5.5.23/temp org.apache.catalina.startup.Bootstrap start
root    13079    1  0 Aug19 ?        00:28:25 /opt/Alcatel-Lucent/Java_Development_Kit/bin/java -server -classpath /opt/Alcatel-Lucent/Tomcat/bin/bootstrap.jar:/opt/Alcatel-Lucent/Tomcat/bin/tomcat-juli.jar -Dcatalina.base=/opt/Alcatel-Lucent/Tomcat -Dcatalina.home=/opt/Alcatel-Lucent/Tomcat -Djava.endorsed.dirs=/opt/Alcatel-Lucent/Tomcat/endorsed -Djava.io.tmpdir=/opt/Alcatel-Lucent/Tomcat/temp -Decc.applicationName=tomcat -Decc.path=/opt/Alcatel-Lucent/ecc.properties -Decc.logsDir=/opt/Alcatel-Lucent/logs -DTOMCAT_HOME=/opt/Alcatel-Lucent/Tomcat -Djava.security.auth.login.config=/opt/Alcatel-Lucent/Tomcat/conf/auth.config -XX:OnOutOfMemoryError=kill -9 %p -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=heapOOM.hprof -Dsun.io.useCanonCaches=false -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=10111 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -XX:+DisableExplicitGC -XX:MaxPermSize=192M -Xms128m -Xmx512m -Dfile.encoding=UTF-8 -DWindows=false -DLinux=true -DvoiceApplicationCache=/opt/Alcatel-Lucent/VoiceApplicationCache -Dlog4j.configuration=file:/opt/Alcatel-Lucent/Tomcat/conf/traces.xml org.apache.catalina.startup.Bootstrap start
root    16727 16189  0 15:53 pts/0    00:00:00 grep catalina
[/quote]

Offline anandtadimalla

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #18 on: August 24, 2011, 06:01:40 AM »
Hi fnunezsa,

YES Tomcat is Running...am able to open the webapplication deployed inside tomcat.

Reg,
AT

Offline fnunezsa

  • Full Member
  • ***
  • Posts: 213
  • Karma: 5
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #19 on: August 25, 2011, 12:54:20 AM »
This is my output:

bash-3.00$ ps -ef | grep catal
genesis 26507  5674  0  Aug 23 ?          0:00 /bin/sh /opt/GCTI/MCR/Tomcat_GAD/bin/catalina.sh start
genesis  6963  5674  0  Aug 15 ?          0:00 /bin/sh ./catalina.sh start

There are 2 Tomcat instances running on that server.

Application in CME is based on Third Party Server template. Command line: /bin/sh, command line parameters: <tomcat install directory>bin/catalina.sh start (please note that I remove the actual tomcat installation directory). start_command: /opt/GCTI/MCR/Tomcat_GAD/bin/startup.sh, stop_command: /opt/GCTI/MCR/Tomcat_GAD/bin/shutdown.sh

The previous is working fine for me.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #20 on: August 25, 2011, 04:55:56 PM »
bash? are you running it as root? On which Linux exactly?

Offline fnunezsa

  • Full Member
  • ***
  • Posts: 213
  • Karma: 5
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #21 on: August 25, 2011, 07:59:49 PM »
Those Tomcat instances are running under "genesys" user, not root. We have Solaris 10.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7641
  • Karma: 56330
Re: SCI and Tomcat 5.5 running as a windows service?
« Reply #22 on: August 25, 2011, 08:06:53 PM »
Well seems that it is not exactly the same output expected...