geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kanchana Welagedara" <kancha...@gmail.com>
Subject Deploying a EJB on GeronimoV1.1
Date Thu, 20 Jul 2006 07:28:27 GMT
Hi

I'm trying to deploy a EJS which includes a Message Driven bean with
Geronimov1.1.The openejb-jar.xml is as follows.The skeleton of this I got
from the upgrade tool .
----------------------------------------------------------------------------------------------------------------------------------------------------------------
<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
  <dep:environment xmlns:dep="
http://geronimo.apache.org/xml/ns/deployment-1.1">
    <dep:moduleId>
      <dep:groupId>org.apache.geronimo.sample.product</dep:groupId>
      <dep:artifactId>ejb</dep:artifactId>
      <!--<dep:version>1-default</dep:version>-->
      <!--<dep:type>car</dep:type>-->
    </dep:moduleId>
    <dep:dependencies>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.specs.geronimo-jms_1.1_spec
</dep:groupId>
      <dep:artifactId>1.0</dep:artifactId>
       </dep:dependency>
    </dep:dependencies>
    <dep:hidden-classes/>
    <dep:non-overridable-classes/>
  </dep:environment>
  <enterprise-beans>
    <message-driven>
      <ejb-name>GoodsMDB</ejb-name>
      <resource-adapter>
        <resource-link>ActiveMQ RA</resource-link>
      </resource-adapter>
    </message-driven>
  </enterprise-beans>
</openejb-jar>
--------------------------------------------------------------------------------------------------------------------------------------------------------------
I have defined the dependency tags as follows for the JMS

<dep:dependencies>
      <dep:dependency>
        <dep:groupId>org.apache.geronimo.specs.geronimo-jms_1.1_spec
</dep:groupId>
      <dep:artifactId>1.0</dep:artifactId>

I got followiong error on the Geronimo console

-----------------------------------------------------------------------------------------------------------------------------------------------------------
 Deployment failed:
Unable to create configuration for deployment
Show full details

Unable to create configuration for deployment
org.apache.geronimo.common.DeploymentException: Unable to create
configuration for deployment
	at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:116)
	at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:96)
	at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentContext.java:78)
	at org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java:70)
	at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:446)
	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(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.deployment.ConfigurationBuilder$$EnhancerByCGLIB$$e3d095d4.buildConfiguration(<generated>)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:302)
	at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:124)
	at org.apache.geronimo.deployment.Deployer$$FastClassByCGLIB$$734a235d.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:852)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:239)
	at org.apache.geronimo.deployment.plugin.local.AbstractDeployCommand.doDeploy(AbstractDeployCommand.java:106)
	at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(DistributeCommand.java:60)
	at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load
of org.apache.geronimo.sample.product/ejb/1153379450955/jar failed
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:279)
	at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:115)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:266)
	at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadConfiguration(DeploymentConfigurationManager.java:111)
	at org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:113)
	... 24 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException:
Unable to resolve dependency
org.apache.geronimo.specs.geronimo-jms_1.1_spec/1.0//
	at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:119)
	at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolveInClassLoader(DefaultArtifactResolver.java:98)
	at org.apache.geronimo.kernel.repository.DefaultArtifactResolver$$FastClassByCGLIB$$e847b746.invoke(<generated>)
	at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53)
	at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:122)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:817)
	at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)
	at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)
	at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
	at org.apache.geronimo.kernel.repository.ArtifactResolver$$EnhancerByCGLIB$$8e854b59.resolveInClassLoader(<generated>)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveParentIds(SimpleConfigurationManager.java:451)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDepthFirst(SimpleConfigurationManager.java:410)
	at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:276)
	... 28 more

 -----------------------------------------------------------------------------------------------------------------------------------
I really appreciate if some one can address me to solve this problem.

Thanks
kanchana

Mime
View raw message