Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 18429 invoked from network); 28 Feb 2008 20:15:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Feb 2008 20:15:07 -0000 Received: (qmail 8379 invoked by uid 500); 28 Feb 2008 20:14:58 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 8358 invoked by uid 500); 28 Feb 2008 20:14:58 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 8347 invoked by uid 99); 28 Feb 2008 20:14:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Feb 2008 12:14:58 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [68.142.200.153] (HELO n30.bullet.mail.mud.yahoo.com) (68.142.200.153) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 28 Feb 2008 20:14:21 +0000 Received: from [68.142.194.244] by n30.bullet.mail.mud.yahoo.com with NNFMP; 28 Feb 2008 20:14:29 -0000 Received: from [68.142.201.66] by t2.bullet.mud.yahoo.com with NNFMP; 28 Feb 2008 20:14:29 -0000 Received: from [127.0.0.1] by omp418.mail.mud.yahoo.com with NNFMP; 28 Feb 2008 20:14:29 -0000 X-Yahoo-Newman-Id: 732955.14644.bm@omp418.mail.mud.yahoo.com Received: (qmail 27232 invoked from network); 28 Feb 2008 20:14:29 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-Newman-Property:Mime-Version:In-Reply-To:References:Content-Type:Message-Id:From:Subject:Date:To:X-Mailer; b=n00BJm3WQXSLfleRBc9KxaThJu3rYp4FSpLsbc2S9LOA6eL8+fEhQaAUQAkEZqiNKdYJHU5dACsZtKVDgOGvfCto1hNK1uRMHm4djxAMSv9DKSiYyEKehNluqgBBFHdIrLX53IuisHViNE6PGmI/n7Oc2Rn08xYzdZ+8GlSGg5c= ; Received: from unknown (HELO ?192.168.1.108?) (david_jencks@67.102.173.8 with plain) by smtp128.plus.mail.sp1.yahoo.com with SMTP; 28 Feb 2008 20:14:25 -0000 X-Yahoo-Newman-Property: ymail-3 Mime-Version: 1.0 (Apple Message framework v753) In-Reply-To: <15743385.post@talk.nabble.com> References: <47BE30FE.9000002@gmail.com> <15703423.post@talk.nabble.com> <1b5bfeb50802261940p179cd494k9a391d43c5846fc4@mail.gmail.com> <15721151.post@talk.nabble.com> <15726090.post@talk.nabble.com> <1b5bfeb50802271729g4a2a8a6dl56581c2d86a8d660@mail.gmail.com> <1b5bfeb50802271736l4b6f3d98nc16d56fa19a8f57f@mail.gmail.com> <7E66A1C9-EB6D-4909-B5DB-DC5724800146@yahoo.com> <1b5bfeb50802271801j257d7ea6w76b975b76ba37e6f@mail.gmail.com> <15741951.post@talk.nabble.com> <15743385.post@talk.nabble.com> Content-Type: multipart/alternative; boundary=Apple-Mail-5-436709039 Message-Id: <4D8CDEEF-4794-47B3-BA24-1A0C723AAC06@yahoo.com> From: David Jencks Subject: Re: Geronimo 2.1 and Seam Date: Thu, 28 Feb 2008 12:14:51 -0800 To: user@geronimo.apache.org X-Mailer: Apple Mail (2.753) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-5-436709039 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Feb 28, 2008, at 10:58 AM, Burt Prior wrote: > > 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. yes :-) I think you need to add the concurrent jar as a dependency... First get it in your g. repo mkdir -p repository/concurrent/concurrent/1.3.4 wget http://repo1.maven.org/maven2/concurrent/concurrent/1.3.4/ concurrent-1.3.4.jar mv concurrent-1.3.4.jar repository/concurrent/concurrent/1.3.4/ and add it as a dependency in your g. plan for the example (jboss- seam-jee5-geronimo-plan.xml) org.jboss.seam.examples.jee5 jboss-seam-jee5 2.0.0.GA ear org.apache.geronimo.hibernate.transaction geronimo-hibernate-transaction-manager-lookup jar concurrent concurrent jar Hmmm.... maybe we should set this example up as a plugin so maven + geronimo will install this dependency for you. Hope this helps david jencks > 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.(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.createContainerEntityManagerFac > tory(HibernatePersistence.java:126) > at > org.apache.geronimo.persistence.PersistenceUnitGBean. > (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.fireRunningEven > t(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.fireRunningEven > t(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.startConfiguration > GBeans(ConfigurationUtil.java:456) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start > (KernelConfigurationManager.java:187) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConf > iguration(SimpleConfigurationManager.java:534) > 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.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.(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 >> 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 >>>>> 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. > --Apple-Mail-5-436709039 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
On Feb 28, 2008, at 10:58 AM, Burt Prior wrote:


Hi = David,

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

I started geronimo with no issues, then issued my = usual deploy command.=A0 = I
got a bunch of errors, but they = are different now.=A0 I = think we are actually
making progress.=A0

yes :-)

I think you need to add = the concurrent jar as a dependency...

First get it in your g. = repo=A0

mkdir = -p repository/concurrent/concurrent/1.3.4
wget=A0http://repo1.maven.org/maven2/= concurrent/concurrent/1.3.4/concurrent-1.3.4.jar
mv = concurrent-1.3.4.jar = repository/concurrent/concurrent/1.3.4/

and add it as a dependency = in your g. plan for the example = (jboss-seam-jee5-geronimo-plan.xml)

=A0 =A0 <moduleId>
=A0 =A0 =A0 = <groupId>org.jboss.seam.examples.jee5</groupId>
=A0 =A0 =A0 = <artifactId>jboss-seam-jee5</artifactId>
=A0 =A0 =A0 = <version>2.0.0.GA</version>
=A0 =A0 =A0 = <type>ear</type>
=A0 =A0 = </moduleId>
=A0 =A0 = <dependencies>
=A0=A0 =A0=A0=A0<dependency>
=A0 =A0 =A0 = =A0=A0<groupId>org.apache.geronimo.hibernate.transaction</groupId= >
=A0 =A0 = =A0=A0</dependency>
=A0=A0 =A0=A0=A0<dependency>
=A0 =A0 =A0 = =A0=A0<groupId>concurrent</groupId>
=A0 =A0 =A0 = =A0=A0<artifactId>concurrent</artifactId>
=A0 =A0 =A0 = =A0=A0<type>jar</type>
=A0 =A0 =A0=A0</dependency>
=A0=A0 =A0</dependencies>
=A0 </environment>


Hmmm.... maybe we should = set this example up as a plugin so maven + geronimo will install this = dependency for you.

Hope this = helps
david jencks

Here = are the snippets from my log:

good geronimo start:

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

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

...

10:40:38,868 INFO=A0 [OpenEJB] Auto-deploying ejb = AuthenticatorAction:
10:40:38,868 INFO=A0 [OpenEJB] Auto-deploying ejb = BookingListAction:
10:40:38,868 INFO=A0 [OpenEJB] Auto-deploying ejb = ChangePasswordAction:
10:40:38,883 INFO=A0 [OpenEJB] Auto-deploying ejb = HotelBookingAction:
10:40:38,883 INFO=A0 [OpenEJB] Auto-deploying ejb = HotelSearchingAction:
10:40:38,883 INFO=A0 [OpenEJB] Auto-deploying ejb = RegisterAction:
10:40:38,883 INFO=A0 [OpenEJB] Auto-deploying ejb = TimerServiceDispatcher:
10:40:38,883 INFO=A0 [OpenEJB] Auto-deploying ejb = EjbSynchronizations:
10:40:38,930 INFO=A0 [config] Loaded = Module:
10:40:44,366 INFO=A0 [KernelContextGBean] bound = gbean
at = name
10:40:44,475 INFO=A0 [Version] Hibernate = Annotations 3.3.0.GA
10:40:44,897 INFO=A0 [Environment] Hibernate = 3.2.4.sp1
10:40:44,975 INFO=A0 [Environment] = hibernate.properties not found
10:40:44,975 = INFO=A0 [Environment] = Bytecode provider name : cglib
10:40:44,991 = INFO=A0 [Environment] using = JDK 1.4 java.sql.Timestamp handling
10:40:45,241 = INFO=A0 [Version] Hibernate = EntityManager 3.3.1.GA
first error: (its different; = still with Ejb3Configuration.java though)

10:40:45,335 = INFO=A0 [Ejb3Configuration] = Processing PersistenceUnitInfo [
name: = bookingDatabase
...]
PersistenceUnitRootUrl: = discovery impossible
10:40:45,381 ERROR = [GBeanInstanceState] Error while starting; GBean is now
in the FAILED state:
java.lang.NoClassDefFoundError:
at = org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)<= /div>
at
at
at
= at
at = sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native = Method)
at
= at
at = java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
at
= at
at
at
= at
at
at
= at
= at
at
= at
at
at
= at
at
at
= at
= at
at
= at
at
= at
at
at
= at
= at
at
at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
at
at = java.lang.reflect.Method.invoke(Method.java:597)
at
= at
at
at
at = org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:342)
<= div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; "> at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
at
at = java.lang.reflect.Method.invoke(Method.java:597)
at
= at
at
at
at
at
at = com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at
at
at
at = java.security.AccessController.doPrivileged(Native Method)
at
= at
at = sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
at
at = java.lang.reflect.Method.invoke(Method.java:597)
at = sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
<= div style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; = margin-left: 0px; "> 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
at
at
at
at = java.lang.Thread.run(Thread.java:619)
=A0 = [BasicLifecycleMonitor] Exception occured while = notifying
listener
java.lang.NoClassDefFoundError:
at = org.jboss.util.file.ArchiveBrowser.<clinit>(ArchiveBrowser.java:52)<= /div>
...


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 =A0
get=A0 past
this problem.

=A0 Could you = point me to what I need to install?=A0= Is it in
subversion repo?
=

cd <geronimo-home>
mkdir -p = repository/org/apache/geronimo/modules/geronimo-persistence-=A0
=A0
mv = geronimo-persistence-jpa10-2.2-20080228.021634-2.jar=A0 =A0 repository/=A0
=A0

then = edit var/config/artifact_aliases.properties

add = lines

=A0
=A0
=A0
=A0

I have a lot of trouble writing directions that can = be followed, so =A0
don't be shy about complaining :-)
hmmm.... we need console and gshell actions to = upgrade an artifact =A0
from a = known handy repo such as the apache snapshot repo...


thanks
david = jencks

=
Do I still need to have = Hibernate patched (correctly) to avoid the =A0

I'm trying to run thru the exact setup steps I need = to do on =A0
Geronimo to get
it = working.

Thanks,



djencks = wrote:


On Feb 27, 2008, at 6:01 PM, Jacek Laskowski = wrote:

=
On Wed, Feb 27, 2008 at = 5:51 PM, David Jencks

=
=A0did you complain about this on = the lists when you found the =A0

Complain? No, not at all. Just = put a note with other stuff and it
might not get = enough attention. See
=

I even remember reading that post :-(

Anyway I = think it's fixed now and I pushed the jar for trunk....
to the apache snapshot repo.

If you = install this in your geronimo repo you should be able to get
past this problem.=A0 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
SNAPSHOT/jar
SNAPSHOT/jar

hope this helps
david jencks


=
Jacek

--=A0
Jacek = Laskowski





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





--=A0
Sent from the Apache Geronimo - = Users mailing list archive at Nabble.com.


= --Apple-Mail-5-436709039--