users@glassfish.java.net

unable to deploy petstore

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Jan 2008 02:02:14 PST

Hi all,

if I try to run petstore with NetBeans the following error occurs in GlassFish output window:

Null component com.sun.appserv:type=JspMonitor,name=jsp,WebModule=//server/petstore,J2EEApplication=null,J2EEServer=server
WEB0207: Error starting web context StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/petstore] on virtual server server
java.lang.RuntimeException: java.lang.RuntimeException: javax.naming.NameNotFoundException
        at com.sun.enterprise.web.WebModuleListener.loadPersistenceUnits(WebModuleListener.java:193)
        at com.sun.enterprise.web.WebModuleListener.lifecycleEvent(WebModuleListener.java:168)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:143)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5094)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:326)
        at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
        at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
        at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
        at java.lang.Thread.run(Thread.java:619)





If I try to call http://localhost:8080/petstore the error page:
"HTTP Status 503, The requested service () is not currently available."
is displayed.





Any suggestions for what went wrong and how to fix it?

System:

glassfish V2
NetBeans IDE 6.0 (Build 200711261600)
JDK: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
Java EE 5 SDK Update 4
JRE: 1.6.0 Update 3

OS: Windows Vista


Thanks, Michael
[Message sent by forum member 'zit66' (zit66)]

http://forums.java.net/jive/thread.jspa?messageID=252898