You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@synapse.apache.org by Jeff Davis <jd...@idalica.com> on 2008/06/05 06:04:59 UTC

Error running WS-Security example (100) when using 1.2 beta release

Hi,

I'm not entirely sure this the 1.2 beta as posted at
http://people.apache.org/~ruwan/synapse/1_2/beta1/ is intended for general
testing, but I was trying to run the WS-Security sample 100 using as the
client "ant stockquote -Dtrpurl=http://localhost:8280/". When run, I get the
error on the Synapse console:

2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop] [HttpServerWorker-1]  INFO
TimeoutHandler This engine will expire all callbacks after : 86400 seconds,
irrespective of the timeout action, after the specified or optional timeout
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)

I suspect this has something to do with waiting on those Rampart libs I see
referenced in the mailing list. Should I update some libraries in the beta
build to rectify this problem?

Reason I am using the beta is for some of the enhanced WS-Security features
(such as PasswordDigest).

Thanks in advance (you guys are incredible, btw,!).

jeff

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Jeff,

On Fri, Jun 6, 2008 at 9:38 AM, Jeff Davis <jd...@idalica.com> wrote:

> Sorry...I think it's time for a vacation -- I see that previously I had
> downloaded the src, not the binary dist, as I had previously stated. Sorry
> for the false alarm.


No worries at all.


>
> I tried the WS-Security samples, and everything works great! I'll be more
> doing more testing in the morning. I want to try creating a service for
> accessing Amazon's SimpleDB services, which uses a WS-Security
> BinarySecurityToken and Signatures.


Cool...

>
> Next time I'll be more careful :-).


Never mind. Thanks for the feedback.

Ruwan


>
>
> jeff
>
>
> On Thu, Jun 5, 2008 at 9:14 PM, Ruwan Linton <ru...@gmail.com>
> wrote:
>
> > Jeff,
> >
> > What is the distribution that you have tried, I just checked the dist
> found
> > at http://people.apache.org/%7Eruwan/synapse/1.2/dist/ and it seems to
> > work
> > just fine and contains all required bits including the build.xml and
> > axis2server.sh
> >
> > Thanks,
> > Ruwan
> >
> > On Fri, Jun 6, 2008 at 7:19 AM, Jeff Davis <jd...@idalica.com> wrote:
> >
> > > Maybe things have been shuffled around a bit, but some files appear to
> be
> > > missing in the binary distribution? For example, under the
> > > samples/axis2Server/src/SecureStockQuoteServer, I don't see the
> build.xml
> > > anymore (I copied it over from the old dist). Also, there wasn't any
> > > axis2server.sh file in which to start Axis2 server? I copied over the
> old
> > > one, but that failed, as I think something else needs to be done.
> > >
> > > I'll grab the src distribution and see if I have better luck (like I
> > said,
> > > I
> > > suspect things have just been moved around a little. but I didn't see
> any
> > > reference to that in the README.txt).
> > >
> > > jeff
> > >
> > > On Thu, Jun 5, 2008 at 7:26 PM, Ruwan Linton <ru...@gmail.com>
> > > wrote:
> > >
> > > > Hi Jeff,
> > > >
> > > > Yes, there is an another dist (which is going to be the real
> > > distribution)
> > > > hosted at [1] and being voted for the moment on the dev list. Looking
> > > > forward to your feedback...
> > > >
> > > > [1] - http://people.apache.org/%7Eruwan/synapse/1.2/dist/
> > > >
> > > > Thanks,
> > > > Ruwan
> > > >
> > > >
> > > > On Fri, Jun 6, 2008 at 6:51 AM, Jeff Davis <jd...@idalica.com>
> wrote:
> > > >
> > > > > I didn't see that a new release was made available at:
> > > > > http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>(looked like
> the
> > > > same one
> > > > > I downloaded yesterday, from May 28th).
> > > > >
> > > > > Is there a different location for the voted release?
> > > > >
> > > > > jeff
> > > > >
> > > > > On Thu, Jun 5, 2008 at 6:52 PM, Ruwan Linton <
> ruwan.linton@gmail.com
> > >
> > > > > wrote:
> > > > >
> > > > > > Hi Jeff,
> > > > > >
> > > > > > Did you manage to get it working with the release candidate that
> is
> > > > being
> > > > > > voted?
> > > > > >
> > > > > > Thanks,
> > > > > > Ruwan
> > > > > >
> > > > > > On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <
> > > ruwan.linton@gmail.com>
> > > > > > wrote:
> > > > > >
> > > > > > > Hi Jeff,
> > > > > > >
> > > > > > > First of all after becoming a TLP our new user list is
> > > > > > > user@synapse.apache.org
> > > > > > >
> > > > > > > Regarding the synapse-1.2-beta1 it is a public build for test
> and
> > > we
> > > > > have
> > > > > > > announced this on the mailing lists as well. But due to an
> issue
> > on
> > > > one
> > > > > > of
> > > > > > > the maven repos, we have shipped a wrong WSS4J jar. This has
> been
> > > > fixed
> > > > > > by
> > > > > > > now and I am planing to cut the Release take 2 today and you
> may
> > > > check
> > > > > > this
> > > > > > > on that build.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Ruwan
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jdavis@idalica.com
> >
> > > > wrote:
> > > > > > >
> > > > > > >> Hi,
> > > > > > >>
> > > > > > >> I'm not entirely sure this the 1.2 beta as posted at
> > > > > > >> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is
> intended
> > > for
> > > > > > general
> > > > > > >> testing, but I was trying to run the WS-Security sample 100
> > using
> > > as
> > > > > the
> > > > > > >> client "ant stockquote -Dtrpurl=http://localhost:8280/". When
> > > run,
> > > > I
> > > > > > get
> > > > > > >> the
> > > > > > >> error on the Synapse console:
> > > > > > >>
> > > > > > >> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop]
> > > > [HttpServerWorker-1]
> > > > > > >>  INFO
> > > > > > >> TimeoutHandler This engine will expire all callbacks after :
> > 86400
> > > > > > >> seconds,
> > > > > > >> irrespective of the timeout action, after the specified or
> > > optional
> > > > > > >> timeout
> > > > > > >> 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)
> > > > > > >>
> > > > > > >> I suspect this has something to do with waiting on those
> Rampart
> > > > libs
> > > > > I
> > > > > > >> see
> > > > > > >> referenced in the mailing list. Should I update some libraries
> > in
> > > > the
> > > > > > beta
> > > > > > >> build to rectify this problem?
> > > > > > >>
> > > > > > >> Reason I am using the beta is for some of the enhanced
> > WS-Security
> > > > > > >> features
> > > > > > >> (such as PasswordDigest).
> > > > > > >>
> > > > > > >> Thanks in advance (you guys are incredible, btw,!).
> > > > > > >>
> > > > > > >> jeff
> > > > > > >>
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Ruwan Linton
> > > > > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Ruwan Linton
> > > > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Ruwan Linton
> > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > >
> > >
> >
> >
> >
> > --
> > Ruwan Linton
> > http://www.wso2.org - "Oxygenating the Web Services Platform"
> >
>



-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Jeff Davis <jd...@idalica.com>.
Sorry...I think it's time for a vacation -- I see that previously I had
downloaded the src, not the binary dist, as I had previously stated. Sorry
for the false alarm.

I tried the WS-Security samples, and everything works great! I'll be more
doing more testing in the morning. I want to try creating a service for
accessing Amazon's SimpleDB services, which uses a WS-Security
BinarySecurityToken and Signatures.

Next time I'll be more careful :-).

jeff


On Thu, Jun 5, 2008 at 9:14 PM, Ruwan Linton <ru...@gmail.com> wrote:

> Jeff,
>
> What is the distribution that you have tried, I just checked the dist found
> at http://people.apache.org/%7Eruwan/synapse/1.2/dist/ and it seems to
> work
> just fine and contains all required bits including the build.xml and
> axis2server.sh
>
> Thanks,
> Ruwan
>
> On Fri, Jun 6, 2008 at 7:19 AM, Jeff Davis <jd...@idalica.com> wrote:
>
> > Maybe things have been shuffled around a bit, but some files appear to be
> > missing in the binary distribution? For example, under the
> > samples/axis2Server/src/SecureStockQuoteServer, I don't see the build.xml
> > anymore (I copied it over from the old dist). Also, there wasn't any
> > axis2server.sh file in which to start Axis2 server? I copied over the old
> > one, but that failed, as I think something else needs to be done.
> >
> > I'll grab the src distribution and see if I have better luck (like I
> said,
> > I
> > suspect things have just been moved around a little. but I didn't see any
> > reference to that in the README.txt).
> >
> > jeff
> >
> > On Thu, Jun 5, 2008 at 7:26 PM, Ruwan Linton <ru...@gmail.com>
> > wrote:
> >
> > > Hi Jeff,
> > >
> > > Yes, there is an another dist (which is going to be the real
> > distribution)
> > > hosted at [1] and being voted for the moment on the dev list. Looking
> > > forward to your feedback...
> > >
> > > [1] - http://people.apache.org/%7Eruwan/synapse/1.2/dist/
> > >
> > > Thanks,
> > > Ruwan
> > >
> > >
> > > On Fri, Jun 6, 2008 at 6:51 AM, Jeff Davis <jd...@idalica.com> wrote:
> > >
> > > > I didn't see that a new release was made available at:
> > > > http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>(looked like the
> > > same one
> > > > I downloaded yesterday, from May 28th).
> > > >
> > > > Is there a different location for the voted release?
> > > >
> > > > jeff
> > > >
> > > > On Thu, Jun 5, 2008 at 6:52 PM, Ruwan Linton <ruwan.linton@gmail.com
> >
> > > > wrote:
> > > >
> > > > > Hi Jeff,
> > > > >
> > > > > Did you manage to get it working with the release candidate that is
> > > being
> > > > > voted?
> > > > >
> > > > > Thanks,
> > > > > Ruwan
> > > > >
> > > > > On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <
> > ruwan.linton@gmail.com>
> > > > > wrote:
> > > > >
> > > > > > Hi Jeff,
> > > > > >
> > > > > > First of all after becoming a TLP our new user list is
> > > > > > user@synapse.apache.org
> > > > > >
> > > > > > Regarding the synapse-1.2-beta1 it is a public build for test and
> > we
> > > > have
> > > > > > announced this on the mailing lists as well. But due to an issue
> on
> > > one
> > > > > of
> > > > > > the maven repos, we have shipped a wrong WSS4J jar. This has been
> > > fixed
> > > > > by
> > > > > > now and I am planing to cut the Release take 2 today and you may
> > > check
> > > > > this
> > > > > > on that build.
> > > > > >
> > > > > > Thanks,
> > > > > > Ruwan
> > > > > >
> > > > > >
> > > > > > On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com>
> > > wrote:
> > > > > >
> > > > > >> Hi,
> > > > > >>
> > > > > >> I'm not entirely sure this the 1.2 beta as posted at
> > > > > >> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended
> > for
> > > > > general
> > > > > >> testing, but I was trying to run the WS-Security sample 100
> using
> > as
> > > > the
> > > > > >> client "ant stockquote -Dtrpurl=http://localhost:8280/". When
> > run,
> > > I
> > > > > get
> > > > > >> the
> > > > > >> error on the Synapse console:
> > > > > >>
> > > > > >> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop]
> > > [HttpServerWorker-1]
> > > > > >>  INFO
> > > > > >> TimeoutHandler This engine will expire all callbacks after :
> 86400
> > > > > >> seconds,
> > > > > >> irrespective of the timeout action, after the specified or
> > optional
> > > > > >> timeout
> > > > > >> 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)
> > > > > >>
> > > > > >> I suspect this has something to do with waiting on those Rampart
> > > libs
> > > > I
> > > > > >> see
> > > > > >> referenced in the mailing list. Should I update some libraries
> in
> > > the
> > > > > beta
> > > > > >> build to rectify this problem?
> > > > > >>
> > > > > >> Reason I am using the beta is for some of the enhanced
> WS-Security
> > > > > >> features
> > > > > >> (such as PasswordDigest).
> > > > > >>
> > > > > >> Thanks in advance (you guys are incredible, btw,!).
> > > > > >>
> > > > > >> jeff
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Ruwan Linton
> > > > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Ruwan Linton
> > > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Ruwan Linton
> > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > >
> >
>
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Ruwan Linton <ru...@gmail.com>.
Jeff,

What is the distribution that you have tried, I just checked the dist found
at http://people.apache.org/%7Eruwan/synapse/1.2/dist/ and it seems to work
just fine and contains all required bits including the build.xml and
axis2server.sh

Thanks,
Ruwan

On Fri, Jun 6, 2008 at 7:19 AM, Jeff Davis <jd...@idalica.com> wrote:

> Maybe things have been shuffled around a bit, but some files appear to be
> missing in the binary distribution? For example, under the
> samples/axis2Server/src/SecureStockQuoteServer, I don't see the build.xml
> anymore (I copied it over from the old dist). Also, there wasn't any
> axis2server.sh file in which to start Axis2 server? I copied over the old
> one, but that failed, as I think something else needs to be done.
>
> I'll grab the src distribution and see if I have better luck (like I said,
> I
> suspect things have just been moved around a little. but I didn't see any
> reference to that in the README.txt).
>
> jeff
>
> On Thu, Jun 5, 2008 at 7:26 PM, Ruwan Linton <ru...@gmail.com>
> wrote:
>
> > Hi Jeff,
> >
> > Yes, there is an another dist (which is going to be the real
> distribution)
> > hosted at [1] and being voted for the moment on the dev list. Looking
> > forward to your feedback...
> >
> > [1] - http://people.apache.org/%7Eruwan/synapse/1.2/dist/
> >
> > Thanks,
> > Ruwan
> >
> >
> > On Fri, Jun 6, 2008 at 6:51 AM, Jeff Davis <jd...@idalica.com> wrote:
> >
> > > I didn't see that a new release was made available at:
> > > http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>(looked like the
> > same one
> > > I downloaded yesterday, from May 28th).
> > >
> > > Is there a different location for the voted release?
> > >
> > > jeff
> > >
> > > On Thu, Jun 5, 2008 at 6:52 PM, Ruwan Linton <ru...@gmail.com>
> > > wrote:
> > >
> > > > Hi Jeff,
> > > >
> > > > Did you manage to get it working with the release candidate that is
> > being
> > > > voted?
> > > >
> > > > Thanks,
> > > > Ruwan
> > > >
> > > > On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <
> ruwan.linton@gmail.com>
> > > > wrote:
> > > >
> > > > > Hi Jeff,
> > > > >
> > > > > First of all after becoming a TLP our new user list is
> > > > > user@synapse.apache.org
> > > > >
> > > > > Regarding the synapse-1.2-beta1 it is a public build for test and
> we
> > > have
> > > > > announced this on the mailing lists as well. But due to an issue on
> > one
> > > > of
> > > > > the maven repos, we have shipped a wrong WSS4J jar. This has been
> > fixed
> > > > by
> > > > > now and I am planing to cut the Release take 2 today and you may
> > check
> > > > this
> > > > > on that build.
> > > > >
> > > > > Thanks,
> > > > > Ruwan
> > > > >
> > > > >
> > > > > On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com>
> > wrote:
> > > > >
> > > > >> Hi,
> > > > >>
> > > > >> I'm not entirely sure this the 1.2 beta as posted at
> > > > >> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended
> for
> > > > general
> > > > >> testing, but I was trying to run the WS-Security sample 100 using
> as
> > > the
> > > > >> client "ant stockquote -Dtrpurl=http://localhost:8280/". When
> run,
> > I
> > > > get
> > > > >> the
> > > > >> error on the Synapse console:
> > > > >>
> > > > >> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop]
> > [HttpServerWorker-1]
> > > > >>  INFO
> > > > >> TimeoutHandler This engine will expire all callbacks after : 86400
> > > > >> seconds,
> > > > >> irrespective of the timeout action, after the specified or
> optional
> > > > >> timeout
> > > > >> 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)
> > > > >>
> > > > >> I suspect this has something to do with waiting on those Rampart
> > libs
> > > I
> > > > >> see
> > > > >> referenced in the mailing list. Should I update some libraries in
> > the
> > > > beta
> > > > >> build to rectify this problem?
> > > > >>
> > > > >> Reason I am using the beta is for some of the enhanced WS-Security
> > > > >> features
> > > > >> (such as PasswordDigest).
> > > > >>
> > > > >> Thanks in advance (you guys are incredible, btw,!).
> > > > >>
> > > > >> jeff
> > > > >>
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Ruwan Linton
> > > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Ruwan Linton
> > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > > >
> > >
> >
> >
> >
> > --
> > Ruwan Linton
> > http://www.wso2.org - "Oxygenating the Web Services Platform"
> >
>



-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Jeff Davis <jd...@idalica.com>.
Maybe things have been shuffled around a bit, but some files appear to be
missing in the binary distribution? For example, under the
samples/axis2Server/src/SecureStockQuoteServer, I don't see the build.xml
anymore (I copied it over from the old dist). Also, there wasn't any
axis2server.sh file in which to start Axis2 server? I copied over the old
one, but that failed, as I think something else needs to be done.

I'll grab the src distribution and see if I have better luck (like I said, I
suspect things have just been moved around a little. but I didn't see any
reference to that in the README.txt).

jeff

On Thu, Jun 5, 2008 at 7:26 PM, Ruwan Linton <ru...@gmail.com> wrote:

> Hi Jeff,
>
> Yes, there is an another dist (which is going to be the real distribution)
> hosted at [1] and being voted for the moment on the dev list. Looking
> forward to your feedback...
>
> [1] - http://people.apache.org/%7Eruwan/synapse/1.2/dist/
>
> Thanks,
> Ruwan
>
>
> On Fri, Jun 6, 2008 at 6:51 AM, Jeff Davis <jd...@idalica.com> wrote:
>
> > I didn't see that a new release was made available at:
> > http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>(looked like the
> same one
> > I downloaded yesterday, from May 28th).
> >
> > Is there a different location for the voted release?
> >
> > jeff
> >
> > On Thu, Jun 5, 2008 at 6:52 PM, Ruwan Linton <ru...@gmail.com>
> > wrote:
> >
> > > Hi Jeff,
> > >
> > > Did you manage to get it working with the release candidate that is
> being
> > > voted?
> > >
> > > Thanks,
> > > Ruwan
> > >
> > > On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <ru...@gmail.com>
> > > wrote:
> > >
> > > > Hi Jeff,
> > > >
> > > > First of all after becoming a TLP our new user list is
> > > > user@synapse.apache.org
> > > >
> > > > Regarding the synapse-1.2-beta1 it is a public build for test and we
> > have
> > > > announced this on the mailing lists as well. But due to an issue on
> one
> > > of
> > > > the maven repos, we have shipped a wrong WSS4J jar. This has been
> fixed
> > > by
> > > > now and I am planing to cut the Release take 2 today and you may
> check
> > > this
> > > > on that build.
> > > >
> > > > Thanks,
> > > > Ruwan
> > > >
> > > >
> > > > On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com>
> wrote:
> > > >
> > > >> Hi,
> > > >>
> > > >> I'm not entirely sure this the 1.2 beta as posted at
> > > >> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended for
> > > general
> > > >> testing, but I was trying to run the WS-Security sample 100 using as
> > the
> > > >> client "ant stockquote -Dtrpurl=http://localhost:8280/". When run,
> I
> > > get
> > > >> the
> > > >> error on the Synapse console:
> > > >>
> > > >> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop]
> [HttpServerWorker-1]
> > > >>  INFO
> > > >> TimeoutHandler This engine will expire all callbacks after : 86400
> > > >> seconds,
> > > >> irrespective of the timeout action, after the specified or optional
> > > >> timeout
> > > >> 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)
> > > >>
> > > >> I suspect this has something to do with waiting on those Rampart
> libs
> > I
> > > >> see
> > > >> referenced in the mailing list. Should I update some libraries in
> the
> > > beta
> > > >> build to rectify this problem?
> > > >>
> > > >> Reason I am using the beta is for some of the enhanced WS-Security
> > > >> features
> > > >> (such as PasswordDigest).
> > > >>
> > > >> Thanks in advance (you guys are incredible, btw,!).
> > > >>
> > > >> jeff
> > > >>
> > > >
> > > >
> > > >
> > > > --
> > > > Ruwan Linton
> > > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > >
> > >
> > >
> > >
> > > --
> > > Ruwan Linton
> > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> > >
> >
>
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Jeff,

Yes, there is an another dist (which is going to be the real distribution)
hosted at [1] and being voted for the moment on the dev list. Looking
forward to your feedback...

[1] - http://people.apache.org/%7Eruwan/synapse/1.2/dist/

Thanks,
Ruwan


On Fri, Jun 6, 2008 at 6:51 AM, Jeff Davis <jd...@idalica.com> wrote:

> I didn't see that a new release was made available at:
> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>(looked like the same one
> I downloaded yesterday, from May 28th).
>
> Is there a different location for the voted release?
>
> jeff
>
> On Thu, Jun 5, 2008 at 6:52 PM, Ruwan Linton <ru...@gmail.com>
> wrote:
>
> > Hi Jeff,
> >
> > Did you manage to get it working with the release candidate that is being
> > voted?
> >
> > Thanks,
> > Ruwan
> >
> > On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <ru...@gmail.com>
> > wrote:
> >
> > > Hi Jeff,
> > >
> > > First of all after becoming a TLP our new user list is
> > > user@synapse.apache.org
> > >
> > > Regarding the synapse-1.2-beta1 it is a public build for test and we
> have
> > > announced this on the mailing lists as well. But due to an issue on one
> > of
> > > the maven repos, we have shipped a wrong WSS4J jar. This has been fixed
> > by
> > > now and I am planing to cut the Release take 2 today and you may check
> > this
> > > on that build.
> > >
> > > Thanks,
> > > Ruwan
> > >
> > >
> > > On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com> wrote:
> > >
> > >> Hi,
> > >>
> > >> I'm not entirely sure this the 1.2 beta as posted at
> > >> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> > <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended for
> > general
> > >> testing, but I was trying to run the WS-Security sample 100 using as
> the
> > >> client "ant stockquote -Dtrpurl=http://localhost:8280/". When run, I
> > get
> > >> the
> > >> error on the Synapse console:
> > >>
> > >> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop] [HttpServerWorker-1]
> > >>  INFO
> > >> TimeoutHandler This engine will expire all callbacks after : 86400
> > >> seconds,
> > >> irrespective of the timeout action, after the specified or optional
> > >> timeout
> > >> 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)
> > >>
> > >> I suspect this has something to do with waiting on those Rampart libs
> I
> > >> see
> > >> referenced in the mailing list. Should I update some libraries in the
> > beta
> > >> build to rectify this problem?
> > >>
> > >> Reason I am using the beta is for some of the enhanced WS-Security
> > >> features
> > >> (such as PasswordDigest).
> > >>
> > >> Thanks in advance (you guys are incredible, btw,!).
> > >>
> > >> jeff
> > >>
> > >
> > >
> > >
> > > --
> > > Ruwan Linton
> > > http://www.wso2.org - "Oxygenating the Web Services Platform"
> >
> >
> >
> >
> > --
> > Ruwan Linton
> > http://www.wso2.org - "Oxygenating the Web Services Platform"
> >
>



-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Jeff Davis <jd...@idalica.com>.
I didn't see that a new release was made available at:
http://people.apache.org/~ruwan/synapse/1_2/beta1/ (looked like the same one
I downloaded yesterday, from May 28th).

Is there a different location for the voted release?

jeff

On Thu, Jun 5, 2008 at 6:52 PM, Ruwan Linton <ru...@gmail.com> wrote:

> Hi Jeff,
>
> Did you manage to get it working with the release candidate that is being
> voted?
>
> Thanks,
> Ruwan
>
> On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <ru...@gmail.com>
> wrote:
>
> > Hi Jeff,
> >
> > First of all after becoming a TLP our new user list is
> > user@synapse.apache.org
> >
> > Regarding the synapse-1.2-beta1 it is a public build for test and we have
> > announced this on the mailing lists as well. But due to an issue on one
> of
> > the maven repos, we have shipped a wrong WSS4J jar. This has been fixed
> by
> > now and I am planing to cut the Release take 2 today and you may check
> this
> > on that build.
> >
> > Thanks,
> > Ruwan
> >
> >
> > On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com> wrote:
> >
> >> Hi,
> >>
> >> I'm not entirely sure this the 1.2 beta as posted at
> >> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>
> <http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended for
> general
> >> testing, but I was trying to run the WS-Security sample 100 using as the
> >> client "ant stockquote -Dtrpurl=http://localhost:8280/". When run, I
> get
> >> the
> >> error on the Synapse console:
> >>
> >> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop] [HttpServerWorker-1]
> >>  INFO
> >> TimeoutHandler This engine will expire all callbacks after : 86400
> >> seconds,
> >> irrespective of the timeout action, after the specified or optional
> >> timeout
> >> 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)
> >>
> >> I suspect this has something to do with waiting on those Rampart libs I
> >> see
> >> referenced in the mailing list. Should I update some libraries in the
> beta
> >> build to rectify this problem?
> >>
> >> Reason I am using the beta is for some of the enhanced WS-Security
> >> features
> >> (such as PasswordDigest).
> >>
> >> Thanks in advance (you guys are incredible, btw,!).
> >>
> >> jeff
> >>
> >
> >
> >
> > --
> > Ruwan Linton
> > http://www.wso2.org - "Oxygenating the Web Services Platform"
>
>
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"
>

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Jeff,

Did you manage to get it working with the release candidate that is being
voted?

Thanks,
Ruwan

On Thu, Jun 5, 2008 at 10:10 AM, Ruwan Linton <ru...@gmail.com>
wrote:

> Hi Jeff,
>
> First of all after becoming a TLP our new user list is
> user@synapse.apache.org
>
> Regarding the synapse-1.2-beta1 it is a public build for test and we have
> announced this on the mailing lists as well. But due to an issue on one of
> the maven repos, we have shipped a wrong WSS4J jar. This has been fixed by
> now and I am planing to cut the Release take 2 today and you may check this
> on that build.
>
> Thanks,
> Ruwan
>
>
> On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com> wrote:
>
>> Hi,
>>
>> I'm not entirely sure this the 1.2 beta as posted at
>> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended for general
>> testing, but I was trying to run the WS-Security sample 100 using as the
>> client "ant stockquote -Dtrpurl=http://localhost:8280/". When run, I get
>> the
>> error on the Synapse console:
>>
>> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop] [HttpServerWorker-1]
>>  INFO
>> TimeoutHandler This engine will expire all callbacks after : 86400
>> seconds,
>> irrespective of the timeout action, after the specified or optional
>> timeout
>> 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)
>>
>> I suspect this has something to do with waiting on those Rampart libs I
>> see
>> referenced in the mailing list. Should I update some libraries in the beta
>> build to rectify this problem?
>>
>> Reason I am using the beta is for some of the enhanced WS-Security
>> features
>> (such as PasswordDigest).
>>
>> Thanks in advance (you guys are incredible, btw,!).
>>
>> jeff
>>
>
>
>
> --
> Ruwan Linton
> http://www.wso2.org - "Oxygenating the Web Services Platform"




-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by Ruwan Linton <ru...@gmail.com>.
Hi Jeff,

First of all after becoming a TLP our new user list is
user@synapse.apache.org

Regarding the synapse-1.2-beta1 it is a public build for test and we have
announced this on the mailing lists as well. But due to an issue on one of
the maven repos, we have shipped a wrong WSS4J jar. This has been fixed by
now and I am planing to cut the Release take 2 today and you may check this
on that build.

Thanks,
Ruwan

On Thu, Jun 5, 2008 at 9:34 AM, Jeff Davis <jd...@idalica.com> wrote:

> Hi,
>
> I'm not entirely sure this the 1.2 beta as posted at
> http://people.apache.org/~ruwan/synapse/1_2/beta1/<http://people.apache.org/%7Eruwan/synapse/1_2/beta1/>is intended for general
> testing, but I was trying to run the WS-Security sample 100 using as the
> client "ant stockquote -Dtrpurl=http://localhost:8280/". When run, I get
> the
> error on the Synapse console:
>
> 2008-06-04 21:44:17,254 [127.0.1.1-jdavis-laptop] [HttpServerWorker-1]
>  INFO
> TimeoutHandler This engine will expire all callbacks after : 86400 seconds,
> irrespective of the timeout action, after the specified or optional timeout
> 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)
>
> I suspect this has something to do with waiting on those Rampart libs I see
> referenced in the mailing list. Should I update some libraries in the beta
> build to rectify this problem?
>
> Reason I am using the beta is for some of the enhanced WS-Security features
> (such as PasswordDigest).
>
> Thanks in advance (you guys are incredible, btw,!).
>
> jeff
>



-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"

Re: Error running WS-Security example (100) when using 1.2 beta release

Posted by "Asankha C. Perera" <as...@wso2.com>.
Hi Jeff
> I'm not entirely sure this the 1.2 beta as posted at
> http://people.apache.org/~ruwan/synapse/1_2/beta1/ is intended for general
> testing,
yes that was for user testing.. but that had some issues with the 
WSS4J/Rampart that affected security
> I suspect this has something to do with waiting on those Rampart libs I see
> referenced in the mailing list. Should I update some libraries in the beta
> build to rectify this problem?
>
> Reason I am using the beta is for some of the enhanced WS-Security features
> (such as PasswordDigest).
>   
1.2 RC should be out today, please do use that for your scenarios .. 
actually it was done yesterday, but again we came across an issue 
related to security :(.. but we hope to get over that soon

asankha