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,
Hi Wolf ,
Thanks for the response...I tried writing a shell script (./myscript.sh) containg ./standalone.sh and my script for eg (./pms_start.sh) ,
My pms_start.sh just has just this : "java com.XXX.XXX.sampleProg"
and when i start myscript.sh both the jboss server and my application (standalone application) starts in a different JVM....But I want my standalone application to start in the same JVM which JBOSS uses...Is there any entry in Jboss deployment descriptor which i can use to acheive this ?
My intention is to start a standalone program and not an web or enterprise application...My stand alone program will run until it is terminated...and Iam using Jboss as 7....
Any help would be greatly appreciated...