Mandar1105
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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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.
Weblgoic makes an ant task that deploys/redeploys. You could try using that - just run the ant task when you want to redeploy.
ASKER
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.