Home JBoss howto Configuration How to deploy an application temporarly with JBoss ?
30 | 07 | 2010
JBoss 5 AS Book
"JBoss AS 5 development" reviews
Please share your feedback/review with other readers!
Banner
Dashboard
Advertise with Us
Banner
RSS Feed
Java EE 1.6 resources
Login
Sign here for the NewsLetter.



JBoss admin resources
Banner
Java EE 1.6 resources
JBoss howto

How to avoid the 50 seconds start up limit in Eclipse ?

JBoss recipe of the day ...
Read More

How can you solve deployment errors caused by large war/jar/ear files ?

jboss recipe of the day ...
Read More

How do you configure your .war to be deployed after your EJB ?

jboss recipe of the day ...
Read More
How to deploy an application temporarly with JBoss ?
Written by F.Marchioni   
JBoss recipe of the day
One way to do it, is using the jboss.system:service=MainDeployer Mbean.
In practice, if you deploy an application using this MBean your application will be temporarly deployed on the application server. Why temporarly ? because it's not copied into the "deploy" directory but simply deployed where it is.

The location of the application is not persisted, JBoss keeps in memory the location of the application, so at server shutdown the application will exit from JBoss.

One way to reach this MBean is via the twiddle utility:

twiddle invoke "jboss.system:service=MainDeployer" deploy C:\TempApp.war


Here the web application TempApp.war is deployed from C:\ . Until JBoss is running.

JBoss.org Search
Custom Search
Comments
Search
Sirigiri   |2009-02-27 18:26:25
Thank you very much for very nice tips with 'JBoss Recipe of the day".Is
there a link for archives of "JBoss Recipe of the day".

Thanks once
again.
Jagan
admin   |2009-03-02 14:01:34
hello!
yes tips are archived in the "jboss howto" tab.
regards
Only registered users can write comments!

3.26 Copyright (C) 2008 Compojoom.com / Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."