- This topic has 7 replies, 3 voices, and was last updated 16 years, 8 months ago by rycohen.
-
AuthorPosts
-
rycohenMemberI can’t seem to get remote debugging going with using the myeclipse internal launcher. If I launch the container externally, it works fine, but regardless of what I do with an internal launch I always get a “Failed to connect to remote VM. Connection refused.” message when I run the Remote Java Application connector.
As far as I can tell, the Server is not listening, as the Glassfish web managment page (Application Server->General) debug status says “Not enabled”. This is in spite of launching the server in debug mode and the fact that the “Servers” view “Mode” column says “Debug”.
I am using a vanilla install of Glassfish 2 (build b58c-fcs) , and myeclipse/eclipse are absolutely up-to-date. JDK 1.6.0_04
I get no errors on server startup, and as far as I can see, no messages indicating that it is listening on port nnnn for remoted debugging connections.
Any help would be appreciated, as using the external launch method is painful.
Thanks,
Ross
Loyal WaterMemberI can’t seem to get remote debugging going with using the myeclipse internal launcher.
Are you trying to remote debug an internally launched server ? Have you taken a look at this quick start doc ? Is this what your trying ?
http://www.myeclipseide.com/documentation/quickstarts/appservers/
rycohenMember@support-nipun wrote:
I can’t seem to get remote debugging going with using the myeclipse internal launcher.
Are you trying to remote debug an internally launched server ? Have you taken a look at this quick start doc ? Is this what your trying ?
http://www.myeclipseide.com/documentation/quickstarts/appservers/Yes, I’ve read the quick-start docs (and googled around a while). Yes, I am trying to get the internally-launched server to allow remove debugging. All the details are in my initial post.
Thanks in advance,
Ross
Loyal WaterMemberRoss,
I think there is some kind of confusion here. Remote Debugging is used for Externally launched server. Can you check this out please:-
http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/
rycohenMember@support-nipun wrote:
Ross,
I think there is some kind of confusion here. Remote Debugging is used for Externally launched server. Can you check this out please:-
http://www.myeclipseide.com/documentation/quickstarts/remotedebugging/To clarify, I cannot get debugging working on a glassfish server which has been started using the myeclipse connector (ie using the Server view in the MyEclipse perspective). If I start glassfish externally (from the command line) I can debug code on the server without problems.
Sorry about the terminology mismatch – my bad.
Thanks in advance,
Ross
Loyal WaterMemberCan you go to MyEclipse > Installation Summary > installation Details and paste the information here for me.
Riyad KallaMemberRoss,
I think what Nipun was getting at is that when you start Glassfish from MyEclipse, the debugger is automatically attached directly to the process (you can confirm this by switching to the Debug perspective and seeing the running process).If you give us a bit more detail about what you were trying to debug and what was happening, that might provide some insight into why it wasn’t working.
Also are you using Glassfish 1, Glassfish 2, or Sun App Server 9.1 (based on GF2)?
rycohenMember@support-rkalla wrote:
Ross,
I think what Nipun was getting at is that when you start Glassfish from MyEclipse, the debugger is automatically attached directly to the process (you can confirm this by switching to the Debug perspective and seeing the running process).If you give us a bit more detail about what you were trying to debug and what was happening, that might provide some insight into why it wasn’t working.
Also are you using Glassfish 1, Glassfish 2, or Sun App Server 9.1 (based on GF2)?
Not sure if this was the problem, but there were some problems in our network topography that were just fixed, and everything seems to be working well now. Anyways, I apologize for having wasted everyone’s time.
Thank you,
Ross -
AuthorPosts