Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

debugging web application on weblogic from eclipse

 
vicky chauhan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic