Before I answer your direct question:
If all you want to do is run different beans over different
databases you can do this by setting up multiple database
connections in jboss.jcml and then specify the one you want
in j2ee-jar.xml/jboss.xml using <resource-ref> and <resource-manager>
tags.

Now to answer your direct question:
You can do this through multi-homing.
I've never done this myself, but I've seen people on this list who
have.
This works by assigning your interface/adaptor multiple ip
addresses and then in the host table you map the ip addresses
to different host names.
To make this work with rmi you need to add the property
-Djava.rmi.server.hostname to run.bat/run.sh
this makes rmi use the host names to distinguish which
instance of jboss you want to use.

Clustering is nearly the opposite. This runs JBoss on multiple machines
as though they were the same instance.

Regards,
Adrian

>From: Kjell Nilsen <[EMAIL PROTECTED]>
>To: "'[EMAIL PROTECTED]'"  
><[EMAIL PROTECTED]>
>Subject: [JBoss-user] Several instances of JBoss
>Date: Fri, 18 Jan 2002 10:07:18 +0100
>
>Is it possible to run serveral  instances of JBoss of JBoss in  the same
>server?  I know clustering is only still in alpha, but can we serveral ( eg
>4) independant instances running using the current JBoss verson.  ( The
>point is to have each one run against a separate SQLServer instance.)
>
>I expect we will need a"hot" server with lots of memory - have anyone tried
>somthing like this ?
>
>Tia, Kjell.
>
>
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-user




_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to