users@glassfish.java.net

WAR file works in Tomcat but fails in Sun Application Server PE 8

From: <glassfish_at_javadesktop.org>
Date: Sun, 12 Apr 2009 23:20:00 PDT

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