aspose file tools*
The moose likes JBoss/WildFly and the fly likes How to reload an application. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to reload an application." Watch "How to reload an application." New topic
Author

How to reload an application.

Abhi Bharade
Greenhorn

Joined: Nov 25, 2004
Posts: 11
Hi,

Is there any way to reload an application in JBOSS server. I want to reload a specific application again . The problem is that there are many application running and it nearly takes 2 mins to stop and start the server.

Thnx in adv.

__Abhi__
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

You could undeploy it and then deploy it again.
Marco Barenkamp
Ranch Hand

Joined: Aug 27, 2001
Posts: 94
I don't think that this as a good approach.
The better way is to use the MainDeployer MBean.
The following code snippet will show how to reload(redeploy)
a J2EE application.
This will work fine.


Have fun!
[ August 04, 2005: Message edited by: Marco Barenkamp ]

Marco Barenkamp<br />_ _ _ _ _ ________________________ _ _ _ _ _ <br />L M I N T E R N E T S E R V I C E S AG<br /> <br />Head of Software Development<br /> <br /> <br />BEA Certified Enterprise Developer<br />Sun Certified Programmer for the Java2 Platform<br />Sun Certified Web Component Developer for the Java2 Platform<br />Sun Certified Developer for the Java 2 Platform <br />Sun Certified Business Component Developer for the Java 2 Platform <br />Sun Certified Enterprise Architect for the Java 2 Platform Enterprise Edition<br /> <br />LMIS AG
Dave Salter
Ranch Hand

Joined: Jul 20, 2005
Posts: 293

Thanks,

I didn't know you could do that. Thats a much better solution than mine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to reload an application.