Hi,
I changed the server.xml file and changed the various ports from 8005 ->
9005, 8080->9090 etc.
When I start Tomcat (using startup.sh) I get the following in the
catalina.out file:
========
May 13, 2008 7:36:59 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performanc
e in production environments was not found on the java.library.path:
/usr/java/j
dk1.6.0_02/jre/lib/i386/server:/usr/java/jdk1.6.0_02/jre/lib/i386:/usr/java/jdk1
.6.0_02/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib
May 13, 2008 7:36:59 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9292
May 13, 2008 7:36:59 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-9090
May 13, 2008 7:36:59 AM org.apache.coyote.http11.Http11Protocol init
SEVERE: Error initializing endpoint
java.io.FileNotFoundException: /home/ncohen/.keystore (No such file or
directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
etc. etc. etc.
===========
It looks like it is looking for a security certificate - but this
doesn't happen when I start the same Tomcat software on my desktop
(testing) machine. Can someone give me a hint as to what it is looking
for, why it is looking for it, and what I need to do to get the system
running? Later in the log file, it seems that my .war file gets unpacked
and started correctly, but I can't connect to it at port 9090 - it just
hangs there forever....
Thanks,
nbc
Mark Thomas wrote:
Neil B. Cohen wrote:
I have written a web app that I want to install on the same machine,
but for various reasons (commercial, political, version-related) I
need to run it on a new (and different) instance of Tomcat.
I can install the latest Tomcat in a directory where it does not
conflict with the existing s/w. I know I have to edit the server.xml
file and change the shutdown port (8005) and the default connection
port (8080). I will probably change the secure connection port (8443)
as well, although I won't be using that one at the moment.
My question is - is that sufficient to allow me to run both instances
of Tomcat on the same machine without conflict? Are there other lines
in the server.xml file that need to be changed? Are there other
config files I need to look at?
That should be sufficient. The only other thing to be aware of is if
any relevant environment variables are set for the old install that
may impact the new one.
Mark
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]