geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Burt Prior <bpr...@cisco.com>
Subject Re: Geronimo 2.1 and Seam
Date Wed, 27 Feb 2008 23:40:09 GMT

Hi David and Jacek,

> Possibly if you looked in the server log there would be more information.

That's an excellent suggestion... I didn't think of that...  I tailed
geronimo.log and here's what I found right after a deploy. (trimmed, but
almost all of it):

The surprising part (except for the errors) is where OpenEJB is Auto
Deploying the '...Action' ejb's.

15:18:35,970 INFO  [Log4jService]
----------------------------------------------
15:18:35,970 INFO  [Log4jService] Started Logging Service
15:18:35,970 INFO  [Log4jService] Runtime Information:
15:18:35,970 INFO  [Log4jService]   Install Directory =
C:\geronimo-jetty6-javaee5-2.1
15:18:35,970 INFO  [Log4jService]   JVM in use = Sun Microsystems Inc. Java
1.6.0_01
15:18:35,970 INFO  [Log4jService] Java Information:
15:18:35,970 INFO  [Log4jService]   System property [java.runtime.name]  =
Java(TM) SE Runtime Environment
15:18:35,970 INFO  [Log4jService]   System property [java.runtime.version] 
= 1.6.0_01-b06
15:18:35,970 INFO  [Log4jService]   System property [os.name]             =
Windows XP
15:18:35,970 INFO  [Log4jService]   System property [os.version]          =
5.1
15:18:35,970 INFO  [Log4jService]   System property [sun.os.patch.level]  =
Service Pack 2
15:18:35,970 INFO  [Log4jService]   System property [os.arch]             =
x86
15:18:35,970 INFO  [Log4jService]   System property [java.class.version]  =
50.0
15:18:35,970 INFO  [Log4jService]   System property [locale]              =
en_US
15:18:35,970 INFO  [Log4jService]   System property [unicode.encoding]    =
UnicodeLittle
15:18:35,970 INFO  [Log4jService]   System property [file.encoding]       =
Cp1252
15:18:35,970 INFO  [Log4jService]   System property [java.vm.name]        =
Java HotSpot(TM) Client VM
15:18:35,970 INFO  [Log4jService]   System property [java.vm.vendor]      =
Sun Microsystems Inc.
15:18:35,970 INFO  [Log4jService]   System property [java.vm.version]     =
1.6.0_01-b06
15:18:35,970 INFO  [Log4jService]   System property [java.vm.info]        =
mixed mode
15:18:35,970 INFO  [Log4jService]   System property [java.home]           =
C:\Program Files\Java\jdk1.6.0_01\jre
15:18:35,970 INFO  [Log4jService]   System property [java.classpath]      =
null
15:18:35,970 INFO  [Log4jService]   System property [java.library.path]   =
C:\Program
Files\Java\jdk1.6.0_01\jre\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\oracle\ora81\bin\;C:\Program
Files\Oracle\jre\1.1.7\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\QuickTime\QTSystem\;C:\Program Files\Credant\CMG Shield;C:\Program
Files\Diskeeper Corporation\Diskeeper\;C:\Program
Files\Java\jdk1.6.0_01\bin;C:\Sun\AppServer\bin;C:\Program
Files\Subversion\bin;c:\air\bin;C:\apache-ant-1.7.0\bin;C:\db-derby-10.3.1.4-bin\bin;C:\apache-maven-2.0.8\bin;C:\Program
Files\ssh communications security\ssh Secure Shell
15:18:35,970 INFO  [Log4jService]   System property [java.endorsed.dirs]  =
C:\geronimo-jetty6-javaee5-2.1\lib\endorsed;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\endorsed
15:18:35,970 INFO  [Log4jService]   System property [java.ext.dirs]       =
C:\Program Files\Java\jdk1.6.0_01\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
15:18:35,970 INFO  [Log4jService]   System property [sun.boot.class.path] =
C:\geronimo-jetty6-javaee5-2.1\lib\endorsed\yoko-rmi-spec-1.0-r615303.jar;C:\geronimo-jetty6-javaee5-2.1\lib\endorsed\yoko-spec-corba-1.0-r615303.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\resources.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\rt.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\sunrsasign.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\jsse.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\jce.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\lib\charsets.jar;C:\Program
Files\Java\jdk1.6.0_01\jre\classes
15:18:35,970 INFO  [Log4jService]
----------------------------------------------
15:18:37,939 INFO  [KernelContextGBean] bound gbean
org.apache.geronimo.framework/rmi-naming/2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1/car,j2eeType=Context,name=JavaCompContext
at name java:comp
15:18:37,939 INFO  [KernelContextGBean] bound gbean
org.apache.geronimo.framework/rmi-naming/2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1/car,j2eeType=Context,name=JavaContext
at name java:
15:18:37,939 INFO  [KernelContextGBean] bound gbean
org.apache.geronimo.framework/rmi-naming/2.1/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.1/car,j2eeType=Context,name=GeronimoContext
at name ger:
15:18:41,486 INFO  [KernelContextGBean] bound gbean
org.apache.geronimo.configs/transaction/2.1/car?ServiceModule=org.apache.geronimo.configs/transaction/2.1/car,j2eeType=Context,name=ResourceBindings
at name jca:
15:18:41,751 INFO  [log] Logging to
org.slf4j.impl.JCLLoggerAdapter(org.mortbay.log) via
org.mortbay.log.Slf4jLog
15:18:41,751 INFO  [log] jetty-6.1.7

...  start interesting section of log, and the first error...

15:19:16,080 INFO  [KernelContextGBean] bound gbean
console.dbpool/ElvisPool/1.0/rar?J2EEApplication=null,JCAConnectionFactory=ElvisPool,JCAResource=console.dbpool/ElvisPool/1.0/rar,ResourceAdapter=console.dbpool/ElvisPool/1.0/rar,ResourceAdapterModule=console.dbpool/ElvisPool/1.0/rar,j2eeType=JCAManagedConnectionFactory,name=ElvisPool
at name console.dbpool/ElvisPool/JCAManagedConnectionFactory/ElvisPool
15:19:38,206 INFO  [config] Configuring Service(id=Default Stateless
Container, type=Container, provider-id=Default Stateless Container)
15:19:38,206 INFO  [config] Configuring Service(id=Default Stateful
Container, type=Container, provider-id=Default Stateful Container)
15:19:38,206 INFO  [config] Configuring Service(id=Default BMP Container,
type=Container, provider-id=Default BMP Container)
15:19:38,206 INFO  [config] Configuring Service(id=Default CMP Container,
type=Container, provider-id=Default CMP Container)
15:19:38,206 INFO  [config] Configuring app:
org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb AuthenticatorAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/AuthenticatorAction)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb BookingListAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/BookingListAction)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb ChangePasswordAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/ChangePasswordAction)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb HotelBookingAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/HotelBookingAction)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb HotelSearchingAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/HotelSearchingAction)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb RegisterAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/RegisterAction)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb TimerServiceDispatcher:
EjbDeployment(deployment-id=jboss-seam.jar/TimerServiceDispatcher)
15:19:48,409 INFO  [OpenEJB] Auto-deploying ejb EjbSynchronizations:
EjbDeployment(deployment-id=jboss-seam.jar/EjbSynchronizations)
15:19:48,456 INFO  [config] Loaded Module:
org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear
15:19:54,066 INFO  [Version] Hibernate Annotations 3.3.0.GA
15:19:54,113 INFO  [Environment] Hibernate 3.2.4.sp1
15:19:54,566 INFO  [Environment] hibernate.properties not found
15:19:54,581 INFO  [Environment] Bytecode provider name : cglib
15:19:54,581 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
15:19:54,847 INFO  [Version] Hibernate EntityManager 3.3.1.GA
15:19:54,941 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
	name: bookingDatabase
	...]
15:19:54,972 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
abstractName="org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear?EJBModule=jboss-seam-jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear,PersistenceUnitModule=jboss-seam-jee5.jar,j2eeType=PersistenceUnit,name=bookingDatabase"
java.lang.NullPointerException
	at
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:346)
	at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
	at
org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:117)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
	at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	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)
15:19:54,972 INFO  [KernelContextGBean] bound gbean
org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear?J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear,JCAConnectionFactory=ElvisPool,JCAResource=seam-jee5-dbpool,ResourceAdapter=seam-jee5-dbpool,ResourceAdapterModule=seam-jee5-dbpool,j2eeType=JCAManagedConnectionFactory,name=ElvisPool
at name
org.jboss.seam.examples.jee5/jboss-seam-jee5/JCAManagedConnectionFactory/ElvisPool
15:19:54,972 INFO  [startup] Assembling app:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar
15:19:58,332 WARN  [Enhance] Detected the following possible violations of
the restrictions placed on property access persistent types:
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"hotel" is accessed directly in method "getDescription" defined in
"org.jboss.seam.example.booking.Booking".
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"hotel" is accessed directly in method "getDescription" defined in
"org.jboss.seam.example.booking.Booking".
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"hotel" is accessed directly in method "toString" defined in
"org.jboss.seam.example.booking.Booking".
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"hotel" is accessed directly in method "getTotal" defined in
"org.jboss.seam.example.booking.Booking".
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"checkinDate" is accessed directly in method "getNights" defined in
"org.jboss.seam.example.booking.Booking".
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"user" is accessed directly in method "toString" defined in
"org.jboss.seam.example.booking.Booking".
"org.jboss.seam.example.booking.Booking" uses property access, but its field
"checkoutDate" is accessed directly in method "getNights" defined in
"org.jboss.seam.example.booking.Booking".
15:19:58,441 WARN  [Enhance] Detected the following possible violations of
the restrictions placed on property access persistent types:
"org.jboss.seam.example.booking.Hotel" uses property access, but its field
"address" is accessed directly in method "toString" defined in
"org.jboss.seam.example.booking.Hotel".
"org.jboss.seam.example.booking.Hotel" uses property access, but its field
"city" is accessed directly in method "toString" defined in
"org.jboss.seam.example.booking.Hotel".
"org.jboss.seam.example.booking.Hotel" uses property access, but its field
"zip" is accessed directly in method "toString" defined in
"org.jboss.seam.example.booking.Hotel".
"org.jboss.seam.example.booking.Hotel" uses property access, but its field
"name" is accessed directly in method "toString" defined in
"org.jboss.seam.example.booking.Hotel".
15:19:58,457 INFO  [startup] Undeploying app:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar
15:19:58,472 ERROR [EjbModuleImpl] Module does not exist.
org.apache.openejb.NoSuchApplicationException:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar
	at
org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:595)
	at
org.apache.geronimo.openejb.OpenEjbSystemGBean.removeEjbJar(OpenEjbSystemGBean.java:397)
	at org.apache.geronimo.openejb.EjbModuleImpl.stop(EjbModuleImpl.java:128)
	at
org.apache.geronimo.openejb.EjbModuleImplGBean.doFail(EjbModuleImplGBean.java:47)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1028)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	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)
15:19:58,472 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
abstractName="org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear?J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar"
org.apache.openejb.OpenEJBException: createApplication.failed
[C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar]:
Error building bean 'HotelBookingAction'.  Exception: class
org.apache.openejb.OpenEJBException: PersistenceUnit 'bookingDatabase
91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em': PersistenceUnit
'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em'
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:588)
	at
org.apache.openejb.assembler.classic.Assembler.createEjbJar(Assembler.java:371)
	at
org.apache.geronimo.openejb.OpenEjbSystemGBean.createEjbJar(OpenEjbSystemGBean.java:390)
	at org.apache.geronimo.openejb.EjbModuleImpl.start(EjbModuleImpl.java:123)
	at
org.apache.geronimo.openejb.EjbModuleImplGBean.doStart(EjbModuleImplGBean.java:39)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:541)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146)
	at
org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44)
	at
org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	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)
Caused by: org.apache.openejb.OpenEJBException: Error building bean
'HotelBookingAction'.  Exception: class org.apache.openejb.OpenEJBException:
PersistenceUnit 'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em': PersistenceUnit
'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em'
	at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:64)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:491)
	... 63 more
Caused by: org.apache.openejb.OpenEJBException: PersistenceUnit
'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em'
	at
org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:197)
	at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:52)
	... 64 more
15:19:58,472 INFO  [startup] Assembling app:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18756.jar
15:19:58,535 INFO  [startup] Jndi(name=TimerServiceDispatcherLocal) -->
Ejb(deployment-id=jboss-seam.jar/TimerServiceDispatcher)
15:19:58,535 INFO  [startup] Jndi(name=EjbSynchronizationsLocal) -->
Ejb(deployment-id=jboss-seam.jar/EjbSynchronizations)
15:19:58,550 INFO  [startup] Created
Ejb(deployment-id=jboss-seam.jar/TimerServiceDispatcher,
ejb-name=TimerServiceDispatcher, container=Default Stateless Container)
15:19:58,550 INFO  [startup] Created
Ejb(deployment-id=jboss-seam.jar/EjbSynchronizations,
ejb-name=EjbSynchronizations, container=Default Stateful Container)
15:19:58,550 INFO  [startup] Deployed
Application(path=C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18756.jar)
15:19:58,550 INFO  [startup] Assembling app:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar
15:19:58,550 INFO  [startup] Undeploying app:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar
15:19:58,550 ERROR [EjbModuleImpl] Module does not exist.

org.apache.openejb.NoSuchApplicationException:
C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar
	at
org.apache.openejb.assembler.classic.Assembler.destroyApplication(Assembler.java:595)
	at
org.apache.geronimo.openejb.OpenEjbSystemGBean.removeEjbJar(OpenEjbSystemGBean.java:397)
	at org.apache.geronimo.openejb.EjbModuleImpl.stop(EjbModuleImpl.java:128)
	at
org.apache.geronimo.openejb.EjbModuleImplGBean.doFail(EjbModuleImplGBean.java:47)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:1028)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	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)
15:19:58,550 ERROR [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
abstractName="org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear?J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar"
org.apache.openejb.OpenEJBException: createApplication.failed
[C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo-deploymentUtil18755.jar]:
Error building bean 'HotelBookingAction'.  Exception: class
org.apache.openejb.OpenEJBException: PersistenceUnit 'bookingDatabase
91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em': PersistenceUnit
'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em'
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:588)
	at
org.apache.openejb.assembler.classic.Assembler.createEjbJar(Assembler.java:371)
	at
org.apache.geronimo.openejb.OpenEjbSystemGBean.createEjbJar(OpenEjbSystemGBean.java:390)
	at org.apache.geronimo.openejb.EjbModuleImpl.start(EjbModuleImpl.java:123)
	at
org.apache.geronimo.openejb.EjbModuleImplGBean.doStart(EjbModuleImplGBean.java:39)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:998)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102)
	at
org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)
	at
org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)
	at
org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)
	at
org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:534)
	at
org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:515)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at
org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)
	at
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:867)
	at
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at
org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
	at sun.rmi.transport.Transport$1.run(Transport.java:159)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
	at
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
	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)
Caused by: org.apache.openejb.OpenEJBException: Error building bean
'HotelBookingAction'.  Exception: class org.apache.openejb.OpenEJBException:
PersistenceUnit 'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em': PersistenceUnit
'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em'
	at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:64)
	at
org.apache.openejb.assembler.classic.Assembler.createApplication(Assembler.java:491)
	... 54 more
Caused by: org.apache.openejb.OpenEJBException: PersistenceUnit
'bookingDatabase 91456273' not found for EXTENDED ref
'org.jboss.seam.example.booking.HotelBookingAction/em'
	at
org.apache.openejb.assembler.classic.EnterpriseBeanBuilder.build(EnterpriseBeanBuilder.java:197)
	at
org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:52)
	... 55 more


... no more errors... just INFO's...


Looking at the log was helpful, but I'm still not sure what's going on.

Suggestions?

Thanks again,
.Burt




djencks wrote:
> 
> I haven't worked with this for a while.... two things jump out at me
> 
> 1. The original error is that the bookingDatabase PU can't start.   
> Possibly if you looked in the server log there would be more infomation.
> 
> 2. You appear to have the same classes listed in the bookingDatabase  
> PU and the cmp 2.1 PU.  I think this is going to lead to trouble.   
> The cmp 2.1 PU shouldn't really even be there unless you have actual  
> ejb 2.1 entity beans and if you do I would rely on the cmp engine to  
> fill in the persistence.xml for it itself.
> 
> While I used to think the <ext-module> was a neat trick I have  
> started thinking it mostly causes confusion and think that if you  
> deploy the pool separately and have a dependency on the deployed pool  
> it's clearer what is going on.  If you deploy everything as geronimo  
> plugins you also get the ability to swap databases.
> 
> hope this helps
> david jencks
> 
> On Feb 27, 2008, at 11:33 AM, Burt Prior wrote:
> 
>>
>> Hi Jacek,
>>
>> Thanks very much for the reply.  Our team is really trying to make
>> Hibernate/Seam work on Geronimo 2.1, and we are stuck.  As  
>> mentioned,  we
>> have the standard Oracle thin drivers in the repository, and an  
>> Oracle db
>> pool correctly set up; additionally we think the Geronimo Transaction
>> Manager is installed correctly, as well as hibernate-entitymanager.jar
>> patched to avoid the NPE.
>>
>> From our console repository viewer:
>>
>> ...
>> <dependency>
>>  <groupId>oracle</groupId>
>>  <artifactId>jdbc</artifactId>
>>  <version>10.2</version>
>>  <type>jar</type>
>> </dependency>
>> ...
>>
>> ...
>> <dependency>
>>  <groupId>console.dbpool</groupId>
>>  <artifactId>ElvisPool</artifactId>
>>  <version>1.0</version>
>>  <type>rar</type>
>> </dependency>
>> ...
>>
>> ...
>> <dependency>
>>  <groupId>org.apache.geronimo.hibernate</groupId>
>>  <artifactId>geronimo-hibernate-transaction-manager-lookup</ 
>> artifactId>
>>  <version>1.0-SNAPSHOT</version>
>>  <type>jar</type>
>> </dependency>
>> ...
>>
>> We are diligently following the Geronimo/Hibernate and Geronimo/Seam
>> examples, but we still have issues.
>>
>> Please note that we have clean builds ('ant clean archive') as you  
>> listed in
>> the Geronimo/Seam doc.
>> So essentially, we think we have everything working until we get to  
>> "The
>> Plan" section.  The errors we see are when we try to 'deploy'.
>>
>> Here is "The Plan" as we modified it, including your latest  
>> suggestion on
>> the dependency:  (we think 90% of it is correct)
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <application xmlns="http://geronimo.apache.org/xml/ns/j2ee/ 
>> application-2.0">
>>   <environment xmlns="http://geronimo.apache.org/xml/ns/ 
>> deployment-1.2">
>>     <moduleId>
>>       <groupId>org.jboss.seam.examples.jee5</groupId>
>>       <artifactId>jboss-seam-jee5</artifactId>
>>       <version>2.1.0.A1</version>
>>       <type>ear</type>
>>     </moduleId>
>>     <dependencies>
>>       <dependency>
>>         <groupId>org.apache.geronimo.hibernate</groupId>
>>
>> <artifactId>geronimo-hibernate-transaction-manager-lookup</artifactId>
>>         <type>jar</type>
>>       </dependency>
>>
>>        <!-- bprior added new dependency below per Jacek -->
>>        	<dependency>
>>          	<groupId>oracle</groupId>
>>          	<artifactId>jdbc</artifactId>
>>          	<version>10.2</version>
>>          	<type>jar</type>
>>        	</dependency>
>>
>>     </dependencies>
>>   </environment>
>>
>>   <module>
>>     <web>jboss-seam-jee5.war</web>
>>     <web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1">
>>       <environment xmlns="http://geronimo.apache.org/xml/ns/ 
>> deployment-1.2">
>>         <moduleId>
>>           <groupId>org.jboss.seam.examples.jee5</groupId>
>>           <artifactId>jboss-seam-jee5</artifactId>
>>           <version>2.1.0.A1</version>
>>           <type>war</type>
>>         </moduleId>
>>       </environment>
>>       <context-root>/seam-jee5</context-root>
>>     </web-app>
>>   </module>
>>
>>   <module>
>>     <ejb>jboss-seam-jee5.jar</ejb>
>>     <openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb- 
>> jar-2.1">
>>
>>       <environment xmlns="http://geronimo.apache.org/xml/ns/ 
>> deployment-1.2">
>>         <moduleId>
>>           <groupId>org.jboss.seam.examples.jee5</groupId>
>>           <artifactId>jboss-seam-jee5</artifactId>
>>           <version>2.1.0.A1</version>
>>           <type>jar</type>
>>         </moduleId>
>>       </environment>
>>
>>       <!-- overrides what's in the module's persistence.xml -->
>>
>>       <persistence xmlns="http://java.sun.com/xml/ns/persistence">
>>         <persistence-unit name="bookingDatabase">
>>           <jta-data-source>ElvisPool</jta-data-source>
>>           <non-jta-data-source>ElvisPool</non-jta-data-source>
>>           <class>org.jboss.seam.example.booking.Booking</class>
>>           <class>org.jboss.seam.example.booking.Hotel</class>
>>           <class>org.jboss.seam.example.booking.User</class>
>>           <exclude-unlisted-classes>true</exclude-unlisted-classes>
>>
>>           <properties>
>>           	<property name="hibernate.dialect"
>> value="org.hibernate.dialect.OracleDialect"/>
>>             <property  
>> name="hibernate.transaction.manager_lookup_class"
>>
>> value="org.apache.geronimo.hibernate.transaction.GeronimoTransactionMa 
>> nagerLookup"
>> />
>>           </properties>
>>
>>         </persistence-unit>
>>         <!-- change the way the default PU works - make it an alias to
>> bookingDatabase PU -->
>>         <persistence-unit name="cmp">
>>           <class>org.jboss.seam.example.booking.Booking</class>
>>           <class>org.jboss.seam.example.booking.Hotel</class>
>>           <class>org.jboss.seam.example.booking.User</class>
>>           <exclude-unlisted-classes>true</exclude-unlisted-classes>
>>         </persistence-unit>
>>       </persistence>
>>
>>     </openejb-jar>
>>   </module>
>>
>>   <ext-module>
>>     <connector>seam-jee5-dbpool</connector>
>>     <external-path
>> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
>>       <dep:groupId>org.tranql</dep:groupId>
>>       <dep:artifactId>tranql-connector-oracle-local</dep:artifactId>
>>       <dep:type>rar</dep:type>
>>     </external-path>
>>     <connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/ 
>> connector-1.2">
>>       <environment xmlns="http://geronimo.apache.org/xml/ns/ 
>> deployment-1.2">
>>         <moduleId>
>>           <groupId>org.jboss.seam.examples.jee5</groupId>
>>           <artifactId>booking-dbpool</artifactId>
>>           <version>2.1.0.A1</version>
>>           <type>rar</type>
>>         </moduleId>
>>         <dependencies>
>>           <dependency>
>>             <groupId>org.apache.geronimo.configs</groupId>
>>             <artifactId>system-database</artifactId>
>>             <type>car</type>
>>           </dependency>
>>
>>
>>         </dependencies>
>>       </environment>
>>       <resourceadapter>
>>         <outbound-resourceadapter>
>>           <connection-definition>
>>
>> <connectionfactory-interface>javax.sql.DataSource</ 
>> connectionfactory-interface>
>>             <connectiondefinition-instance>
>>
>>               <name>ElvisPool</name>
>>
>>               <!--
>>               <config-property-setting
>> name="UserName">ENGLRN_BPRIOR</config-property-setting>
>>               <config-property-setting
>> name="Password">BPRIOR</config-property-setting>
>>               <config-property-setting
>> name="Driver">oracle.jdbc.driver.OracleDriver</config-property- 
>> setting>
>>               <config-property-setting
>> name="ConnectionURL">jdbc:oracle:thin:@englearn-app1@cisco.com: 
>> 1521:xe</config-property-setting>
>>               -->
>>
>>               <!--  <config-property-setting
>> name="DatabaseName">SystemDatabase</config-property-setting> -->
>>
>>               <connectionmanager>
>>                 <local-transaction />
>>                 <single-pool>
>>                   <max-size>8</max-size>
>>                   <min-size>4</min-size>
>>
>> <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
>>                   <select-one-assume-match />
>>                 </single-pool>
>>               </connectionmanager>
>>             </connectiondefinition-instance>
>>           </connection-definition>
>>         </outbound-resourceadapter>
>>       </resourceadapter>
>>     </connector>
>>   </ext-module>
>>
>> </application>
>>
>>
>> The errors (on deploy) we get are:  (trimmed):
>>
>>
>> C:\geronimo-jetty6-javaee5-2.1>.\bin\deploy.bat -u system -p  
>> manager deploy
>> C:\jboss-seam-2.1.0.A1\examples\jee5\booking\dist\jboss-seam-jee5.ear
>> C:\jboss-seam-
>> 2.1.0.A1\examples\jee5\booking\jboss-seam-jee5-geronimo-plan.xml
>> Using GERONIMO_BASE:   C:\geronimo-jetty6-javaee5-2.1
>> Using GERONIMO_HOME:   C:\geronimo-jetty6-javaee5-2.1
>> Using GERONIMO_TMPDIR: var\temp
>> Using JRE_HOME:        C:\Program Files\Java\jdk1.6.0_01\jre
>> org.apache.geronimo.kernel.config.LifecycleException: start of
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear failed
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
>> iguration(SimpleConfigurationManager.java:551)
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
>> iguration(SimpleConfigurationManager.java:515)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke 
>> (NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke 
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke 
>> (ReflectionMethodInvoker.java:34)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
>> (GBeanOperation.java:124)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
>> (GBeanInstance.java:867)
>>         at
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke 
>> (BasicKernel.java:239)
>>         at
>> org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke 
>> (NativeMethodAccessorImpl.java:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke 
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke 
>> (ReflectionMethodInvoker.java:34)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke 
>> (GBeanOperation.java:124)
>>         at
>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke 
>> (GBeanInstance.java:867)
>>         at
>> org.apache.geronimo.kernel.basic.BasicKernel.invoke 
>> (BasicKernel.java:239)
>>         at
>> org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke 
>> (MBeanGBeanBridge.java:172)
>>         at
>> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke 
>> (DefaultMBeanServerInterceptor.java:836)
>>         at
>> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>>         at
>> javax.management.remote.rmi.RMIConnectionImpl.doOperation 
>> (RMIConnectionImpl.java:1426)
>>         at
>> javax.management.remote.rmi.RMIConnectionImpl.access$200 
>> (RMIConnectionImpl.java:72)
>>         at
>> javax.management.remote.rmi.RMIConnectionImpl 
>> $PrivilegedOperation.run(RMIConnectionImpl.java:1264)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at
>> javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation 
>> (RMIConnectionImpl.java:1366)
>>         at
>> javax.management.remote.rmi.RMIConnectionImpl.invoke 
>> (RMIConnectionImpl.java:788)
>>         at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown  
>> Source)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke 
>> (DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
>>         at sun.rmi.transport.Transport$1.run(Transport.java:159)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
>>         at
>> sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java: 
>> 535)
>>         at
>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0 
>> (TCPTransport.java:790)
>>         at
>> sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run 
>> (TCPTransport.java:649)
>>         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)
>> Caused by:  
>> org.apache.geronimo.kernel.config.InvalidConfigException: Unknown
>> start exception
>>         at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
>> GBeans(ConfigurationUtil.java:522)
>>         at
>> org.apache.geronimo.kernel.config.KernelConfigurationManager.start 
>> (KernelConfigurationManager.java:187)
>>         at
>> org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf 
>> iguration(SimpleConfigurationManager.java:534)
>>         ... 40 more
>> Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
>> Configuration org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ 
>> ear
>> failed to start due
>> to the following reasons:
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,PersistenceUnitModule=jboss-seam-jee5.jar,
>> j2eeType=PersistenceUnit,name=bookingDatabase did not start for an  
>> unknown
>> reason
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatelessSessionBean,name=Authent
>> icatorAction did not start because
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.
>> A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar did not start.
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=BookingL
>> istAction did not start because
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/
>> ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar did not start.
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=ChangePa
>> sswordAction did not start because
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.
>> A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar did not start.
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=HotelBoo
>> kingAction did not start because
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1
>> /ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar did not start.
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=HotelSea
>> rchingAction did not start because
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.
>> A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar did not start.
>>   The service
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=Register
>> Action did not start because
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear
>> ,j2eeType=EJBModule,name=jboss-seam-jee5.jar did not start.
>>   The service
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar
>> did not start because create
>> Application.failed
>> [C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo- 
>> deploymentUtil44832.jar]:
>> Error building bean 'HotelBookingAction'.  Exception: class org.a
>> pache.openejb.OpenEJBException: PersistenceUnit 'bookingDatabase  
>> 91456273'
>> not found for EXTENDED ref
>> 'org.jboss.seam.example.booking.HotelBookingAction/em': Pe
>> rsistenceUnit 'bookingDatabase 91456273' not found for EXTENDED ref
>> 'org.jboss.seam.example.booking.HotelBookingAction/em'
>>
>>         at
>> org.apache.geronimo.kernel.config.ConfigurationUtil.startConfiguration 
>> GBeans(ConfigurationUtil.java:485)
>>         ... 42 more
>>     Error: Operation failed: start of
>>     org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear failed
>>
>>         Unknown start exception
>>
>>         Configuration
>>     org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear  
>> failed to
>>     start due to the following reasons:
>>
>>       The service
>>
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,PersistenceUnitModule=jboss-seam-jee5.jar,j2eeType=P
>> ersistenceUnit,name=bookingDatabase
>>     did not start for an unknown reason
>>
>>       The service
>>
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatelessSessionBean,name=AuthenticatorActi
>> on
>>     did not start because
>>
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=
>> jboss-seam-jee5.jar
>>     did not start.
>>
>>       The service
>>
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=BookingListAction
>>     did not start because
>>
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=
>> jboss-seam-jee5.jar
>>     did not start.
>>
>>       The service
>>
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=ChangePasswordActi
>> on
>>     did not start because
>>
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=
>> jboss-seam-jee5.jar
>>     did not start.
>>
>>       The service
>>
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=HotelBookingAction
>>
>>     did not start because
>>
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=
>> jboss-seam-jee5.jar
>>     did not start.
>>
>>       The service
>>
>> EJBModule=jboss-seam- 
>> jee5.jar,J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=StatefulSessionBean,name=HotelSearchingActi
>> on
>>     did not start because
>>
>> org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear? 
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=
>> jboss-seam-jee5.jar
>>     did not start.
>>
>> ...
>>
>>       The service
>>
>> J2EEApplication=org.jboss.seam.examples.jee5/jboss-seam- 
>> jee5/2.1.0.A1/ear,j2eeType=EJBModule,name=jboss-seam-jee5.jar
>>     did not start because createApplication.failed
>>
>> [C:\geronimo-jetty6-javaee5-2.1\var\temp\geronimo- 
>> deploymentUtil44832.jar]:
>>     Error building bean 'HotelBookingAction'.  Exception: class
>>     org.apache.openejb.OpenEJBException: PersistenceUnit
>>     'bookingDatabase 91456273' not found for EXTENDED ref
>>     'org.jboss.seam.example.booking.HotelBookingAction/em':
>>     PersistenceUnit 'bookingDatabase 91456273' not found for EXTENDED
>>     ref 'org.jboss.seam.example.booking.HotelBookingAction/em'
>>
>> C:\geronimo-jetty6-javaee5-2.1>
>>
>>
>> We would greatly appreciate any help on this.  We feel we are  
>> almost there.
>>
>> Thanks again,
>> .Burt
>>
>>
>>
>>
>> Jacek Laskowski wrote:
>>>
>>> On Tue, Feb 26, 2008 at 4:29 PM, Burt Prior <bprior@cisco.com> wrote:
>>>
>>>>  The deployment plan uses the Derby database.  I'm using Oracle.   
>>>> I've
>>>>  successfully installed the Oracle jar in the respository and a
>>>> configured a
>>>>  (thin driver) database pool that jar.
>>>>
>>>>  I now successfully build the app, but when I try to deploy.bat  
>>>> from the
>>>>  command line using the "The Plan", I get errors such as...
>>>>
>>>>  "Exception in Thread.. java.lang.NoClassDefFoundError:
>>>>  oracle/jdbc/pool/OracleDataSource"
>>>>
>>>>  This class is in the oracle jar, but I think the geronimo  
>>>> deployment
>>>> plan is
>>>>  incorrect.
>>>
>>> Hi,
>>>
>>> Add Oracle Thin driver as a dependency to the app in the plan and
>>> rerun the deployment. I think you need something like:
>>>
>>>     <dependencies>
>>>       <dependency>
>>>         <groupId>org.apache.geronimo.hibernate.transaction</groupId>
>>>
>>> <artifactId>geronimo-hibernate-transaction-manager-lookup</ 
>>> artifactId>
>>>         <type>jar</type>
>>>       </dependency>
>>>       <dependency>
>>>         <groupId>com.oracle.thindriver</groupId>
>>>         <artifactId>oracle-thin-driver</artifactId>
>>>         <type>jar</type>
>>>       </dependency>
>>>     </dependencies>
>>>
>>> Note the part for the oracle thin driver. Update it with correct data
>>> and give it a go.
>>>
>>> When in trouble, show the plan so it's easier to help you.
>>>
>>> Jacek
>>>
>>> -- 
>>> Jacek Laskowski
>>> http://www.JacekLaskowski.pl
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Geronimo-2.1- 
>> and-Seam-tp15621154s134p15721151.html
>> Sent from the Apache Geronimo - Users mailing list archive at  
>> Nabble.com.
>>
> 
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Geronimo-2.1-and-Seam-tp15621154s134p15726090.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message