Bugs item #672694, was opened at 2003-01-22 20:27
Message generated for change (Comment added) made by mikezzz
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=672694&group_id=22866
Category: JBossMQ
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Stefan Arentz (sateh)
Assigned to: Nobody/Anonymous (nobody)
Summary: JbossMQ gets confused of destinations with a slash in name
Initial Comment:
> JBoss 3.2.0RC1, 3.0.4 and 3.0.5
>
> All my queues are persistent with the file based
PersistenceManager.
>
> When I queue messages I see them in
> server/default/db/jbossmq/file//QUEUENAME. It runs
fine when I run a
> scheduled task to pick these up. Life is good and
JBoss rocks :-)
>
> Now the problem; I stop JBoss while messages are
still queued. I see
> the files on disk. JBoss is started again, and it doesn't
see these
> messages. Nothing happens. I can submit new
messages to the queue and
> those are correctly processed, but the old messages
are still there,
> nothing happens.
>
> I use the PERSISTENT flag everywhere.
>
> Does anyone have a clue what could be the cause of
this? Configuration
> error or bug in JBossMQ? I've looked everywhere and
I'm not sure what
> to do next ...
Ah! I solved this one. I had this in jbossmq-
destinations.xml:
<mbean code="org.jboss.mq.server.jmx.Queue"
name="jboss.mq.destination:service=Queue,name=mcc
p/
FailedIncomingMessages">
<depends optional-attribute
name="DestinationManager">
jboss.mq:service=DestinationManager
</depends>
</mbean>
The problem is the slash in the destination name,
"mccp/FailedIncomingMessages". In both the
rollinglogged and file
persistence managers this is not handled correctly .. the
slash is not
escaped and interpreted as a path separator.
Before I file this as a bug report, does anyone know
if 'blah/bleh' is
a valid destination name? I would say yes, but I'm not
sure in which
specification to look for a confirmation.
S.
----------------------------------------------------------------------
Comment By: Michael Barker (mikezzz)
Date: 2003-06-29 18:11
Message:
Logged In: YES
user_id=659570
Created a partial fix for this bug (patch #751562). Only
fixed rolling logged pm so far. Can submit a fix for the
rest if interested.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=672694&group_id=22866
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development