Win a copy of Event Streams in Action this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Remote Debugging Possible

Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've got Weblogic 7 running with a Web app and about 30 different EJB's. I develop with Eclipse/ant ( great tool B.T.W. )and I've installed the Weblogic plugin for Eclipse that allows remote debugging, accordint to the docs. However it only seems to work ( including hotswap with Java 1.4 ) when it's all on one box, so that's not really REMOTE debugging is it?
Does anyone have experience in Remote debugging? I kinda need it as I can't perform the full test series I'd like to before a demo is set up. I'd like to still do some more testing when the demo is installed on a remote server.
Thanks in advance for your help.
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just like to check if we're doing the same thing here.
What I have done is to start Weblogic in debug mode.
With the the following options in my startDebugWLS script
-classic %MEM_ARGS% -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,address=5555,suspend=n
instead of
in startWLS script
Afterwhich I can then use my IDE to run a debug process attached to the remote host using dt_socket at address 5555.
Hope this helps.

Han Ming
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!