Monday, 13 February 2012

Enable debugging in Websphere Application Server 7.0 ND

Generally ,debugging is one of the most handy things to have in a Application Server and as such easy to enable.
I had a pretty tough time for WAS 7.0 when I went through the conventional way of adding debug properties to the Java args. The server literally gave up and refused to start.
After a bit of googling and reading the detailed WAS documentation,I realised it was simpler to do so in Websphere than in many of the other simpler application servers
Here are the steps :
1)Log on to the IBM Websphere Administrative console.This typically runs on the ports 9060(unsecure) and 9443(secure)
2)Navigate to Servers->Server Types->WebSphere application Servers-><application server>
3)Click the WAS instance on which you want to enable debugging.

4)In the configuration tab,scroll down to the Additional Properties
5)Click on "Debugging Service"

6)Check the "Enable service at server startup" checkbox.

7)Click on Apply and click Review to review your changes
8)Check the "Synchronize changes with Nodes" checkbox (unless Automatic synchronization is enabled)
9)Click the Save button
10)Once the Synchromization is complete (This might take a few seconds) ,click OK and then restart the WAS instance .
11)Now you are all set to fire debug requests on the JVM debug port (as specified in the Debugging service page.Default is 7777)




5 comments:

  1. excellent post.........


    My site: http://myjavacafe.in

    ReplyDelete
  2. Hi,

    Thanks for the post.
    But, after I did this I am unable to start the server and it is throwing the error on UI with message as, "couldn't able to start the server".

    After I disabled the Debugging service, it is starting up without any issues.

    So, can you please help me to resolve this issue.

    ReplyDelete
  3. Great and really helpful informative site with unique content, for best
    Websphere Training In Hyderabad

    ReplyDelete
  4. I will clearly undestand and then respects to your clear-cut point.I want to encourage continue your great writing.
    Hadoop Online Training

    ReplyDelete
  5. thanks, i’ve always wondered what the easy dirty way to step in to code hosted on WAS in eclipse was and this makes it pretty easy. R Programming Training | DataStage Training | SQL Training | SAS Training | Android Training | SharePoint Training

    ReplyDelete