We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Auto deployment og EAR in Weblogic 10

Mandar1105
Mandar1105 asked
on
Medium Priority
2,147 Views
Last Modified: 2013-12-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.

Comment
Watch Question

Java Developer
CERTIFIED EXPERT
Top Expert 2010
Commented:
is that app autodeployed, the doc seems to imply it may need to be.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

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.
Mick BarryJava Developer
CERTIFIED EXPERT
Top Expert 2010

Commented:
the doco could be interpreted that the REDEPLOY file only works for autodeployed apps.

Commented:
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.  
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.