Tuesday, May 21, 2013

WliSbTransports:381543 : URI does not have host and port information

In OSB, when you enter a JMS URI without hostname and port - meaning a LOCAL URI - you get this warning:

URI: jms:///weblogic.jms.XAConnectionFactory/PV_OSB_TESTQ, does not have host and port information. 
Host and port information is configured generally as empty when a foreign JMS provider is used.



This error message is described here

http://docs.oracle.com/cd/E14571_01/apirefs.1111/e15034/JmsTransport.html

"JMS proxy service can have empty host and port information in the URI when it is supposed to use foreign JMS provider. The destination is not created if it does not exist."

In fact the syntax jms:///connectionFactoryJNDI/queueJNDI is working perfectly even for local queues. And we really hate the story that OSB creates the queues if they are missing, so once more reason to avoid using host:port in the JMS URI.



No comments: