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 [mailto:[EMAIL PROTECTED] 
Sent: 06 June 2007 01:34
To: user@struts.apache.org
Subject: How can one servlet (ActionServlet) effect another servlet
(AxisServlet)...?

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
java.lang.IllegalStateException
org.apache.catalina.connector.ResponseFacade.setBufferSize(ResponseFacade.ja
va:220)
org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:610)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:
327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)

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).

Weird.

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to