I'm having difficulty connection from a client app (Swing) to a JBoss 3.0 RC2 Topic. The client app is on a diff machine that JBoss.
I'm using the following code for my connection setup:
hash = new Hashtable();
context = new InitialContext(hash);
conFactory = (TopicConnectionFactory)context.lookup("java:/ConnectionFactory");
conn = conFactory.createTopicConnection();
topic = (Topic)context.lookup("nepoolTopic");
session = conn.createTopicSession(false, Session.AUTO_ACKNOWLEDGE);
subscriber = session.createSubscriber(topic);
The error I continue to receive is a null pointer? Has anyone sucessfully setup a connection between a client and a topic on sep machines?
I just realized that I'm working this weekend at home and I moved my JBoss server over to my XP machine. I believe that I have seen some posts with regard to using port 1099 on XP.
Disregard my previous post until I can make sure the same problem happens on a non-XP box.