5 Replies Latest reply: Mar 1, 2012 2:06 AM by Wolf-Dieter Fink RSS

Starting a stand alone java application in Jboss as7

Sabari Gandhi Newbie

Hi,

 

I am a new bee to jboss . I have a requirement to start a java standalone application while starting the jboss (i.e while starting the ./standalone.sh ) in Jboss as 7.... where should i provide this in the jboss startup descriptors or jboss descriptor files while the server is starting .

 

Where shoild i give the following command

java com.XXX.XXX.myprogram -enableassertions -Xms256m -Xmx1024m -XX:MaxPermSize=192m

 

 

Iam using mac os....

 

Thanks in advance,

SG