This may help you.
http://blogs.sun.com/sivakumart/entry/classloaders_in_glassfish_an_attempt
Thanks,
Sreekanth
glassfish_at_javadesktop.org wrote:
> Hi all,
>
> I am new to Sun Application Server. My product war file was working in Tomcat 6 properly.
> Same WAR file when in deployed in autodeploy folder of sun app-server Application is nto working. It is not able to locate classes in my external JAR's.
> Directory structure inside my application :
>
> helloworld
> WEB-INF
> classes
> lib
> struts.jar
> DBPool_v4.8.jar
> tld
> Index.jsp
>
> As my application start it refers one class in DBPool_v4.8.jar. For which in logs it is throwing
>
> [#|2009-04-13T11:13:53.921+0530|SEVERE|sun-appserver-pe8.2|javax.enterprise.system.container.web|_ThreadID=10;|WebModule[/helloworld]Servlet /helloworld threw load() exception
> javax.servlet.ServletException: snaq/db/ConnectionPoolListener
>
>
> Please help me what directory structure changes i should do so that it works in
> Both Sun Server and Tomcat Server...
> [Message sent by forum member 'nyadavtechie' (nyadavtechie)]
>
> http://forums.java.net/jive/thread.jspa?messageID=341802
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>