users@glassfish.java.net

Re: Bookstore2 Tutorial Will Not Deploy

From: Jennifer Ball <Jennifer.Ball_at_Sun.COM>
Date: Thu, 14 Dec 2006 15:10:56 -0800

Hello Mark,

I downloaded the latest tutorial bundle and tested bookstore2 with build
28 of glassfish. I had no trouble deploying or running the application.

Could you try with build 28? If that doesn't work, you can send your
WAR file to me and I'll take a look at it.

Jennifer


>>>
>>>
>>> -------- Original Message --------
>>> From: Mark Hansen <marklists_at_javector.com>
>>> Subject: Bookstore2 Tutorial Will not Deploy
>>> To: users_at_glassfish.dev.java.net
>>>
>>> Running GlassFish V2 b27 on Windows XP.
>>>
>>> I am working through the JavaEE5 Tutorial and trying to deploy the
>>> Bookstore2 (javaeetutorial5/examples/web/bookstore2) WAR using Ant as
>>> described in the tutorial:
>>> http://java.sun.com/javaee/5/docs/tutorial/doc/ (Chapter 4).
>>>
>>> Am getting the following error. How is the persistence unit
>>> supposed to
>>> be resolved? Am I missing some configuration file?
>>>
>>> deploy:
>>> [exec] CLI171 Command deploy failed : Deploying application in
>>> domain failed; Deployment Error -- Could not resolve
>>> a persistence unit corresponding to the persistence-unit-ref-name
>>> [com.sun.bookstore2.listeners.ContextListener/emf] in scope of the
>>> module called
>>> C:\bin\glassfish-v2-b27\domains\domain1\applications\j2ee-modules\bookstore2].
>>>
>>> Please verify your application.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>>
>>>
>>
>>