struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Al Sutton">
Subject RE: How can one servlet (ActionServlet) effect another servlet (AxisServlet)...?
Date Wed, 06 Jun 2007 05:45:24 GMT
It smells like a threading issue to me.

Are the Action and the AxisServlet accessing the same resource, and if so
are they doing it through a layer that implements caching?, my initialy
thought is that somewhere a cached is being used for one, then returned to
the other, then being cleared by one, and when it comes to being user by the
other it's null or invalid.

Just a thought....

-----Original Message-----
From: Jeff Amiel [] 
Sent: 06 June 2007 01:34
Subject: How can one servlet (ActionServlet) effect another servlet

Recent issue is driving me batty.  Suddenly started receiving exceptions in
app server logs (tomcat a la jboss)...

Servlet.service() for servlet AxisServlet threw exception

After many many hours of research, appears that I get this exception if a
specific struts action (one of several) executes at the same time as a SOAP
call to the AxisServlet.  It ends up causing the return of an empty dataset
to the calling SOAP client (and giving me a bad headache to boot).


The actions that appear to cause this aren't special in any way (not any
different than other actions in my application), but I am obviously missing
something.  I have a suspicion that the struts actions that cause this are
all chained events (one action calls another which leads to a JSP....but
can't completely confirm).

Any thoughts?  How can the activities of one servlet effect another such as
this?  Yes...they are in the same war/ear......and they probably share some
common classes.....

For the record...Jboss 4./tomcat 5.5 Struts 1.3X  and Axis 1.2 (although
have tried 1.4...same results).  Java 1.5 on FreeBSD 6.0.

Any help would be appreciated.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message