2 messages in net.java.dev.jna.usersRe: [jna-users] JNA on Tomcat
FromSent OnAttachments
Markus HarnviNov 18, 2008 6:17 am 
Timothy WallNov 18, 2008 6:27 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] JNA on TomcatActions...
From:Timothy Wall (twal@dev.java.net)
Date:Nov 18, 2008 6:27:50 am
List:net.java.dev.jna.users

Have you checked the tomcat lists/archives for issues relating to shutdown on w32 when using JNI?

You might also try making jnidispatch.dll available in the system path so that JNA doesn't have to unpack it from the Jar and then later get rid of the temporary file.

On Nov 18, 2008, at 9:18 AM, Markus Harnvi wrote:

Hi!

I'm using JNA in a web application running in Tomcat. It works fine, but I can't stop Tomcat normally anymore. I'm running Tomcat as a Windows Service.

As soon as my code has used one method in the JNA defined interface, I have to kill Tomcat manually.

I don't have any object holding a reference to the JNA instance - the methods are called from a static class.

Any ideas on how to debug this?

/Markus