This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes java.library.path problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "java.library.path problem" Watch "java.library.path problem" New topic
Author

java.library.path problem

Brian Nice
Ranch Hand

Joined: Nov 02, 2000
Posts: 195
We have a dll library that needs to be used from within a servlet. When I look at my systems properties, it says that the java.library.path is my JAVA_HOME/bin and WINNT/SYSTEM32 directories. I have placed my dll in these directories, and when i start tomcat and call my servlet i get the following error:
java.lang.ExceptionInInitializerError: JCO.classInitialize(): Could not load middleware layer 'com.sap.mw.jco.rfc.MiddlewareRFC
no jRFC12 in java.library.path
I edited catalina.bat and added the following property on the startup of tomcat -Djava.library.path=d:/j2sdk1.4.0/bin to try and set it manually, but that did not help either.
What can I do to get my servlet to be able to use that library?
Thanks
Brian
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: java.library.path problem
 
Similar Threads
APR based Apache Tomcat Native library which allows optimal performance in production environments w
compiling DLL for JNI use
error in connecting weblogic to oracle
Configuring WSAD5.1 with MQ5.2
Set up java.library.path in WAS 4.0.4