[
https://issues.apache.org/jira/browse/GERONIMO-6118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089335#comment-13089335
]
Shenghao Fang commented on GERONIMO-6118:
-----------------------------------------
Hi Ivan,
I'm not very clear about what you mean 'add the close action in the following
catch blocks'.
It looks to me that the DevelopmentException is thrown explicitly and
'earContext' is not returned to the caller so there is no chance for the caller
to do the 'close' action.
> Unable to create plan by Plan Creator
> -------------------------------------
>
> Key: GERONIMO-6118
> URL: https://issues.apache.org/jira/browse/GERONIMO-6118
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: console, deployment
> Reporter: Shenghao Fang
> Assignee: Shenghao Fang
>
> It's unable to create plan by the default configuration and the following
> error occurs:
> Unable to create configuration for deployment: dependencies: null
> org.apache.geronimo.common.DeploymentException: Unable to create
> configuration for deployment: dependencies: null
> at
> org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:211)
> at
> org.apache.geronimo.deployment.DeploymentContext.initializeConfiguration(DeploymentContext.java:193)
> at
> org.apache.geronimo.j2ee.deployment.EARConfigBuilder.buildConfiguration(EARConfigBuilder.java:661)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:255)
> at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:140)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 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:131)
> at
> org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:883)
> at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
> 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:662)
> Caused by:
> org.eclipse.osgi.framework.internal.core.Framework$DuplicateBundleException:
> Bundle "default.WebAppEjbAccessAnnotations-DEPLOYMENT" version
> "0.0.0.1313991938546" has already been installed from: reference:file:
> at
> org.eclipse.osgi.framework.internal.core.Framework.createAndVerifyBundle(Framework.java:715)
> at
> org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:931)
> at
> org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:838)
> at org.eclipse.osgi.framework.internal.core.Framework$1.run(Framework.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:897)
> at
> org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:833)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:137)
> at
> org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:131)
> at
> org.apache.geronimo.deployment.DeploymentContext.createTempConfiguration(DeploymentContext.java:203)
> ... 15 more
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira