• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How to configure to deploy my EAR after Jboss is started.
Any suggestion will be helpful -Thanks
 
Author
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actully I want my EAR's to start deploying after this service is started "jboss.web:service=WebServer"
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try adding a META-INF/jboss.xml file with this content:

 
reply
    Bookmark Topic Watch Topic
  • New Topic