You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "P.Saxena (JIRA)" <ax...@ws.apache.org> on 2008/02/14 07:17:08 UTC

[jira] Created: (AXIS-2723) Axis at Weblogic7.0: ArrayIndexOutOfBoundsException

Axis at Weblogic7.0: ArrayIndexOutOfBoundsException
---------------------------------------------------

                 Key: AXIS-2723
                 URL: https://issues.apache.org/jira/browse/AXIS-2723
             Project: Axis
          Issue Type: Task
         Environment: Weblogic 7.0, JDK 1.3
            Reporter: P.Saxena
            Priority: Trivial


Hi,

Kindly provide the solution to this problem urgently.

My application works on JDK 1.3 and trying to access one .Net webservice.

A sample standalone application works fine using the same environment but when I try to access the same service through the application deployed at Weblogic, I'm getting below pasted exception.

I'm using Static Stub Client.
During build the stub files are getting generated using following jars available in lib folder (not sure which axis version it is):
axis.jar
commons-logging.jar
commons-discovery.jar
commons-discovery.jar
wsdl4j.jar
saaj.jar
jaxrpc.jar
dmwiz.jar

The same lib folder gets packed in the final .ear file.
I'm not sure, might be some environmental issue I'm facing.
The exception occured is as follows:
RemoteException caught:java.lang.ArrayIndexOutOfBoundsException
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.lang.ArrayIndexOutOfBoundsException
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.lang.ArrayIndexOutOfBoundsE
xception
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:291)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.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:147)
at org.apache.axis.client.Call.invokeEngine(Call.java:2735)
at org.apache.axis.client.Call.invoke(Call.java:2718)
at org.apache.axis.client.Call.invoke(Call.java:2394)
at org.apache.axis.client.Call.invoke(Call.java:2317)
at org.apache.axis.client.Call.invoke(Call.java:1774)
at org.tempuri.SMToolIntegrationServiceSoapStub.rcvToolAccountDtlsFrmSmT
ool(Unknown Source)
at ConfigController.processRequest(Unknown Source)
at ConfigController.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1111)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:437)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:319)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5699)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:690)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3216)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2591)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:223)

{http://xml.apache.org/axis/}hostname:ssotool01

java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.ja
va:291)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.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:147)
at org.apache.axis.client.Call.invokeEngine(Call.java:2735)
at org.apache.axis.client.Call.invoke(Call.java:2718)
at org.apache.axis.client.Call.invoke(Call.java:2394)
at org.apache.axis.client.Call.invoke(Call.java:2317)
at org.apache.axis.client.Call.invoke(Call.java:1774)
at org.tempuri.SMToolIntegrationServiceSoapStub.rcvToolAccountDtlsFrmSmT
ool(Unknown Source)
at ConfigController.processRequest(Unknown Source)
at ConfigController.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1111)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:437)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:319)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5699)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:690)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3216)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2591)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:261)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:223)

Can anyone tell what could be the cause for this and please let me know if requires some more information.
I tried with putting saaj.jar in weblogic's classpath also but unable to get out of the problem.

Thanks,
Parul

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org