aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to configure to deploy my EAR after Jboss is started. 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 » JBoss/WildFly
Bookmark "How to configure to deploy my EAR after Jboss is started." Watch "How to configure to deploy my EAR after Jboss is started." New topic
Author

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

karthik San
Greenhorn

Joined: Apr 13, 2009
Posts: 2
How to configure to deploy my EAR after Jboss is started.
Any suggestion will be helpful -Thanks
Javid Jamae
Author
Ranch Hand

Joined: May 14, 2008
Posts: 198
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.


Author: JBoss in Action, javidjamae.com, @javidjamae on Twitter
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61415
    
  67

"kar Kar", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
karthik San
Greenhorn

Joined: Apr 13, 2009
Posts: 2
Actully I want my EAR's to start deploying after this service is started "jboss.web:service=WebServer"
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Try adding a META-INF/jboss.xml file with this content:



JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to configure to deploy my EAR after Jboss is started.