File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat not recognizing the DLL files

 
Arnav Velimala
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 161
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic