Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 if jms provider host is not found, the server gets hosed

open
nobody
server (14)
5
2000-11-20
2000-11-20
Taso Lyristis
No

If the hostname in the jms.provider URL is non-existant (or is not resolvable for whatever reason), then the server will continue accepting connections, but does not respond to any commands.

This can probably be caught and dealt with.

Here is a hint:

java.lang.RuntimeException: java.net.UnknownHostException: java1.zebware.com
at com.lyrisoft.chat.server.remote.ChatServer.getName(ChatServer.java:760)
at com.lyrisoft.chat.server.remote.command.Stats.process(Stats.java:23)
at com.lyrisoft.chat.server.remote.CommandProcessorRemote.process(CommandProcessorRemote.java:114)
at com.lyrisoft.chat.server.remote.ChatClient.incomingMessage(ChatClient.java:216)
at com.lyrisoft.chat.server.remote.ReaderThread.normalRun(ReaderThread.java:39)
at com.lyrisoft.chat.server.remote.ReaderThread.run(ReaderThread.java:71)

Discussion

  • Taso Lyristis
    Taso Lyristis
    2000-11-20

    After looking at the stacktrace, it's actually not the jms.provider, but rather the getName() call that fails! Shit!