Juergen Messer wrote:
>
> Hello,
>
> we want to start 3 different Jonas on only one machine. This works fine, but
> I got the following Exception if I start the second and the third EJB:
>
> JmsAdminForJoram startMOM : Exception caught: java.lang.Exception: Problem
> during MessageConsumer starting:
> 1:D1
> Jmsmanager cannot load admin class java.lang.Exception: Problem during
> MessageConsumer starting:
> 1:D1
> JOnAS: Cannot start JMS Servicejava.lang.Exception: Problem during
> MessageConsumer starting:
> 1:D1
>
> I tested several ports for each server, but this the exception still
> appears...
>
> jonas.jms.url=joram://localhost:43184
>
> Can anybody help me with this (I think) configuration problem?
>
> Best regards, Juergen Messer
>
Hi Juergen,
I need to know more about your jonas.properties files.
It seems you are trying to launch 3 EJBServer with the JMSServer
collocated.
Don't forget that if you need to use the jms service in your
EJBServer the jonas.jms.mom in the jonas.properties file must be set to
org.objectweb.jonas_jms.JmsAdminForJoram.
Then the MOM can be launched in the same JVM that an EJBServer or in a
separate JVM.
The first is the default, i.e if you haven't set the
jonas.jms.collocated property
in your jonas.properties file the default value for this property
will be true.
I think that in your case you need to launch the first EJBServer with
jonas.jms.collocated true
and the second and third with jonas.jms.collocated to false.
You can also run the MOM in a seperate JVM via JMServer
in this case you will have to launch the three EJBServer with
jonas.jms.collocated to false.
I hope it helps,
Regards,
--
Philippe
Philippe Coq Evidian Phone: (33) 04 76 29 78 49
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".