You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by johnxmas <jo...@free.fr> on 2008/07/18 11:08:00 UTC

Deployment pb with geronimo 2.1.1

Hello,

I just deployed the latest release (2.1.1). When deploying a war (that works fin with geronimo 2.0.2), I get the following exception:

10:18:35,593 ERROR [DirectoryHotDeployer] Unable to deploy: Unable to create con
figuration for deployment
org.apache.geronimo.common.DeploymentException: Unable to create configuration f
or deployment
        at org.apache.geronimo.deployment.DeploymentContext.createTempConfigurat
ion(DeploymentContext.java:120)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentCon
text.java:100)
        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentCon
text.java:80)
        at org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java
:68)
        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati
on(EARConfigBuilder.java:530)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
ectionMethodInvoker.java:34)
        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
n.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.doD
eploy(AbstractDeployCommand.java:116)
        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
tributeCommand.java:61)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of com.sco
rt.demos/nicedemo/1.0/war failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:299)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadCon
figuration(DeploymentConfigurationManager.java:115)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:286)
        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadCon
figuration(DeploymentConfigurationManager.java:111)
        at org.apache.geronimo.deployment.DeploymentContext.createTempConfigurat
ion(DeploymentContext.java:117)
        ... 17 more
Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Mis
sing dependency: org.apache.geronimo.configs/rmi-naming//car
        at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolve
InClassLoader(DefaultArtifactResolver.java:111)
        at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolve
InClassLoader(DefaultArtifactResolver.java:104)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveP
arentIds(SimpleConfigurationManager.java:473)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDept
hFirst(SimpleConfigurationManager.java:431)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDept
hFirst(SimpleConfigurationManager.java:439)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
iguration(SimpleConfigurationManager.java:296)
        ... 21 more

I don't understant the root cause

                  Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Mis
sing dependency: org.apache.geronimo.configs/rmi-naming//car

I'm joing my geronimo-web.xml

Thanks for your help

Jean-Noël

Re: Deployment pb with geronimo 2.1.1

Posted by Manu George <ma...@gmail.com>.
One thing that I can find is that the dependency refers to the wrong version

     <dependency>
		    <groupId>org.apache.geronimo.configs</groupId>
				<artifactId>sharedlib</artifactId>
				<version>2.0.2</version>

				<type>car</type>
		  </dependency>
Version should be 2.1.1

Regards
Manu

On Fri, Jul 18, 2008 at 2:38 PM, johnxmas <jo...@free.fr> wrote:
> Hello,
>
> I just deployed the latest release (2.1.1). When deploying a war (that works fin with geronimo 2.0.2), I get the following exception:
>
> 10:18:35,593 ERROR [DirectoryHotDeployer] Unable to deploy: Unable to create con
> figuration for deployment
> org.apache.geronimo.common.DeploymentException: Unable to create configuration f
> or deployment
>        at org.apache.geronimo.deployment.DeploymentContext.createTempConfigurat
> ion(DeploymentContext.java:120)
>        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentCon
> text.java:100)
>        at org.apache.geronimo.deployment.DeploymentContext.<init>(DeploymentCon
> text.java:80)
>        at org.apache.geronimo.j2ee.deployment.EARContext.<init>(EARContext.java
> :68)
>        at org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfigurati
> on(EARConfigBuilder.java:530)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:254)
>        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:133)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
> java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
> sorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(Refl
> ectionMethodInvoker.java:34)
>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperatio
> n.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.doD
> eploy(AbstractDeployCommand.java:116)
>        at org.apache.geronimo.deployment.plugin.local.DistributeCommand.run(Dis
> tributeCommand.java:61)
>        at java.lang.Thread.run(Thread.java:595)
> Caused by: org.apache.geronimo.kernel.config.LifecycleException: load of com.sco
> rt.demos/nicedemo/1.0/war failed
>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
> iguration(SimpleConfigurationManager.java:299)
>        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadCon
> figuration(DeploymentConfigurationManager.java:115)
>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
> iguration(SimpleConfigurationManager.java:286)
>        at org.apache.geronimo.deployment.DeploymentConfigurationManager.loadCon
> figuration(DeploymentConfigurationManager.java:111)
>        at org.apache.geronimo.deployment.DeploymentContext.createTempConfigurat
> ion(DeploymentContext.java:117)
>        ... 17 more
> Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Mis
> sing dependency: org.apache.geronimo.configs/rmi-naming//car
>        at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolve
> InClassLoader(DefaultArtifactResolver.java:111)
>        at org.apache.geronimo.kernel.repository.DefaultArtifactResolver.resolve
> InClassLoader(DefaultArtifactResolver.java:104)
>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.resolveP
> arentIds(SimpleConfigurationManager.java:473)
>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDept
> hFirst(SimpleConfigurationManager.java:431)
>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadDept
> hFirst(SimpleConfigurationManager.java:439)
>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConf
> iguration(SimpleConfigurationManager.java:296)
>        ... 21 more
>
> I don't understant the root cause
>
>                  Caused by: org.apache.geronimo.kernel.repository.MissingDependencyException: Mis
> sing dependency: org.apache.geronimo.configs/rmi-naming//car
>
> I'm joing my geronimo-web.xml
>
> Thanks for your help
>
> Jean-Noël
>