• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remote JMS Connection

 
Jose Coqueiro
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all,

Im trying to connect to a remote JMS Server, but when I try to lookup the factory object Im getting the following error:



there is some config I have to do in order to put it to work? could somone help???

thanks!!!
 
Paul Clapham
Sheriff
Pie
Posts: 20976
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It can't connect to the server running at address XXX.XXX.XX.XX on port XXXX because it never gets a response from that server. So after a while it gives up. (That's what the word "timeout" means.)

So you have to find out why. Perhaps there is no server running there. Perhaps there is a firewall or proxy preventing the connection. It's more likely to be a network issue that anything else. Talk to your network managers if you don't understand anything about networks.
 
Jose Coqueiro
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when I run the code outside Jboss container it works, but when I run inside it fails.
so there is some config???
thanks!
 
Paul Clapham
Sheriff
Pie
Posts: 20976
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jose Coqueiro wrote:when I run the code outside Jboss container it works, but when I run inside it fails.


On the same computer?
 
Jose Coqueiro
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no, on another computer, but on the same network.
thanks!!!
 
Paul Clapham
Sheriff
Pie
Posts: 20976
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But if you have the problem that something on Computer A can't connect to Computer B, then seeing if something on Computer X can connect to computer B is a useless test of the problem.
 
Jose Coqueiro
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
but Im not doing this test, I'm trying to do a connection just between two computers.
 
Paul Clapham
Sheriff
Pie
Posts: 20976
31
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then you should be doing that test. All you know is that JBoss running on Computer A can't connect to Computer B. So is it JBoss, or is it the network between A and B? Running something else on Computer X tells you nothing about that problem.
 
Jose Coqueiro
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok Paul, I had not got it right what you said about the test...

but the problem was other, the computer I was connecting to had changed the ip address...

after change the ip on the config file it works great!!!

thanks!!!




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic