You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Yi Xiao (JIRA)" <ji...@apache.org> on 2012/07/04 09:06:34 UTC

[jira] [Created] (GERONIMO-6368) Could not undeploy the application using deploy in offline mode

Yi Xiao created GERONIMO-6368:
---------------------------------

             Summary: Could not undeploy the application using deploy in offline mode
                 Key: GERONIMO-6368
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6368
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
    Affects Versions: 3.0-beta-1
            Reporter: Yi Xiao


When server is shutdown, using the command:
deploy -o undeploy moduleId

get the following exception:
java.lang.IllegalArgumentException: Artifact org.apache.geronimo.configs/openejb//car is not fully resolved
        at org.apache.geronimo.kernel.repository.Maven2Repository.getLocation(Maven2Repository.java:37)
        at org.apache.geronimo.kernel.repository.AbstractRepository.contains(AbstractRepository.java:61)
        at org.apache.geronimo.system.configuration.DependencyManager.locateBundle(DependencyManager.java:536)
        at org.apache.geronimo.system.configuration.DependencyManager.installed(DependencyManager.java:454)
        at org.apache.geronimo.system.configuration.DependencyManager.bundleChanged(DependencyManager.java:118)
        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
        at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
        at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEventPrivileged(Framework.java:1523)
        at org.eclipse.osgi.framework.internal.core.Framework.publishBundleEvent(Framework.java:1459)
        at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:898)
        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.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:309)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:290)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:125)
        at org.apache.geronimo.deployment.plugin.local.UndeployCommand.run(UndeployCommand.java:58)
        at java.lang.Thread.run(Unknown Source)
Deployer operation failed: load of default/TestWEB0/1.0/war failed
org.apache.geronimo.kernel.config.LifecycleException: load of default/TestWEB0/1.0/war failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:316)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:290)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:125)
        at org.apache.geronimo.deployment.plugin.local.UndeployCommand.run(UndeployCommand.java:58)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.osgi.framework.BundleException: The bundle "default.TestWEB0_1.0.0 [292]" could not be resolved. Reason: Missing Constraint: Import-Package:
onimo.yoko; version="[0.0.0,0.0.0]"
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)
        ... 4 more
2012-07-03 19:20:39,887 ERROR [DeployTool] Error:
org.apache.geronimo.common.DeploymentException: Operation failed: load of default/TestWEB0/1.0/war failed
org.apache.geronimo.kernel.config.LifecycleException: load of default/TestWEB0/1.0/war failed
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:316)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:290)
        at org.apache.geronimo.kernel.config.KernelConfigurationManager.loadConfiguration(KernelConfigurationManager.java:125)
        at org.apache.geronimo.deployment.plugin.local.UndeployCommand.run(UndeployCommand.java:58)
        at java.lang.Thread.run(Unknown Source)
Caused by: org.osgi.framework.BundleException: The bundle "default.TestWEB0_1.0.0 [292]" could not be resolved. Reason: Missing Constraint: Import-Package:
onimo.yoko; version="[0.0.0,0.0.0]"
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1327)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1311)
        at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299)
        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.loadConfiguration(SimpleConfigurationManager.java:311)
        ... 4 more

        at org.apache.geronimo.deployment.cli.CommandStart.execute(CommandStart.java:89)
        at org.apache.geronimo.deployment.cli.DeployTool.execute(DeployTool.java:171)
        at org.apache.geronimo.system.main.MainBridge.execute(MainBridge.java:64)
        at org.apache.geronimo.main.Bootstrapper.execute(Bootstrapper.java:68)
        at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65)
        at org.apache.geronimo.cli.deployer.DeployerCLI.main(DeployerCLI.java:32)


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira