Just remove the connectionfactory line from your jms.xml.
Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information
-----Original Message-----
From: Vidur Dhanda [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 16, 2001 11:31 AM
To: Orion-Interest
Subject: HELP! 1.4.5 and JMS
Please help! I broke something in my code and can't figure it out. On
the client, I'm consistently getting:
java.lang.NullPointerException
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:329)
at java.io.DataOutputStream.writeUTF(DataOutputStream.java:306)
at com.evermind.server.jms.cj.<init>(JAX)
at com.evermind.server.jms.b8.start(JAX)
at
com.epistemic.km.server.NotificationBase.getConnection(NotificationBase.java:89)
at
com.epistemic.km.server.NotificationBase.getSession(NotificationBase.java:101)
at
com.epistemic.km.server.NotificationBase.getSubscriber(NotificationBase.java:44)
Auto-started clients can send/receive messages without trouble.
getConnection() calls createTopicConnection() and then start().
If I use, createConnection (usr, pwd), then the system hangs.
In jms.xml, I have:
<jms-server host="192.168.10.2" port="9127">
<topic-connection-factory host="192.168.10.2"
location="jms/notificationFactory" port="9127" />
<topic name="DWItem Notification" location="jms/dwItemNotification">
</topic>
Any ideas? I'm on version 1.4.5. 1.4.8 has a regression on bug 188
that is a show stopper for us. And in fact, this code worked uptil
yesterday when I made changes to try and get 1.4.8 to work.
TIA,
Vidur
PS. If possible, please also cc me directly. I'm really desperate.
--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
cell: 617/821-7115
[EMAIL PROTECTED]
www.active-solutions-inc.com