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 "Samisa Abeysinghe (JIRA)" <ji...@apache.org> on 2010/12/21 14:34:00 UTC

[jira] Commented: (RAMPART-312) ArrayIndexOutOfBoundsException using axis2 client libs and rampart xml signature

    [ https://issues.apache.org/jira/browse/RAMPART-312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12973647#action_12973647 ] 

Samisa Abeysinghe commented on RAMPART-312:
-------------------------------------------

WSDoAllReceiver is deprecated. Can you please try to use the policy based approach?

> ArrayIndexOutOfBoundsException using axis2 client libs and rampart xml signature
> --------------------------------------------------------------------------------
>
>                 Key: RAMPART-312
>                 URL: https://issues.apache.org/jira/browse/RAMPART-312
>             Project: Rampart
>          Issue Type: Bug
>            Reporter: Benjamin Francisoud
>         Attachments: axis-repo.zip, axis2_index_out_of_bound.log, dependencies.txt
>
>
> We have developped a webapplication using axis 1.4.1 generated  client code to communnicate with another axis2 webservices application deployed on a second server.
> Axis2 is configured to use rampart for xml signatures.
> See axis-repo.zip for configuration files.
> From time to time we are getting this kind of errors:
>  	 [2010-01-24 00:30:00,650] [TP-Processor1] ERROR org.apache.axis2.engine.AxisEngine - 452
> org.apache.axis2.AxisFault: 452
>     at org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:92)
>     at org.apache.rampart.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:72)
>     at org.apache.axis2.engine.Phase.invoke(Phase.java:317)
>     at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264)
>     at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163)
>     at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:363)
>     at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:416)
>     at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
>     at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
> ...
> Caused by: java.lang.ArrayIndexOutOfBoundsException: 452
>     at java.util.ArrayList.add(Unknown Source)
>     at org.apache.xml.security.keys.KeyInfo.<init>(Unknown Source)
>     at org.apache.xml.security.signature.XMLSignature.<init>(Unknown Source)
>     at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:161)
>     at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:85)
>     at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:311)
>     at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:228)
>     at org.apache.rampart.handler.WSDoAllReceiver.processBasic(WSDoAllReceiver.java:211)
>     at org.apache.rampart.handler.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:86)
>     ... 46 more
> Most of the time application is working normally but users have reported problems and the date/time they gave seems to match those error messages ?!
> Do you know what could create such error messages ?

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org