|
I would try to set -Djava.library.path=<dll_location> When starting Tomcat....(Assuming that is how you are running) This could also be a permissions thing and as a test I would open up all permissions in catalina.policy under the conf dir in you Tomcat installation...It is typical for J2EE platforms to restrict this sort of thing by default... -S From: ranaweed [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 05, 2005 10:16 PM To: [email protected] Cc: [email protected] Subject: Problems with dll file in a web service Hi all,
We have implement a web service that takes data
from machines(free hard disk space,memory space). So for that we have used C
program and we have implemented the relevant JNI classes,dll file and run
the java program separately. It is working well.
THen we try to access those methods in our web
service. We have placed our dll in C:\Windows\System32 but it doesn't work.
we got following error
java.lang.UnsatisfiedLinkError:
getDrivePath
at www.cse.mrt.ResourceProperties.volumeData.getDrivePath(Native Method) at www.cse.mrt.ResourceProperties.Getproperty.<init>(Getproperty.java:19) at www.cse.mrt.ResourceProperties.GUI$1.run(GUI.java:285) GUI is our client class. We are using axis1.1 and
tomcat 5.0.25
Hoping for positive reply from you.
Regards,
Darshana
|
- Problems with dll file in a web service ranaweed
- Campana Jr., Salvatore J
