Does your application.xml list the utility jar in a <java> element? Or does the utility JAR's manifest identify a Main-Class?
That's how you identify app clients. The <java> element does not identify library JARs, and if you do not have a descriptor then GlassFish needs to use what information it can to try to decide what kind of module (if any) a JAR is.
The spec explains this, and also says that you can place library JARs in the /lib directory of your EAR or, if you want to use some other location, you can specify it in the optional <library-directory> element in the descriptor.
Can you please check your descriptor and see if that is what's happening?
- Tim
[Message sent by forum member 'tjquinn' (tjquinn)]
http://forums.java.net/jive/thread.jspa?messageID=269047