3 Replies Latest reply on Jun 9, 2006 1:44 AM by sanjith k

    Remote debug of jboss application throwing error

    sanjith k Newbie

      Hello All,

      I am unable to remotely debug a Jboss application in eclipse. I was able to debug the same until yesterday I am getting error message "Transport error, error code = -1" while trying to debug. I also tried restarting eclipse and jboss

      Thank you all!

        • 1. Re: Remote debug of jboss application throwing error
          Shing Lam Newbie

          check if the jwdp port of the jboss server

          • 2. Re: Remote debug of jboss application throwing error
            sanjith k Newbie


            I have set it to 8787 and can find a listner at that port while i do netstat.

            • 3. Re: Remote debug of jboss application throwing error
              sanjith k Newbie

              I am getting the following exception while i try to coneect to jboss application..


              !ENTRY org.eclipse.jdt.debug 4 120 2006-06-08 18:36:58.376
              !MESSAGE Internal error logged from JDI Debug:
              !STACK 0
              com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
              at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:167)
              at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:184)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:174)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:230)
              at org.eclipse.jdi.internal.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:348)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.createRequests(JavaStratumLineBreakpoint.java:357)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:497)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint.addToTarget(JavaLineBreakpoint.java:167)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:1099)
              at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.run(BreakpointManager.java:789)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
              at org.eclipse.core.runtime.Platform.run(Platform.java:783)
              at org.eclipse.debug.internal.core.BreakpointManager$BreakpointNotifier.notify(BreakpointManager.java:815)
              at org.eclipse.debug.internal.core.BreakpointManager.fireUpdate(BreakpointManager.java:729)
              at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:461)
              at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoints(BreakpointManager.java:431)
              at org.eclipse.debug.internal.core.BreakpointManager.addBreakpoint(BreakpointManager.java:424)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.register(JavaBreakpoint.java:174)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint$1.run(JavaStratumLineBreakpoint.java:126)
              at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1721)
              at org.eclipse.debug.core.model.Breakpoint.run(Breakpoint.java:335)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.(JavaStratumLineBreakpoint.java:129)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.(JavaStratumLineBreakpoint.java:104)
              at org.eclipse.jdt.debug.core.JDIDebugModel.createStratumBreakpoint(JDIDebugModel.java:362)
              at org.eclipse.jst.jsp.ui.internal.breakpointproviders.JavaStratumBreakpointProvider.addBreakpoint(JavaStratumBreakpointProvider.java:54)
              at org.eclipse.wst.sse.ui.internal.debug.ToggleBreakpointAction.createBreakpoints(ToggleBreakpointAction.java:95)
              at org.eclipse.wst.sse.ui.internal.debug.ToggleBreakpointAction.run(ToggleBreakpointAction.java:188)
              at org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
              at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
              at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
              at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
              at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
              at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
              at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3125)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2758)
              at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
              at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
              at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
              at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
              at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
              at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
              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.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
              at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
              at org.eclipse.core.launcher.Main.run(Main.java:973)
              at org.eclipse.core.launcher.Main.main(Main.java:948)

              !ENTRY org.eclipse.jdt.debug 4 120 2006-06-08 18:41:20.883
              !MESSAGE Internal error logged from JDI Debug:
              !STACK 0
              com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
              at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:167)
              at org.eclipse.jdi.internal.connect.PacketReceiveManager.getReply(PacketReceiveManager.java:184)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:174)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:230)
              at org.eclipse.jdi.internal.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:348)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.createRequests(JavaStratumLineBreakpoint.java:357)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:497)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint.addToTarget(JavaLineBreakpoint.java:167)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:1099)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.initializeBreakpoints(JDIDebugTarget.java:429)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.initialize(JDIDebugTarget.java:378)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.(JDIDebugTarget.java:252)
              at org.eclipse.jdt.debug.core.JDIDebugModel$1.run(JDIDebugModel.java:159)
              at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1721)
              at org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDIDebugModel.java:163)
              at org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDIDebugModel.java:123)
              at org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:141)
              at org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:79)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:733)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:931)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

              !ENTRY org.eclipse.jdt.debug 4 120 2006-06-08 18:41:20.899
              !MESSAGE Internal error logged from JDI Debug:
              !STACK 0
              com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
              at org.eclipse.jdi.internal.connect.PacketSendManager.sendPacket(PacketSendManager.java:78)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:170)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:192)
              at org.eclipse.jdi.internal.request.EventRequestImpl.enable(EventRequestImpl.java:223)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:1009)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:974)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:953)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaStratumLineBreakpoint.createRequests(JavaStratumLineBreakpoint.java:347)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:497)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaLineBreakpoint.addToTarget(JavaLineBreakpoint.java:167)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:1099)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.initializeBreakpoints(JDIDebugTarget.java:429)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.initialize(JDIDebugTarget.java:378)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.(JDIDebugTarget.java:252)
              at org.eclipse.jdt.debug.core.JDIDebugModel$1.run(JDIDebugModel.java:159)
              at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1721)
              at org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDIDebugModel.java:163)
              at org.eclipse.jdt.debug.core.JDIDebugModel.newDebugTarget(JDIDebugModel.java:123)
              at org.eclipse.jdt.internal.launching.SocketAttachConnector.connect(SocketAttachConnector.java:141)
              at org.eclipse.jdt.internal.launching.JavaRemoteApplicationLaunchConfigurationDelegate.launch(JavaRemoteApplicationLaunchConfigurationDelegate.java:79)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:590)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:515)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:733)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$6.run(DebugUIPlugin.java:931)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)

              !ENTRY org.eclipse.jdt.debug 4 120 2006-06-08 18:41:20.899
              !MESSAGE Internal error logged from JDI Debug:
              !STACK 0
              com.sun.jdi.VMDisconnectedException: Got IOException from Virtual Machine
              at org.eclipse.jdi.internal.connect.PacketSendManager.sendPacket(PacketSendManager.java:78)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:170)
              at org.eclipse.jdi.internal.MirrorImpl.requestVM(MirrorImpl.java:192)
              at org.eclipse.jdi.internal.request.EventRequestImpl.enable(EventRequestImpl.java:223)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:1009)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:974)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.createClassPrepareRequest(JDIDebugTarget.java:953)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.createRequests(JavaBreakpoint.java:516)
              at org.eclipse.jdt.internal.debug.core.breakpoints.JavaBreakpoint.addToTarget(JavaBreakpoint.java:497)
              at org.eclipse.jdt.internal.debug.core.model.JDIDebugTarget.breakpointAdded(JDIDebugTarget.java:1099)
              at org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.notifyTarget(JavaDebugOptionsManager.java:269)
              at org.eclipse.jdt.internal.debug.ui.JavaDebugOptionsManager.handleDebugEvents(JavaDebugOptionsManager.java:482)
              at org.eclipse.debug.core.DebugPlugin$EventNotifier.run(DebugPlugin.java:1081)
              at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
              at org.eclipse.core.runtime.Platform.run(Platform.java:783)
              at org.eclipse.debug.core.DebugPlugin$EventNotifier.dispatch(DebugPlugin.java:1113)
              at org.eclipse.debug.core.DebugPlugin$EventDispatchJob.run(DebugPlugin.java:343)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:76)