Another note -- It looks as if you have told GlassFish that the 3rd-party library JAR is an application client. The code you looked at runs when GlassFish is processing a JAR as an app client.
Did you include something like this in your application.xml:
<module>
<java>javancss.jar</java>
</module>
If so, don't. You are telling GlassFish that javancss.jar is an app client, which it is not.
- Tim
[Message sent by forum member 'tjquinn']
http://forums.java.net/jive/thread.jspa?messageID=396531