Re: Additional instances of tomcat6 - how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

some additional findings:


As i wrote:
- I created a symbolic link tomcat6-dev  to tomcat6 in init.d
- I created an /etc/sysconfig/tomcat6-dev file:  
   # Where your tomcat installation lives
   #CATALINA_BASE="/usr/share/tomcat6"
   CATALINA_BASE="/usr/share/tomcat6-dev"
   #CATALINA_HOME="/usr/share/tomcat6"
   #JASPER_HOME="/usr/share/tomcat6"
   JASPER_HOME="/usr/share/tomcat6-dev"
   CATALINA_TMPDIR="/var/cache/tomcat6-dev/temp"
   .... 
   # Set the TOMCAT_PID location
   CATALINA_PID="/var/run/tomcat6-dev.pid"

   # Connector port is 8080 for this tomcat6 instance
   #CONNECTOR_PORT="8080"
   CONNECTOR_PORT="8090"

Command service tomcat6-dev start  results in a fail message,
nevertheless:

>  [root@shuttle run]# ll tom*
>  -rw-r--r-- 1 tomcat tomcat 0  5. Mär 17:46 tomcat6-dev.pid

A pid file is created, but empty

>  [root@shuttle run]# ps -ef | grep  tomcat
>  tomcat   16229     1 26 17:46 ?        
>  00:00:04 /usr/lib/jvm/java-1.6.0/bin/java
>  -classpath :/usr/share/tomcat6/bin/bootstrap.jar:
>  /usr/share/tomcat6/bin/tomcat-juli.jar:
>  /usr/share/java/commons-daemon.jar 
>  -Dcatalina.base=/usr/share/tomcat6 
>  -Dcatalina.home=/usr/share/tomcat6 -Djava.endorsed.dirs=
>  -Djava.io.tmpdir=/var/cache/tomcat6/temp
> -Djava.util.logging.config.file=
>  /usr/share/tomcat6/conf/logging.properties
>  -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
>   org.apache.catalina.startup.Bootstrap start
>  root     16354 30833  0 17:46 pts/5    00:00:00 grep tomcat

A tomcat process is startet, but uses the standard directories and
configuration instead of the additional separate ones as intended. It
even responses to the standard port 8080 (instead of the configured
8090).

Same is true if I set CATALINA_HOME to /usr/share/tomcat6-dev as well
and create a complete clone of the bin and lib directory.


So, I supposes I'm missing something, but don't catch what I'm
missing  :-) 


Any help greatly appreciated.


Peter


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux