X-Message-Info: JGTYoYF78jEHjJx36Oi8+Z3TmmkSEdPt4iogl2abg+M= Received: from mail.apache.org ([209.237.227.199]) by mc11-f11.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 14 Apr 2005 12:03:52 -0700 Received: (qmail 82445 invoked by uid 500); 14 Apr 2005 19:03:15 -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 Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 82427 invoked by uid 99); 14 Apr 2005 19:03:15 -0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_60_70,HTML_MESSAGE,MIME_HTML_ONLY,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of kaaresti@hotmail.com designates 65.54.175.20 as permitted sender) Received: from bay104-f10.bay104.hotmail.com (HELO hotmail.com) (65.54.175.20) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 14 Apr 2005 12:03:11 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 14 Apr 2005 12:03:09 -0700 Message-ID: Received: from 65.54.175.200 by by104fd.bay104.hotmail.msn.com with HTTP; Thu, 14 Apr 2005 19:03:09 GMT X-Originating-IP: [65.54.175.200] X-Originating-Email: [kaaresti@hotmail.com] X-Sender: kaaresti@hotmail.com In-Reply-To: From: "Katia Aresti Gonzalez" To: user@geronimo.apache.org Bcc: Subject: Re: Deployment fail at persistent EJB, help please!! Date: Thu, 14 Apr 2005 19:03:09 +0000 Mime-Version: 1.0 Content-Type: text/html; charset=iso-8859-1; format=flowed X-OriginalArrivalTime: 14 Apr 2005 19:03:09.0516 (UTC) FILETIME=[993850C0:01C54124] X-Virus-Checked: Checked Return-Path: user-return-347-kaaresti=hotmail.com@geronimo.apache.org

Ok... thank you very much David for your help. Hopefully somebody else will help me with this... :-)

So, please... If somebody can help me... Or send me to my personal email a very little applicattion with a persistent EJB... pleaseeee pleaseeee Nobody has tryed to deploy persistent EJBs???

thanks a lot to everybody!!!

>From: David Jencks <david_jencks@yahoo.com>
>Reply-To: user@geronimo.apache.org
>To: user@geronimo.apache.org
>Subject: Re: Deployment fail at persistent EJB
>Date: Thu, 14 Apr 2005 11:48:11 -0700
>
>You've now gotten outside the area I know anything about :-)
>
>I suspect it is still a problem with the xml, but now with the cmp  
>field elements.  Hopefully you can figure out what is wrong by
>looking  at the code that throws the exception, or someone who knows
>that area  will offer a suggestion.
>
>david jencks
>
>On Apr 14, 2005, at 11:35 AM, Katia Aresti Gonzalez wrote:
>
>>Hi!!!
>>
>>Here is the stack trace!!!! :-) it was in the geronimo.log!!!! i
>>didnt  now anything about this logs, didnt now that the could be so
>>  helpfull!!!
>>
>>Well, it seems that the openejb-ja.xmlr is correct? The problems is
>>in  another part?
>>
>>thanks
>>
>>  Katia
>>
>> 
>>
>>20:26:16,875 DEBUG [Deployer] Deployment failed: plan=null,  
>>module=d:\cmp\build\dist\prueba-ejbs.jar
>>org.apache.geronimo.common.DeploymentException: Unable to
>>initialize  EJBContainer GBean: ejbName [CabinEJB]
>> at  
>>org.openejb.deployment.CMPEntityBuilder.createBean(CMPEntityBuilder.jav
>>a:749)
>> at  
>>org.openejb.deployment.CMPEntityBuilder.buildBeans(CMPEntityBuilder.jav
>>a:138)
>> at  
>>org.openejb.deployment.OpenEJBModuleBuilder.addGBeans(OpenEJBModuleBuil
>>der.java:512)
>> at  
>>org.openejb.deployment.OpenEJBModuleBuilder$$FastClassByCGLIB$$11bd7b20
>>.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at  
>>org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn
>>voker.java:38)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.
>>java:118)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja
>>va:710)
>> at  
>>org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:
>>57)
>> at  
>>org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperatio
>>nInvoker.java:36)
>> at  
>>org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(Proxy
>>MethodInterceptor.java:92)
>> at  
>>org.apache.geronimo.j2ee.deployment.ModuleBuilder$$EnhancerByCGLIB$$380
>>f6faf.addGBeans(<generated>)
>> at  
>>org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration
>>(EARConfigBuilder.java:354)
>> at  
>>org.apache.geronimo.j2ee.deployment.EARConfigBuilder$$FastClassByCGLIB$
>>$38e56ec6.invoke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at  
>>org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn
>>voker.java:38)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.
>>java:118)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja
>>va:710)
>> at  
>>org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:
>>57)
>> at  
>>org.apache.geronimo.kernel.proxy.RawOperationInvoker.invoke(RawOperatio
>>nInvoker.java:36)
>> at  
>>org.apache.geronimo.kernel.proxy.ProxyMethodInterceptor.intercept(Proxy
>>MethodInterceptor.java:92)
>> at  
>>org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$6
>>61d6fa5.buildConfiguration(<generated>)
>> at
>>org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:172)
>> at
>>org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:85)
>> at  
>>org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.inv
>>oke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at  
>>org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn
>>voker.java:38)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.
>>java:118)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja
>>va:745)
>> at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:299)
>> at
>>org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:121)
>> at  
>>org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invo
>>ke(<generated>)
>> at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
>> at  
>>org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodIn
>>voker.java:38)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.
>>java:118)
>> at  
>>org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.ja
>>va:745)
>> at org.apache.geronimo.kernel.Kernel.invoke(Kernel.java:299)
>> at  
>>org.apache.geronimo.kernel.jmx.MBeanServerDelegate.invoke(MBeanServerDe
>>legate.java:117)
>> at  
>>mx4j.remote.rmi.RMIConnectionInvoker.invoke(RMIConnectionInvoker.java:
>>219)
>> at sun.reflect.GeneratedMethodAccessor83.invoke(Unknown Source)
>> at  
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
>>rImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at  
>>mx4j.remote.rmi.RMIConnectionProxy.invoke(RMIConnectionProxy.java:34)
>> at  
>>mx4j.remote.rmi.RMIConnectionSubjectInvoker.chain(RMIConnectionSubjectI
>>nvoker.java:99)
>> at  
>>mx4j.remote.rmi.RMIConnectionSubjectInvoker.access$000(RMIConnectionSub
>>jectInvoker.java:31)
>> at  
>>mx4j.remote.rmi.RMIConnectionSubjectInvoker$1.run(RMIConnectionSubjectI
>>nvoker.java:90)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
>> at
>>mx4j.remote.MX4JRemoteUtils.subjectInvoke(MX4JRemoteUtils.java:163)
>> at  
>>mx4j.remote.rmi.RMIConnectionSubjectInvoker.subjectInvoke(RMIConnection
>>SubjectInvoker.java:86)
>> at  
>>mx4j.remote.rmi.RMIConnectionSubjectInvoker.invoke(RMIConnectionSubject
>>Invoker.java:80)
>> at $Proxy0.invoke(Unknown Source)
>> at  
>>javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.
>>java:221)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at  
>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja
>>va:39)
>> at  
>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso
>>rImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at
>>sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
>> at sun.rmi.transport.Transport$1.run(Transport.java:148)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
>> at  
>>sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:
>>460)
>> at  
>>sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.j
>>ava:701)
>> at java.lang.Thread.run(Thread.java:534)
>>Caused by: java.lang.ArrayIndexOutOfBoundsException: -1
>> at  
>>org.openejb.entity.cmp.CMPInstanceContextFactory.<init>(CMPInstanceCont
>>extFactory.java:127)
>> at  
>>org.openejb.deployment.CMPContainerBuilder.buildIt(CMPContainerBuilder.
>>java:306)
>> at  
>>org.openejb.deployment.AbstractContainerBuilder.createConfiguration(Abs
>>tractContainerBuilder.java:355)
>> at  
>>org.openejb.deployment.CMPEntityBuilder.createBean(CMPEntityBuilder.jav
>>a:743)
>> ... 63 more
>>
>> >From: David Jencks <david_jencks@yahoo.com>
>>  >Reply-To: user@geronimo.apache.org
>>  >To: user@geronimo.apache.org
>>  >Subject: Re: Deployment fail at persistent EJB
>>  >Date: Thu, 14 Apr 2005 11:19:10 -0700
>>  >
>>  >Someone helpfully tried to make the deployer errors less
>>annoyingly  
>>  >verbose but this is the unfortunate result... they are now
>>  >meaningless  and useless.  I believe there is a switch or flag
>>  >somewhere to turn  stack traces back on, but I don't know
>>where.  
>>  >You should also look in  all the logs in
>>  >geronimo-1.0-SNAPSHOT/var/log to see if the trace is  logged
>>  >somewhere with some useful information about where the error
>>is  
>>  >occurring.
>>  >
>>  >david jencks
>>  >
>>  >On Apr 14, 2005, at 11:09 AM, Katia Aresti Gonzalez wrote:
>>  >
>>  >>
>>  >>
>>  >>okk...
>>  >>
>>  >>  Another error... hehe This is the new openejb-jar.xml im
>>using
>>  >>now.  If i understand well, is what you said me to do...
>>  >>
>>  >><?xml version="1.0"?>
>>  >>
>>  >><openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar"
>>  >>configId="GeronimoTestEJB"
>>  >>  parentId="org/apache/geronimo/Server">
>>  >>
>>  >><cmp-connection-factory>
>>  >>    <resource-link>SystemDatasource</resource-link>
>>  >></cmp-connection-factory>
>>  >>
>>  >>
>>  >>  <enterprise-beans>
>>  >><entity>
>>  >>  
>>  >>   <ejb-name>CabinEJB</ejb-name>
>>  >>   <table-name>CabinTable</table-name>
>>  >>  
>>  >>    <cmp-field-mapping>
>>  >>         <cmp-field-name>id</cmp-field-name>
>>  >>         <table-column>col_id</table-column>
>>  >> </cmp-field-mapping>
>>  >> 
>>  >> <cmp-field-mapping>
>>  >>         <cmp-field-name>name</cmp-field-name>
>>  >>  <table-column>col_name</table-column>
>>  >> </cmp-field-mapping>
>>  >> 
>>  >> <cmp-field-mapping>
>>  >>         <cmp-field-name>deckLevel</cmp-field-name>
>>  >>  <table-column>col_deckLevel</table-column>
>>  >> </cmp-field-mapping>
>>  >> 
>>  >> <cmp-field-mapping>
>>  >>         <cmp-field-name>shipId</cmp-field-name>
>>  >>  <table-column>col_shipId</table-column>
>>  >> </cmp-field-mapping>
>>  >> 
>>  >> <cmp-field-mapping>
>>  >>  <cmp-field-name>bedCount</cmp-field-name>
>>  >>  <table-column>col_bedCount</table-column>
>>  >>     </cmp-field-mapping>
>>  >> 
>>  >> 
>>  >>   <resource-ref>
>>  >>     <ref-name>jdbc/titanDB</ref-name>
>>  >> <resource-link>SystemDatasource</resource-link>   
>>  >>    </resource-ref>
>>  >>   
>>  >></entity> 
>>  >>
>>  >>
>>  >>  <entity>
>>  >>   <ejb-name>ShipEJB</ejb-name>
>>  >>     <resource-ref>
>>  >>     <ref-name>jdbc/titanDB</ref-name>
>>  >> <resource-link>SystemDatasource</resource-link>   
>>  >>    </resource-ref>
>>  >>   
>>  >></entity>
>>  >>
>>  >>  <session>
>>  >>   <ejb-name>TravelAgentEJB</ejb-name>
>>  >></session>
>>  >>
>>  >>  </enterprise-beans>
>>  >>   
>>  >></openejb-jar>
>>  >>
>>  >>The error when deploying....
>>  >>
>>  >>C:\gero>java -jar bin/deployer.jar --user system --password
>>manager
>>  >>  deploy d:/cm
>>  >>p/build/dist/prueba-ejbs.jar
>>  >>Deployment failed
>>  >>  Server reports:
>>org.apache.geronimo.common.DeploymentException:  
>>  >>Unable to init
>>  >>ialize EJBContainer GBean: ejbName [CabinEJB]
>>  >>        Unable to initialize EJBContainer GBean: ejbName
>>[CabinEJB]
>>  >>        -1
>>  >>
>>  >>This is a bit desperate xD thank youuu
>>  >>
>>  >>Katia
>>  >> >From: David Jencks <djencks@gluecode.com>
>>  >>  >Reply-To: user@geronimo.apache.org
>>  >>  >To: user@geronimo.apache.org
>>  >>  >Subject: Re: Deployment fail at persistent EJB
>>  >>  >Date: Thu, 14 Apr 2005 10:54:39 -0700
>>  >>  >
>>  >>  >those are all the xml files you should need.  I think the
>>  >>  >resource-ref  info needs to be with the BMP bean: if I
>>  >>understand
>>  >>  >your xml it is  currently with the CMP bean where it is not
>>  >>used.
>>  >>  >
>>  >>  >thanks
>>  >>  >david jencks
>>  >>  >
>>  >>  >On Apr 14, 2005, at 10:38 AM, Katia Aresti Gonzalez wrote:
>>  >>  >
>>  >>  >>David,
>>  >>  >>
>>  >>  >>   Ive changed to systemDataSource, but i still have
>>problems.
>>  >>Ok,
>>  >>  >>Im  using the openejb-jar.xml, and the ejb-jar.xml. Do I
>>need
>>  >>  >>another  deployment descriptor, or change anythig (un deply
>>and
>>  >>  >>redeploy), as  well as I do in JMS to add the tophic in the
>>  >>  >>system-jms-plan.xml?
>>  >>  >>
>>  >>  >>Thanks a lot! Katia
>>  >>  >>
>>  >>  >> 
>>  >>  >>
>>  >>  >>C:\gero>java -jar bin/deployer.jar --user system --password
>>  >>manager
>>  >>  >>  deploy d:/cm
>>  >>  >>p/build/dist/prueba-ejbs.jar
>>  >>  >>Deployment failed
>>  >>  >>  Server reports:
>>  >>org.apache.geronimo.common.DeploymentException:  
>>  >>  >>Unknown or amb
>>  >>  >>iguous resource name query:  
>>  >>  >>geronimo.server:J2EEServer=geronimo,J2EEApplication=
>>  
>> >>  >>null,j2eeType=JCAManagedConnectionFactory,name=jdbc/titanDB,*
>>  >>match
>>  >>  >>  count: 0
>>  >>  >>        Unknown or ambiguous resource name query:  
>>  >>  >>geronimo.server:J2EEServer=ger
>>  >>  
>>  >>  
>> >>onimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=
>>  >>jd
>>  >>  >>bc/titanD
>>  >>  >>B,* match count: 0
>>  >>  >>
>>  >>  >>
>>  >>  >>
>>  >>  >> 
>>  >>  >> >From: David Jencks <david_jencks@yahoo.com>
>>  >>  >>  >Reply-To: user@geronimo.apache.org
>>  >>  >>  >To: user@geronimo.apache.org
>>  >>  >>  >Subject: Re: Deployment fail at persistent EJB
>>  >>  >>  >Date: Thu, 14 Apr 2005 10:31:01 -0700
>>  >>  >>  >
>>  >>  >>  >Sorry, it looks like the set of plans in the default
>>  >>assembly
>>  >>  >>has  
>>  >>  >>  >turned into a nearly useless collection of vaguely
>>plausible
>>  >>but
>>  >>  >>  >mostly  incorrect junk.
>>  >>  >>  >
>>  >>  >>  >Please pardon my frustration.
>>  >>  >>  >
>>  >>  >>  >Try SystemDatasource instead of DefaultDatasource.
>>  >>  >>  >
>>  >>  >>  >david jencks
>>  >>  >>  >
>>  >>  >>  >On Apr 14, 2005, at 10:21 AM, Katia Aresti Gonzalez
>>wrote:
>>  >>  >>  >
>>  >>  >>  >>Hello David!!!!
>>  >>  >>  >>
>>  >>  >>  >>Ive done what you say and this is what i get now:
>>  >>  >>  >>
>>  >>  >>  >>C:\gero>java -jar bin/deployer.jar --user system
>>--password
>>  >>  >>manager
>>  >>  >>  >>  deploy d:/cm
>>  >>  >>  >>p/build/dist/prueba-ejbs.jar
>>  >>  >>  >>Deployment failed
>>  >>  >>  >>  Server reports:
>>  >>  >>org.apache.geronimo.common.DeploymentException:  
>>  >>  >>  >>Unable to init
>>  >>  >>  >>ialize EJBModule GBean
>>  >>  >>  >>        Unable to initialize EJBModule GBean
>>  >>  >>  >>        Unknown or ambiguous resource name query:  
>>  >>  >>  >>geronimo.server:J2EEServer=ger
>>  >>  >>  
>>  >>  >>  
>>  >>  
>> >>onimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=
>>  >>  >>De
>>  >>  >>  >>faultData
>>  >>  >>  >>source,* match count: 0
>>  >>  >>  >>
>>  >>  >>  >>This the openejb-jar.xml:
>>  >>  >>  >>
>>  >>  >>  >><?xml version="1.0"?>
>>  >>  >>  >>
>>  >>  >>  >><openejb-jar
>>  >>xmlns="http://www.openejb.org/xml/ns/openejb-jar"
>>  >>  >>  >>configId="GeronimoTestEJB"
>>  >>  >>  >>  parentId="org/apache/geronimo/Server">
>>  >>  >>  >>
>>  >>  >>  >><cmp-connection-factory>
>>  >>  >>  >>    <resource-link>DefaultDatasource</resource-link>
>>  >>  >>  >></cmp-connection-factory>
>>  >>  >>  >>
>>  >>  >>  >>
>>  >>  >>  >>  <enterprise-beans>
>>  >>  >>  >><entity>
>>  >>  >>  >>  
>>  >>  >>  >>   <ejb-name>CabinEJB</ejb-name>
>>  >>  >>  >>   <table-name>CabinTable</table-name>
>>  >>  >>  >>  
>>  >>  >>  >>    <cmp-field-mapping>
>>  >>  >>  >>         <cmp-field-name>id</cmp-field-name>
>>  >>  >>  >>         <table-column>col_id</table-column>
>>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >> 
>>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>         <cmp-field-name>name</cmp-field-name>
>>  >>  >>  >>  <table-column>col_name</table-column>
>>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >> 
>>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>         <cmp-field-name>deckLevel</cmp-field-name>
>>  >>  >>  >>  <table-column>col_deckLevel</table-column>
>>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >> 
>>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>         <cmp-field-name>shipId</cmp-field-name>
>>  >>  >>  >>  <table-column>col_shipId</table-column>
>>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >> 
>>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>  <cmp-field-name>bedCount</cmp-field-name>
>>  >>  >>  >>  <table-column>col_bedCount</table-column>
>>  >>  >>  >>     </cmp-field-mapping>
>>  >>  >>  >> 
>>  >>  >>  >> 
>>  >>  >>  >>    <resource-ref>
>>  >>  >>  >>      <ref-name>jdbc/titanDB</ref-name>
>>  >>  >>  >>    <resource-link>DefaultDatasource</resource-link>   
>>  >>  >>  >>          </resource-ref>
>>  >>  >>  >>  
>>  >>  >>  >></entity> 
>>  >>  >>  >>
>>  >>  >>  >>
>>  >>  >>  >>  <entity>
>>  >>  >>  >>   <ejb-name>ShipEJB</ejb-name>
>>  >>  >>  >></entity>
>>  >>  >>  >>
>>  >>  >>  >>  <session>
>>  >>  >>  >>   <ejb-name>TravelAgentEJB</ejb-name>
>>  >>  >>  >></session>
>>  >>  >>  >>
>>  >>  >>  >>  </enterprise-beans>
>>  >>  >>  >>   
>>  >>  >>  >></openejb-jar>
>>  >>  >>  >>
>>  >>  >>  >>  Any guess?? Thank you very much!!!!
>>  >>  >>  >>
>>  >>  >>  >>  Katia
>>  >>  >>  >> >From: David Jencks <david_jencks@yahoo.com>
>>  >>  >>  >>  >Reply-To: user@geronimo.apache.org
>>  >>  >>  >>  >To: user@geronimo.apache.org
>>  >>  >>  >>  >Subject: Re: Deployment fail at persistent EJB
>>  >>  >>  >>  >Date: Thu, 14 Apr 2005 08:59:40 -0700
>>  >>  >>  >>  >
>>  >>  >>  >>  >I can't figure out how you got that error from the
>>xml
>>  >>you
>>  >>  >>  >>show.  
>>  >>  >>  >>  >Can  you send the stack trace?
>>  >>  >>  >>  >
>>  >>  >>  >>  >Also, I think you can use simpler resource-refs:
>>  >>  >>  >>  >
>>  >>  >>  >>  ><resource-ref>
>>  >>  >>  >>  >    <ref-name>jdbc/titanDB</ref-name>
>>  
>> >>  >>  >>  >    <resource-link>DefaultDatasource</resource-link>   
>>  >>  >>  >>  > </resource-ref>
>>  >>  >>  >>  >
>>  >>  >>  >>  >and
>>  >>  >>  >>  ><cmp-connection-factory>
>>  >>  >>  >>  >    
>><resource-link>DefaultDatasource</resource-link>
>>  >>  >>  >>  ><cmp-connection-factory>
>>  >>  >>  >>  >
>>  >>  >>  >>  >thanks
>>  >>  >>  >>  >david jencks
>>  >>  >>  >>  >
>>  >>  >>  >>  > 
>>  >>  >>  >>  >On Apr 14, 2005, at 2:45 AM, Katia Aresti Gonzalez
>>  >>wrote:
>>  >>  >>  >>  >
>>  >>  >>  >>  >>Hello Gianny!!!!
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>I did what you said. This is my new
>>openejb-jar.xml. I
>>  >>said
>>  >>  >>  >>  >>somethig  wrong, ShipEJB is a BMP, is this
>>supported?
>>  >>  >>Anyway,
>>  >>  >>  >>my
>>  >>  >>  >>  >>problem is to  fix cmp, because its what i realy
>>need
>>  >>now
>>  >>  >>:-).
>>  >>  >>  >>I
>>  >>  >>  >>  >>paste the error  deploying just after the
>>descriptor.
>>  >>  >>  >>  >>
>>  >>  >>  >>  >><?xml version="1.0"?>
>>  >>  >>  >>  >>
>>  >>  >>  >>  >><openejb-jar
>>  >>  >>xmlns="http://www.openejb.org/xml/ns/openejb-jar"
>>  >>  >>  >>  >>configId="GeronimoTestEJB"
>>  >>  >>  >>  >>  parentId="org/apache/geronimo/Server">
>>  >>  >>  >>  >>
>>  >>  >>  >>  >><cmp-connection-factory>
>>  >>  >>  >>  >>        <application>null</application>
>>  >>  >>  >>  >>       
>>  >>  >><module>org/apache/geronimo/DefaultDatabase</module>
>>  >>  >>  >>  >>        <name>DefaultDatasource</name>
>>  >>  >>  >>  >></cmp-connection-factory>
>>  >>  >>  >>  >>
>>  >>  >>  >>  >><enterprise-beans>
>>  >>  >>  >>  >><entity>
>>  >>  >>  >>  >>  
>>  >>  >>  >>  >>   <ejb-name>CabinEJB</ejb-name>
>>  >>  >>  >>  >>   <table-name>CabinTable</table-name>
>>  >>  >>  >>  >>  
>>  >>  >>  >>  >>    <cmp-field-mapping>
>>  >>  >>  >>  >>         <cmp-field-name>id</cmp-field-name>
>>  >>  >>  >>  >>         <table-column>col_id</table-column>
>>  >>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>  >>         <cmp-field-name>name</cmp-field-name>
>>  >>  >>  >>  >>  <table-column>col_name</table-column>
>>  >>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>  >>         <cmp-field-name>deckLevel</cmp-field-name>
>>  >>  >>  >>  >>  <table-column>col_deckLevel</table-column>
>>  >>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>  >>         <cmp-field-name>shipId</cmp-field-name>
>>  >>  >>  >>  >>  <table-column>col_shipId</table-column>
>>  >>  >>  >>  >> </cmp-field-mapping>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >> <cmp-field-mapping>
>>  >>  >>  >>  >>  <cmp-field-name>bedCount</cmp-field-name>
>>  >>  >>  >>  >>  <table-column>col_bedCount</table-column>
>>  >>  >>  >>  >>     </cmp-field-mapping>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >> <resource-ref>
>>  >>  >>  >>  >>    <ref-name>jdbc/titanDB</ref-name>
>>  >>  >>  >>  >>  <application>null</application>
>>  >>  >>  >>  >>          
>>  >>  >><module>org/apache/geronimo/DefaultDatabase</module>
>>  >>  >>  >>  >>           <name>DefaultDatasource</name>   
>>  >>  >>  >>  >>        </resource-ref>
>>  >>  >>  >>  >>  
>>  >>  >>  >>  >></entity> 
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>  <entity>
>>  >>  >>  >>  >>   <ejb-name>ShipEJB</ejb-name>
>>  >>  >>  >>  >></entity>
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>  <session>
>>  >>  >>  >>  >>   <ejb-name>TravelAgentEJB</ejb-name>
>>  >>  >>  >>  >></session>
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>  </enterprise-beans>
>>  >>  >>  >>  >>   
>>  >>  >>  >>  >></openejb-jar>
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>Error---->
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>C:\gero>java -jar bin/deployer.jar --user system
>>  >>--password
>>  >>  >>  >>manager
>>  >>  >>  >>  >>  deploy d:/cm
>>  >>  >>  >>  >>p/build/dist/prueba-ejbs.jar
>>  >>  >>  >>  >>Deployment failed
>>  >>  >>  >>  >>  Server reports:
>>  >>  >>  >>org.apache.geronimo.common.DeploymentException:  
>>  >>  >>  >>  >>Unknown or amb
>>  >>  >>  >>  >>iguous resource name query:  
>>  
>> >>  >>  >>  >>geronimo.server:J2EEServer=geronimo,J2EEApplication=
>>  >>  >>  
>>  >>  >>
>>  >>
>> >>  >>null,j2eeType=JCAManagedConnectionFactory,name=jdbc/titanDB,*
>>  >>  >>  >>match
>>  >>  >>  >>  >>  count: 0
>>  >>  >>  >>  >>        Unknown or ambiguous resource name query:  
>>  >>  >>  >>  >>geronimo.server:J2EEServer=ger
>>  >>  >>  >>  
>>  >>  >>  >>  
>>  >>  >>  
>>  >>  
>> >>onimo,J2EEApplication=null,j2eeType=JCAManagedConnectionFactory,name=
>>  >>  >>  >>jd
>>  >>  >>  >>  >>bc/titanD
>>  >>  >>  >>  >>B,* match count: 0
>>  >>  >>  >>  >>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>Thanks a los for four
>>help!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>Katia
>>  >>  >>  >>  >>
>>  >>  >>  >>  >>
>>  >>  >>  >>  >> 
>>  >>  >>  >>  >> >From: Gianny Damour
>><gianny.damour@optusnet.com.au>
>>  >>  >>  >>  >>  >Reply-To: user@geronimo.apache.org
>>  >>  >>  >>  >>  >To: user@geronimo.apache.org
>>  >>  >>  >>  >>  >Subject: Re: Deployment fail at persistent EJB
>>  >>  >>  >>  >>  >Date: Wed, 13 Apr 2005 09:27:08 +1000
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >Katia,
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >The last version of Geronimo, built from source,
>>  >>  >>supports
>>  >>  >>  >>CMP.
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >Also, could you please provide the error message
>>  >>that
>>  >>  >>you
>>  >>  >>  >>get
>>  >>  >>  >>  >>during
>>  >>  >>  >>  >>  >the deployment process?
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >I comment your openejb-jar.xml deployment
>>descriptor
>>  >>  >>further
>>  >>  >>  >>  >>down.
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >Thanks,
>>  >>  >>  >>  >>  >Gianny
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >On 12/04/2005 8:20 PM, Katia Aresti Gonzalez
>>wrote:
>>  >>  >>  >>  >>  >
>>  >>  >>  >>  >>  >>Hello again David!!!!
>>  >>  >>  >>  >>  >> %  
>>  
>> >>_________________________________________________________________  
>>  >>Acepta el reto MSN Premium: Correos más divertidos con fotos y
>>  >>textos  increíbles en MSN Premium. Descárgalo y pruébalo 2
>>meses
>>  >>gratis.  http://join.msn.com?
>>  >>XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
>>  >
>>
>>  Recibe ofertas de empleo adaptadas a tu perfil. Introduce tu CV
>>en  MSN Empleo.


Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! Haz clic aquí