users@glassfish.java.net

Re: Problems with Glassfish v3 preview classloader

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Oct 2009 01:12:43 PDT

[b]Q:[/b] Where is com/isp/simple/common/SimpleCommons class packaged?
[b]A:[/b] This class resides in the SimpleCommon.jar.

[b]Q:[/b] Is this a standalone ejb jar or ear?
[b]A:[/b] It is in the EAR.

[b]Q:[/b] Can you share the packaging of the application?
[b]A:[/b] As I mentioned earlier I have one EAR which contains SimpleCommon.jar,SimpleEJB.jar,SimpleEJBInterface.jar and manifest. The whole problem is that I can't use the classes in SimpleCommon because glassfish can't find them. I don't know why. If i put the SimpleCommon.jar in the glassfish/domains/domain1/lib directory everything is fine.

[b]Q:[/b] And can you try with the latest v3 build to see if it makes a difference?
[b]A:[/b] I am with the latest.

The whole idea is that I can't use any bundled jars in the EAR like log4j or any other. Even the SimpleCommon.jar can't be loaded. Is this a bug of glassfish or am I doing something wrong?

This EAR works with [b]NO[/b] problems in Glassfish v2.1.
[Message sent by forum member 'dpandulev' (deyan.pandulev_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=369576