Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Axis fails randomly, intermittently
Axis fails randomly, intermittently [message #177858] Fri, 25 August 2006 04:58 Go to next message
Eclipse UserFriend
Originally posted by: michael.mailinator.com

I'm running a simple web service in Tomcat 5.517 on Windows that I
created using the Eclipse WTP (latest release version, I believe).

Sometimes for no apparent reason, I get the error listed below when I
make a call to the service. I tried catching the exception and simply
calling the service again in the catch block, and that seems to
eventually work. Sometimes it will work after a couple of exceptions
have been thrown, other times it may make 40 or 50 calls to the web
service before it works.

The web service is using a database connection pool handled by tomcat
using a context.xml file.

I also downloaded the latest version of axis today (1.4) and replaced
the version that came with eclipse wtp. It apparently doesn't make any
difference.

I realize that this may be more of an axis question than a wtp question,
but it may not, so I decided to start here.

Any suggestions?

--Michael

isFault
aultCode: {http://xml.apache.org/axis/}HTTP
aultSubcode:
aultString: (500)Internal Server Error
aultActor:
aultNode:
aultDetail:
{}:return code: 500
root cause
javax.xml.parsers.FactoryConfigurationError: Provider
org.apache.xerces.jaxp.DocumentBuilderFactoryImpl could not be
instantiated: java.lang.NullPointerException
javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown
Source)
org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:2 21)
org.apache.axis.utils.XMLUtils.access$000(XMLUtils.java:75)

org.apache.axis.utils.XMLUtils$ThreadLocalDocumentBuilder.in itialValue(XMLUtils.java:98)
java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(Unknown ource)
java.lang.ThreadLocal$ThreadLocalMap.get(Unknown Source)
java.lang.ThreadLocal$ThreadLocalMap.access$000(Unknown Source)
java.lang.ThreadLocal.get(Unknown Source)

org.apache.axis.utils.XMLUtils.getDocumentBuilder(XMLUtils.j ava:237)
org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:337 )

org.apache.axis.message.SOAPDocumentImpl.<init&am p;amp;gt;(SOAPDocumentImpl.java:70)
org.apache.axis.SOAPPart.<init>(SOAPPa rt.java:1020)
org.apache.axis.Message.setup(Message.java:377)
org.apache.axis.Message.<init>(Message .java:235)

org.apache.axis.transport.http.AxisServlet.doPost(AxisServle t.java:628)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)

org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Re: Axis fails randomly, intermittently [message #177866 is a reply to message #177858] Fri, 25 August 2006 05:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: michael.mailinator.com

Here's more of the stack trace.


(500)Internal Server Error
at
org.apache.axis.transport.http.HTTPSender.readFromSocket(HTT PSender.java:744)
at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender. java:144)

at
org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165 )
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at
role_service.controller.RoleServiceControllerSoapBindingStub .canPerform(RoleServiceControllerSoapBindingStub.java:110)
Re: Axis fails randomly, intermittently [message #177906 is a reply to message #177866] Fri, 25 August 2006 14:33 Go to previous messageGo to next message
Seng Phung Lu is currently offline Seng Phung LuFriend
Messages: 62
Registered: July 2009
Member
Hi Michael,
I think your initial suspicion of this being an Axis(or Tomcat) problem
is correct. The Web services function in WTP appears to have
accomplished its task of creating/deploying the Web service. The issue
you describe and the stack traces stem from the Axis run-time. Have
you tried posting to their mailing lists?

Seng

Michael Molloy wrote:
> Here's more of the stack trace.
>
>
> (500)Internal Server Error
> at
> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTT PSender.java:744)
>
> at
> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender. java:144)
>
> at
> org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
>
> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165 )
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> at
> role_service.controller.RoleServiceControllerSoapBindingStub .canPerform(RoleServiceControllerSoapBindingStub.java:110)
>
Re: Axis fails randomly, intermittently [message #177914 is a reply to message #177906] Fri, 25 August 2006 17:37 Go to previous message
Eclipse UserFriend
Originally posted by: michael.mailinator.com

No, I thought I'd start here in case anyone had seen something similar.

I'll try there.

Thanks,
--Michael

Seng Phung Lu wrote:
> Hi Michael,
> I think your initial suspicion of this being an Axis(or Tomcat) problem
> is correct. The Web services function in WTP appears to have
> accomplished its task of creating/deploying the Web service. The issue
> you describe and the stack traces stem from the Axis run-time. Have
> you tried posting to their mailing lists?
>
> Seng
>
> Michael Molloy wrote:
>> Here's more of the stack trace.
>>
>>
>> (500)Internal Server Error
>> at
>> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTT PSender.java:744)
>>
>> at
>> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender. java:144)
>>
>> at
>> org.apache.axis.strategies.InvocationStrategy.visit(Invocati onStrategy.java:32)
>>
>> at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>> at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165 )
>> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
>> at org.apache.axis.client.Call.invoke(Call.java:2767)
>> at org.apache.axis.client.Call.invoke(Call.java:2443)
>> at org.apache.axis.client.Call.invoke(Call.java:2366)
>> at org.apache.axis.client.Call.invoke(Call.java:1812)
>> at
>> role_service.controller.RoleServiceControllerSoapBindingStub .canPerform(RoleServiceControllerSoapBindingStub.java:110)
>>
Previous Topic:Publish to WebSphere6 fails due to backslash in directory name within WAR
Next Topic:[ eclipse + plugin ] rsync (idea?)
Goto Forum:
  


Current Time: Thu Apr 25 08:36:08 GMT 2024

Powered by FUDForum. Page generated in 0.02924 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top