Uploaded image for project: 'Geronimo-Devtools'
  1. Geronimo-Devtools
  2. GERONIMODEVTOOLS-701

Restart Server will result in "existing deployed OSGI applications are re-deployed" when reopen eclipse

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0-M2
    • 3.0-M2
    • eclipse-plugin
    • None
    • OS:win2003

    Description

      1.Create one OSGI application with Rational OSGI TOOL, deploy it to geronimo server with GEP
      2.Close eclipse
      3.Start eclipse, start geronimo server, it will show errors like below:
      Distribution of module failed. See log for details.
      Module application/b1/1.0.0-qualifier/eba already exists in the server. Try to undeploy it first or use the redeploy command.
      org.apache.geronimo.common.DeploymentException: Module application/b1/1.0.0-qualifier/eba already exists in the server. Try to undeploy it first or use the redeploy command.
      at org.apache.geronimo.deployment.Deployer.getConfigID(Deployer.java:315)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:245)
      at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:138)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      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:872)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:344)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      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:872)
      at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:245)
      at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(Unknown Source)
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.doOperation(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.access$200(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(Unknown Source)
      at javax.management.remote.rmi.RMIConnectionImpl.invoke(Unknown Source)
      at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
      at sun.rmi.transport.Transport$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.rmi.transport.Transport.serviceCall(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(Unknown Source)
      at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

      Seems OSGI Apps are redeployed if it's already deployed before if restart eclipse and server.

      Attachments

        Activity

          People

            hanhongfang Hong Fang Han
            viola.lu viola.lu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: