File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes debugging web application on weblogic from eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "debugging web application on weblogic from eclipse" Watch "debugging web application on weblogic from eclipse" New topic

debugging web application on weblogic from eclipse

vicky chauhan
Ranch Hand

Joined: Nov 27, 2008
Posts: 41
I am having a web application comprising of java, jsp, servlets, ejb which runs on weblogic server.

I am using ECLIPSE IDE for development, enhancements and debugging.

When I compile the application, the EAR or WAR file in weblogic gets refreshed with the latest code and then I will restart the server and will access the application from the browser (localhost:7001) to see the changes.

Problem: Everytime I change a .java file, I have to recompile whole application. Stop the Server. Restart the Server. Access the application to feel the code changes.

I find it very annoying. Even a little change of one line in the code requires all the above steps if I want to see how that reflects on the application.

Is there any way in which I can see the changes in Java code reflected on the server without the need to compile whole application, stop server, restart server and then accessing it.

It will be a great help in debugging.

Please give detailed steps as I am a novice with Web Applications and still have a lot to learn.

Thanks in advance.

- Nikunj

Naveen Megharaj
Ranch Hand

Joined: Feb 13, 2009
Posts: 39
hello vicky,
whenever you make some changes in your web application, just save the changes and just redeploy your web application in the web logic server. i think that restarting of the server is not reqiured, just redeploying the web application is enough...!!! just try it.... i m not completely sure...
I agree. Here's the link:
subject: debugging web application on weblogic from eclipse
It's not a secret anymore!