[Dev] ESBJAVA-1777 is reproducible in ESB 4.7.0, 4.8.0, and 4.8.1

2014-03-28 Thread Lahiru Sandaruwan
Hi,

$subject.

Here is the proxy i try. Am i doing something wrong?


?xml version=1.0 encoding=UTF-8?
proxy 
xmlns=http://ws.apache.org/ns/synapsehttp://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapsesa=Dsntz=1usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA

  name=utTockenProxy
  transports=https
  statistics=disable
  trace=disable
  startOnLoad=true
  target
 inSequence
log level=full/
send
   endpoint
  address
uri=https://localhost:9443/services/echohttps://www.google.com/url?q=https%3A%2F%2Flocalhost%3A9443%2Fservices%2Fechosa=Dsntz=1usg=AFQjCNHIPmGy_-7JhscqWpy2Xu6a5KEGoQ
/
   /endpoint
/send
 /inSequence
  /target
  parameter name=ScenarioIDscenario1/parameter
  enableSec/
  policy
key=conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport/
  description/
/proxy


*Error,*

[2014-03-28 10:05:23,262]  INFO - LogMediator To:
/services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction:
urn:mediate, SOAPAction: urn:mediate, MessageID:
urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request,
Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope
xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyp:echoInt
xmlns:p=http://echo.services.core.carbon.wso2.org;!--0 to 1
occurrence--in23/in/p:echoInt/soapenv:Body/soapenv:Envelope
[2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception
org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have
children other than SOAP Header and Body
at
org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110)
 at
org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164)
at
org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646)
 at
org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722)
at
org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145)
 at
org.apache.rampart.RampartMessageData.init(RampartMessageData.java:406)
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
 at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
 at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163)
 at
org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274)
at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488)
 at
org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
 at
org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at
org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
 at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
 at java.lang.Thread.run(Thread.java:662)


Thanks.
-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahi...@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESBJAVA-1777 is reproducible in ESB 4.7.0, 4.8.0, and 4.8.1

2014-03-28 Thread Lahiru Sandaruwan
Sent the proxy config with wrong endpoint,


On Fri, Mar 28, 2014 at 10:09 AM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject.

 Here is the proxy i try. Am i doing something wrong?


 ?xml version=1.0 encoding=UTF-8?
 proxy 
 xmlns=http://ws.apache.org/ns/synapsehttp://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapsesa=Dsntz=1usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA
 
   name=utTockenProxy
   transports=https
   statistics=disable
   trace=disable
   startOnLoad=true
   target
  inSequence
 log level=full/
 send
endpoint
   address uri=https://localhost:8280/services/echo/
/endpoint
 /send
  /inSequence
   /target
   parameter name=ScenarioIDscenario1/parameter
   enableSec/
   policy
 key=conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport/
   description/
 /proxy


 *Error,*

 [2014-03-28 10:05:23,262]  INFO - LogMediator To:
 /services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request,
 Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyp:echoInt
 xmlns:p=http://echo.services.core.carbon.wso2.org;!--0 to 1
 occurrence--in23/in/p:echoInt/soapenv:Body/soapenv:Envelope
 [2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception
 org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have
 children other than SOAP Header and Body
 at
 org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110)
  at
 org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164)
 at
 org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646)
  at
 org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722)
 at
 org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145)
  at
 org.apache.rampart.RampartMessageData.init(RampartMessageData.java:406)
 at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
  at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488)
  at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
  at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)


 Thanks.
 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146




-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahi...@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESBJAVA-1777 is reproducible in ESB 4.7.0, 4.8.0, and 4.8.1

2014-03-28 Thread Dushan Abeyruwan
Hi,
  Did you  try same with SimpleStockQuote  BE?

Cheers,
Dushan


On Sat, Mar 29, 2014 at 5:05 AM, Lahiru Sandaruwan lahi...@wso2.com wrote:

 Sent the proxy config with wrong endpoint,


 On Fri, Mar 28, 2014 at 10:09 AM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject.

 Here is the proxy i try. Am i doing something wrong?


 ?xml version=1.0 encoding=UTF-8?
 proxy 
 xmlns=http://ws.apache.org/ns/synapsehttp://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapsesa=Dsntz=1usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA
 
   name=utTockenProxy
   transports=https
   statistics=disable
   trace=disable
   startOnLoad=true
   target
  inSequence
 log level=full/
 send
endpoint
   address uri=https://localhost:8280/services/echo/

/endpoint
 /send
  /inSequence
   /target
   parameter name=ScenarioIDscenario1/parameter
   enableSec/
   policy
 key=conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport/
   description/
 /proxy


 *Error,*

 [2014-03-28 10:05:23,262]  INFO - LogMediator To:
 /services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request,
 Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyp:echoInt
 xmlns:p=http://echo.services.core.carbon.wso2.org;!--0 to 1
 occurrence--in23/in/p:echoInt/soapenv:Body/soapenv:Envelope
 [2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception
 org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not have
 children other than SOAP Header and Body
 at
 org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110)
  at
 org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164)
 at
 org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646)
  at
 org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722)
 at
 org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145)
  at
 org.apache.rampart.RampartMessageData.init(RampartMessageData.java:406)
 at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
  at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 at
 org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488)
  at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
  at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)


 Thanks.
 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146




 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146




-- 
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] ESBJAVA-1777 is reproducible in ESB 4.7.0, 4.8.0, and 4.8.1

2014-03-28 Thread Dushan Abeyruwan
Hi
 Anyways will test this once again.It was fixed and verified in 460 , may
be this has been broken again due to some other fixes its a regression
issue..





On Sat, Mar 29, 2014 at 7:17 AM, Dushan Abeyruwan dus...@wso2.com wrote:

 Hi,
   Did you  try same with SimpleStockQuote  BE?

 Cheers,
 Dushan


 On Sat, Mar 29, 2014 at 5:05 AM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Sent the proxy config with wrong endpoint,


 On Fri, Mar 28, 2014 at 10:09 AM, Lahiru Sandaruwan lahi...@wso2.comwrote:

 Hi,

 $subject.

 Here is the proxy i try. Am i doing something wrong?


 ?xml version=1.0 encoding=UTF-8?
 proxy 
 xmlns=http://ws.apache.org/ns/synapsehttp://www.google.com/url?q=http%3A%2F%2Fws.apache.org%2Fns%2Fsynapsesa=Dsntz=1usg=AFQjCNHXEm-DVy-kXjma9HiDSOzvmv4DoA
 
   name=utTockenProxy
   transports=https
   statistics=disable
   trace=disable
   startOnLoad=true
   target
  inSequence
 log level=full/
 send
endpoint
   address uri=https://localhost:8280/services/echo/

/endpoint
 /send
  /inSequence
   /target
   parameter name=ScenarioIDscenario1/parameter
   enableSec/
   policy
 key=conf:/repository/axis2/service-groups/utTockenProxy/services/utTockenProxy/policies/UTOverTransport/
   description/
 /proxy


 *Error,*

 [2014-03-28 10:05:23,262]  INFO - LogMediator To:
 /services/normalProxy.normalProxyHttpsSoap12Endpoint, WSAction:
 urn:mediate, SOAPAction: urn:mediate, MessageID:
 urn:uuid:fcc30644-4305-43d8-ae58-cb49694c3873, Direction: request,
 Envelope: ?xml version=1.0 encoding=utf-8?soapenv:Envelope
 xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Bodyp:echoInt
 xmlns:p=http://echo.services.core.carbon.wso2.org;!--0 to 1
 occurrence--in23/in/p:echoInt/soapenv:Body/soapenv:Envelope
 [2014-03-28 10:05:23,322] ERROR - NativeWorkerPool Uncaught exception
 org.apache.axiom.soap.SOAPProcessingException: SOAP Envelope can not
 have children other than SOAP Header and Body
 at
 org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.checkChild(SOAPEnvelopeImpl.java:110)
  at
 org.apache.axiom.soap.impl.dom.SOAPEnvelopeImpl.insertBefore(SOAPEnvelopeImpl.java:164)
 at
 org.apache.ws.security.util.WSSecurityUtil.prependChildElement(WSSecurityUtil.java:646)
  at
 org.apache.ws.security.util.WSSecurityUtil.findWsseSecurityHeaderBlock(WSSecurityUtil.java:722)
 at
 org.apache.ws.security.message.WSSecHeader.insertSecurityHeader(WSSecHeader.java:145)
  at
 org.apache.rampart.RampartMessageData.init(RampartMessageData.java:406)
 at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
  at
 org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
 at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
  at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
  at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
 at
 org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:163)
  at
 org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:274)
 at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:488)
  at
 org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
  at
 org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
 at
 org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
  at
 java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
  at java.lang.Thread.run(Thread.java:662)


 Thanks.
 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146




 --
 --
 Lahiru Sandaruwan
 Software Engineer,
 Platform Technologies,
 WSO2 Inc., http://wso2.com
 lean.enterprise.middleware

 email: lahi...@wso2.com cell: (+94) 773 325 954
 blog: http://lahiruwrites.blogspot.com/
 twitter: http://twitter.com/lahirus
 linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146




 --
 Dushan Abeyruwan | Associate Tech Lead
  Integration Technologies Team
 PMC Member Apache Synpase
 WSO2 Inc. http://wso2.com/
 Blog:http://dushansview.blogspot.com/
 Mobile:(0094)713942042




-- 
Dushan Abeyruwan | Associate Tech Lead
Integration Technologies Team
PMC Member Apache Synpase
WSO2 Inc. http://wso2.com/
Blog:http://dushansview.blogspot.com/
Mobile:(0094)713942042
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev