Plugin: cannot step through hello app in eclipse when server in debugging mode
------------------------------------------------------------------------------

         Key: GERONIMODEVTOOLS-32
         URL: http://issues.apache.org/jira/browse/GERONIMODEVTOOLS-32
     Project: Geronimo-Devtools
        Type: Bug
  Components: eclipse-plugin  
 Environment: win XP, AG 1.0 Eclipse 3.1.1, JDK 1.4.2, plugin I built a few 
days ago
    Reporter: Lin Sun


1) Able to deploy a simple hello program.   
2) added a breakpoint in the hello program
3) restarted the server to let it run in debugging mode.  (When attempting to 
right click the application and select debug--debug on server, a window popup 
asked me the server is not running in debugging mode, click restart button to 
restart it in debugging mode).
4) Click on debug--debug on server to start the debug for the hello program.
5) Got a unable to publish error, check .log for errors.  error is copied below:

java.lang.Exception: Module hello/hello already exists in the server.  Try to 
undeploy it first or use the redeploy
command.
org.apache.geronimo.common.DeploymentException: Module hello/hello already 
exists in the server.  Try to undeploy it
first or use the redeploy command.
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:235)
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:102)
        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:118)
        at 
org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:835)
        at 
org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:178)
        at org.apache.geronimo.kernel.KernelGBean.invoke(KernelGBean.java:125)
        at 
org.apache.geronimo.kernel.KernelGBean$$FastClassByCGLIB$$1cccefc9.invoke

6) remove the hello program via eclipse using add/remove projects.   Check 
deploy.bat list-modules but I still see hello
programs running. (will report a seperate bug for this)

7) undeploy it using deploy.bat
8) repeat step 4, and got hello program published.  However, it didn't stop at 
the breakpoint.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to