Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2125
  • Last Modified:

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.

0
Mandar1105
Asked:
Mandar1105
  • 2
1 Solution
 
objectsCommented:
is that app autodeployed, the doc seems to imply it may need to be.
0
 
Mandar1105Author Commented:
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.
0
 
objectsCommented:
the doco could be interpreted that the REDEPLOY file only works for autodeployed apps.

0
 
BeckyCommented:
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.  
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now