This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Redeploying EAR files on Server Start up

 
vijay prakash
Greenhorn
Posts: 11
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9214
9
Linux Mac OS X Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic