• 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
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Remote Debugging Possible

 
Ranch Hand
Posts: 328
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic