Its actually just a generic Servlet Exception the moment it hits one of the Native Methods.
I've been doing research all weekend trying to find an answer. The only thing I could find was that I need a "common class" and I pass the Servlet Request and Response. Not sure if this is true but it sounds like a viable solution. -Matt --- Mufaddal Khumri <[EMAIL PROTECTED]> wrote: > What error or exception shows up ? Can you paste > the logs from the log > file ? Not knowing what exception shows up its > difficult to understand what > the problem might be. > > Thanks. > > At 06:30 PM 3/15/2003 -0800, you wrote: > >Hi All!e > > > >Not sure if this is valid for our topic but it does > >involve Tomcat and Servlets. > > > >I am running Tomcat 4.1.18 on a Windows 2000 env. > I've > >written a Native DLL wrapper that loads another DLL > >for a product's API. > > > >I get this to work fine with my class that has > Native > >Methods and a main to run it. I run the class, the > >main runs fine and all the access to the Native DLL > >works great. It loads the DLL which in turn loads > the > >API dll for a product. > > > >Now here's the problem: I am trying to run this DLL > >through JSP/Servlets and I get a Servlet Exception. > I > >have no reason to believe that the DLL is NOT > loading. > >I am not getting a UnsatifiedLinkError at all. But > the > >minute I try to call a method from the DLL through > JNI > >it crashes with a Servlet error. Anyone have any > ideas > >why this would happen, or what I need to do to > correct > >it? I am sure this has to work since I can get a > >standalone app to work fine. > > > >Please help!! > > > >Thanks. > > > >-Matt > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: > [EMAIL PROTECTED] > >For additional commands, e-mail: > [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
