geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juergen Weber <webe...@gmail.com>
Subject Container does not exist
Date Tue, 15 Sep 2009 21:10:04 GMT

Hi,

I tried to run http://code.google.com/p/jca-sockets/ in Geronimo
(2.2-SNAPSHOT Build 	2009.09.10-08:12:53.147-0400)

and installed the .rar and the ejb.jar with the plans below.

On starting the sample EJB I get
  The service
J2EEApplication=null,j2eeType=EJBModule,name=com.googlecode/sockets-ejb/1.1/car
did not start because Creating application failed:
/projekte/geronimo-tomcat6-javaee5-2.2-SNAPSHOT/var/temp/geronimo-deployer6984003300117521195.tmpdir/sockets-ejb-1.1.jar:
Error building bean 'SOCKET_MDB'.  Exception: class
java.lang.IllegalStateException: Container does not exist: sockets-rar. 
Referenced by deployment: sockets-ejb/SOCKET_MDB: Container does not exist:
sockets-rar.  Referenced by deployment: sockets-ejb/SOCKET_MDB

I am puzzled by the error message, the "sockets-rar" is nowhere in a plan.
What does the message mean?

Thanks,
Juergen

http://code.google.com/p/jca-sockets/source/browse/trunk/sockets-rar/src/main/rar/META-INF/ra.xml
http://code.google.com/p/jca-sockets/source/browse/trunk/sockets-ejb/src/main/resources/META-INF/ejb-jar.xml

<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2">
  <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
    <dep:moduleId>
      <dep:groupId>com.googlecode</dep:groupId>
      <dep:artifactId>jcasockets</dep:artifactId>
      <dep:version>1.1a</dep:version>
      <dep:type>car</dep:type>
    </dep:moduleId>
    <dep:dependencies>
    
    <dep:dependency>
                <dep:groupId>commons-logging</dep:groupId>
                <dep:artifactId>commons-logging</dep:artifactId>
                <dep:version>1.0.4</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
       </dep:dependencies>


    
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
  </dep:environment>
  <resourceadapter>
    <resourceadapter-instance>
      <resourceadapter-name>MyJcasockets</resourceadapter-name>
      <workmanager>
        <gbean-link>DefaultWorkManager</gbean-link>
      </workmanager>
    </resourceadapter-instance>
  </resourceadapter>
</connector>


<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1"
	xmlns:nam="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:sec="http://geronimo.apache.org/xml/ns/security-1.2"
	xmlns:sys="http://geronimo.apache.org/xml/ns/deployment-1.2">

	<sys:environment>
		<sys:moduleId>
			<sys:groupId>com.googlecode</sys:groupId>
			<sys:artifactId>sockets-ejb</sys:artifactId>
			<sys:version>1.1</sys:version>
			<sys:type>car</sys:type>
		</sys:moduleId>
		<sys:dependencies>
			<sys:dependency>
				<sys:groupId>com.googlecode</sys:groupId>
				<sys:artifactId>jcasockets</sys:artifactId>  
				<sys:version>1.1a</sys:version>
				<sys:type>car</sys:type>
			</sys:dependency>
		</sys:dependencies>
		<sys:hidden-classes />
		<sys:non-overridable-classes />
	</sys:environment>
	<enterprise-beans>
		<message-driven>
			<ejb-name>SOCKET_MDB</ejb-name>
			<resource-adapter>
				<resource-link>MyJcasockets</resource-link>
			</resource-adapter>
		</message-driven>
	</enterprise-beans>

</openejb-jar>

-- 
View this message in context: http://www.nabble.com/Container-does-not-exist-tp25461869s134p25461869.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message