geronimo-tomcat6-javaee5-2.1.4 under windows Ciao Angelo Donald Woods-2 wrote: > > Which release and assembly (Tomcat vs. Jetty) of Geronimo are you using? > > > -Donald > > > ardf69 wrote: >> Hi all, >> I create a inbound JCA that connects to some JMS Queues (their name is >> defined in a DB accessed by hibernate classes). The deploy of the jca and >> the start/stop is ok. Here there is the ra.xml: >> >> >> > xmlns="http://java.sun.com/xml/ns/j2ee" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >> http://java.sun.com/xml/ns/j2ee/connector_1_5.xsd"> >> >> UBQ_JSR212_JCA_Queue >> Ubiquity s.r.l. >> JMS >> 1.0 >> >> >> it.ubiquity.sams.jms.DequeuerResourceAdapter >> >> >> >> >> javax.jms.MessageListener >> >> >> it.ubiquity.sams.jms.DequeuerActivationSpec >> >> The queue prefix >> queuePrefix >> >> >> >> >> >> >> Permissions allowed to the EIS Connector >> >> >> >> >> >> and the geronimo-ra.xml: >> >> >> > xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2" >> xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" >> >> xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0" >> xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2" >> xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2" >> xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2" >> xmlns:pers="http://java.sun.com/xml/ns/persistence" >> xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1" >> xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" >> xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1" >> >> >> sams.jca >> UBQ_JSR212_JCA_Queue >> 1.0 >> car >> >> >> >> >> >> >> >> SAMSQueueManager >> >> DefaultWorkManager >> >> >> >> >> >> I created a mdb that connects to this jca and I included it in ear. Here >> there is the geronimo-application.xml: >> >> >> > xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0" >> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2" >> xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0" >> application-name="UBQ_JSR212_EAR_Frontend" >> >> >> sams.ear >> UBQ_JSR212_EAR_Middleware >> 1.0 >> ear >> >> >> >> >> the ejb-jar.xml: >> >> >> > xmlns="http://java.sun.com/xml/ns/j2ee" >> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee >> http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd"> >> UBQ_JSR212_EJB_Frontend >> >> >> FrontendMDB >> it.ubiquity.sams.jms.FrontendBean >> javax.jms.MessageListener >> Container >> >> >> >> queuePrefix >> >> f >> >> >> >> >> >> >> >> FrontendMDB >> * >> >> NotSupported >> >> >> >> >> and the openejb-jar.xml: >> >> >> > xmlns="http://openejb.apache.org/xml/ns/openejb-jar-2.2" >> xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.2" >> xmlns:security="http://geronimo.apache.org/xml/ns/security-2.0" >> xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2" >> xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1" >> version="1.0" >> >> >> sams.ejb >> UBQ_JSR212_EJB_Frontend >> 1.0 >> jar >> >> >> >> sams.jca >> UBQ_JSR212_JCA_Queue >> 1.0 >> car >> >> >> console.jms >> sams >> 1.0 >> >> >> console.dbpool >> jdbc_sams >> 1.0 >> rar >> >> >> >> >> >> >> FrontendMDB >> >> SAMSQueueManager >> >> >> >> >> >> When I deploy the ear the app server (the jca is already deployed and >> running) give me a strange error: >> >> Caused by: java.lang.IllegalStateException: Container does not exist: >> UBQ_JSR212_JCA_Queue. Referenced by deployment: >> UBQ_JSR212_EJB_Frontend.jar/FrontendMDB >> at >> org.apache.openejb.assembler.classic.EjbJarBuilder.build(EjbJarBuilder.java:60) >> ... 28 more >> >> where UBQ_JSR212_EJB_Frontend.jar is the name of the ejb jar in the ear. >> Can someone help me? >> Regards >> >> Angelo > > -- View this message in context: http://www.nabble.com/JCA-and-MDB-tp24106976s134p24147796.html Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.