I think the problem in both 1.4.5 and 1.4.8 is that once a TopicConnection is
started, calling createSubscriber() hangs.  The simple workaround is to stop the
connection, create the subscriber and start the connection again.  I'm filing this
as a bug.

Vidur

Vidur Dhanda wrote:

> 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

--
Vidur Dhanda
Active Solutions
tel: 617/566-1252
cell: 617/821-7115
[EMAIL PROTECTED]
www.active-solutions-inc.com



Reply via email to