tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lyle H. Ward" <w...@columbia.sparta.com>
Subject integrating Tomcat with PWS on NT
Date Wed, 02 May 2001 21:47:00 GMT
All,

I'm getting "java.lang.NullPointerException
        at org.apache.tomcat.service.JNIEndpointConnector.start(JNIEndpointConne
ctor.java:110)" 

Question 1. Should uriworkermap.properties and uriworkermap.properties-auto
be similar? uriworkermap.properties is set to use jni only and
uriworkermap.properties-auto does not contain any reference to jni. It's
default is ajp12.

Question 2. For an NT installation, does the path separator matter in the
conf files. e.g. in server.xml there is path="logs/tomcat.log" and 
<Connector className="org.apache.tomcat.service.JNIEndpointConnector">
            <Parameter name="native_lib"
                value="e:\jakarta\tomcat-3.2.1\bin\win32\i386\jni_connect.dll"/>
        </Connector>

Question 3. The jni_connect.dll appears to be failing to load with a
java.lang.NullPointerException. Any Ideas?

Thank you, Lyle

E:\jakarta\tomcat-3.2.1>bin\tomcat run
Including all jars in E:\JAKARTA\TOMCAT-3.2.1\lib in your CLASSPATH.

Using CLASSPATH: E:\JAKARTA\TOMCAT-3.2.1\classes;E:\JAKARTA\TOMCAT-3.2.1\lib\ant
.jar;E:\JAKARTA\TOMCAT-3.2.1\lib\jasper.jar;E:\JAKARTA\TOMCAT-3.2.1\lib\jaxp.jar
;E:\JAKARTA\TOMCAT-3.2.1\lib\parser.jar;E:\JAKARTA\TOMCAT-3.2.1\lib\servlet.jar;
E:\JAKARTA\TOMCAT-3.2.1\lib\webserver.jar;E:\JDK1.3\LIB;E:\JDK1.3\lib\tools.jar

Starting tomcat. Check logs/tomcat.log for error messages
Failed to loadLibrary() e:/jakarta/tomcat-3.2.1/bin/win32/i386/jni_connect.dll
Library e:/jakarta/tomcat-3.2.1/bin/win32/i386/jni_connect.dll loaded
FATAL:java.lang.NullPointerException
java.lang.NullPointerException
        at org.apache.tomcat.service.JNIEndpointConnector.start(JNIEndpointConne
ctor.java:110)
        at org.apache.tomcat.core.ContextManager.start(ContextManager.java:527)
        at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:202)
        at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
E:\jakarta\tomcat-3.2.1>



     <Connector className="org.apache.tomcat.service.JNIEndpointConnector">
            <Parameter name="native_lib"
                value="e:\jakarta\tomcat-3.2.1\bin\win32\i386\jni_connect.dll"/>
        </Connector>


Mime
View raw message