Hi!

I have bunch of clients using a stateless sessionbean to fetch messages from a 
topic using durable subscribers. For all subscribtions the same clientid-string 
is set and they get a unique name to distinguish from each other.

With low traffic this works fine, but with about 20 clients fetching 
permanently, after a few seconds JBoss starts to use incrementing numbers as 
clientid instead of my static string.

I get the following output in server.log, but without any exception before:


  | 2005-01-24 10:23:28,470 DEBUG [org.jboss.mq.sm.jdbc.JDBCStateManager] 
Checking durable subscription: DurableSubscription[clientId=ID:37 
name=lasttest15 selector=null], on topic: 
TOPIC.chatserver.chattopic.DurableSubscription[clientId=ID:37 name=lasttest15 
selector=null]
  | 2005-01-24 10:23:28,482 DEBUG [org.jboss.mq.sm.jdbc.JDBCStateManager] The 
subscription was not previously registered.
  | 2005-01-24 10:23:28,482 DEBUG [org.jboss.mq.pm.jdbc2.PersistenceManager] 
Restored 0 message(s) to: 
TOPIC.chatserver.chattopic.DurableSubscription[clientId=ID:37 name=lasttest15 
selector=null]
  | 

Each sessionbean creates its TopicConnection, sets the ClientID and holds this 
connection open until the bean is closed. When a subscribtion is checked a new 
session is opened and closed again afterwards.
When working under heavy load, about 20 SessionBeans are created.

I tried to directly use JMS from the clients without using the sessionbeans and 
all worked fine.

So, why does JBoss use different clientID's than I told him to use?

Has it maybe something to with the Bug reported here:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=56829


Greets
..Patrick





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863389#3863389

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863389


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to