And the story continues.... OS: Debian Etch Tomcat: 5.5.20 Java: 1.5.0_10-b03
Happily having setup TC Native and APR, now I'm trying to configure SSL Since I'm using the APR, Tomcat uses OpenSSL instead of the JSSE-implementation - ok, got that: I created my connector in $CATALINA_HOME/conf/server.xml: <Connector port="8443" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" scheme="https" secure="true" SSLEngine="on" SSLCertificateFile="${catalina.base}/certs/mycert.crt" SSLCertificateKeyFile="${catalina.base}/certs/mycert.key" /> The cert-files are from a different server of my company (meaning not valid for this very ip-adress), however, for testing-purposes I don't mind getting a warning when calling the test-web-page. However, when starting Tomcat, I can see that Tomcat is listening on the specified port, but it doesn't load my web-apps and seems to be hanging: tcp6 0 0 :::8080 :::* LISTEN - tcp6 0 0 :::80 :::* LISTEN - tcp6 0 0 :::22 :::* LISTEN - tcp6 0 0 :::8443 :::* LISTEN - tcp6 0 0 :::443 :::* LISTEN - I've started jsvc with the -debug-option, and here is some of it's output: 28/08/2008 18:07:56 6474 jsvc.exec debug: Running w/ LD_LIBRARY_PATH=/home/tomcat/www/bin/tomcat-native-1.1.3/jni/native/.libs:/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun/jre/lib/i386 When I finally stop Tomcat, I get an error-message : 28/08/2008 18:07:56 6478 jsvc.exec debug: user changed to 'tomcat' 28/08/2008 18:07:56 6478 jsvc.exec debug: Using default JVM in /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/client/libjvm.so 28/08/2008 18:07:56 6478 jsvc.exec debug: Attemtping to load library /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/client/libjvm.so 28/08/2008 18:07:56 6478 jsvc.exec debug: JVM library /usr/lib/jvm/java-1.5.0-sun/jre/lib/i386/client/libjvm.so loaded 28/08/2008 18:07:56 6478 jsvc.exec debug: JVM library entry point found (0xB777BE60) 28/08/2008 18:07:56 6478 jsvc.exec debug: +-- DUMPING JAVA VM CREATION ARGUMENTS ----------------- 28/08/2008 18:07:56 6478 jsvc.exec debug: | Version: 10004 28/08/2008 18:07:56 6478 jsvc.exec debug: | Ignore Unrecognized Arguments: False 28/08/2008 18:07:56 6478 jsvc.exec debug: | Extra options: 7 28/08/2008 18:07:56 6478 jsvc.exec debug: | "-Dcatalina.home=/home/tomcat/www/" (0x00000000) 28/08/2008 18:07:56 6478 jsvc.exec debug: | "-Dcatalina.base=/home/tomcat/www" (0x00000000) 28/08/2008 18:07:56 6478 jsvc.exec debug: | "-Djava.io.tmpdir=/var/tmp" (0x00000000) 28/08/2008 18:07:56 6478 jsvc.exec debug: | "-Dlog4j.configuration=log4j.xml" (0x00000000) 28/08/2008 18:07:56 6478 jsvc.exec debug: | "-Djava.library.path=/home/tomcat/www/bin/tomcat-native-1.1.3/jni/native/.libs" (0x00000000) 28/08/2008 18:07:56 6478 jsvc.exec debug: | "-Djava.class.path=/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar:/home/tomcat/www//bin/commons-daemon.jar:/home/tomc at/www//bin/bootstrap.jar" (0x00000000) 28/08/2008 18:07:56 6478 jsvc.exec debug: +------------------------------------------------------- 28/08/2008 18:07:56 6478 jsvc.exec debug: Java VM created successfully 28/08/2008 18:07:56 6478 jsvc.exec debug: Class org/apache/commons/daemon/support/DaemonLoader found 28/08/2008 18:07:56 6478 jsvc.exec debug: Native methods registered 28/08/2008 18:10:08 6477 jsvc.exec error: Service exit with a return value of 143 When I take a look at tomcat.log.info, I can see that Tomcat started to hang after having configured port 8080: 2008-08-28 18:07:58,994 INFO [main]: An older version 1.1.3 of the Apache Tomcat Native library is installed, while Tomcat recommends versi on greater than 1.1.4 2008-08-28 18:07:59,884 INFO [main]: Initializing Coyote HTTP/1.1 on http-8080 Well, now I'm running out of ideas... What I do know is, that the OpenSSL-libraries are not in the LD_LIBRARY_PATH specified ("-Djava.library.path=/home/tomcat/www/bin/tomcat-native-1.1.3/jni/native/.libs" ) - is it necessary to tell jsvc where to look for them? Since I had to specify them during compilation of Tomcat Native, I thought this would be needed...?? Any hints to solve that issue much appreciated! Gregor -- what's puzzlin' you, is the nature of my game gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]