Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to reload an application.

 
Abhi Bharade
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could undeploy it and then deploy it again.
 
Marco Barenkamp
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Dave Salter
Ranch Hand
Posts: 293
Java Mac OS X Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,

I didn't know you could do that. Thats a much better solution than mine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic