« Return to Thread: Tomcat configuration question

Re: Tomcat configuration question

by Mark Thomas-18 :: Rate this Message:

Reply to Author | View in Thread

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@...
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: Tomcat configuration question

LightInTheBox - Buy quality products at wholesale price