• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Remote JMS Connection

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
no, on another computer, but on the same network.
thanks!!!
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
but Im not doing this test, I'm trying to do a connection just between two computers.
 
Paul Clapham
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!




 
reply
    Bookmark Topic Watch Topic
  • New Topic