geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Mehlhase <s.mehlh...@googlemail.com>
Subject Re: Message Driven Bean is not receiving messages
Date Wed, 26 Aug 2009 07:33:54 GMT
Hi,

thanks, but unfortunately this leads to the following while deploying:

Resource Adapter for MDB 'MDB'not found:
?j2eeType=JCAResourceAdapter,name=administeredObjectGroup#
org.apache.geronimo.common.DeploymentException: Resource Adapter for
MDB 'MDB'not found:
?j2eeType=JCAResourceAdapter,name=administeredObjectGroup#
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.setMdbContainerIds(EjbModuleBuilder.java:867)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.addGBeans(EjbModuleBuilder.java:818)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:647)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:134)
	at sun.reflect.GeneratedMethodAccessor205.invoke(Unknown Source)
	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.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:116)
	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:61)
	at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.geronimo.kernel.GBeanNotFoundException: No
matches for referencePatterns:
[?j2eeType=JCAResourceAdapter,name=administeredObjectGroup#]
	at org.apache.geronimo.kernel.config.Configuration.findGBeanData(Configuration.java:683)
	at org.apache.geronimo.kernel.config.Configuration.findGBean(Configuration.java:656)
	at org.apache.geronimo.kernel.config.Configuration.findGBean(Configuration.java:635)
	at org.apache.geronimo.deployment.DeploymentContext.findGBean(DeploymentContext.java:207)
	at org.apache.geronimo.openejb.deployment.EjbModuleBuilder.setMdbContainerIds(EjbModuleBuilder.java:865)
	... 14 more

Stephan

On Tue, Aug 25, 2009 at 17:05, Jack Cai<greensight@gmail.com> wrote:
>        <dep:environment>
>                <dep:moduleId>
>                        <dep:groupId>default</dep:groupId>
>                        <dep:artifactId>TestEJB</dep:artifactId>
>                        <dep:version>1.0</dep:version>
>                        <dep:type>car</dep:type>
>                </dep:moduleId>
>                <dep:dependencies>
>                        <dep:dependency>
>                                <dep:groupId>org.apache.geronimo.configs
> </dep:groupId>
>                                <dep:artifactId>activemq-broker
> </dep:artifactId>
>                                <dep:type>car</dep:type>
>                        </dep:dependency>
>                </dep:dependencies>
>        </dep:environment>
>        <ejb:enterprise-beans>
>                <ejb:message-driven>
>                        <ejb:ejb-name>MDB</ejb:ejb-name>
>                        <ejb:resource-adapter>
>
>  <ejb:resource-link>administeredObjectGroup</ejb:resource-link>
>                        </ejb:resource-adapter>
>                </ejb:message-driven>
>        </ejb:enterprise-beans>
> </ejb:openejb-jar>

Mime
View raw message