Hi everyone,
  We have designed a mailserver solution for organisations using servlets & JSP and it 
is working fine. The problem is that in response to user requests we had to add 
autodialling feature.
  In Linux this was a trivial exercise, but with Windows a DLL had to be used. This 
DLL was written by me and has just two methods: one for connecting and the other for 
disconnecting (RASConnect). This DLL has been in use in two other applications for a 
couple of years and has not shown any problems. But from inside the webserver 
environment it is not working.
  The DLL is in a directory structure as ...webapp\classes\util and the PATH variable 
points to the util directory. The main mailserver application is able to load the DLL 
but then throws an UnsatisfiedLinkError. This is part of the stacktrace.

Exception occurred during event dispatching:
java.lang.UnsatisfiedLinkError:connect
    at util.ConnectInvoker.connect(Native Method)
    at util.AutoDialer.connect(util/AutoDialer.java:295)

  Has anyone come across such a situation? Is it because in the web-application 
context some change is occurring in the way in which the method is being invoked? 
Maybe the ClassLoader is behaving in a different way? Could you just point me in the 
right direction?

Thanks for your time
Sebu Thomas

______________________________________________________
123India.com - India's Premier Portal
Get your Free Email Account at http://www.123india.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to