This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Remote Debugging Possible  RSS feed

 
Terence Doyle
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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.
Terry
 
HanMing Low
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
%JAVA_VM%
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.
Cheers.

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