Reputation: 1
I have an ear file containing 5 webapps. I want to use the same datasource in all the webapps. Note this datasource will be created during the deployment of one of the webapps. For this reason, I want to give the sequence of deployment of webapps in my weblogic. I created application.xml in the sequence I want to deploy the webapps so that datasource is created when the first app is deployed and there after other apps can use it. However it seems the weblogic is not starting the app in the sequence as given in application.xml. Can anyone guide what more is required to specify the sequence of deployment of webapps in an ear?
Thanks
Upvotes: 0
Views: 338
Reputation: 621
We can order the deployments in admin console while deploying the application...
Whenever you deploy any ear file...it will ask deployment order which is final one in that wizard and it's default value is 100.
you can specify the order like 100,101,102,103,104...or whatever number you want based on your requirement
Upvotes: 0
Reputation: 11310
Why didn't you configure On weblogic Server a Datasource and bind it in your 5 webapps?
Upvotes: 0