Re: [JBoss-user] NullPointerException while trying to obtain JMS

2002-06-14 Thread Slava Voronin
I run sucsessfully example under JbossBook-2.4.x in chap4 with messages. I use lookup("TopicConnectionFactory") for this version. The same example work for jboss3 if changed lookup("TopicConnectionFactory") to lookup("ConnectionFactory"). I bought this documents for $10. Demyanovich, Craig - Ap

RE: [JBoss-user] NullPointerException while trying to obtain JMS

2002-06-14 Thread Demyanovich, Craig - Apogent
> I had the same problem and when I changed > lookup("TopicConnectionFactory") to lookup("ConnectionFactory") > it worked for jboss3. Mark made the original post on my behalf, as my subscription request was taking quite some time. Now that I'm here, let me carry on the discussion. I neglected

[JBoss-user] NullPointerException while trying to obtain JMS TopicConnectionFactory on 2.4.6

2002-06-13 Thread McLain, Mark - Apogent
I have written the following test method in a JUnit 3.7 TestCase:       public void testSendMessageToProcessor()     throws NamingException, JMSException     {     Context ctx = new InitialContext();     TopicConnectionFactory factory =     (TopicConnectio