You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by GASNIER Lise <li...@solucom.fr> on 2001/04/19 18:31:21 UTC

JNI problem

[GASNIER Lise]  Hi,
I am trying to set-up IIS so that Tomcat (3.2.0) will run  in-process .
I manage to use IIS with  out-process workers. I followed the In-process
How-to to configure IIS redirector.
But when starting the server, I got these messages in isapi.log:

isapi.lo file:
[jk_uri_worker_map.c (155)]: Into jk_uri_worker_map_t::uri_worker_map_alloc
[jk_uri_worker_map.c (195)]: Into jk_uri_worker_map_t::uri_worker_map_open
[jk_uri_worker_map.c (210)]: jk_uri_worker_map_t::uri_worker_map_open, rule
map size is 4
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /examples/servlet/=in_process was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /chat/servlet/=in_process was added
[jk_uri_worker_map.c (266)]: Into jk_uri_worker_map_t::uri_worker_map_open,
match rule /tomsamples/servlet/=in_process was added
[jk_uri_worker_map.c (255)]: Into jk_uri_worker_map_t::uri_worker_map_open,
suffix rule /tomsamples/jsp/.jsp=in_process was added
[jk_uri_worker_map.c (295)]: Into jk_uri_worker_map_t::uri_worker_map_open,
there are 4 rules
[jk_uri_worker_map.c (316)]: jk_uri_worker_map_t::uri_worker_map_open, done
[jk_worker.c (82)]: Into wc_open
[jk_worker.c (207)]: Into build_worker_map, creating 1 workers
[jk_worker.c (213)]: build_worker_map, creating worker in_process
[jk_worker.c (138)]: Into wc_create_worker
[jk_worker.c (152)]: wc_create_worker, about to create instance in_process
of jni
[jk_jni_worker.c (610)]: Into jni_worker_factory
[jk_jni_worker.c (678)]: Done jni_worker_factory
[jk_worker.c (161)]: wc_create_worker, about to validate and init in_process
[jk_jni_worker.c (347)]: Into validate
[jk_jni_worker.c (845)]: Into detect_jvm_version
[jk_jni_worker.c (856)]: In detect_jvm_version, found: 10002, done
[jk_jni_worker.c (914)]: Into open_jvm2
[jk_jni_worker.c (921)]: In open_jvm2, setting classpath to
c:\Serveurs\Tomcat\classes;c:\Serveurs\Tomcat\lib\jaxp.jar;c:\Serveurs\Tomca
t\lib\parser.jar;c:\Serveurs\Tomcat\lib\jasper.jar;c:\Serveurs\Tomcat\lib\se
rvlet.jar;c:\Serveurs\Tomcat\lib\webserver.jar
[jk_jni_worker.c (944)]: In open_jvm2, setting c:\Serveurs\Tomcat
[jk_jni_worker.c (965)]: In open_jvm2, the JVM will ignore unknown options
[jk_jni_worker.c (972)]: In open_jvm2, about to create JVM...
[jk_jni_worker.c (975)]: Fail-> could not create JVM, code: -5 
[jk_jni_worker.c (424)]: Fail-> can't open jvm
[jk_jni_worker.c (567)]: Into destroy
[jk_jni_worker.c (578)]: In destroy, JVM not intantiated
[jk_worker.c (164)]: wc_create_worker validate failed for in_process
[jk_worker.c (229)]: build_worker_map failed to create workerin_process

Here is my worker.properties file:


worker.list=in_process

worker.in_process.type=jni

#
#------ CLASSPATH DEFINITION -----------------------------------------
#---------------------------------------------------------------------
#

#
# Additional class path components.
#
worker.in_process.class_path=c:\Serveurs\Tomcat\classes

#
# The XML parser provided with Tomcat
#
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\jaxp.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\parser.jar

#
# Tomcat's implementation
#
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\jasper.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\servlet.jar
worker.in_process.class_path=c:\Serveurs\Tomcat\lib\webserver.jar

#
# Javac as available from Java2SE
#
#worker.in_process.class_path=C:\EDI\Java\jdk1.3.0\lib\tools.jar

#
# Setting the command line for tomcat
# Note: The cmd_line string may not contain spaces.
#
worker.in_process.cmd_line=-config
worker.in_process.cmd_line=c:/Serveurs/Tomcat/conf/jni_server.xml


#
# The JVM that we are about to use
#
# This is for Java2
#
worker.in_process.jvm_lib=C:\EDI\Java\jdk1.3.0\jre\bin\classic\jvm.dll

#
# And this is for jdk1.1.X
#
#worker.inprocess.jvm_lib=$(workers.java_home)$(ps)bin$(ps)javai.dll
#

#
# Setting the tomcat.home Java property
#
worker.in_process.sysprops=c:\Serveurs\Tomcat



I use the jdk1.3.0...
Has someone any idea???

Thanks
Lise