You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rasmus Munk Jensen <mu...@writeme.com> on 2001/05/05 18:02:43 UTC

tomcat on IIS in-process

Hi

I am trying to set up IIS to work with tomcat 3.2.0 using the
jni_connect.dll, so that it can run in-process.

But when I start the IIS, I get the following text in the stderr-log file
from the JVM:

2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /examples )
2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /admin )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx(  )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx( /test )
Failed to loadLibrary() c:/jakarta-tomcat/bin/jni_connect.dll

But in the stdout-log file everything looks fine:

Starting up StartupThread
Starting tomcat. Check logs/tomcat.log for error messages
Library c:/jakarta-tomcat/bin/jni_connect.dll loaded
Running ...
End waiting
Running fine


I have followed the setup instructions for in-process exactly...

any ideas?

-thanks,

Rasmus


AW: tomcat on IIS in-process

Posted by Robert Wohlgemuth <ao...@aon.at>.
Hi,

In the workers.properties the worker.jni.class_path points also to the
classes directory. It doesn't exist at my computer too. But the class_path
also points to each *.jar file in the lib directory and to the tools.jar in
my jdk1.3/lib directory.
In the uriworkermap.properties file I've benn also mounted only the jni
worker.

I had also some problems setting up tomcat in-process with IIS. The error
was in the registry, becaus I had an typo in the settings there. Perhaps you
look there:

HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\1.0


-----Ursprüngliche Nachricht-----
Von: Rasmus Munk Jensen [mailto:munk@writeme.com]
Gesendet: Sonntag, 06. Mai 2001 20:56
An: tomcat-user@jakarta.apache.org
Betreff: RE: tomcat on IIS in-process


Hi,

I greatly appreciate your answer. Unfortunatly my tomcat doesn't run, but
maybe you could answer a few questions for me, so that I can isolate the
problem?

1. In my workers.properties I have the following line in my JNI definition:

worker.jni.class_path=c:\jakarta-tomcat\classes

this points to nowhere!! Is that correct?

In my uriworkermap.properties file, I have only the jni worker mounted, not
ajp12 or ajp13. Is this correct?

Am I right, when I assume that having tomcat running in-process,
automatically starts tomcat when the IIS is started?

thanks for your time,

Rasmus

-----Original Message-----
From: Robert Wohlgemuth [mailto:aon.912162209.robert@aon.at]
Sent: 6. maj 2001 19:46
To: tomcat-user@jakarta.apache.org; mujaffa@mail1.stofanet.dk
Subject: AW: tomcat on IIS in-process


Hi,

I have the same message in my log file. I tried some things an looked at the
source code. I found out that tomcat trys to load the library from different
locations. If it doesn't find it in the first one the error-message is
logged into the std-err file. But if the file is in the second location
everything is right.

So I think: If your tomcat runs correctly this is not an error you should
worry about.

best regards,
	robert

-----Ursprüngliche Nachricht-----
Von: Rasmus Munk Jensen [mailto:munk@writeme.com]
Gesendet: Samstag, 05. Mai 2001 18:03
An: Tomcat (E-mail)
Betreff: tomcat on IIS in-process


Hi

I am trying to set up IIS to work with tomcat 3.2.0 using the
jni_connect.dll, so that it can run in-process.

But when I start the IIS, I get the following text in the stderr-log file
from the JVM:

2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /examples )
2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /admin )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx(  )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx( /test )
Failed to loadLibrary() c:/jakarta-tomcat/bin/jni_connect.dll

But in the stdout-log file everything looks fine:

Starting up StartupThread
Starting tomcat. Check logs/tomcat.log for error messages
Library c:/jakarta-tomcat/bin/jni_connect.dll loaded
Running ...
End waiting
Running fine


I have followed the setup instructions for in-process exactly...

any ideas?

-thanks,

Rasmus






RE: tomcat on IIS in-process

Posted by Rasmus Munk Jensen <mu...@writeme.com>.
Hi,

I greatly appreciate your answer. Unfortunatly my tomcat doesn't run, but
maybe you could answer a few questions for me, so that I can isolate the
problem?

1. In my workers.properties I have the following line in my JNI definition:

worker.jni.class_path=c:\jakarta-tomcat\classes

this points to nowhere!! Is that correct?

In my uriworkermap.properties file, I have only the jni worker mounted, not
ajp12 or ajp13. Is this correct?

Am I right, when I assume that having tomcat running in-process,
automatically starts tomcat when the IIS is started?

thanks for your time,

Rasmus

-----Original Message-----
From: Robert Wohlgemuth [mailto:aon.912162209.robert@aon.at]
Sent: 6. maj 2001 19:46
To: tomcat-user@jakarta.apache.org; mujaffa@mail1.stofanet.dk
Subject: AW: tomcat on IIS in-process


Hi,

I have the same message in my log file. I tried some things an looked at the
source code. I found out that tomcat trys to load the library from different
locations. If it doesn't find it in the first one the error-message is
logged into the std-err file. But if the file is in the second location
everything is right.

So I think: If your tomcat runs correctly this is not an error you should
worry about.

best regards,
	robert

-----Ursprüngliche Nachricht-----
Von: Rasmus Munk Jensen [mailto:munk@writeme.com]
Gesendet: Samstag, 05. Mai 2001 18:03
An: Tomcat (E-mail)
Betreff: tomcat on IIS in-process


Hi

I am trying to set up IIS to work with tomcat 3.2.0 using the
jni_connect.dll, so that it can run in-process.

But when I start the IIS, I get the following text in the stderr-log file
from the JVM:

2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /examples )
2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /admin )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx(  )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx( /test )
Failed to loadLibrary() c:/jakarta-tomcat/bin/jni_connect.dll

But in the stdout-log file everything looks fine:

Starting up StartupThread
Starting tomcat. Check logs/tomcat.log for error messages
Library c:/jakarta-tomcat/bin/jni_connect.dll loaded
Running ...
End waiting
Running fine


I have followed the setup instructions for in-process exactly...

any ideas?

-thanks,

Rasmus





AW: tomcat on IIS in-process

Posted by Robert Wohlgemuth <ao...@aon.at>.
Hi,

I have the same message in my log file. I tried some things an looked at the
source code. I found out that tomcat trys to load the library from different
locations. If it doesn't find it in the first one the error-message is
logged into the std-err file. But if the file is in the second location
everything is right.

So I think: If your tomcat runs correctly this is not an error you should
worry about.

best regards,
	robert

-----Ursprüngliche Nachricht-----
Von: Rasmus Munk Jensen [mailto:munk@writeme.com]
Gesendet: Samstag, 05. Mai 2001 18:03
An: Tomcat (E-mail)
Betreff: tomcat on IIS in-process


Hi

I am trying to set up IIS to work with tomcat 3.2.0 using the
jni_connect.dll, so that it can run in-process.

But when I start the IIS, I get the following text in the stderr-log file
from the JVM:

2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /examples )
2001-05-05 05:57:52 - ContextManager: Adding context Ctx( /admin )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx(  )
2001-05-05 05:57:53 - ContextManager: Adding context Ctx( /test )
Failed to loadLibrary() c:/jakarta-tomcat/bin/jni_connect.dll

But in the stdout-log file everything looks fine:

Starting up StartupThread
Starting tomcat. Check logs/tomcat.log for error messages
Library c:/jakarta-tomcat/bin/jni_connect.dll loaded
Running ...
End waiting
Running fine


I have followed the setup instructions for in-process exactly...

any ideas?

-thanks,

Rasmus