wood burning stoves*
The moose likes BEA/Weblogic and the fly likes How to debug weblogic applications using eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "How to debug weblogic applications using eclipse" Watch "How to debug weblogic applications using eclipse" New topic
Author

How to debug weblogic applications using eclipse

J. Adam White
Greenhorn

Joined: Jan 31, 2005
Posts: 16
My new job requires me to use Eclipse. I am normally an intellij idea user. What is the best way to debug weblogic applications with eclipse? Is there one plugin better than the other?

Your help is appreciated,

Joshua
J. Adam White
Greenhorn

Joined: Jan 31, 2005
Posts: 16
I should have mentioned that I am currently using weblogic 8.1.

Thanks,

Joshua
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

have a look at this article.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
J. Adam White
Greenhorn

Joined: Jan 31, 2005
Posts: 16
Just what I was looking for... thanks!
Thummalashankar Reddy
Greenhorn

Joined: Feb 08, 2007
Posts: 21
Hi Friends,

Whatever you mentioned in the document for a web application i did the same thing but i am getting Exception..

Failed to connect to remote VM. Connection refused

Could you please help me on this...
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

Did you follow the step in the article marked "Configuring a Remote Debugging Configuration in Eclipse"? You have to tell the JVM to listen for connections.
Thummalashankar Reddy
Greenhorn

Joined: Feb 08, 2007
Posts: 21
According to that article only...
I am adding JAVA_OPTS to the .cmd file
Next I configure Remote debug in the Eclipse.
Next i specified the break points..Next started the server...
Still i am getting "Unable to connect VM" only..Could you please help me on this.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8876
    
    8

You need to tell the details.
What are you setting JAVA_OPTS to in startWeblogic.cmd?
Does your command line in startWeblogic.cmd use JAVA_OPTS?
Do you print out your command line in startWeblogic.cmd? If not, you should so you can make sure the settings are what you think they are.
What are you setting the remote debug settings to?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to debug weblogic applications using eclipse