Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

tMOMOutPut - JBoss messaging

Hello, 

 

I don't understand why I have this errors. I download JBoss messaging from Talend,

 

Can I help me ? 

Exception in component tMomOutput_2 (MOM_Put)
javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1999 and discovery failed with error: javax.naming.CommunicationException: Can't assign requested address [Root exception is java.net.SocketException: Can't assign requested address] [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1999 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1999 [Root exception is java.net.ConnectException: Connection refused (Connection refused)]]]
	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594)
	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
	at javax.naming.InitialContext.lookup(InitialContext.java:417)
	at sandre_test.mom_put_0_1.MOM_Put.tRowGenerator_1Process(MOM_Put.java:630)
	at sandre_test.mom_put_0_1.MOM_Put.runJobInTOS(MOM_Put.java:1207)
	at sandre_test.mom_put_0_1.MOM_Put.main(MOM_Put.java:1058)
Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1999 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1999 [Root exception is java.net.ConnectException: Connection refused (Connection refused)]]
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269)
	at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385)
	... 6 more
Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1999 [Root exception is java.net.ConnectException: Connection refused (Connection refused)]
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243)
	... 7 more
Caused by: java.net.ConnectException: Connection refused (Connection refused)
	at java.net.PlainSocketImpl.socketConnect(Native Method)
	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
	at java.net.Socket.connect(Socket.java:589)
	at java.net.Socket.connect(Socket.java:538)
	at java.net.Socket.<init>(Socket.java:434)
	at java.net.Socket.<init>(Socket.java:328)
	at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84)
	at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77)
	at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239)
	... 7 more
[statistics] disconnected

Job MOM_Put terminé à 16:08 30/07/2018. [Code sortie=1]
Labels (3)
2 Replies
Anonymous
Not applicable
Author

Hi,

 

     Could you please check whether the port number 1999 in your system is in open status?

 

     If you have configured some other server instead of your own machine, please add the corresponding hostname/IP address to establish the connectivity?

 

Warm Regards,

 

Nikhil Thampi

 

Anonymous
Not applicable
Author

Hello,

I am on a MAC, by default all ports are open.
No, I have not set up a server instead of my computer.

That's why I do not understand the mistake.

Thank you for your comeback.