• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

remote debug of weblogic cluster

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

We have weblogic 9.2 version.

Is there a way to remote/debug a J2EE application deployed on a weblogic cluster. I have an issue that is happening only on the cluster enviornment and thus need to debug it thru eclipse.

Please let me know the steps to accomplish this.

Your input is highly appreciated.

Thanks in advance for your valuable input and time.


 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure you can, as long as the weblogic server is started in debug mode and is listening on a port for debug protocol messages. Use the -Xdebug flag to enable debugging

More here -> http://java.sun.com/j2se/1.3/docs/tooldocs/win32/jdb.html

Example: java -Xdebug -Xrunjdwp:transport=dt_shmem,address=jdbconn,server=y,suspend=n MyClass

I think there is a debug environment variable flag that you can set that will enable all this by default. After you have done this simply go to eclipse and configure a remote application. This can be done in debug configuration.

Let me know if you need more info
 
Ranch Hand
Posts: 489
Eclipse IDE Tomcat Server Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Sure you can, as long as the weblogic server is started in debug mode and is listening on a port for debug protocol messages. Use the -Xdebug flag to enable debugging



For a clustered environment, wouldn't it be necessary to start a debug process for each machine in the cluster?

ram.
 
Deepak Bala
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

ramprasad madathil wrote:

Sure you can, as long as the weblogic server is started in debug mode and is listening on a port for debug protocol messages. Use the -Xdebug flag to enable debugging



For a clustered environment, wouldn't it be necessary to start a debug process for each machine in the cluster?

ram.



You should be able to debug each server in the cluster by following the approach mentioned above. In short the answer is yes
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Deepak Bala wrote:

ramprasad madathil wrote:

Sure you can, as long as the weblogic server is started in debug mode and is listening on a port for debug protocol messages. Use the -Xdebug flag to enable debugging



For a clustered environment, wouldn't it be necessary to start a debug process for each machine in the cluster?

ram.



You should be able to debug each server in the cluster by following the approach mentioned above. In short the answer is yes



Short. But Wrong I think. One would think one could set the debug flags int eh WebLogic Console for "Server Start" for the server to be debugged within this cluster; but, this hasn't worked for me so far. Has anyone gotten this working?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic