|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Tomcat configuration questionHi,
I am running a commercial program which has a (n older) version of tomcat embedded in it. The target machines are running AIX or Linux (RHEL4, usually). 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? My application is quite simple and my testing has been done on a machine where I simply installed the latest Tomcat tar file (6.0.16) and started it running, so I don't need any fancy configuration for my application. Thanks very much, nbc --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: Tomcat configuration question> From: Neil B. Cohen [mailto:ncohen@...]
> Subject: Tomcat configuration question > > 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 Yes, that should be sufficient, as long as the other directories of interest (logs, work, temp, <Host> appBase, etc.) do not overlap with the prior Tomcat instance. As long as you leave them at the defaults, they go under the Tomcat installation directory, so they shouldn't need attention. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Tomcat configuration questionCaldarale, Charles R wrote:
>> From: Neil B. Cohen [mailto:ncohen@...] >> Subject: Tomcat configuration question >> >> 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 >> > > Yes, that should be sufficient, as long as the other directories of > interest (logs, work, temp, <Host> appBase, etc.) do not overlap with > the prior Tomcat instance. As long as you leave them at the defaults, > they go under the Tomcat installation directory, so they shouldn't need > attention. > That is correct - there is no overlap on any of the other files. Thanks for the confirmation... nbc > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you > received this in error, please contact the sender and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Tomcat configuration questionNeil 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@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Tomcat configuration questionMark 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. different users in completely separate filesystems... thanks! nbc > > Mark > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Tomcat configuration questionHi,
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@... > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: Tomcat configuration questionNeil B. Cohen wrote:
> 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.... Looks like you have configured one of your connectors to be secure. If you post the connector elements from your server.xml, someone should be able to help. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@... To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free Forum Powered by Nabble | Forum Help |