JBoss Integration Plugin causing IDEA to hold a handle on jar files

Hi

We seem to be having a problem with the JBoss plugin causing the idea process to keep a handle on some JBoss jar files when the server is started and stopped with the plugin.

idea.exe pid: 544 1E48: C:\Work\eQA\eos\jboss-4.0.3SP1\server\default\lib\jboss-j2ee.jar
idea.exe pid: 544 1EA4: C:\Work\eQA\eos\jboss-4.0.3SP1\server\default\lib\javax.servlet.jsp.jar
idea.exe pid: 544 1EAC: C:\Work\eQA\eos\jboss-4.0.3SP1\server\default\lib\javax.servlet.jar

Any thoughts as to why?

Thanks
Shane

3 comments
Comment actions Permalink

Shane,

These libraries are used to communicate with the JBoss server and are being loaded by the plugin on server startup. While the plugin is doing its best to release all resources on server shutdown, the JVM seems to keep some classes sticky and prevents the libraries from being released.

I will try to find a solution to improve the situation, but since this involves some digging inside the JVM internals you shouldn't expect anything in the short term. There's still the possibility of creating a copy of all required libraries and keeping a handle on those copies, but I would treat this an ugly hack and would dislike to implement it.

By the way: Why exactly do you care about those handles? Is it causing you any harm?

Regards,
Martin

0
Comment actions Permalink

Hello Martin,

I will try to find a solution to improve the situation, but since this
involves some digging inside the JVM internals you shouldn't expect
anything in the short term. There's still the possibility of creating
a copy of all required libraries and keeping a handle on those copies,
but I would treat this an ugly hack and would dislike to implement it.

By the way: Why exactly do you care about those handles? Is it causing
you any harm?


I've had great results using the "Show GC Roots" feature of YourKit (by former
JB folks)


0
Comment actions Permalink

I'm using the "Show GC Roots" feature of JProfiler (an IDEA companion product with a great integration plugin written by guess whom...). ;)

0

Please sign in to leave a comment.