aspose file tools*
The moose likes BEA/Weblogic and the fly likes Redeploying EAR files on Server Start up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Redeploying EAR files on Server Start up" Watch "Redeploying EAR files on Server Start up" New topic
Author

Redeploying EAR files on Server Start up

vijay prakash
Greenhorn

Joined: Aug 23, 2005
Posts: 11
Hi,
i am facing problems with deploying EAR files on server startup.I have a EAR with 10 ejb's in it and they are deployed perfectly. Now i add up one more ejb into the EAR and update the application.xml and server specific descriptors.If i restart the server it only loads the old configuration but fails to parse the descriptor for new config and update the server config file.So the deployment on the whole EAR fails.
Suggest a way so that the EAR file is auto - redeployed on Server start up each time.
I am working with WLS 8.1 SP4.

PS: If manually re-deployed it works fine.

Thanks,
Vijay.
Joe Ess
Bartender

Joined: Oct 29, 2001
Posts: 8927
    
    9

When an application archive is deployed, it is extracted into $DOMAIN/applications/.wldonotdelete or $DOMAIN/$SERVER_NAME/.wldonotedelete depending on how it is deployed. When the server is shut down and restarted, it is run from the extracted files, not from the archive, so merely replacing the archive will not redeploy the application.
You should look into using one of the supported deployment methods.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Redeploying EAR files on Server Start up