Great question! I also would like to know how to integrate multiple JVM's with single JBoss instance. It is my understanding we should not set the heapsize larger than 2 GB. To make the most of this server we would like to utilize as much of our 8 GB of RAM as possible.
I think you are actually looking for a Terracotta server. This is a server wich can cluster JVM's (local AND over a network). They seem to support JBoss too, although they need to work on the documentation I'm afraid. I don't have any experience with the product, it's on my "long running" todo list :P
You can read more on their website: http://www.terracotta.org/
this is about JBoss on their site: http://www.terracotta.org/confluence/display/docs1/Integrations+JBoss
Thank you for the tip but Terracotta will not help in our situation.
We have 8 gb of memory on our single server (5 GB unutilized)
I understand we should not extend more than 2 GB of memory per JVM.
I need to create a second instance of JVM as 2 GB of Java memory is not enough for our application.
Is it possible to create multiple JVM's with a single JBoss instance?
I don't think its possible to have multiple JVM's in single JBOSS instance. However you can achieve mutiple Jboss instances configured to form a logical Partition ( like a cluster) . You might have to use a load -balancer software/hardware type to channelize request to a free node on the partiton.