Forums Register Login

How to minimize redeployment time to test changes on WebLogic from within Eclipse IDE

+Pie Number of slices to send: Send
I have a MyEclipse for Spring 10 (which is Eclipse 3.7) and Weblogic 10.x. The simplified version of my workspace has a Java project for the midtier code, a dynamic web project for the web module, and an enterprise application project that contains the web module.

On my local Weblogic instance, I have a user domain that is set to auto-deploy in development mode.

The directory structure of my user domain looks something like this:

[BEA_HOME]
->user_projects
-->>domains
--->>>myapp
---->>>>autodeploy
----->>>>>mymidtier.jar
----->>>>>mywebmodule
------>>>>>>WEB-INF
------->>>>>>>classes

If I make some changes in the web project, the changes can be hot deployed to the server and tested right away without restarting the server.

However, if the changes are made in the midtier in the Java project, I have to go to "Server" view, right click my server and do "Redeploy/Reload application, which will create a new "midtier.jar" and drop it in the "autodeploy" folder under my user domain, which takes a significant amount of time. What this means is that each time when I make even just one line of code change in the midtier, I have to wait 10 minutes or more for redeployment to complete, until then can I restart the server and test my one line of change.

Obviously, this is very inefficient. My first choice is to be able to test the changes made in the midtier in the same way for testing the changes made in the web project without restarting the server. If this is not doable, my second best choice is to be able to simply restart the server and pick the changes right away without any redeployment.

I'd like to seek help to see if there's any configuration that can be done to allow me to realize the first choice or second choice. Thanks.
Looky! I'm being abducted by space aliens! Me and this tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 767 times.
Similar Threads
Workshop Weblogic config questions
Registering new servlet
Weblogic 8.1 Deployment using Eclipse OEPE
Web applications only deployed after restart of tomcat
Dynamically reloading servlets
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 20:21:23.