Hi David,

Ok, I successfully completed all the steps you listed.  Excellent
instructions, thank you.

I started geronimo with no issues, then issued my usual deploy command.  I
got a bunch of errors, but they are different now.  I think we are actually
making progress.  Here are the snippets from my log:

good geronimo start:

10:38:15,352 INFO  [Log4jService]
----------------------------------------------
10:38:15,367 INFO  [Log4jService] Started Logging Service
10:38:15,367 INFO  [Log4jService] Runtime Information:
10:38:15,367 INFO  [Log4jService]   Install Directory =
C:\geronimo-jetty6-javaee5-2.1
10:38:15,367 INFO  [Log4jService]   JVM in use = Sun Microsystems Inc. Java
1.6.0_01
10:38:15,367 INFO  [Log4jService] Java Information:
10:38:15,367 INFO  [Log4jService]   System property [java.runtime.name]  =
Java(TM) SE Runtime Environment
10:38:15,367 INFO  [Log4jService]   System property [java.runtime.version] 
= 1.6.0_01-b06
10:38:15,367 INFO  [Log4jService]   System property [os.name]             =
Windows XP
...

looks like OpenEJB deployed all the ...Actions!  This is good!

...

10:40:38,868 INFO  [OpenEJB] Auto-deploying ejb AuthenticatorAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/AuthenticatorAction)
10:40:38,868 INFO  [OpenEJB] Auto-deploying ejb BookingListAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/BookingListAction)
10:40:38,868 INFO  [OpenEJB] Auto-deploying ejb ChangePasswordAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/ChangePasswordAction)
10:40:38,883 INFO  [OpenEJB] Auto-deploying ejb HotelBookingAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/HotelBookingAction)
10:40:38,883 INFO  [OpenEJB] Auto-deploying ejb HotelSearchingAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/HotelSearchingAction)
10:40:38,883 INFO  [OpenEJB] Auto-deploying ejb RegisterAction:
EjbDeployment(deployment-id=jboss-seam-jee5.jar/RegisterAction)
10:40:38,883 INFO  [OpenEJB] Auto-deploying ejb TimerServiceDispatcher:
EjbDeployment(deployment-id=jboss-seam.jar/TimerServiceDispatcher)
10:40:38,883 INFO  [OpenEJB] Auto-deploying ejb EjbSynchronizations:
EjbDeployment(deployment-id=jboss-seam.jar/EjbSynchronizations)
10:40:38,930 INFO  [config] Loaded Module:
org.jboss.seam.examples.jee5/jboss-seam-jee5/2.1.0.A1/ear
10:40:44,366 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
10:40:44,475 INFO  [Version] Hibernate Annotations 3.3.0.GA
10:40:44,897 INFO  [Environment] Hibernate 3.2.4.sp1
10:40:44,975 INFO  [Environment] hibernate.properties not found
10:40:44,975 INFO  [Environment] Bytecode provider name : cglib
10:40:44,991 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
10:40:45,241 INFO  [Version] Hibernate EntityManager 3.3.1.GA

first error: (its different; still with Ejb3Configuration.java though)

10:40:45,335 INFO  [Ejb3Configuration] Processing PersistenceUnitInfo [
        name: bookingDatabase
        ...]
10:40:45,335 ERROR [Ejb3Configuration] Container is providing a null
PersistenceUnitRootUrl: discovery impossible
10:40:45,381 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.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
        at org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)
        at
org.hibernate.ejb.Ejb3Configuration.scanForXmlFiles(Ejb3Configuration.java:606)
        at
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:351)
        at
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
        at
org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:119)
        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)
10:40:45,381 WARN  [BasicLifecycleMonitor] Exception occured while notifying
listener
java.lang.NoClassDefFoundError:
EDU/oswego/cs/dl/util/concurrent/ConcurrentReaderHashMap
        at org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)
...


I think this is good progress!

Could you let me know what I need to do next?

Thanks very much,
.Burt




djencks wrote:
> 
> 
> On Feb 28, 2008, at 9:47 AM, Burt Prior wrote:
> 
>>
>> Hi David and Jacek,
>>
>>> If you install this in your geronimo repo you should be able to  
>>> get  past
>>> this problem.
>>
>> Excellent.  Could you point me to what I need to install?  Is it in
>> subversion repo?
> 
> cd <geronimo-home>
> mkdir -p repository/org/apache/geronimo/modules/geronimo-persistence- 
> jpa10/2.2-SNAPSHOT
> wget http://people.apache.org/repo/m2-snapshot-repository/org/apache/ 
> geronimo/modules/geronimo-persistence-jpa10/2.2-SNAPSHOT/geronimo- 
> persistence-jpa10-2.2-20080228.021634-2.jar
> mv geronimo-persistence-jpa10-2.2-20080228.021634-2.jar    repository/ 
> org/apache/geronimo/modules/geronimo-persistence-jpa10/2.2-SNAPSHOT/ 
> geronimo-persistence-jpa10-2.2-SNAPSHOT.jar
> 
> then edit var/config/artifact_aliases.properties
> 
> add lines
> 
> org.apache.geronimo.modules/geronimo-persistence-jpa10// 
> jar=org.apache.geronimo.modules/geronimo-persistence-jpa10/2.2- 
> SNAPSHOT/jar
> org.apache.geronimo.modules/geronimo-persistence-jpa10/2.1/ 
> jar=org.apache.geronimo.modules/geronimo-persistence-jpa10/2.2- 
> SNAPSHOT/jar
> 
> I have a lot of trouble writing directions that can be followed, so  
> don't be shy about complaining :-)
> hmmm.... we need console and gshell actions to upgrade an artifact  
> from a known handy repo such as the apache snapshot repo...
> 
> GERONIMO-3884
> 
> thanks
> david jencks
> 
>>
>> Do I still need to have Hibernate patched (correctly) to avoid the  
>> NPE?
>>
>> I'm trying to run thru the exact setup steps I need to do on  
>> Geronimo to get
>> it working.
>>
>> Thanks,
>> .Burt
>>
>>
>>
>> djencks wrote:
>>>
>>>
>>> On Feb 27, 2008, at 6:01 PM, Jacek Laskowski wrote:
>>>
>>>> On Wed, Feb 27, 2008 at 5:51 PM, David Jencks
>>>> <[EMAIL PROTECTED]> wrote:
>>>>
>>>>>  did you complain about this on the lists when you found the  
>>>>> problem?
>>>>
>>>> Complain? No, not at all. Just put a note with other stuff and it
>>>> might not get enough attention. See
>>>> http://www.nabble.com/forum/ViewPost.jtp?post=13785778.
>>>
>>> I even remember reading that post :-(
>>>
>>> Anyway I think it's fixed now and I pushed the jar for trunk....
>>> org/apache/geronimo/modules/geronimo-persistence-jpa10/2.2-SNAPSHOT/
>>> geronimo-persistence-jpa10-2.2-20080228.021634-2.jar
>>> to the apache snapshot repo.
>>>
>>> If you install this in your geronimo repo you should be able to get
>>> past this problem.  It might be simpler to name it geronimo-
>>> persistence-jpa10-2.1.jar although it would be better to keep its
>>> real name and put it in the right place and if necessary use an
>>> artifact_alias entry to get geronimo to find it.
>>>
>>> entries would look like
>>> org.apache.geronimo.modules/geronimo-persistence-jpa10//
>>> jar=org.apache.geronimo.modules/geronimo-persistence-jpa10/2.2-
>>> SNAPSHOT/jar
>>> org.apache.geronimo.modules/geronimo-persistence-jpa10/2.1/
>>> jar=org.apache.geronimo.modules/geronimo-persistence-jpa10/2.2-
>>> SNAPSHOT/jar
>>>
>>> hope this helps
>>> david jencks
>>>
>>>
>>>>
>>>> Jacek
>>>>
>>>> -- 
>>>> Jacek Laskowski
>>>> http://www.JacekLaskowski.pl
>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: http://www.nabble.com/Geronimo-2.1- 
>> and-Seam-tp15621154s134p15741951.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-tp15621154s134p15743385.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to