WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Using the debug port (default 7777) to attach a debugger from eclipse or some other tool

    Posted Thu February 23, 2017 12:47 PM

    I have one general question that a Developer has posed to me in the last week concerning debugging applications in WebSphere. Specifically this is around using the debug port (default 7777) to attach a debugger from eclipse or some other tool.  

    I did set it up according to these instructions:
    https://www.ibm.com/support/knowledgecenter/SSRTLW_8.5.1/com.ibm.debug.wsa.doc/topics/tbwowasd.html

    However, it doesn’t seem to be working for her.
    It is in a clustered environment, so I shutdown 2 of the three servers, and just added the debug port to the one and restarted it. I see the port is being listened on but it doesn’t work (that is all I have gotten out of her).
    I have a sandbox area where I can set it up using a single server (no cluster) and I think I may do that.

    I was wondering if anyone in this community has any experience or thoughts on anything like that.

    Thanks
    Eric



  • 2.  RE: Using the debug port (default 7777) to attach a debugger from eclipse or some other tool

    Posted Thu February 23, 2017 03:09 PM

    Hi Eric,

      I only can share the next link,

     Remote Debugging with Eclipse + WebSphere 7

      https://www.mkyong.com/websphere/remote-debugging-with-eclipse-websphere-7/

      can you get more details or logs? are you seeing any type of connections (from the client/debugger) at WAS side?

     

      Hope this helps. Tell us if you need more support 

    Regards



  • 3.  RE: Using the debug port (default 7777) to attach a debugger from eclipse or some other tool

    Posted Mon March 06, 2017 11:30 AM

    Hi Gabriel. Sorry for the late reply. I have been busy on other items demanding my attention.  Thank you for the link.  the developer told me she just failed to connect to the port. I could see the port was being listened to but there is a load balancer in front of the cluster.  I have decided just create a standalone server so she can do the testing she needs. I appreciate the information and will review that as well.

    Eric