[jboss-user] [JBoss Web Services] - MessageContext lost data while passing a handler (outgoing)

web.leo do-not-reply at jboss.com
Thu Jul 12 06:39:55 EDT 2012

web.leo [https://community.jboss.org/people/web.leo] created the discussion

"MessageContext lost data while passing a handler (outgoing)"

To view the discussion, visit: https://community.jboss.org/message/747720#747720

Hej hej,

I´m using JBoss in Version 5.1.1 (build: SVNTag=JBPAPP_5_1_1 date=201105171607) and the JBossWS Native Stack in Version 3.1.2 GA.

I´ve implemented a WebService with two handlers. On of these handler (first one for incoming and last one for outgoing messages) put an hibernate entity to the message context. During processing of the WebService logic this entity will be completed with some data and should be stored to database at the end (which means in the last handler the message passes).

When I send some more or less parallel requests to the service it sometime happens that some of the data in the hibernate entity get lost which was set in the WS logic part. The data which was set shortly before storing the data is still there - also the data which was set from handlers when the message came in.

I tried to find a solution but i didn´t find some page where this problem was correctly described... Does someone know how to solve this issue?

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120712/3ba69f1e/attachment.html 

More information about the jboss-user mailing list