dev@glassfish.java.net

Re: glassfish\modules vs. lib

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Fri, 28 Mar 2008 09:53:23 -0700

 From the logging message, I see that a jar gets added in glassfish\lib
appropriately.

Mar 28, 2008 9:40:58 AM
com.sun.enterprise.glassfish.bootstrap.ASMain$ExtensibleClassLoader jarAdded
INFO: Added
file:/v3/distributions/web/target/web/glassfish/lib/tomcat-ajp.jar to
shared classpath, no need to restart appserver

The tomcat-ajp.jar depends on coyote related classes which are in
webtier.jar but cannot find it resulting in
java.lang.NoClassDefFoundError: org/apache/coyote/...

Jars in lib added to shared classpath cannot access webtier.jar - I
believe this is intended behavior.

Is there a way to get around this?

Thanks,
Amy

Amy Roh wrote:
> Is there a pointer which clarifies which custom jars will be picked up
> from modules vs. lib? It seems that tomcat-ajp.jar placed in modules
> is not recognized but is in lib directory.
>
> Thanks,
> Amy
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>