This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
1. I am using openJMS for publishing/subscribing 2. I am able to publish using openJMS example of SimplePublisher.java as independent java classes and through servlet in tomcat.
Problem: The moment I use the same code in websphere 5.1 I am getting null connections when I call "createTopicConnection". I tried calling the jms related code directly and also through generic JMS provider but everytime the same problem.
The code is as below
TopicConnectionFactory factory = (TopicConnectionFactory)context.lookup("JmsTopicConnectionFactoryNew"); // I am able to get factory
TopicConnection connection = factory.createTopicConnection(); // this line throws exception The exception is as below: