Hi all,
Problem solved.
Basically if I
set ANT_OPTS=-Djava.endorsed.dirs=...\jboss-4.0.4.GA\lib\endorsed -Dcom.sun.xml.namespace.QName.useCompatibleSerialVersionUID=1.0
then the Hello World example works fine. I also found the serialVersionUID resolution on this forum.
I now have the following setup:
| - jdk1.5.0_11 (definitely the only version installed)
| - jboss-4.0.4.GA
| - jbpm-bpel-1.1.beta3
|
|
| Doubtless I will add jwsdp-2.0 again at some point soon.
|
| Now all I need to do is write my own process?!
|
| Thanks for the help.
|
| Phil
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016317#4016317
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016317
See JMS1.1 spec section 4.4, especially 4.4.6, e.g.:
"Sessions are designed for serial use by one thread at a time. The only exception
to this occurs during the orderly shutdown of the session or its connection. See
Section 4.3.5 ?Closing a Connection,? and Section 4.4.1 ?Closing a Session,? for
further details.
One typical use is to have a thread block on a synchronous MessageConsumer
until a message arrives. The thread may then use one or more of the session?s
MessageProducers.
It is erroneous for a client to use a thread of control to attempt to
synchronously receive a message if there is already a client thread of control
waiting to receive a message in the same session."
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016308#4016308
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016308
This has come up several times before, and if I remember correctly, almost every time has been due to people sharing the session between multiple threads.
JMS sessions are supposed to be used by only one thread at a time so this would be illegal.
Can you confirm you're not doing stuff with the session with multiple threads at the same time?
E.g. two consumers on the same session, and calling consumer.receive(..) in different threads, or two producers on the same session and sending conurrently on different threads?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016307#4016307
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016307