IIS -Tomcat Configuration Question
Hello, Our group is using IIS as a gateway server to Tomcat. (Unfortunately Apache can't be used for this project) Our system uses smart cards, so a pki certificate is passed from the browser to the gateway server. Does anyone know how to configure IIS to pass the user's certificate through IIS to Tomcat? Thank you kindly! Hans
Re: Tomcat configuration question
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]
Re: Tomcat configuration question
Neil 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@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat configuration question
Hi, 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@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat configuration question
Caldarale, Charles R wrote: From: Neil B. Cohen [mailto:[EMAIL PROTECTED] 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@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]
Re: Tomcat configuration question
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]
Re: Tomcat configuration question
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. No overlapping env variables either - the two instances will be run by different users in completely separate filesystems... thanks! nbc 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]