Wednesday, March 10, 2010

Hot Deployment after compiling in your application to weblogic server

This can be done only to web project.

1. Add below tag to the weblogic.xml
<fast-swap>
<enabled>true</enabled>
</fast-swap>
2. Modify the target classes under project properties to the exploded deploy directory, which will be located under c:\documents and setttings/application data/jdeveloper/o.j2ee/drs/<appname>/web-inf/classes.

refresh the browser should take java class changes.


1 comment:

  1. My application is deployed in application server with latest jar files as library and correct updated files are opened in my jdev. But when I debug it i am getting
    The debugger was unable to redefine the recompiled classes.
    Unsupported operation: schema change.

    It was running successfully till I added a new method in my code, built the project and refreshed the jar in application server.
    I have deploy undeploy, restart the server still it is giving me that error. Please help.

    ReplyDelete