wood burning stoves 2.0*
The moose likes Tomcat and the fly likes Tomcat not recognizing the DLL files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat not recognizing the DLL files" Watch "Tomcat not recognizing the DLL files" New topic
Author

Tomcat not recognizing the DLL files

Arnav Velimala
Ranch Hand

Joined: Jun 04, 2007
Posts: 37
I've an application which am trying to deploy in Window's Tomcat 5.5 - as an Axis Webservice.
The application uses few DLL files, which I've placed the in the dir - $TOMCAT_HOME\common\endorsed\ and specified the same in the java.library.path.

But the DLL files are not recognized by the Tomcat. Following Exception is thrown:



I also tried by putting the DLLs in a jar files..but no use.

Following is the batch file I created to start a Tomcat.



I've created a separate batch file because, tomcat 5.5 does not have any batch files where I can set the above env variables or lib path.

Where should be the DLL placed in Tomcat ??
Travis Hein
Ranch Hand

Joined: Jun 06, 2006
Posts: 161
does it work if you don't set the java.library.path variable, and place the DLL in a windows path, such as C:\windows\system32 ?

I'm not sure if the Java -D value can use backslashes, or contain spaces without being quoted.

for example, does this work ?


(note the quotes and forward slashes)

and if that doesn't work, what about escaping the backslashes in the quotes:


Error: Keyboard not attached. Press F1 to continue.
 
 
subject: Tomcat not recognizing the DLL files
 
Similar Threads
Request Resource not available.
Cannot find symbol
compiling ActionForm,ActionClass from command prompt,
Package does not exist ?
unable to use TOMCAT 5.5