We are getting CommunicationException while trying to get TopicConnectionFactory.
Please see the error message below.
"JNDI lookup failed: javax.naming.CommunicationException: Receive timed out [Root
exception is java.io.InterruptedIOException: Receive timed out]"
In the lookup(initial context),we have specified "ConnectionFactory".It is not working with "TopicConnectionFactory" also.
Everything is working fine with J2EEServer.
We are facing this problem when we tried to port the same code to JBoss.