Creating multiple queue connection factories

I have quit trying to create queues explicitly from the clients.

See topic: http://softwareforum.sun.com/NASApp/jive/thread.jsp?forum=24&thread=15304

Instead, I'm trying out auto-created queues. I have two VMs with separate connection factories and separate queues. I create a connection factory with the following code snippet:

ObjMgr.main(myAddQcfCommand);

Again I'm trying to avoid using the scripts. It works great with the first VM, but the other VM gets the same exceptions as in the topic above.

Maybe I have to create the factories with the scripts after starting up the IMQ server?

Regards

[661 byte] By [705430] at [2007-11-25 8:41:58]
# 1

At first glance,

the error you are seeing looks like a problem with

provider properties not an issue with executing the

command. [so you will see it running imqobjmgr or

using administered objects but not running imqcmd

or code which explicitly creates a connection factory]

Do you still see the problem if you explicity

create a connection factory instead of using an

administered object ? e.g.

TopicConnectionFactory factory = new com.sun.messaging.TopicConnectionFactory();

If you dont see a problem with the non-connection

factory code it is probably a jndi configuration

issue .... what arguments are you using to access

the store ?

Guest at 2007-7-1 15:20:59 > top of Java-index,Application & Integration Servers,Sun Java System Message Queue...