SourceForge.net
2003-07-22 10:04:43 UTC
Bugs item #669025, was opened at 2003-01-17 00:00
Message generated for change (Comment added) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669025&group_id=54559
Category: server
Group: v0.7.4
Submitted By: Tim Anderson (tanderson)
Assigned to: Nobody/Anonymous (nobody)
Summary: exception if PERSISTENT msg sent to non-administered dest
Initial Comment:
If a message is sent using
DeliveryMode.PERSISTENT to a non-administered
destination, an exception is thrown.
I don't think this should be invalid - if the
destination isn't administered, then it should
behave as though the message is
NON_PERSISTENT.
If this is intentional, an
InvalidDestinationException should be propagated
back to the client.
Sample stack trace:
23:14:19.149 ERROR [RMI TCP Connection(9)-
203.45.10.26] - javax.jms.JMSException: Failed to
addPersistentMessage : javax.jms.JMSException:
Failed to addPersistentMessage :
org.exolab.jms.persistence.PersistenceException:
add msg Cannot add
message=ID:P3430314416766320908,
destination=0: destination does not exist
javax.jms.JMSException: Failed to
addPersistentMessage : javax.jms.JMSException:
Failed to addPersistentMessage :
org.exolab.jms.persistence.PersistenceException:
add msg Cannot add
message=ID:P3430314416766320908,
destination=0: destination does not exist
at
org.exolab.jms.messagemgr.MessageMgr.addPersist
entMessage(MessageMgr.java:431)
at
org.exolab.jms.messagemgr.MessageMgr.add
(MessageMgr.java:311)
at
org.exolab.jms.server.JmsServerSession.sendMessag
es(JmsServerSession.java:396)
----------------------------------------------------------------------
Message:
Logged In: YES
user_id=557161
Fixed some time ago.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2003-01-17 00:03
Message:
Logged In: YES
user_id=557161
Note that this has been highlighted by the fix to
http://sourceforge.net/tracker/index.php?
func=detail&aid=667595&group_id=54559&atid=47413
6
Previously, messages were incorrectly sent with
DeliveryMode.NON_PERSISTENT by default. The fix to
the above makes the default delivery mode PERSISTENT.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669025&group_id=54559
Message generated for change (Comment added) made by tanderson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669025&group_id=54559
Category: server
Group: v0.7.4
Status: Closed
Resolution: Fixed
Priority: 5Resolution: Fixed
Submitted By: Tim Anderson (tanderson)
Assigned to: Nobody/Anonymous (nobody)
Summary: exception if PERSISTENT msg sent to non-administered dest
Initial Comment:
If a message is sent using
DeliveryMode.PERSISTENT to a non-administered
destination, an exception is thrown.
I don't think this should be invalid - if the
destination isn't administered, then it should
behave as though the message is
NON_PERSISTENT.
If this is intentional, an
InvalidDestinationException should be propagated
back to the client.
Sample stack trace:
23:14:19.149 ERROR [RMI TCP Connection(9)-
203.45.10.26] - javax.jms.JMSException: Failed to
addPersistentMessage : javax.jms.JMSException:
Failed to addPersistentMessage :
org.exolab.jms.persistence.PersistenceException:
add msg Cannot add
message=ID:P3430314416766320908,
destination=0: destination does not exist
javax.jms.JMSException: Failed to
addPersistentMessage : javax.jms.JMSException:
Failed to addPersistentMessage :
org.exolab.jms.persistence.PersistenceException:
add msg Cannot add
message=ID:P3430314416766320908,
destination=0: destination does not exist
at
org.exolab.jms.messagemgr.MessageMgr.addPersist
entMessage(MessageMgr.java:431)
at
org.exolab.jms.messagemgr.MessageMgr.add
(MessageMgr.java:311)
at
org.exolab.jms.server.JmsServerSession.sendMessag
es(JmsServerSession.java:396)
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2003-07-22 20:04Message:
Logged In: YES
user_id=557161
Fixed some time ago.
----------------------------------------------------------------------
Comment By: Tim Anderson (tanderson)
Date: 2003-01-17 00:03
Message:
Logged In: YES
user_id=557161
Note that this has been highlighted by the fix to
http://sourceforge.net/tracker/index.php?
func=detail&aid=667595&group_id=54559&atid=47413
6
Previously, messages were incorrectly sent with
DeliveryMode.NON_PERSISTENT by default. The fix to
the above makes the default delivery mode PERSISTENT.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=669025&group_id=54559