users@glassfish.java.net

RE: Call asadmin commands from a java program

From: Sigal Shaharabani <Sigal.Shaharabani_at_Teledata-Networks.com>
Date: Wed, 10 Nov 2010 19:02:51 +0200

I am also interested in this issue, or alternatively some Java API for
the glassfish admin

 

TIA

 

P please consider the environment - do you really need to print this
email?

________________________________

From: Carlo Camerino [mailto:carlo.camerino_at_gmail.com]
Sent: Wednesday, November 10, 2010 10:27 AM
To: users_at_glassfish.dev.java.net
Subject: Call asadmin commands from a java program

 

Hi,,

 

Is theere a way by which I can use the commands in asadmin in java?

 

For example, asadmin start-domain or asadmin deploy "warfile"

 

as far as i can see from now, you can use java's api for handling
processes.

 

but what i would like to do is to call the actual java classes that are
being used in a java program i'm making...

 

 

Is there any jar that I have to reference or is this possible? Much like
how cargo does it

 

 

thanks

carlo


NOTICE: This email and any files transmitted with it are Enablence and Teledata-Networks confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains Enablence and Teledata-Networks confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.