r1ch
December 21st, 2008, 07:34 PM
Hi,
Is anyone able to offer some help with the following problem please?
I have installed tomcat6 from synaptic and after viewing http://localhost:8080 it shows the "it works" screen and shows my catalina variables as being...
CATALINA_HOME=/usr/share/tomcat6
CATALINA_BASE=/var/lib/tomcat6
...however running the shutdown script gives the following error...
Using CATALINA_BASE: /usr/share/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /usr/share/tomcat6/temp
Using JRE_HOME: /usr
21-Dec-2008 23:24:39 org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.io.FileNotFoundException: /usr/share/tomcat6/conf/server.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:407)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:415)
...this shows the catalina base and home being the same. I'm not worried whether I have a seperate instance or not but have been unable to either find a way to change the CATALINA_BASE value to be what it should be or to change the installation so that it does not have the seperate instance.
Any ideas and suggestions or pointers to a solution would be very gratefully received.
Is anyone able to offer some help with the following problem please?
I have installed tomcat6 from synaptic and after viewing http://localhost:8080 it shows the "it works" screen and shows my catalina variables as being...
CATALINA_HOME=/usr/share/tomcat6
CATALINA_BASE=/var/lib/tomcat6
...however running the shutdown script gives the following error...
Using CATALINA_BASE: /usr/share/tomcat6
Using CATALINA_HOME: /usr/share/tomcat6
Using CATALINA_TMPDIR: /usr/share/tomcat6/temp
Using JRE_HOME: /usr
21-Dec-2008 23:24:39 org.apache.catalina.startup.Catalina stopServer
SEVERE: Catalina.stop:
java.io.FileNotFoundException: /usr/share/tomcat6/conf/server.xml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at org.apache.catalina.startup.Catalina.stopServer(Ca talina.java:407)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.catalina.startup.Bootstrap.stopServer(B ootstrap.java:337)
at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:415)
...this shows the catalina base and home being the same. I'm not worried whether I have a seperate instance or not but have been unable to either find a way to change the CATALINA_BASE value to be what it should be or to change the installation so that it does not have the seperate instance.
Any ideas and suggestions or pointers to a solution would be very gratefully received.