• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Server name getting used without domain name

Suraj Pereira
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am a new user trying to connect to a JMS server. I try running the code below. For some reason, I get the error below.

I want to know why does tcp://server.domain.com:12345 get parsed to tcp://server:12345 (as in the error).

Is this how the server should be accessible?

Thanks for the help,

Connecting to JMS server: tcp://server.domain.com:12345 with username :admin and password : xyz
javax.jms.JMSException: Failed to connect to the server at tcp://server:12345
at com.tibco.tibjms.TibjmsxLinkTcp._createSocket(TibjmsxLinkTcp.java:817)
at com.tibco.tibjms.TibjmsxLinkTcp.connect(TibjmsxLinkTcp.java:913)
at com.tibco.tibjms.TibjmsConnection._create(TibjmsConnection.java:1002)
at com.tibco.tibjms.TibjmsConnection.<init>(TibjmsConnection.java:2699)
at com.tibco.tibjms.TibjmsQueueConnection.<init>(TibjmsQueueConnection.java:36)
at com.tibco.tibjms.TibjmsxCFImpl._createImpl(TibjmsxCFImpl.java:186)
at com.tibco.tibjms.TibjmsxCFImpl._createConnection(TibjmsxCFImpl.java:239)
at com.tibco.tibjms.TibjmsQueueConnectionFactory.createQueueConnection(TibjmsQueueConnectionFactory.java:87)
at JMSQueue.main(JMSQueue.java:28)

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic