You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Nandana Mihindukulasooriya (JIRA)" <ji...@apache.org> on 2008/05/30 04:52:45 UTC

[jira] Commented: (SYNAPSE-335) Exception thrown when trying out security scenarios

    [ https://issues.apache.org/jira/browse/SYNAPSE-335?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12601002#action_12601002 ] 

Nandana Mihindukulasooriya commented on SYNAPSE-335:
----------------------------------------------------

I think is the issue is the WSS4J jar in the synapse-1.2-beta1. As it seems it if different from the one being voted for [1] . When I tried to build rampart using the WSS4J jar in  synapse-1.2-beta1 got the same compilation problems. Ruwan, can you verify this ?

[1] - 
http://people.apache.org/~fadushin/stage/wss4j/1.5.4/maven/org/apache/ws/security/wss4j/1.5.4/wss4j-1.5.4.jar

> Exception thrown when trying out security scenarios
> ---------------------------------------------------
>
>                 Key: SYNAPSE-335
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-335
>             Project: Synapse
>          Issue Type: Bug
>    Affects Versions: 1.2-beta1
>         Environment: Ubuntu7.10, JDK1.5.0_14
>            Reporter: Evanthika Amarasiri
>
> When trying out sample 100 and 200 (security scenarios) the following exception is thrown on the Synapse console. 
> 2008-05-29 16:49:50,133 [127.0.1.1-evanthika-laptop] [HttpServerWorker-1] DEBUG SynapseCallbackReceiver Callback added. Total callbacks waiting for : 1
> Exception in thread "HttpServerWorker-1" java.lang.NoSuchMethodError: org.apache.ws.security.WSEncryptionPart.<init>(Ljava/lang/String;Ljava/lang/String;I)V
>         at org.apache.rampart.util.RampartUtil.getPartsAndElements(RampartUtil.java:871)
>         at org.apache.rampart.util.RampartUtil.getEncryptedParts(RampartUtil.java:743)
>         at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:443)
>         at org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:93)
>         at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
>         at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:64)
>         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.send(AxisEngine.java:429)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:190)
>         at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:174)
>         at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>         at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:282)
>         at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:57)
>         at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:222)
>         at org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:195)
>         at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:157)
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:58)
>         at org.apache.synapse.mediators.filters.InMediator.mediate(InMediator.java:60)
>         at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:58)
>         at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:125)
>         at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:176)
>         at org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:89)
>         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
>         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
>         at org.apache.synapse.transport.nhttp.ServerWorker.processPost(ServerWorker.java:238)
>         at org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:194)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
>         at java.lang.Thread.run(Thread.java:595)

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