#3 "multiple" consumers for one queue!

closed
None
5
2004-11-25
2004-02-24
Anonymous
No

When you have multiple consumers for one queue, you
may get the following stack trace:

> |> |> ----Server Side ERROR BEGIN--------------
> |> |> java.lang.IllegalStateException: cannot delete
> |> |> D:\mom4j\.\store\testQueue\5\2004
> |> |> \02\14\12\40\1076935220151-1331.tx
> |> |> at
> |> |>
> |org.mom4j.mstore.fs.FileSystemStore.txCommitInternal
(FileSystemStore.
> |> |> java:431)
> |> |> at
> |> |>
> |org.mom4j.mstore.fs.FileSystemStore.txCommit
(FileSystemStore.java:389
> |> |> )
> |> |> at
> |> |>
> |org.mom4j.messaging.MessagingServer.commit
(MessagingServer.java:363)
> |> |> at org.mom4j.messaging.Console.commit
(Console.java:373)
> |> |> at
> |org.mom4j.messaging.P2PFilter.receive
(P2PFilter.java:62)
> |> |> at org.mom4j.messaging.Console.receive
(Console.java:348)
> |> |> at
> |> |org.mom4j.messaging.XcpAdapter.receive
(XcpAdapter.java:116)
> |> |> at
> |> |> org.mom4j.messaging.XcpAdapter.requestNotify
(XcpAdapter.java:184)
> |> |> at
> |> |>
> |org.mom4j.xcp.impl.XcpServerImpl.processXcpRequest
(XcpServerImpl.java
> |> |> :61)
> |> |> at
> |> |>
> |org.mom4j.xcp.impl.XcpServerImpl.recieveData
(XcpServerImpl.java:131)
> |> |> at org.mom4j.xcp.impl.XcpWorker.work
(XcpWorker.java:85)
> |> |> at org.mom4j.xcp.impl.XcpWorker.run
(XcpWorker.java:63)
> |> |> org.mom4j.xcp.XcpException: cannot delete
> |> |> D:\mom4j\.\store\testQueue\5\2004\02\1
> |> |> 4\12\40\1076935220151-1331.tx
> |> |> at
> |> |org.mom4j.messaging.XcpAdapter.receive
(XcpAdapter.java:130)
> |> |> at
> |> |> org.mom4j.messaging.XcpAdapter.requestNotify
(XcpAdapter.java:184)
> |> |> at
> |> |>
> |org.mom4j.xcp.impl.XcpServerImpl.processXcpRequest
(XcpServerImpl.java
> |> |> :61)
> |> |> at
> |> |>
> |org.mom4j.xcp.impl.XcpServerImpl.recieveData
(XcpServerImpl.java:131)
> |> |> at org.mom4j.xcp.impl.XcpWorker.work
(XcpWorker.java:85)
> |> |> at org.mom4j.xcp.impl.XcpWorker.run
(XcpWorker.java:63)
> |> |> ----Server Side ERROR END--------------

Problem has been solved. Please refer the attached file

Discussion

  • Stefan Denninger

    • assigned_to: nobody --> the_real_grace
     
  • Stefan Denninger

    • status: open --> closed
     
  • Stefan Denninger

    Logged In: YES
    user_id=809090

    The buf is fixed and checked in to CVS. The fix will be available with the
    next release (available shortly). The source of the problem was a
    synchronization problem in the FileSystem Store on certain operating
    systems.

     

Log in to post a comment.