Link to home
Start Free TrialLog in
Avatar of Mandar1105
Mandar1105Flag for India

asked on

Auto deployment og EAR in Weblogic 10

Hi,

I want to auto deploy my application in WebLogic 10 in development env.
Here is my setup:
EAR (exploded form)
| - APP-INF
         | - classes
| - META-INF
          | - REDEPLOY
          | - application.xml

I modified the class file and compiled it through ant task (compiled class copied to APP-INF/classes). Then touched the REDEPLOY file to change the timestamp.
But it doesn't redeploys the application.
As per Bea manual, this should be enough to redeploy the application ('http://e-docs.bea.com/wls/docs100/deployment/autodeploy.html')

Can somebody patch in and help me in this.

ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mandar1105

ASKER

The application is not auto deployed. The application is deployed normally through invoking startweblogic.cmd. But to reduce time taken by server start, I want auto deployment to be in place for further code changes.
I feel, at least first time we need to start server through startweblogic.cmd or similar ways. Then instead of stopping and starting app server for every small change, we can have auto deployment in place.
the doco could be interpreted that the REDEPLOY file only works for autodeployed apps.

If the app isn't originally auto deployed the appserver won't auto REdeploy it.

Weblgoic makes an ant task that deploys/redeploys.  You could try using that - just run the ant task when you want to redeploy.