• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to configure to deploy my EAR after Jboss is started.

 
karthik San
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to configure to deploy my EAR after Jboss is started.
Any suggestion will be helpful -Thanks
 
Javid Jamae
Author
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Java Ranch.

Please explain further what you want to do.

Copying a file into the server/xxx/deploy directory should deploy it after the server is running.

Do you want to change the configuration in the EAR file while the server is running and have it hot deploy? You should be able to do this with an exploded directory structure. Deploy the application as a directory structure with the top-level directory having the same name as what you would have if it were an archive (for example myarchive.ear). Then you can change your configuration and touch (or update) the META-INF/application.xml file to trigger a redeploy. If you have any WARs or JARs under the ear, you may want those to be exploded directory structures too.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"kar Kar", please check your private messages for an important administrative matter.
 
karthik San
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actully I want my EAR's to start deploying after this service is started "jboss.web:service=WebServer"
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding a META-INF/jboss.xml file with this content:

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic