You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Priest <Ro...@bentley.com> on 2003/01/24 20:45:20 UTC

Problem with JavaService.exe\Tomcat.exe

Hello,

I was wondering if anyone had any experience with the JavaService.exe aka
Tomcat.exe.

I am having a problem where it appears that the Environment PATH variable is
not being set properly in 
the JVM when tomcat.exe kicks it off.

I have a Realm implementation which loads a dll through a System.LoadLibrary
call, but I am 
running into an 

"java.lang.UnsatisfiedLinkError: no dmswebserver in java.library.path"



Now I can explicitly set the path by adding a "JVM Option" for the
"java.library.path" in the registry, but previously it would read the "Path"
registry entry without any problems. Does anyone have a clue as to why this
would stop working?


it does look like the:
	 (SetEnvironmentVariable("PATH", currentPath) 

is being called properly, but Java does not get the PATH right or something.


This is a version of the exe that I have compiled myself. Am I missing
anything in the Compiliation?


The version of Tomcat I am running is 4.1.7.
Java Version:  1.4.1_01
Visual C++: 6.0




I realize that JavaService.exe is separately maintained but I wonder if
anyone has any idea here.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>