Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 12220 invoked from network); 22 Feb 2006 05:21:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Feb 2006 05:21:11 -0000 Received: (qmail 917 invoked by uid 500); 22 Feb 2006 05:21:08 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 890 invoked by uid 500); 22 Feb 2006 05:21:07 -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 877 invoked by uid 99); 22 Feb 2006 05:21:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 21:21:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of www.bkk@gmail.com designates 64.233.162.202 as permitted sender) Received: from [64.233.162.202] (HELO zproxy.gmail.com) (64.233.162.202) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2006 21:21:05 -0800 Received: by zproxy.gmail.com with SMTP id j2so1426115nzf for ; Tue, 21 Feb 2006 21:20:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=XH99DF07j474+UL+ngpIG/ZJ7GMPmBJSZc24IQYlFzZPLkL3BplxvEG1VSjtrhiec/+fHhkFzPs5NArRq4+6XMxIPSOslWSOLyrLnTi7RaGZs5XetYntraKC8mvhJWPnlhvwL3r+5/SEMu6+gjugSydhkwPiqgcRElA8EEIqWNE= Received: by 10.36.121.20 with SMTP id t20mr376789nzc; Tue, 21 Feb 2006 21:20:44 -0800 (PST) Received: by 10.36.160.5 with HTTP; Tue, 21 Feb 2006 21:20:44 -0800 (PST) Message-ID: <2ed2f49c0602212120y34ca6b8dpa04ac0cae87cab97@mail.gmail.com> Date: Wed, 22 Feb 2006 10:50:44 +0530 From: "Krishnakumar B" To: user@geronimo.apache.org Subject: Re: Still stuck on MDB deploy... In-Reply-To: <43FB74D6.6040700@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43F681D9.8020701@gmail.com> <43FA0EAE.2040101@gmail.com> <74e15baa0602201136y3c1ad4f8n7d649f6f9c4f31ee@mail.gmail.com> <43FA201D.2010409@gmail.com> <74e15baa0602201246o3cec304et2b7f878054a04043@mail.gmail.com> <43FA30BB.3080706@gmail.com> <2ed2f49c0602210042ta492929tf3223672620e5086@mail.gmail.com> <43FB74D6.6040700@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Todd, U need to deploy the connector first by bundling geronimo-ra.xml along with RAR or by supplyinng it as a parameter to deploy tool. Try deploying the RA first and then deploy the EAR file. ( If u r using ActiveMQ RAR in Geronimo add it as ext-module in EAR plan.) U can get the daytrader plans when u download the source. Its under applications/daytrader. The plan is dayTrader-plan.xml This is a EAR plan and contains connectors are ext-modules. Regards Krish On 2/22/06, Todd Mason wrote: > Thanks for the clarification. > > I now have a plan file, but when I run the deploy I get this message. > > C:\geronimo-1.0\bin>deploy deploy todd-plan.xml WorkJ2EE.ear > > Error: Unable to distribute WorkJ2EE.ear: A connector module must be > deployed using a Geronimo deployment plan (either > META-INF/geronimo-ra.xml in the RAR file or a standalone deployment > plan passed to the deployer). > > Here is my plan file, is it incomplete in some way? Also, is there > somewhere in the Geronimo install where I can find the daytrader EAR? > That would be of great help! If I could look at it's layout and see all > the required files. I'm thinking my EAR must be missing some critical > Geronimo specifics but I'm not sure what. > > Todd > > > configId=3D"Workj2ee" > > > > > WorkJ2EEEJB.jar > configId=3D"WorkTODDEJBs" > > > > > MDB1 > > SGJMS > > > > > destinationType > > javax.jms.Queue > > > > destination > > SGQueue1 > > > > acknowledgeMode > > Auto-acknowledge > > > > SubscriptionDurability > > NonDurable > > > > > > > > > SGJMS > activemq/activemq-ra/3.2.1/rar > xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/connector-1.0" > xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming-1.0" > configId=3D"SGJMS"> > > > > > SGJMS > name=3D"ServerUrl">tcp://localhost:61616 > not > needed > not > needed > > DefaultWorkManager > > > > > > > javax.jms.ConnectionFactory > > jms/SGQueueConnectionFactory > > javax.jms.QueueConnectionFactory > > > > > > 10 > 0 > > 5000 > > 0 > > > > > > > > javax.jms.ConnectionFactory > > jms/SGTopicConnectionFactory > > javax.jms.TopicConnectionFactory > > > > > > 10 > 0 > > 5000 > > 0 > > > > > > > > > > > javax.jms.Topic > > org.codehaus.activemq.message.ActiveMQTopic > > > SGTopic1 > name=3D"PhysicalName">SGTopic1 > > > > > > javax.jms.Queue > > org.codehaus.activemq.message.ActiveMQQueue > > > SGQueue1 > name=3D"PhysicalName">SGQueue1 > > > > > > > > > My application.xml file contents. > > > xmlns=3D"http://java.sun.com/xml/ns/j2ee" > xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee > http://java.sun.com/xml/ns/j2ee/application_1_4.xsd" > version=3D"1.4"> > > WorkJ2EE > > > WorkJ2EEWeb.war > /WorkJ2EEWeb > > > > WorkJ2EEEJB.jar > > > activemq-ra-3.2.1.rar > > > > > Krishnakumar B wrote: > > hi Todd, > > > > U can create a EAR plan and put all the Geronimo configurations in it. > > ( Refer to Daytrader plan ) > > > > > > > > WEB > > > > > > EJB > > > > RA > > > > > > This contains all web, ejb configurations instead of putting them in > > openejb-jar.xml and geronimo-web.xml. > > > > U can deploy the ear using deploy tool along with the above plan. > > > > /bin/deploy deploy yourappplan.xml yourapp.ear > > > > Hope this helps. > > > > Regards > > Krish > > > > On 2/21/06, Todd Mason wrote: > > > >> Thanks for the clarification. I'm changing too many things at once and > >> getting myself confused. :~) > >> > >> Where do I put my "Plan" file if I opt not to use a "openejb-jar.xml" = to > >> describe my Geronimo specific settings for my message bean? And if I > >> have a "plan" file that describes my ejb and its resources such as > >> follows how do I deploy it? > >> > >> Thanks for your patience. > >> > >> Todd > >> > >> My plan file. > >> > >> > >> >> configId=3D"silverglobe/ejb/WorkJ2EE/car"> > >> > >> > >> > >> WorkJ2EEEJB.jar > >> >> configId=3D"WorkTODDEJBs" > >> > > >> > >> > >> MDB1 > >> > >> SGJMS > >> > >> > >> > >> > >> destinationType > >> > >> javax.jms.Queue > >> > >> > >> > >> destination > >> > >> SGQueue1 > >> > >> > >> > >> acknowledgeMode > >> > >> Auto-acknowledge > >> > >> > >> > >> SubscriptionDurability > >> > >> NonDurable > >> > >> > >> > >> > >> > >> > >> > >> > >> SGJMS > >> activemq/activemq-ra/3.2.1/rar > >> >> xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/connector-1= .0" > >> xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming-1.= 0" > >> configId=3D"SGJMS"> > >> > >> > >> > >> > >> SGJMS > >> >> name=3D"ServerUrl">tcp://localhost:61616 > >> not > >> needed > >> not > >> needed > >> > >> DefaultWorkManager > >> > >> > >> > >> > >> > >> > >> javax.jms.ConnectionFactory > >> > >> jms/SGQueueConnectionFactory > >> > >> javax.jms.QueueConnectionFactory > >> > >> > >> > >> > >> > >> 10 > >> 0 > >> > >> 5000 > >> > >> 0 > >> > >> > >> > >> > >> > >> > >> > >> javax.jms.ConnectionFactory > >> > >> jms/SGTopicConnectionFactory > >> > >> javax.jms.TopicConnectionFactory > >> > >> > >> > >> > >> > >> 10 > >> 0 > >> > >> 5000 > >> > >> 0 > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> javax.jms.Topic > >> > >> org.codehaus.activemq.message.ActiveMQTopic > >> > >> > >> SGTopic1 > >> >> name=3D"PhysicalName">SGTopic1 > >> > >> > >> > >> > >> > >> javax.jms.Queue > >> > >> org.codehaus.activemq.message.ActiveMQQueue > >> > >> > >> SGQueue1 > >> >> name=3D"PhysicalName">SGQueue1 > >> > >> > >> > >> > >> > >> > >> > >> > >> Aaron Mulder wrote: > >> > >>> For this module: > >>> > >>> > >>> activemq-ra-3.2.1.rar > >>> jms-resource-plan.xml > >>> > >>> > >>> Your Geronimo plan (jms-resource-plan.xml) is this: > >>> > >>> > >>> >>> configId=3D"silverglobe/ejb/WorkJ2EE/car"> > >>> ... > >>> > >>> But that's not correct -- is for an EAR, and > >>> activemq-ra-3.2.1.rar is a RAR. Your original message had: > >>> > >>> My jms-resource-plan.xml file > >>> > >>> >>> xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/connector-1.0" > >>> xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming" > >>> configId=3D"com/silverglobe/SGJMSResources" > >>> parentId=3D"geronimo/activemq-broker/1.0/car" > >>> > > >>> > >>> Which is the correct type of plan for a RAR. I'm not sure how things > >>> got confused between your first message and the most recent one. > >>> > >>> Thanks, > >>> Aaron > >>> > >>> On 2/20/06, Todd Mason wrote: > >>> > >>> > >>>> Aaron, > >>>> > >>>> I'm afraid I didn't follow you, are one of my files supposed to be a= rar? > >>>> > >>>> Todd > >>>> > >>>> Aaron Mulder wrote: > >>>> > >>>> > >>>>> Your "JMS resource plan" is an EAR plan not a RAR plan -- if that's > >>>>> not a typo then it's probably the problem. > >>>>> > >>>>> Aaron > >>>>> > >>>>> On 2/20/06, Todd Mason wrote: > >>>>> > >>>>> > >>>>> > >>>>>> David Jencks wrote: > >>>>>> > >>>>>> > >>>>>> > >>>>>>> I don't see anything wrong with your plans. For an example you c= ould > >>>>>>> look at the daytrader plans in configs/daytrader-*/src/plan/plan.= xml > >>>>>>> which contain some mdbs and they seem to work fine. I think your= jms > >>>>>>> stuff is deployed fine, and you are seeing a classloading problem= when > >>>>>>> the mdb tries to start. However I don't see the cause yet. You = could > >>>>>>> try imitating the setup of daytrader, where the jms is deployed a= s an > >>>>>>> "external module" in the same configuration as the ear. Similarl= y you > >>>>>>> could construct a "synthetic ear" with both your ejbs and the jms > >>>>>>> stuff as external modules. If this worked it might indicate a pr= oblem > >>>>>>> with our classloading. However I think there are other examples = of > >>>>>>> mdbs working with the jms deployed separately. > >>>>>>> > >>>>>>> thanks > >>>>>>> david jencks > >>>>>>> > >>>>>>> On Feb 17, 2006, at 6:09 PM, Todd Mason wrote: > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>>> Hello all, > >>>>>>>> > >>>>>>>> I'm getting a java.lang.ClassNotFoundException: > >>>>>>>> org.activemq.ra.ActiveMQActivationSpec exception when I deploy m= y > >>>>>>>> message driven bean. I'm using Geronimo 1.0 on XP. As near as I = can > >>>>>>>> tell my JMS resource plan deployed properly, from the console I = can > >>>>>>>> see the resources deployed JMS Factory and Queue, the "test > >>>>>>>> connection" link also appears to work fine. Is there anything el= se I > >>>>>>>> need to do to verify my JMS resources are deployed properly? Doe= s > >>>>>>>> anyone have a sample openejb-jar.xml file containing a message b= ean? > >>>>>>>> Following is my stack trace from my geronimo.log file. > >>>>>>>> > >>>>>>>> Thanks in advance. > >>>>>>>> > >>>>>>>> Todd > >>>>>>>> > >>>>>>>> > >>>>>>>> 19:52:59,281 DEBUG [GBeanSingleReference] Waiting to start > >>>>>>>> geronimo.server:J2EEApplication=3DWorkJ2EE,J2EEServer=3Dgeronimo= ,j2eeType=3DWebModule,name=3DWorkJ2EEWeb.war > >>>>>>>> because no targets are running for reference J2EEApplication mat= ching > >>>>>>>> the patterns > >>>>>>>> geronimo.server:J2EEServer=3Dgeronimo,j2eeType=3DJ2EEApplication= ,name=3DWorkJ2EE > >>>>>>>> > >>>>>>>> 19:52:59,296 ERROR [GBeanInstanceState] Error while starting; GB= ean > >>>>>>>> is now in the FAILED state: > >>>>>>>> objectName=3D"geronimo.server:EJBModule=3DWorkJ2EEEJB.jar,J2EEAp= plication=3DWorkJ2EE,J2EEServer=3Dgeronimo,j2eeType=3DJCAActivationSpec,nam= e=3DMDB1" > >>>>>>>> > >>>>>>>> java.lang.ClassNotFoundException: org.activemq.ra.ActiveMQActiva= tionSpec > >>>>>>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:199) > >>>>>>>> at java.security.AccessController.doPrivileged(Native Method) > >>>>>>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:187) > >>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:289) > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.config.MultiParentClassLoader.loadCla= ss(MultiParentClassLoader.java:209) > >>>>>>>> > >>>>>>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:235) > >>>>>>>> at > >>>>>>>> org.apache.geronimo.connector.ActivationSpecWrapper.(Activ= ationSpecWrapper.java:65) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.connector.ActivationSpecWrapperGBean.(= ActivationSpecWrapperGBean.java:42) > >>>>>>>> > >>>>>>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nat= ive > >>>>>>>> Method) > >>>>>>>> at > >>>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeCons= tructorAccessorImpl.java:39) > >>>>>>>> > >>>>>>>> at > >>>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Delega= tingConstructorAccessorImpl.java:27) > >>>>>>>> > >>>>>>>> at java.lang.reflect.Constructor.newInstance(Constructor.java= :274) > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(G= BeanInstance.java:901) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFull= Start(GBeanInstanceState.java:325) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBean= InstanceState.java:110) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecurs= ive(GBeanInstanceState.java:132) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(G= BeanInstance.java:537) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean= (BasicKernel.java:208) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.config.Configuration.startRecursiveGB= eans(Configuration.java:315) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.config.Configuration$$FastClassByCGLI= B$$7f4b4a9b.invoke() > >>>>>>>> > >>>>>>>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastM= ethodInvoker.java:38) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOpe= ration.java:118) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInst= ance.java:835) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.= java:178) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.= java:173) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.config.ConfigurationManagerImpl.start= (ConfigurationManagerImpl.java:142) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.config.ConfigurationManagerImpl$$Fast= ClassByCGLIB$$fbed85d2.invoke() > >>>>>>>> > >>>>>>>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastM= ethodInvoker.java:38) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOpe= ration.java:118) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInst= ance.java:800) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.j= ava:57) > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawO= perationInvoker.java:36) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercep= t(ProxyMethodInterceptor.java:96) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.kernel.config.ConfigurationManager$$Enhancer= ByCGLIB$$aafd0674.start() > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.console.configmanager.DeploymentPortlet.proc= essAction(DeploymentPortlet.java:126) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.pluto.core.PortletServlet.dispatch(PortletServlet.jav= a:229) > >>>>>>>> at > >>>>>>>> org.apache.pluto.core.PortletServlet.doPost(PortletServlet.java:= 163) > >>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:61= 5) > >>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:68= 8) > >>>>>>>> at > >>>>>>>> org.apache.pluto.core.PortletServlet.service(PortletServlet.java= :153) > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= (ApplicationFilterChain.java:252) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica= tionFilterChain.java:173) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(Applicatio= nDispatcher.java:672) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Applica= tionDispatcher.java:574) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationDispatcher.include(Applicati= onDispatcher.java:499) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.pluto.invoker.impl.PortletInvokerImpl.invoke(PortletI= nvokerImpl.java:120) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.pluto.invoker.impl.PortletInvokerImpl.action(PortletI= nvokerImpl.java:68) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.pluto.PortletContainerImpl.processPortletAction(Portl= etContainerImpl.java:164) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.pluto.portalImpl.core.PortletContainerWrapperImpl.pro= cessPortletAction(PortletContainerWrapperImpl.java:82) > >>>>>>>> > >>>>>>>> at org.apache.pluto.portalImpl.Servlet.doGet(Servlet.java:227= ) > >>>>>>>> at org.apache.pluto.portalImpl.Servlet.doPost(Servlet.java:26= 7) > >>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:61= 5) > >>>>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:68= 8) > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter= (ApplicationFilterChain.java:252) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applica= tionFilterChain.java:173) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWra= pperValve.java:213) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardCon= textValve.java:178) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authe= nticatorBase.java:482) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodV= alve.invoke(GeronimoStandardContext.java:272) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.tomcat.valve.DefaultSubjectValve.invoke(Defa= ultSubjectValve.java:46) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.tomcat.valve.PolicyContextValve.invoke(Polic= yContextValve.java:50) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(= TransactionContextValve.java:53) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(Co= mponentContextValve.java:47) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(Ins= tanceContextValve.java:60) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostVa= lve.java:126) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportVa= lve.java:105) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngi= neValve.java:107) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.= java:526) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapte= r.java:148) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor= .java:856) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.= processConnection(Http11Protocol.java:744) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcp= Endpoint.java:527) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(Lead= erFollowerWorkerThread.java:80) > >>>>>>>> > >>>>>>>> at > >>>>>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Th= readPool.java:684) > >>>>>>>> > >>>>>>>> at java.lang.Thread.run(Thread.java:534) > >>>>>>>> 19:52:59,296 DEBUG [GBeanSingleReference] Waiting to start > >>>>>>>> geronimo.server:J2EEApplication=3DWorkJ2EE,J2EEServer=3Dgeronimo= ,j2eeType=3DEJBModule,name=3DWorkJ2EEEJB.jar > >>>>>>>> because no targets are running for reference J2EEApplication mat= ching > >>>>>>>> the patterns > >>>>>>>> geronimo.server:J2EEServer=3Dgeronimo,j2eeType=3DJ2EEApplication= ,name=3DWorkJ2EE > >>>>>>>> > >>>>>>>> 19:52:59,421 DEBUG [GBeanSingleReference] Waiting to start > >>>>>>>> geronimo.server:EJBModule=3DWorkJ2EEEJB.jar,J2EEApplication=3DWo= rkJ2EE,J2EEServer=3Dgeronimo,j2eeType=3DMessageDrivenBean,name=3DMDB1 > >>>>>>>> because no targets are running for reference ActivationSpecWrapp= er > >>>>>>>> matching the patterns > >>>>>>>> geronimo.server:EJBModule=3DWorkJ2EEEJB.jar,J2EEApplication=3DWo= rkJ2EE,J2EEServer=3Dgeronimo,j2eeType=3DJCAActivationSpec,name=3DMDB1 > >>>>>>>> > >>>>>>>> > >>>>>>>> My openejb-jar.xml file > >>>>>>>> > >>>>>>>> >>>>>>>> xmlns=3D"http://www.openejb.org/xml/ns/openejb-jar" > >>>>>>>> xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming" > >>>>>>>> xmlns:security=3D"http://geronimo.apache.org/xml/ns/security" > >>>>>>>> xmlns:sys=3D"http://geronimo.apache.org/xml/ns/deployment" > >>>>>>>> configId=3D"WORKJ2EE" parentId=3D"com/silverglobe/SGJMSResour= ces"> > >>>>>>>> > >>>>>>>> > >>>>>>>> MDB1 > >>>>>>>> > >>>>>>>> > >>>>>>>> geronimo.server:J2EEApplication=3Dnull,J2EEServer= =3Dgeronimo,JCAResource=3Dcom/silverglobe/SGJMSResources,j2eeType=3DJCAMana= gedConnectionFactory,name=3Djms/SGQueueConnectionFactory > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> destination > >>>>>>>> > >>>>>>>> > >>>>>>>> SGQueue1 > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> destinationType > >>>>>>>> > >>>>>>>> > >>>>>>>> javax.jms.Queue > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> My jms-resource-plan.xml file > >>>>>>>> > >>>>>>>> >>>>>>>> xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/connector-1.0= " > >>>>>>>> xmlns:naming=3D"http://geronimo.apache.org/xml/ns/naming" > >>>>>>>> configId=3D"com/silverglobe/SGJMSResources" > >>>>>>>> parentId=3D"geronimo/activemq-broker/1.0/car" > >>>>>>>> > > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> SGJMSResources > >>>>>>>> >>>>>>>> name=3D"ServerUrl">tcp://localhost:61616 > >>>>>>>> not > >>>>>>>> needed > >>>>>>>> not > >>>>>>>> needed > >>>>>>>> > >>>>>>>> DefaultWorkManager > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> javax.jms.ConnectionFactory > >>>>>>>> > >>>>>>>> > >>>>>>>> jms/SGQueueConnectionFactory > >>>>>>>> > >>>>>>>> javax.jms.QueueConnectionFactory > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> 10 > >>>>>>>> 0 > >>>>>>>> > >>>>>>>> 5000 > >>>>>>>> > >>>>>>>> 0 > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> javax.jms.ConnectionFactory > >>>>>>>> > >>>>>>>> > >>>>>>>> jms/SGTopicConnectionFactory > >>>>>>>> > >>>>>>>> javax.jms.TopicConnectionFactory > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> 10 > >>>>>>>> 0 > >>>>>>>> > >>>>>>>> 5000 > >>>>>>>> > >>>>>>>> 0 > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> javax.jms.Topic > >>>>>>>> > >>>>>>>> org.codehaus.activemq.message.ActiveMQTopic > >>>>>>>> > >>>>>>>> > >>>>>>>> SGTopic1 > >>>>>>>> >>>>>>>> name=3D"PhysicalName">SGTopic1 > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> javax.jms.Queue > >>>>>>>> > >>>>>>>> org.codehaus.activemq.message.ActiveMQQueue > >>>>>>>> > >>>>>>>> > >>>>>>>> SGQueue1 > >>>>>>>> >>>>>>>> name=3D"PhysicalName">SGQueue1 > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>> David, > >>>>>> > >>>>>> Thanks for the ideas, > >>>>>> > >>>>>> What I tried today, without much luck is to deploy as an external = module > >>>>>> in the same ear. I'm getting a different error at least! > >>>>>> > >>>>>> I get this error on deploy. > >>>>>> > >>>>>> Error: Unable to distribute WorkJ2EE.ear: A connector module must= be > >>>>>> deployed using a Geronimo deployment plan (either > >>>>>> META-INF/geronimo-ra.xml in the RAR file or a standalone deplo= yment > >>>>>> plan passed to the deployer). > >>>>>> > >>>>>> Any thoughts? > >>>>>> > >>>>>> Thanks, > >>>>>> > >>>>>> Todd > >>>>>> > >>>>>> My ear file looks like this. > >>>>>> > >>>>>> META-INF > >>>>>> application.xml > >>>>>> geronimo-application.xml > >>>>>> MANIFEST.MF > >>>>>> activemq-ra-3.2.1.rar > >>>>>> jms-resource-plan.xml > >>>>>> WorkJ2EEEJB.jar > >>>>>> WorkJ2EEWeb.jar > >>>>>> > >>>>>> My application.xml contents. > >>>>>> > >>>>>> > >>>>>> >>>>>> xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" version=3D= "1.4" > >>>>>> xsi:schemaLocation=3D"http://java.sun.com/xml/ns/j2ee > >>>>>> http://java.sun.com/xml/ns/j2ee/application_1_4.xsd"> > >>>>>> WorkJ2EE > >>>>>> > >>>>>> > >>>>>> WorkJ2EEWeb.war > >>>>>> /WorkJ2EEWeb > >>>>>> > >>>>>> > >>>>>> > >>>>>> WorkJ2EEEJB.jar > >>>>>> > >>>>>> > >>>>>> activemq-ra-3.2.1.rar > >>>>>> > >>>>>> > >>>>>> > >>>>>> My geronimo-application.xml contents. > >>>>>> > >>>>>> > >>>>>> >>>>>> xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/connector-1.0" > >>>>>> configId=3D"MyApplication"> > >>>>>> > >>>>>> activemq-ra-3.2.1.rar > >>>>>> jms-resource-plan.xml > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> My jms-resource-plan.xml file. > >>>>>> > >>>>>> > >>>>>> >>>>>> configId=3D"silverglobe/ejb/WorkJ2EE/car"> > >>>>>> > >>>>>> > >>>>>> > >>>>>> WorkJ2EEEJB.jar > >>>>>> >>>>>> configId=3D"WorkTODDEJBs" > >>>>>> > > >>>>>> > >>>>>> > >>>>>> MDB1 > >>>>>> > >>>>>> SGJMS > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> destinationType > >>>>>> > >>>>>> javax.jms.Queue > >>>>>> > >>>>>> > >>>>>> > >>>>>> destination > >>>>>> > >>>>>> TradeStreamerQueue > >>>>>> > >>>>>> > >>>>>> > >>>>>> acknowledgeMode > >>>>>> > >>>>>> Auto-acknowledge > >>>>>> > >>>>>> > >>>>>> > >>>>>> SubscriptionDurability > >>>>>> > >>>>>> NonDurable > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> SGJMS > >>>>>> activemq/activemq-ra/3.2.1/rar > >>>>>> >>>>>> xmlns=3D"http://geronimo.apache.org/xml/ns/j2ee/connec= tor-1.0" > >>>>>> xmlns:naming=3D"http://geronimo.apache.org/xml/ns/nami= ng-1.0" > >>>>>> configId=3D"SGJMS"> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> TradeJMSResources > >>>>>> >>>>>> name=3D"ServerUrl">tcp://localhost:61616 > >>>>>> not > >>>>>> needed > >>>>>> not > >>>>>> needed > >>>>>> > >>>>>> DefaultWorkManager > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> javax.jms.ConnectionFactory > >>>>>> > >>>>>> jms/SGQueueConnectionFactory > >>>>>> > >>>>>> javax.jms.QueueConnectionFactory > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> 10 > >>>>>> 0 > >>>>>> > >>>>>> 5000 > >>>>>> > >>>>>> 0 > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> javax.jms.ConnectionFactory > >>>>>> > >>>>>> jms/SGTopicConnectionFactory > >>>>>> > >>>>>> javax.jms.TopicConnectionFactory > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> 10 > >>>>>> 0 > >>>>>> > >>>>>> 5000 > >>>>>> > >>>>>> 0 > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> javax.jms.Topic > >>>>>> > >>>>>> org.codehaus.activemq.message.ActiveMQTopic > >>>>>> > >>>>>> > >>>>>> TradeStreamerTopic > >>>>>> >>>>>> name=3D"PhysicalName">TradeStreamerTopic > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> javax.jms.Queue > >>>>>> > >>>>>> org.codehaus.activemq.message.ActiveMQQueue > >>>>>> > >>>>>> > >>>>>> TradeBrokerQueue > >>>>>> >>>>>> name=3D"PhysicalName">TradeBrokerQueue > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>> > > > > >