logo       

Re: Lost messages in webapp.: msg#00066

java.javagroups.general

Subject: Re: Lost messages in webapp.

Em Qui, 2006-09-14 às 21:06 +0200, Bela Ban escreveu:
> Might be a class loader issue; I suggest enabling logging for
> org.jgroups at the TRACE level to see what's going on
>
> Gustavo Maciel Dias Vieira wrote:
> > Hi all,
> >
> > I'm experiencing a heck of a strange problem using JGroups inside a web
> > application (actually it's a web service using Axis/Tomcat). All
> > messages sent to the group are lost, but messages are correctly
> > received.
> >
> > It is really weird. I've tested the same application, in the same
> > machine outside of Axis/Tomcat (easy, as it is a web service) and it
> > works perfectly. However, inside the application server all messages are
> > lost, not even the web app receives the messages it has sent.

I've enabled more complete logs and couldn't note any problem, besides
of course, the fact that messages are never received.

Here is the log of part of the bootstrap for the application *outside*
Tomcat/AXIS:

-------------------------------------------------------
GMS: address is 10.23.23.1:32857
-------------------------------------------------------
[DEBUG] UDP - created unicast receiver thread
[TRACE] PingWaiter - waiting for initial members: time_to_wait=3000, got
0 rsps
[TRACE] PingSender - sending GET_MBRS_REQ
[TRACE] UDP - sending msg to null (src=10.23.23.1:32857), headers are
{PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[channel_name=ETie]}
[TRACE] UDP - received (mcast) 45 bytes from 10.23.23.1:32858
[TRACE] UDP - message is [dst: 228.1.2.3:45566, src: 10.23.23.1:32857 (2
headers), size = 0 bytes], headers are {UDP=[channel_name=ETie],
PING=[PING: type=GET_MBRS_REQ, arg=null]}
[TRACE] PingSender - sending GET_MBRS_REQ

And here is what I see when the same application in run *inside*
Tomcat/AXIS:

-------------------------------------------------------
GMS: address is 10.23.23.1:32855
-------------------------------------------------------
[TRACE] PingWaiter - waiting for initial members: time_to_wait=3000, got
0 rsps
[TRACE] PingSender - sending GET_MBRS_REQ
[TRACE] UDP - sending msg to null (src=10.23.23.1:32855), headers are
{PING=[PING: type=GET_MBRS_REQ, arg=null], UDP=[channel_name=ETie]}
[TRACE] PingSender - sending GET_MBRS_REQ

I've observed similar behavior when actually sending messages.

Anything else I should consider?

Abraços,
Gustavo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
javagroups-users mailing list
javagroups-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/javagroups-users
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise