[ESBJAVA-3858] Differentiating the artifacts deployed with CAR file Created: 30/Jun/15  Updated: 08/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Carbon Applications
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Highest
Reporter: Priyadarssini Kishokumar Assignee: Jagath Ariyarathne
Resolution: Unresolved Votes: 0
Labels: CAPP, ESB, ESB-490-Beta
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

With the existing functionality, once we deployed an artifact using a CAR file we have the following limitations.

1) We can't differentiate from management console whether the artifact comes from a CAR file or not.

2) If the user changes an artifact deployed from a CAR file, that is saved in to the file system in a separate location.

3) Once the server is restarted with this changes in place, it will throw exceptions since there is an artifact with the same name.

To overcome this issue,

1. Identify whether the artifact is coming from a CAR file or not & display in the UI
2. If any changes to CApp artifacts, done through the management console, will not persist changes into the default file location.
3. The changes will be store in the memory & last till the server restart.



 Comments   
Comment by Priyadarssini Kishokumar [ 30/Jun/15 ]

https://github.com/wso2/carbon-mediation/pull/272

https://github.com/wso2/carbon-deployment/pull/104





[ESBJAVA-3952] Problem with invoke proxy with custom URIService and secure Created: 23/Jul/15  Updated: 23/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Highest
Reporter: Gregory Goodweather Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Critical
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

Proxy parameters:
<parameter name="ServiceURI">/somepath/proxyName</parameter>
<policy key="gov:PathToPolicy/PolicyName.policy"/>
<parameter name="allowRoles">RuleName</parameter>
<enableSec/>

Policy:
<?xml version="1.0" encoding="UTF-8"?>
<wsp:Policy xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="policyFromRegistry">
<wsp:ExactlyOne>
<wsp:All>
<sp:TransportBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:TransportToken>
<wsp:Policy>
<sp:HttpsToken RequireClientCertificate="false" />
</wsp:Policy>
</sp:TransportToken>
<sp:AlgorithmSuite>
<wsp:Policy>
<sp:Basic256 />
</wsp:Policy>
</sp:AlgorithmSuite>
<sp:Layout>
<wsp:Policy>
<sp:Lax />
</wsp:Policy>
</sp:Layout>
<sp:IncludeTimestamp />
</wsp:Policy>
</sp:TransportBinding>
<sp:SignedSupportingTokens xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
<wsp:Policy>
<sp:UsernameToken sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient" />
</wsp:Policy>
</sp:SignedSupportingTokens>
</wsp:All>
</wsp:ExactlyOne>
<rampart:RampartConfig xmlns:rampart="http://ws.apache.org/rampart/policy">
<rampart:user>wso2carbon</rampart:user>
<rampart:encryptionUser>useReqSigCert</rampart:encryptionUser>
<rampart:timestampPrecisionInMilliseconds>true</rampart:timestampPrecisionInMilliseconds>
<rampart:timestampTTL>300</rampart:timestampTTL>
<rampart:timestampMaxSkew>300</rampart:timestampMaxSkew>
<rampart:timestampStrict>false</rampart:timestampStrict>
<rampart:tokenStoreClass>org.wso2.carbon.security.util.SecurityTokenStore</rampart:tokenStoreClass>
<rampart:nonceLifeTime>300</rampart:nonceLifeTime>
<rampart:encryptionCrypto>
<rampart:crypto provider="org.wso2.carbon.security.util.ServerCrypto" cryptoKey="org.wso2.carbon.security.crypto.privatestore">
<rampart:property name="org.wso2.carbon.security.crypto.alias">wso2carbon</rampart:property>
<rampart:property name="org.wso2.carbon.security.crypto.privatestore">wso2carbon.jks</rampart:property>
<rampart:property name="org.wso2.stratos.tenant.id">-1234</rampart:property>
<rampart:property name="rampart.config.user">wso2carbon</rampart:property>
</rampart:crypto>
</rampart:encryptionCrypto>
<rampart:signatureCrypto>
<rampart:crypto provider="org.wso2.carbon.security.util.ServerCrypto" cryptoKey="org.wso2.carbon.security.crypto.privatestore">
<rampart:property name="org.wso2.carbon.security.crypto.alias">wso2carbon</rampart:property>
<rampart:property name="org.wso2.carbon.security.crypto.privatestore">wso2carbon.jks</rampart:property>
<rampart:property name="org.wso2.stratos.tenant.id">-1234</rampart:property>
<rampart:property name="rampart.config.user">wso2carbon</rampart:property>
</rampart:crypto>
</rampart:signatureCrypto>
</rampart:RampartConfig>
</wsp:Policy>

Errors:
TID[-1234] [ESB] [2015-07-23 13:20:37,414] ERROR

{org.apache.axis2.engine.AxisEngine}

- InvalidSecurity org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:151) org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) org.apache.axis2.engine.Phase.invoke(Phase.java:313) org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459) org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:279) org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:745)

TID[-1234] [ESB] [2015-07-23 13:20:37,415] ERROR

{org.apache.synapse.transport.nhttp.ServerWorker}

- Error processing POST request org.apache.rampart.handler.PostDispatchVerificationHandler.invoke(PostDispatchVerificationHandler.java:151) org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340) org.apache.axis2.engine.Phase.invoke(Phase.java:313) org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261) org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:167) org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172) org.apache.synapse.transport.nhttp.ServerWorker.processEntityEnclosingMethod(ServerWorker.java:459) org.apache.synapse.transport.nhttp.ServerWorker.run(ServerWorker.java:279) org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) java.lang.Thread.run(Thread.java:745)






[ESBJAVA-2247] Incorrect host name displayed as 'API Invocation URL' in worker manager separated setup Created: 28/Jun/13  Updated: 28/Jun/13

Status: Open
Project: WSO2 ESB
Component/s: API
Affects Version/s: 4.7.0
Fix Version/s: None

Type: Bug Priority: High
Reporter: Evanthika Amarasiri Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Packs : 20130624-wso2esb-4.7.0.zip


Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

In a worker manager separated setup I created an API but the given URL is incorrect. The URL contains the management host name and not the worker host name.

http://mgt.esb.qa.com:8280/t/thika.com/thikaapi2






[ESBJAVA-3415] Better Error Message, Error Detail for errors occurring when sending out messages Created: 06/Nov/14  Updated: 06/Nov/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Isuru Udana Loku Narangoda Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

In the current implementation, for errors occurring when sending out the message we have a common error message "Error in Sender" and we can get finer details of the error from the error code.
It is nice to have better detailed error messages explaining the meaning of error codes (like 101508 - Timeout )






[ESBJAVA-3528] Log the user information when changing vault passwords from Secure Vault Tool under ESB admin UI Created: 05/Feb/15  Updated: 05/Feb/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Inosh Goonewardena Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Log the user information when changing vault passwords from Secure Vault Tool under ESB admin UI






[ESBJAVA-3339] In org.apache.synapse.startup.tasks.MessageInjector Task, the message field loses any XML escaping aspects put in the message Created: 01/Oct/14  Updated: 01/Oct/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0
Fix Version/s: None

Type: Bug Priority: High
Reporter: Anjana Fernando Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

In the "message" field, if we put a "xml" type "message" like the following,

<abc><![CDATA[A<]]></abc>

After saving and loading it back, it will be converted to <abc>A<</abc>, and when saving this again, it will give an error saying, invalid XML.

The earlier message must be retained as it is.






[ESBJAVA-3329] Mediation Stat Data Publisher configuration details not get updated properly and no user message returns Created: 29/Jul/14  Updated: 26/Sep/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Asanka Vithanage Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB 481
BAM 242 27thJuly Build -Standalone server
Java version 1.7


Attachments: Text File BAM-1726.patch    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps:
1. Start a fresh BAM server
2. Start a ESB 481 server
3. Go to the Mediation Data Publisher configuration page on ESB and fill the required fields and click the update button
4. Now invoke a ESB proxy service and check whether mediation data available on the BAM server side
5. Go back to the ESB and change the "Stream Name" on the Mediation Data Publisher configuration page
6. Click Update button and check whether user notification message displaying
7. Publish data to the BAM server and check whether new column family created with newly defined Stream Name

Issue:
ESB not displaying any user message at step 6 and ESB has failed to create a new column family on BAM server side.

When Publishing data at step7 following exception can be found on the ESB stack-trace
[2014-07-29 17:10:14,515] ERROR - AsyncDataPublisher Not Supported stream definition type
[2014-07-29 17:10:14,515] ERROR - AsyncDataPublisher
java.lang.NullPointerException
at org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:700)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
[2014-07-29 17:10:14,517] ERROR - AsyncDataPublisher Not Supported stream definition type
[2014-07-29 17:10:14,518] ERROR - AsyncDataPublisher
java.lang.NullPointerException
at org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:700)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)



 Comments   
Comment by Malith Dhanushka [ 26/Sep/14 ]

Attaching the patch to resolve this. Please add this to git by moving org.wso2.carbon.bam.mediationstats.data.publisher to git repo under ESB components.

Patch is taken from,

https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-agents/org.wso2.carbon.bam.mediationstats.data.publisher/4.2.1

p.s - Please not that this wont fix any UI related issues. If you click on update button there wont be any messages displayed but configuration gets updated.





[ESBJAVA-3366] Even after deleting the created BAM profile, it stays In Memory Created: 09/Oct/14  Updated: 09/Oct/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Manisha Eleperuma Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Configured the BAM profile in ESB and added it to a proxy.
Sent data out using this proxy and worked fine.

Deleted the BAM profile and deleted the BAM mediator as well from the proxy.
Still it was printing below error until the server is restarted.

ERROR - AsyncDataPublisher Reconnection failed for for tcp://10.173.48.28:7612
[2014-10-08 18:16:46,299] ERROR - AsyncDataPublisher Reconnection failed for for tcp://10.173.48.28:7611

Shouldn't the in memory map get cleared when the BAM profile was removed from the server?






[ESBJAVA-3719] Issue in STSClient while requesting token from MS ADFS Created: 27/May/15  Updated: 27/May/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Dilfuruz TORLAK Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Hi,
We have started to WSO2 ESB project in our company.
We are implementing security part of the project.
Our backend services require SAML authentication through Microsoft ADFS.
Currently, we use WSO2 ESB 4.8.1, rampart-1.6.2 and addressing-1.6.2 modules and ADFS 2.0.
While requesting token from ADFS, I'm getting below exception on ESB:

ERROR - STSClient errorInObtainingToken
org.apache.axis2.AxisFault: The input stream for an incoming message is null.
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:93)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:68)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:348)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:165)
at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:182)
at org.apache.rampart.util.RampartUtil.getToken(RampartUtil.java:766)
at org.apache.rampart.util.RampartUtil.getIssuedToken(RampartUtil.java:675)
at org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(BindingBuilder.java:379)
at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:420)
at org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
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.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185)
at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482)
at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338)
at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333)
at org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:59)
at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
[2015-04-10 10:41:38,607] ERROR - Axis2Sender Unexpected error during sending message out org.apache.axis2.AxisFault: Error in obtaining a token
at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
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.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185)
at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482)
at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338)
at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333)
at org.apache.synapse.endpoints.AddressEndpoint.send(AddressEndpoint.java:59)
at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:97)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.rampart.RampartException: Error in obtaining a token
at org.apache.rampart.util.RampartUtil.getToken(RampartUtil.java:779)
at org.apache.rampart.util.RampartUtil.getIssuedToken(RampartUtil.java:675)
at org.apache.rampart.builder.BindingBuilder.handleSupportingTokens(BindingBuilder.java:379)
at org.apache.rampart.builder.AsymmetricBindingBuilder.doSignBeforeEncrypt(AsymmetricBindingBuilder.java:420)
at org.apache.rampart.builder.AsymmetricBindingBuilder.build(AsymmetricBindingBuilder.java:97)
at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:147)
at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
... 24 more
Caused by: org.apache.rahas.TrustException: Error in obtaining token from : "https://XXXX:443/adfs/services/trust/13/usernamemixed"
at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:174)
at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:182)
at org.apache.rampart.util.RampartUtil.getToken(RampartUtil.java:766)
... 30 more
Caused by: org.apache.axis2.AxisFault: The input stream for an incoming message is null.
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:93)
at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:68)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:348)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
at org.apache.rahas.client.STSClient.requestSecurityToken(STSClient.java:165)
-----------------------------------------------------------------------------------------------------

When I investigated I noticed that WS-Addressing and WS-Trust namespaces at the token request prepared by apache rampart are different than expectation of ADFS.

The addressing module (addressing-1.6.2) supports the WS-Addressing Submission version (2004/08).
The apache rampart module(rampart-1.6.2) supports WS-Trust version 1.2.
ADFS has 2 kinds of endpoint; version 1.3 and version 2005.
I have tried both of them as endpoint while requesting SAML token from ADFS.
Although the ADFS endpoint with version 2005 supports WS-Trust version 1.2, still needed to change WS-Addressing namespace as "Final".

When I change below items in apache rampart, I'm able to obtain a token from ADFS..

  • Version of WS-Trust from 1.2 to 1.3
  • WS-Addressing namespace from Submission to Final

Is it a known bug?
Are there a version of apache rampart/rahas which is compatible with MS ADFS?
Thanks a lot.






[ESBJAVA-2914] wso2ESB 4.8.0 not working for transactions Created: 16/Jan/14  Updated: 20/Jan/14

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: 4.8.0
Fix Version/s: None

Type: Bug Priority: High
Reporter: faisal shaik Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: ESB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ubuntu,wso2dss3.0.1 ,wso2esb4.8.0


Attachments: File Transaction.dbs     XML File TransactionProxy.xml     PNG File ibx4q.png    
Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes
Affects Docs:
Yes

 Description   

Hi
I am using wso2esb4.8.0 and wso2dss3.0.1.My issue is i wish to insert the data into 2 tables its working nicely but i wish to applay transaction for my tables both table exist in same DB.If my 2nd table going fail on any moment that time my 1 st table should be rollback for that my DSS data source configuration is
and my dataservice is like this and i enabled boxcar for transaction

<data disableStreaming="true" enableBoxcarring="true" name="Transaction" serviceNamespace="http://ws.wso2.org/dataservice">
<config id="default">
<property name="carbon_datasource_name">USCProduction</property>
</config>
<query id="insertinto_mclient" useConfig="default">
<sql>insert into mclient(clientcode,clientname,createdbyid,modifiedbyid) values(?,?,?,?)</sql>
<param name="clientcode" ordinal="1" sqlType="STRING"/>
<param name="clientname" ordinal="2" sqlType="STRING"/>
<param name="createdbyid" ordinal="3" sqlType="BIGINT"/>
<param name="modifiedbyid" ordinal="4" sqlType="BIGINT"/>
</query>
<query id="insertinto_mcompany" useConfig="default">
<sql>insert into mcompany(companycode,companyname,createdbyid,modifiedbyid,clientid) values(?,?,?,?,?)</sql>
<param name="companycode" ordinal="1" sqlType="STRING"/>
<param name="comapnyname" ordinal="2" sqlType="STRING"/>
<param name="createdbyid" ordinal="3" sqlType="BIGINT"/>
<param name="modifiedbyid" ordinal="4" sqlType="BIGINT"/>
<param name="clientid" ordinal="5" sqlType="BIGINT"/>
</query>
<operation disableStreaming="true" name="insertinto_mclient_OP" returnRequestStatus="true">
<call-query href="insertinto_mclient">
<with-param name="clientcode" query-param="clientcode"/>
<with-param name="clientname" query-param="clientname"/>
<with-param name="createdbyid" query-param="createdbyid"/>
<with-param name="modifiedbyid" query-param="modifiedbyid"/>
</call-query>
</operation>
<operation disableStreaming="true" name="insertinto_mcompany_OP" returnRequestStatus="true">
<call-query href="insertinto_mcompany">
<with-param name="companycode" query-param="companycode"/>
<with-param name="comapnyname" query-param="comapnyname"/>
<with-param name="createdbyid" query-param="createdbyid"/>
<with-param name="modifiedbyid" query-param="modifiedbyid"/>
<with-param name="clientid" query-param="clientid"/>
</call-query>
</operation>
</data>
and my proxy service is
<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="TransactionProxy"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<log level="full">
<property name="M1" value="************HITTING Transaction PROXY************"/>
</log>
<property name="OUT_ONLY" value="true"/>
<property name="companycode" expression="//companycode/text()"/>
<property name="companyname" expression="//companyname/text()"/>
<property name="clientcode" expression="//clientcode/text()"/>
<property name="clientname" expression="//clientname/text()"/>
<payloadFactory media-type="xml">
<format>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dat="http://ws.wso2.org/dataservice">
<soapenv:Header/>
<soapenv:Body/>
</soapenv:Envelope>
</format>
<args/>
</payloadFactory>
<log level="full">
<property name="M2" value="************HITTING Transaction PROXY************"/>
</log>
<header name="Action" value="urn:begin_boxcar"/>
<callout serviceURL="http://192.168.1.201:9764/services/Transaction/begin_boxcar"
action="urn:begin_boxcar">
<source type="envelope"/>
<target xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
</callout>
<payloadFactory media-type="xml">
<format>
<p:insertinto_mclient_OP xmlns="http://ws.wso2.org/dataservice">
<xs:clientcode xmlns:xs="http://ws.wso2.org/dataservice">$1</xs:clientcode>
<xs:clientname xmlns:xs="http://ws.wso2.org/dataservice">$2</xs:clientname>
<xs:createdbyid xmlns:xs="http://ws.wso2.org/dataservice">-1</xs:createdbyid>
<xs:modifiedbyid xmlns:xs="http://ws.wso2.org/dataservice">-1</xs:modifiedbyid>
</p:insertinto_mclient_OP>
</format>
<args>
<arg evaluator="xml" expression="get-property('clientcode')"/>
<arg evaluator="xml" expression="get-property('clientname')"/>
</args>
</payloadFactory>
<header name="Action" value="urn:insertinto_mclient_OP"/>
<callout serviceURL="http://192.168.1.201:9764/services/Transaction/"
action="urn:insertinto_mclient_OP">
<source xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
<target xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
</callout>
<payloadFactory media-type="xml">
<format>
<p:insertinto_mcompany_OP xmlns="http://ws.wso2.org/dataservice">
<xs:companycode xmlns:xs="http://ws.wso2.org/dataservice">$1</xs:companycode>
<xs:comapnyname xmlns:xs="http://ws.wso2.org/dataservice">$2</xs:comapnyname>
<xs:createdbyid xmlns:xs="http://ws.wso2.org/dataservice">-1</xs:createdbyid>
<xs:modifiedbyid xmlns:xs="http://ws.wso2.org/dataservice">-1</xs:modifiedbyid>
<xs:clientid xmlns:xs="http://ws.wso2.org/dataservice">-1</xs:clientid>
</p:insertinto_mcompany_OP>
</format>
<args>
<arg evaluator="xml" expression="get-property('companycode')"/>
<arg evaluator="xml" expression="get-property('companyname')"/>
</args>
</payloadFactory>
<log level="full">
<property name="M5" value="*************hitting2nd dss****"/>
</log>
<header name="Action" value="urn:insertinto_mcompany_OP"/>
<callout serviceURL="http://192.168.1.201:9764/services/Transaction/"
action="urn:insertinto_mcompany_OP">
<source xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
<target xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
</callout>
<payloadFactory media-type="xml">
<format>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dat="http://ws.wso2.org/dataservice">
<soapenv:Header/>
<soapenv:Body/>
</soapenv:Envelope>
</format>
<args/>
</payloadFactory>
<log level="full">
<property name="M3" value="************HITTING Transaction PROXY************"/>
</log>
<header name="Action" value="urn:end_boxcar"/>
<callout serviceURL="http://192.168.1.201:9764/services/Transaction/end_boxcar"
action="urn:end_boxcar">
<source type="envelope"/>
<target xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
</callout>
<log level="full">
<property name="M4" value="************HITTING Transaction PROXY************"/>
</log>
</inSequence>
<outSequence>
<send/>
</outSequence>
</target>
<description/>
</proxy>
box_carying is working in wso2dss but not in wso2esb is there any session management is there
i started with begin_boxcar and end with end_boxcar.BUt while i am doing this with dss if i start with begin_boxcar then 1st insert after that i checked the table but ther is no data insertion if i insert into 2nd table and end with end_boxcar then only data inserting into 2 tables.Where as i checked with proxy service configuration like above strted with begin_boxcar and inserted 1st table and checked the table dat is there means with out end_boxcar also data inserted properly
and
how can i get DSS session into proxy.what is this JSESSIONID



 Comments   
Comment by faisal shaik [ 17/Jan/14 ]

how to get the boxcarying session id in to proxy?

Comment by faisal shaik [ 20/Jan/14 ]

wso2esb support for transactions are not.

<payloadFactory media-type="xml">
<format>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:dat="http://ws.wso2.org/dataservice">
<soapenv:Header/>
<soapenv:Body/>
</soapenv:Envelope>
</format>
<args/>
</payloadFactory>
<log level="full">
<property name="M2" value="************HITTING Transaction PROXY************"/>
</log>
<header name="Action" value="urn:begin_boxcar"/>
<property name="setCookieHeader"
expression="$trp:Set-Cookie"
scope="default"
type="STRING"/>
<callout serviceURL="http://1localhost:9764/services/Transaction/begin_boxcar"
action="urn:begin_boxcar">
<source type="envelope"/>
<target xmlns:s12="http://www.w3.org/2003/05/soap-envelope"
xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/"
xpath="s11:Body/child::[fn:position()=1] | s12:Body/child::[fn:position()=1]"/>
</callout>
<property name="setCookieHeader5" expression="$trp:JSESSIONID"/>
<log level="full">
<property name="JSession" expression="get-property('setCookieHeader')"/>
</log>

how to get dss JSESSIONID in to wso2esb proxy





[ESBJAVA-3886] Enhance the ability of Microsoft SCOM monitoring through SNMP Created: 08/Jul/15  Updated: 08/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Vijitha Ekanayake Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

SCOM can only have a restricted number of discoveries configured, thus they cannot add multiple SNMP entry points for a single server to SCOM. The WSO2 SNMP entry point however only exposes WSO2 specific OIDs and NOT the JVM OIDs. Hence, they cannot monitor WSO2 sufficiently as is required by their customer.

To overcome this problem we have to enhanced the SNMPAgent class to load the JVMManagement OIDs at startup. This means that the SNMP entry point by WSO2 now exposes both WSO2 OIDs as well as JVM OIDs.

https://server.oosnmp.net/dist/release/org/snmp4j/snmp4j-agent-jmx/2.0.0/snmp4j-agent-jmx-2.0.0.jar can be used as the dependency.

Following code may helpful.
// Add this field to the SNMPAgent class
private JvmManagementMib jvmManagementMIB;
// Add the following lines in "registerSnmpMIBs()" below the super.registerSnmpMibs() call:
try

{ jvmManagementMIB = new JvmManagementMibInst(super.agent.getNotificationOriginator()); jvmManagementMIB.registerMOs(server, null); }

catch (DuplicateRegistrationException ex)

{ logger.error("Unable to register JVM-MANAGEMENT-MIB", ex); }




[ESBJAVA-3220] Updating smooks api version to 1.5.x Created: 17/Jul/14  Updated: 09/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Nuwan Wimalasekara Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Currently ESB is using smooks api 1.4 as the orbit dependency. can we update it to 1.5.x since there are some new features in smooks 1.5.x






[ESBJAVA-2867] Inconsistency in filter mediator Created: 06/Jan/14  Updated: 09/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Message Stores
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Chandana Napagoda Assignee: Jagath Ariyarathne
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File config.xml    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Filter mediator shows an inconsistent behavior after messages passed via message store processor. Please refer below synapse config. With out store processor it prints below log[1] and with store processor it prints log[2]

[1]. RESULT = Found a SOAP fault, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring>java.io.IOException Message being parsed: </faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>

[2]. RESULT = All is well, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Fault><faultcode>soapenv:Server.generalException</faultcode><faultstring>java.io.IOException Message being parsed: </faultstring></soapenv:Fault></soapenv:Body></soapenv:Envelope>



 Comments   
Comment by Kasun Indrasiri [ 23/Jan/14 ]

Lowering the priority as this is not a L1.





[ESBJAVA-2467] [MSMP] Add JMS Message Store Username / Passwords Plain text ? Created: 20/Sep/13  Updated: 09/Jul/15  Due: 20/Sep/13

Status: Open
Project: WSO2 ESB
Component/s: Message Stores
Affects Version/s: 4.8.0 M2
Fix Version/s: None

Type: Improvement Priority: High
Reporter: dushan abeyruwan Assignee: shafreen anfar
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Blocker
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

need expressions thus we can use mediation security component to secure passwords






[ESBJAVA-3007] Unable to install Single "Sign On(SAML2)", "Application Management" & "Miscellaneous" features to ESB 4.8.1 Created: 14/Feb/14  Updated: 09/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Suminda Chamara Silva Assignee: Ravi Undupitiya
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Blocker
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Single Sign On(SAML2) feature not compatible with ESB 4.8.1.

Steps to reproduce.
1. Add turing P2 repo to the ESB 4.8.1 (http://dist.wso2.org/p2/carbon/releases/turing/)
2. Install Single sign, Application Management or Application Management on features
3. Below error popup when clicking install button

Cannot complete the install because of a conflicting dependency. Software being installed: SAML2 based Single Sign-On authenticator Feature 4.2.2 (org.wso2.carbon.identity.authenticator.saml2.sso.feature.group 4.2.2) Software currently installed: SAML2 based authenticator UI Feature 4.2.1 (org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.2.1) Only one of the following can be installed at once: SAML2 based authenticator UI Feature 4.2.2 (org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar 4.2.2) SAML2 based authenticator UI Feature 4.2.1 (org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar 4.2.1) SAML2 based authenticator UI Feature 4.2.0 (org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar 4.2.0) Cannot satisfy dependency: From: SAML2 based Single Sign-On authenticator Feature 4.2.2 (org.wso2.carbon.identity.authenticator.saml2.sso.feature.group 4.2.2) To: org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group [4.2.2] Cannot satisfy dependency: From: SAML2 based authenticator UI Feature 4.2.1 (org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.2.1) To: org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar [4.2.1] Cannot satisfy dependency: From: SAML2 based authenticator UI Feature 4.2.2 (org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.group 4.2.2) To: org.wso2.carbon.identity.authenticator.saml2.sso.ui.feature.jar [4.2.2]






[ESBJAVA-3364] Mediation statistic persistence config cause NULL pointer exception Created: 08/Oct/14  Updated: 09/Jul/15

Status: In Progress
Project: WSO2 ESB
Component/s: Mediators, Statistics
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yu Zhou Assignee: viraj senevirathne
Resolution: Unresolved Votes: 0
Labels: ESB, mediation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Unknown
Test cases added: No

 Description   

In WSO2 ESB 4.8.1, I added below config items to <$ESB_HOME>/repository/conf/carbon.xml

<MediationStat>
<ReportingInterval>5000</ReportingInterval>
<Persistence>enabled</Persistence>
<RegistryLocation>/stats/mediation</RegistryLocation>
<Observers>com.test.esb.CustomMediationStatisticsConsumer</Observers>
</MediationStat>

Save it and restarted ESB. Message mediation works well as normal, but if a mediation such as sequence with statistic enabled is triggered, the ESB log will report below exception, and mediation statistic persistence not work.

[2014-10-08 03:15:33,110] ERROR - MediationStatisticsObserver Error while accessing the registry for statistics persistence
java.lang.NullPointerException: Tenant domain has not been set in CarbonContext
at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
at org.wso2.carbon.registry.core.utils.RegistryUtils.getCacheManager(RegistryUtils.java:288)
at org.wso2.carbon.registry.core.utils.RegistryUtils.getResourcePathCache(RegistryUtils.java:282)
at org.wso2.carbon.registry.core.caching.PathCache.getCache(PathCache.java:35)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCPathCache.getPathID(JDBCPathCache.java:298)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.getResourceID(JDBCResourceDAO.java:67)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCResourceDAO.resourceExists(JDBCResourceDAO.java:151)
at org.wso2.carbon.registry.core.jdbc.Repository.resourceExists(Repository.java:134)
at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:688)
at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:465)
at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:657)
at org.wso2.carbon.mediation.statistics.persistence.PersistingStatisticsObserver.persistRecord(PersistingStatisticsObserver.java:113)
at org.wso2.carbon.mediation.statistics.persistence.PersistingStatisticsObserver.access$400(PersistingStatisticsObserver.java:41)
at org.wso2.carbon.mediation.statistics.persistence.PersistingStatisticsObserver$RegistryWriter.run(PersistingStatisticsObserver.java:158)






[ESBJAVA-3933] Cannot add JDBC Message Stores Created: 21/Jul/15  Updated: 23/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Message Stores
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: Chanaka Fernando
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-ALPHA5
Java Version : Java 1.8.0_05
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce

1. Naviagte to message stores.
2. Click on Add Message Stores ==> Add JDBC Message Store.

Issue : An exception is thrown an a blank page is displayed.

ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP: 

An error occurred at line: 92 in the jsp file: /message_store/jdbcMessageStore.jsp
The type org.wso2.carbon.ndatasource.ui.stub.NDataSourceAdminDataSourceException cannot be resolved. It is indirectly referenced from required .class files
89:     List<String> sourceList =null;
90: 
91:     try {
92:         sourceList = client.getAllDataSourceInformations();
93:     }catch (Exception e){
94:         response.setStatus(500);
95:         CarbonUIMessage uiMsg = new CarbonUIMessage(CarbonUIMessage.ERROR, e.getMessage(), e);


An error occurred at line: 92 in the jsp file: /message_store/jdbcMessageStore.jsp
The method getAllDataSourceInformations() from the type MessageStoreAdminServiceClient refers to the missing type NDataSourceAdminDataSourceException
89:     List<String> sourceList =null;
90: 
91:     try {
92:         sourceList = client.getAllDataSourceInformations();
93:     }catch (Exception e){
94:         response.setStatus(500);
95:         CarbonUIMessage uiMsg = new CarbonUIMessage(CarbonUIMessage.ERROR, e.getMessage(), e);


Stacktrace:
	at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103)
	at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366)
	at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:379)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:354)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:341)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:657)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:357)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:688)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:682)
	at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-21 13:36:16,968] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception
java.lang.ClassNotFoundException: org.apache.jsp.message_005fstore.jdbcMessageStore_jsp
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
	at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)
	at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:656)
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-21 13:36:16,969] ERROR - JspTilesRequestContext JSPException while including path '/message_store/jdbcMessageStore.jsp'. 
javax.servlet.jsp.JspException: ServletException while including page.
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.message_005fstore.jdbcMessageStore_jsp
	at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:177)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:656)
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
	... 78 more
Caused by: java.lang.ClassNotFoundException: org.apache.jsp.message_005fstore.jdbcMessageStore_jsp
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
	at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
	at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:121)
	at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:172)
	... 101 more
[2015-07-21 13:36:16,971] ERROR - RoleSecurityTagSupport IO Error executing tag: JSPException while including path '/message_store/jdbcMessageStore.jsp'. ServletException while including page.
java.io.IOException: JSPException while including path '/message_store/jdbcMessageStore.jsp'. ServletException while including page.
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-21 13:36:16,973] ERROR - RenderTagSupport Error during rendering
javax.servlet.jsp.JspException: IO Error executing tag: JSPException while including path '/message_store/jdbcMessageStore.jsp'. ServletException while including page.
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:84)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: JSPException while including path '/message_store/jdbcMessageStore.jsp'. ServletException while including page.
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	... 71 more


 Comments   
Comment by Yasassri Rathnayake [ 21/Jul/15 ]

Reducing the priority as this issue went away after restarting the server. This issue is related to ndatasources issue.

Comment by Chanaka Fernando [ 23/Jul/15 ]

This issue is related to following issue.

https://wso2.org/jira/browse/ESBJAVA-3734





[ESBJAVA-3835] Message tracing publisher sets fault "payload_status" Created: 09/Jun/15  Updated: 22/Jun/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Vijayaratha Vijayasingam Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

When there is a soap error occurs at ESB due to wrong endpoint configuration,
ESB generates '500' http status error.
But, Message tracer publishes the status as "SUCCESS".(wrong value!)

If we explicitly set the status code to 500, then the payload status is recorded as 'fault'.
Sample proxy;

<proxy xmlns="http://ws.apache.org/ns/synapse"
name="HorribleFaultProxy1"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<log>
<property name="HorribleFaultProxy" value=" === In HorribleFault Proxy ==="/>
</log>
<send>
<endpoint>
<address uri="http://abc.com"/>
</endpoint>
</send>
</inSequence>
<outSequence/>
<faultSequence>
<log>
<property name="HorribleFaultProxy" value=" === In fault handler==="/>
</log>
<makefault version="soap11">
<code xmlns:soap11Env="http://schemas.xmlsoap.org/soap/envelope/"
value="soap11Env:Server"/>
<reason value="Deliberate horrible fault here"/>
<detail>DeliberateException</detail>
</makefault>
<send/>
</faultSequence>
</target>
<description/>
</proxy>



 Comments   
Comment by Gihan Anuruddha [ 22/Jun/15 ]

In the Message tracer level, we are using below code snippet to get status. So it seems to be in a wrong endpoint configuration scenario, ESB sent those responses through an OUT_FLOW not in an OUT_FAULT_FLOW

private String getStatus(MessageContext messageContext) {
String status = MessageTracerConstants.STATUS_SUCCESS;
if (MessageContext.OUT_FLOW == messageContext.getFLOW()) {
Object httpSC = messageContext.getProperty(HTTP_SC);
if (httpSC != null) {
int statusCode = Integer.parseInt(httpSC.toString());
if (statusCode == 200 || statusCode == 202)

{ status = MessageTracerConstants.STATUS_SUCCESS; }

else

{ status = MessageTracerConstants.STATUS_FAULT; }

} else

{ status = MessageTracerConstants.STATUS_SUCCESS; }

} else if (MessageContext.OUT_FAULT_FLOW == messageContext.getFLOW())

{ status = MessageTracerConstants.STATUS_FAULT; }

return status;
}

Comment by Isuru Udana Loku Narangoda [ 22/Jun/15 ]

Can you please explain what is meant by "wrong endpoint configuration" ?

Comment by Vijayaratha Vijayasingam [ 22/Jun/15 ]

I provided sample proxy conf. I do not see any wrong there.

Comment by Isuru Udana Loku Narangoda [ 22/Jun/15 ]

What I asked was to clarify what is meant by "wrong endpoint configuration"





[ESBJAVA-3837] RequestSecurityTokenTemplate from IssuedToken policy isn't used Created: 22/Jun/15  Updated: 22/Jun/15

Status: Open
Project: WSO2 ESB
Component/s: Core Engine, Registry
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Alexey Smirnov Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: ESB, IS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RedHat Linux


Attachments: File STS.rar     XML File STSPolicy.xml    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

We use STS in WSO2 IS to secure echo service on WSO2ESB. We use non-secure NewTestSTS proxy (attached in archive STS.rar) to access this secured service. STSPolicy.xml (attached) is used to secure echo service. It's stored in configuration registry (or can be stored in governance registry).
First attempt of service call works fine, STS is being got from WSO2IS and is sent to echo service. But all the following attempts end with error "Requested KeyType is missing" on the IS side.
In debug log of ESB we see this message:
[2015-06-22 17:02:12,051] DEBUG - Using RSTTemplate: <spn:RequestSecurityTokenTemplate xmlns:spn="http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust">

</spn:RequestSecurityTokenTemplate>

{org.apache.rahas.client.STSClient}

After re-saving of policy, service call can be performed again






[ESBJAVA-3896] Sample 657 of distributed transaction management is not working properly Created: 13/Jul/15  Updated: 15/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: None

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-ALPHA3 - 22.06.2015 pack
Java version : Oracle jdk 1.7.0
DB Version : embedded H2
OS : Ubuntu 14.04 LTS


Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps to recreate :

1.Create two data sources using management console.
2.Create two derby databases.
3.Insert values into tables as transaction mediator example.(https://docs.wso2.com/display/ESB490/Transaction+Mediator+Example)

4.Since there was no 657 synapse config file, copy the given synapse config to synapse.xml file in ESB_HOME/repository/samples/ location.

5.Invoke the clients as stated in document.

But when we invoke client using commands stated in document, nothing happening to values of database tables as stated.

The successful scenario and failure scenario are not effecting to any of the database table values we have created.






[ESBJAVA-3462] Sometimes ESB is unable to properly detect the remote connection close event Created: 12/Dec/14  Updated: 16/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Ravindra Ranwala Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File Comdata3030MerchAuthProject_1.0.0(2).car     Text File authorizeComchekDraft.txt     File comdata_wait.sh     Text File inquireexpressCode.txt     File tcp-dump-11-12-am.pcapng    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Sometimes the ESB is unable to properly detect the remote connection close event and try to send application data on the same connection. When the back end server sends a [FIN,ACK], ESB sometimes sends a [FIN,ACK], and tear off the connection properly and sometimes sends just a [ACK] and try to send application data over a Half Closed TCP connection. Then the backend service merely resets the TCP connection. [1]

[1] https://docs.google.com/a/wso2.com/document/d/1ZtZH9_kqVU2z3OGuk2ia6IqGEdWvn4A1XIIHoRYKmPk/edit



 Comments   
Comment by Ravindra Ranwala [ 13/Dec/14 ]

We created a Reverse Proxy using HTTPCoreNIO 4.3.3 API. Then the issue could not be reproduced after a long run. The ESB is currently using HTTPCore NIO 4.2.4 version with the older API. We upgraded the HTTPCore in ESB to 4.3.3 while keeping the older API in action and which did not solve the issue. Based on these findings we may conclude that the older HTTPCore API causes this issue. As a solution we are planning to migrate our older HTTPCore API to the current 4.3.3 API. The purpose of this ticket is to migrate the HTTPCore API and check whether the issue is solved.

Comment by Ravindra Ranwala [ 19/Dec/14 ]

TCP Dump is attached here.





[ESBJAVA-3884] Login failure for secondary LDAP user store users Created: 08/Jul/15  Updated: 16/Jul/15

Status: In Progress
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: None

Type: Bug Priority: High
Reporter: Asanthi Kulasinghe Assignee: Asanthi Kulasinghe
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB 4.9.0 - ALPHA3
Operating System :Ubuntu 13.04
Java Version : 1.7.0
User Db - mysql


Attachments: PNG File RoleListOfUser.png     PNG File UserListOfRole.png     XML File second.xml     PNG File update_Role.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

When a user is created in a secondary LDAP user store and a role is assigned , the user is displayed under the 'User List of Role'.
But it is not displayed under the 'Role List of User'
Login fails these users.
Issues exists even after restart.

Note :This was tested while the primary user store was the default JDBC user store as well as the same LDAP user store as the primary user store. The issue was reproduced in both scenarios. But this issue does not occur for users created in the primary LDAP user store.

The following error exceptions occur when it is attempted to update the role list of the relevant user. A notification mentioning that the role is already assigned to the user is displayed.

[2015-07-08 13:17:45,554] ERROR - RPCInOnlyMessageReceiver User: sec490u7 already belongs to role: cn=sec490r7
org.wso2.carbon.user.mgt.common.UserAdminException: User: sec490u7 already belongs to role: cn=sec490r7
at org.wso2.carbon.user.mgt.UserRealmProxy.updateRolesOfUser(UserRealmProxy.java:1842)
at org.wso2.carbon.user.mgt.UserAdmin.addRemoveRolesOfUser(UserAdmin.java:650)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.user.mgt.stub.UserAdminStub.addRemoveRolesOfUser(UserAdminStub.java:4759)
at org.wso2.carbon.user.mgt.ui.UserAdminClient.addRemoveRolesOfUser(UserAdminClient.java:236)
at org.apache.jsp.user.edit_002duser_002droles_002dfinish_jsp._jspService(edit_002duser_002droles_002dfinish_jsp.java:192)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.wso2.carbon.user.core.UserStoreException: User: sec490u7 already belongs to role: cn=sec490r7
at org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager.doUpdateRoleListOfUser(ReadWriteLDAPUserStoreManager.java:1399)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateRoleListOfUser(AbstractUserStoreManager.java:1456)
at org.wso2.carbon.user.core.common.AbstractUserStoreManager.updateRoleListOfUser(AbstractUserStoreManager.java:1371)
at org.wso2.carbon.user.mgt.UserRealmProxy.updateRolesOfUser(UserRealmProxy.java:1837)
... 64 more
[2015-07-08 13:17:45,558] ERROR - UserAdminClient User: sec490u7 already belongs to role: cn=sec490r7
org.apache.axis2.AxisFault: User: sec490u7 already belongs to role: cn=sec490r7
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.RobustOutOnlyAxisOperation$RobustOutOnlyOperationClient.handleResponse(RobustOutOnlyAxisOperation.java:91)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.user.mgt.stub.UserAdminStub.addRemoveRolesOfUser(UserAdminStub.java:4759)
at org.wso2.carbon.user.mgt.ui.UserAdminClient.addRemoveRolesOfUser(UserAdminClient.java:236)
at org.apache.jsp.user.edit_002duser_002droles_002dfinish_jsp._jspService(edit_002duser_002droles_002dfinish_jsp.java:192)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:744)



 Comments   
Comment by Asanthi Kulasinghe [ 10/Jul/15 ]

The same issue is reproduced for secondary Active directory user stores

Comment by Chanaka Fernando [ 16/Jul/15 ]

Hi Asanthi,

I have tested this scenario with a secondary LDAP user store. When I am testing, It does not shows up in the 'Role list of User' until few seconds. But it appears after few seconds. Then I gave the relevant permissions to that role and I was able to log in with the new user without any issue. Please find the secondary user store file which I have used.


<?xml version="1.0" encoding="UTF-8"?>
<UserStoreManager class="org.wso2.carbon.user.core.ldap.ReadWriteLDAPUserStoreManager">
   <Property name="ConnectionName">cn=admin,dc=wso2,dc=com</Property>
   <Property name="ConnectionURL">ldap://*************</Property>
   <Property encrypted="true" name="ConnectionPassword">***************</Property>
            <Property name="UserSearchBase">ou=users,dc=wso2,dc=com</Property>
            <Property name="UserNameListFilter">(objectClass=person)</Property>
   <Property name="UserNameAttribute">uid</Property>
            <Property name="UserNameSearchFilter">(&amp;(objectClass=person)(uid=?))</Property>
	    <Property name="UserEntryObjectClass">inetOrgPerson</Property>
   <Property name="GroupEntryObjectClass">groupOfNames</Property>
   <Property name="ReadGroups">true</Property>
            <Property name="GroupSearchBase">ou=groups,dc=wso2,dc=com</Property>
   <Property name="GroupNameAttribute">cn</Property>
   <Property name="GroupNameListFilter">(objectClass=groupOfNames)</Property>
   <Property name="MembershipAttribute">member</Property>
            <Property name="GroupNameSearchFilter">(&amp;(objectClass=groupOfNames)(cn=?))</Property>
   <Property name="MaxUserNameListLength">100</Property>
   <Property name="MaxRoleNameListLength">100</Property>
   <Property name="UserRolesCacheEnabled">true</Property>
   <Property name="SCIMEnabled">false</Property>
   <Property name="Disabled">false</Property>
   <Property name="PasswordHashMethod">SHA</Property>
   <!--Property name="UserDNPattern">uid={0},ou=Users,dc=wso2,dc=org</Property-->
   <Property name="PasswordJavaScriptRegEx">^[\S]{5,30}$</Property>
   <Property name="UserNameJavaScriptRegEx">^[\S]{3,30}$</Property>
   <Property name="UserNameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$</Property>
   <Property name="RoleNameJavaScriptRegEx">^[\S]{3,30}$</Property>
   <Property name="RoleNameJavaRegEx">[a-zA-Z0-9._-|//]{3,30}$</Property>
   <Property name="WriteGroups">true</Property>
   <Property name="EmptyRolesAllowed">true</Property>
   <Property name="MemberOfAttribute"/>
   <Property name="ConnectionPoolingEnabled">false</Property>
   <Property name="DomainName">acbd</Property>
   <Property name="Description"/>
</UserStoreManager>

This file should be named as acbd.xml and place inside the ESB_HOME/repository/deployment/server/userstores/ directory.

Thanks,
Chanaka





[ESBJAVA-3119] APIs are active even when tenant is disabled. Created: 09/May/14  Updated: 16/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Nuwan Dias Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Currently APIs can be invoked even after a tenant is disabled. Need to give a 404 (similar to jarx_rs) when tenant is inactive and re-instantiate when the tenant becomes active again.



 Comments   
Comment by Malaka Silva [ 14/May/15 ]

This is the case not just with APIs, Also with proxies and sequences. It's not generating any event to capture this. Only way to do this is via a customer handler.

Comment by Kasun Indrasiri [ 16/Jul/15 ]

Tenant deactivation is currently not visible to the mediation layer. This will be an enhancement for the existing behavior.





[ESBJAVA-3688] Clean up Enrich Mediator Created: 08/May/15  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Srinath Perera Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Critical
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

I think we can get rid of most of the redundant attributes and support them through xpath only. For instance most of the operations that you do with enrich can be done using xpath attribute in both source and target. So, we will fully verify and fix these use cases while keeping support for existing syntax for backward compatibility.

<!--payload to property -->
<enrich>
<source xpath="//m0:getQuote/m0:request/m0:symbol/text()"
xmlns:m0="http://services.samples"/>
<target xpath="$ctx:PropName"/>
</enrich>

<!-- property to payload -->
<enrich>
<source xpath="$ctx:PropName"
xmlns:m0="http://services.samples"/>
<target xpath="//m0:Foo/"/>
</enrich>

See the thread "ESB Feedback: Improve Payload Factory and Improving Enrich" at arch@ for more info/






[ESBJAVA-2441] Unable to enable custom module in proxy configuration Created: 10/Sep/13  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: 4.5.1, 4.6.0, 4.7.0
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Thijs Volders Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

The synapse proxy configuration does not allow to specify which custom modules should be engaged upon deployment.

This introduces several challenges:
1) One cannot change the synapse configuration or a deploy a proxy service through the filesystem without manually engaging the module on the proxy through the admin-console.
2) When a CAR (with proxy service) is (re-)deployed manual actions are necessary through the console to engage the module on the proxy(ies).
3) When Carbon decides to undeploy a service and redeploy it later then the engaged module is no longer engaged thus messages are no longer properly processed. Again manual engagement is necessary.

This latter issue is rather problematic as I have seen situations where Carbon decided to undeploy the proxy under high load en redeploy it moments later. Unfortunately the module was gone after this redeployment thus causing invalid messages to go through as the module did not stop them...






[ESBJAVA-3361] Inconsistence fault handling for users and tenants Created: 30/Oct/12  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Stratos ESB
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Nuwan Wimalasekara Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File soap11_fault_code_Server_synapse.xml    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

same fault handling synapse configuration behave differently for users and tenant.

attached soap11_fault_code_Server_synapse.xml configuration make different fault messages for receiver. It works fine for users, but tenants It sees not.

Same configuration send fault message for users
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:soap11Env="http://schemas.xmlsoap.org/soap/envelope/">soap11Env:Server</faultcode>
<faultstring>Soap11FaultCodeServerTestCase</faultstring>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

for tenants
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Connection refused or failed for : localhost/127.0.0.1:9020, IO Exception occured : Connection refused</faultstring>
<detail>Connection refused or failed for : localhost/127.0.0.1:9020, IO Exception occured : Connection refused</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>



 Comments   
Comment by Kasun Indrasiri [ 09/Dec/12 ]

This is not a blocker, hence lowering the priority.





[ESBJAVA-2830] Mutual (SSL) authentication with proxy backend not possible. Created: 09/Dec/13  Updated: 19/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Janis Jansons Assignee: Jagath Ariyarathne
Resolution: Unresolved Votes: 0
Labels: ESB
Remaining Estimate: 1 day
Time Spent: Not Specified
Original Estimate: 1 day

Severity: Major
Estimated Complexity: Advanced
Test cases added: No

 Description   

There have been a couple discussions about this problem but seems like that some WSO2 developers just do not understand what people are trying to say.

It seems like it is NOT possible to use a client certificate wtih ESB to connect to a backend server.
(Yes, seems like you can enable client authentication for the ESB proxy itself (when a client with a certificate connects to ESB) but that is something else.)

Please see this thread: http://stackoverflow.com/questions/20215809/wso2-esb-proxy-backend-with-mutual-authentication/20217063?noredirect=1#comment30467962_20217063



 Comments   
Comment by Jagath Ariyarathne [ 19/Jul/15 ]

Mutual SSL implemented in WSO2 ESB is working fine with backend service. It uses certificates in both ESB and backend service to be validated each other at SSL handshake.

But the functionality mentioned in this issue is currently not supported. It requires to use the client's certificate to be validated at backend service as the ESB's certificates. Therefore it avoids use of ESB's default certificate and requires to use client's certificate instead.

Since it is an improvement to be done, type is changed as improvement and will be taken into consideration in a future release.

Current implementation and workarounds can be done are mentioned in stackoverflow thread mentioned in the issue.





[ESBJAVA-3959] Sending large message (>10k) to the ESB when FORCE_HTTP_1.0 is set to the backend respond with empty payload Created: 25/Jul/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Chanaka Fernando Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: XML File request.xml     Text File wire-log.txt    
Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: No

 Description   

When sending a 10k message to the sample axis2service back end with FORCE_HTTP_1.0 property set, ESB send back an empty response to the client even though it gets the proper response from the back end.


<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="ChunkingProxy"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <header name="Action" value="urn:getQuote"/>
         <property name="FORCE_HTTP_1.0" value="true" scope="axis2"/>
         <send>
            <endpoint>
               <address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
            </endpoint>
         </send>
      </inSequence>
   </target>
   <description/>
</proxy>






[ESBJAVA-2753] [EntitlementMediator] Once did some change in esb side, it took nearly 15min to update and execute the correct result for a XACML policy Created: 26/Nov/13  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Mediators
Affects Version/s: 4.8.0 Alpha
Fix Version/s: None

Type: Improvement Priority: High
Reporter: Suneth Ranasinghe Assignee: madhuranga bandara
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

I have changed the XACML policy (role) and try to invoke the given service which should not be permitted for the given user. But its allowing the user to access the service for nearly like 15mins.






[ESBJAVA-3973]  Management console URL is not redirecting to the login page Created: 28/Jul/15  Updated: 28/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta
Fix Version/s: None

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

wso2esb-4.9.0-Pre-BETA pack


Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

when we enter the https://10.100.5.40:9443/carbon/ URL on the browser,
it does not redirecting to the login page.






[ESBJAVA-3977] In tenant mode, ESB throws errors when referring sequences from configuration registry in CXF WS-RM Inbound endpoint Created: 28/Jul/15  Updated: 28/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta
Fix Version/s: None

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: prabath ariyarathna
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-Pre-BETA-SNAPSHOT
Java version : Oracle jdk 1.7.0
DB Version : embedded H2
OS : Ubuntu 14.04 LTS


Attachments: File RMIncn-sequence     XML File server.xml    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps to Recreate :

First create a tenant and login using that tenant

In the tenant mode,

1. Create a server.xml file in the below mentioned location by including the CXF spring configuration given in the document CXF WS-RM Inbound Protocol.
Location:
ESB-HOME/repository/conf/cxf/server.xml

2.create a sequence as RMIncn in "Configuration Registry" by including the sequence configuration given in the document.

3.Create a CXF_WS_RM inbound endpoint by including the below values.

Endpoint Name - cxf_protocol
Type - cxf_ws_rm
Sequence* - RMIncn
Error Sequence* - fault
Suspend* - false
inbound.cxf.rm.host* - localhost
inbound.cxf.rm.port* - 6667
inbound.cxf.rm.config-file* - repository/conf/cxf/server.xml

4. Invoke the RM client using below command.

ant stockquote -Dsymbol=IBM -Dmode=quote -Daddurl=http://localhost:6667 -Dwsrm=true

ESB throws below errors.

INFO - RMSoapInInterceptor Updating service model info in exchange
WARN - RMEndpoint MBeanServer not available.
ERROR - RMRequestCallable Sequence: conf:/RMIncn not found
ERROR - RMRequestCallable Sequence: conf:/RMIncn not found
ERROR - RMRequestCallable Sequence: conf:/RMIncn not found
ERROR - RMRequestCallable Sequence: conf:/RMIncn not found

And client throws below errors too.

[java] [2015-07-28 14:43:24,010] ERROR

{org.apache.sandesha2.SandeshaModule}

- Could not load module policies. Using default values.
[java] [2015-07-28 14:43:24,053] INFO

{org.apache.axis2.transport.mail.MailTransportSender}

- MAILTO Sender started
[java] [2015-07-28 14:43:24,061] INFO

{org.apache.axis2.transport.jms.JMSSender} - JMS Sender started
[java] [2015-07-28 14:43:24,061] INFO {org.apache.axis2.transport.jms.JMSSender}

- JMS Transport Sender initialized...
[java] Using WS-RM
[java] [2015-07-28 14:43:54,326] INFO

{org.apache.axis2.transport.http.HTTPSender}

- Unable to sendViaPost to urlhttp://localhost:5775
[java] java.net.SocketTimeoutException: Read timed out
[java] at java.net.SocketInputStream.socketRead0(Native Method)
[java] at java.net.SocketInputStream.read(SocketInputStream.java:152)
[java] at java.net.SocketInputStream.read(SocketInputStream.java:122)
[java] at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
[java] at java.io.BufferedInputStream.read(BufferedInputStream.java:254)
[java] at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)
[java] at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)
[java] at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)
[java] at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.readLine(MultiThreadedHttpConnectionManager.java:1413)
[java] at org.apache.commons.httpclient.HttpMethodBase.readStatusLine(HttpMethodBase.java:1973)
[java] at org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.java:1735)
[java] at org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1098)
[java] at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
[java] at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
[java] at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
[java] at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:630)
[java] at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:195)
[java] at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77)
[java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:451)
[java] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:278)
[java] at org.apache.axis2.engine.AxisEngine.resumeSend(AxisEngine.java:373)
[java] at org.apache.sandesha2.workers.SenderWorker.run(SenderWorker.java:354)
[java] at org.apache.sandesha2.msgprocessors.ApplicationMsgProcessor.processResponseMessage(ApplicationMsgProcessor.java:826)
[java] at org.apache.sandesha2.msgprocessors.ApplicationMsgProcessor.processOutMessage(ApplicationMsgProcessor.java:568)
[java] at org.apache.sandesha2.handlers.SandeshaOutHandler.invoke(SandeshaOutHandler.java:132)
[java] at org.apache.axis2.engine.Phase.invokeHandler(Phase.java:340)
[java] at org.apache.axis2.engine.Phase.invoke(Phase.java:313)
[java] at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:261)
[java] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:426)
[java] at org.apache.axis2.description.OutInAxisOperationClient.sendAsync(OutInAxisOperation.java:305)
[java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:221)
[java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:554)
[java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
[java] at samples.userguide.StockQuoteClient.executeClient(Unknown Source)
[java] at samples.userguide.StockQuoteClient.main(Unknown Source)






[ESBJAVA-3976] ESB throws warnings when invoking a RM client through CXF WS-RM Inbound Protocol Created: 28/Jul/15  Updated: 28/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta
Fix Version/s: None

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: prabath ariyarathna
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-Pre-BETA-SNAPSHOT
Java version : Oracle jdk 1.7.0
DB Version : embedded H2
OS : Ubuntu 14.04 LTS


Attachments: File RMIn-sequence     XML File server.xml    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps to Recreate :

1. Create a server.xml file in the below mentioned location by including the CXF spring configuration given in the document CXF WS-RM Inbound Protocol.
Location:
ESB-HOME/repository/conf/cxf/server.xml

2.create a sequence as RMIn by including the sequence configuration given in the document.

3.Create a CXF_WS_RM inbound endpoint by including the below values.

Endpoint Name - cxf_protocol
Type - cxf_ws_rm
Sequence* - RMIn
Error Sequence* - fault
Suspend* - false
inbound.cxf.rm.host* - localhost
inbound.cxf.rm.port* - 6667
inbound.cxf.rm.config-file* - repository/conf/cxf/server.xml

4. Invoke the RM client using below command.

ant stockquote -Dsymbol=IBM -Dmode=quote -Daddurl=http://localhost:6667 -Dwsrm=true

ESB throws following warning messages.

WARN - RMEndpoint MBeanServer not available.

WARN - RMOutInterceptor sequence not set for outbound message, skipped acknowledgement request.






[ESBJAVA-3978] In CXF WS-RM Inbound endpoint, "enableSSL" UI feature is not working. Created: 28/Jul/15  Updated: 28/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta
Fix Version/s: None

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: prabath ariyarathna
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-Pre-BETA-SNAPSHOT
Java version : Oracle jdk 1.7.0
DB Version : embedded H2
OS : Ubuntu 14.04 LTS


Attachments: XML File server.xml    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to Recreate :

1. Create a server.xml file in below location by including the configuration for a secure endpoint as given in the document.

ESB-HOME/repository/conf/cxf/server.xml

2. Create a CXF WS-RM Inbound endpoint in UI, using the below values.

Endpoint Name - cxf_protocol
Type - cxf_ws_rm
Sequence* - RMIncn
Error Sequence* - fault
Suspend* - false
inbound.cxf.rm.host* - localhost
inbound.cxf.rm.port* - 6667
inbound.cxf.rm.config-file* - repository/conf/cxf/server.xml
enable SSL - true

3. Save the inbound endpoint and go to edit view of the inbound endpoint again.

enable SSL has set to false (default value) .






[ESBJAVA-3979] Cannot add Custom Message Processors Created: 28/Jul/15  Updated: 28/Jul/15

Status: In Progress
Project: WSO2 ESB
Component/s: Message Processors
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: Ravindra Ranwala
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-Pre-BETA-SNAPSHOT | Have applied the attached pacth.
Java Version : Java 1.8.0_05
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2
MB : ActiveMQ 5.10


Attachments: PNG File Selection_243.png     Zip Archive patch0999.zip    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce

1. Navigate to message processor section and click on Add Custom Message Processor.
2. Now add relevent information and click on save.

Issue : A UI validation error is given saying "Provider Field Can not be empty". What ever you add to this field u cannot save the processor. No error indicated in the back-end. Refer the screenshot attached.

Note : Have applied the attached Patch which was provided for a blocking issue.






[ESBJAVA-3980] File polling proxy creating too many ftp connections Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: High
Reporter: Malaka Silva Assignee: viraj senevirathne
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Create VFS file polling proxy with following configurations and add at least 300 files to be processed to polling directory. VFS proxy use all the available ftp connections and leaving them open forever. This issue is causing connection unavailability and failing to read files from remote ftp server.

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="StockQuoteProxy"
transports="vfs"
startOnLoad="true"
trace="disable">
<description/>
<target>
<endpoint>
<address uri="http://10.100.5.195:9000/services/SimpleStockQuoteService"
format="soap12"/>
</endpoint>
<outSequence>
<property name="transport.vfs.ReplyFileName"
expression="fn:concat(fn:substring-after(get-property('MessageID'), 'urn:uuid:'), '.xml')"
scope="transport"/>
<property name="OUT_ONLY" value="true"/>
<send>
<endpoint>
<address uri="vfs:ftp://vijithae:xxxx@10.100.5.195/Users/vijithae/SFTPTest/out"/>
</endpoint>
</send>
</outSequence>
</target>
<publishWSDL uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
<parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
<parameter name="transport.PollInterval">15</parameter>
<parameter name="transport.vfs.MoveAfterProcess">vfs:ftp://vijithae:xxxx@10.100.5.195/Users/vijithae/SFTPTest/original</parameter>
<parameter name="transport.vfs.FileURI">vfs:ftp://vijithae:xxxx@10.100.5.195/Users/vijithae/SFTPTest/in?vfs.passive=true</parameter>
<parameter name="transport.vfs.MoveAfterFailure">vfs:ftp://vijithae:xxxx@10.100.5.195/Users/vijithae/SFTPTest/failed</parameter>
<parameter name="transport.vfs.FileNamePattern">.*\.xml</parameter>
<parameter name="transport.vfs.Locking">disable</parameter>
<parameter name="transport.vfs.ContentType">text/xml</parameter>
<parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
</proxy>

In addition to that it is important "UserDirIsRoot" parameter. Because in VFS-2.0, FTP uses the root as starting directory, but SFTP uses the user home directory as the starting directory. There are other parameters like the connection timeout for FTP, which is not set by default and so a proxy can be blockeker






[ESBJAVA-3989] Exception thrown when OUT_ONLY is set and a response is received for an API in Tenant Mode Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: API
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-BETA-SNAPSHOT
Java Version : Java 1.8.0_05
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to Reproduce

1. Login to a tenant and create the following API.

<api xmlns="http://ws.apache.org/ns/synapse" name="API01" context="/t/test.com/api">
   <resource methods="POST GET">
      <inSequence>
         <property name="OUT_ONLY" value="true"/>
         <send>
            <endpoint key="POSTEP"/>
         </send>
      </inSequence>
      <outSequence>
         <send/>
      </outSequence>
   </resource>
</api>

2. Now invoke the API.

Issue : Following exception thrown when a response is received from the back-end. ESB doesn't send any response to the client.

 ERROR - NativeWorkerPool Uncaught exception
java.lang.UnsupportedOperationException: Not yet implemented
	at org.apache.axis2.description.OutOnlyAxisOperation.getMessage(OutOnlyAxisOperation.java:124)
	at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:140)
	at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:82)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:245)
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Refer the following WIRE logs.

[2015-07-29 21:19:41,418] DEBUG - wire >> "POST /t/test.com/api HTTP/1.1[\r][\n]"
[2015-07-29 21:19:41,418] DEBUG - wire >> "Connection: keep-alive[\r][\n]"
[2015-07-29 21:19:41,418] DEBUG - wire >> "Content-Type: application/json[\r][\n]"
[2015-07-29 21:19:41,418] DEBUG - wire >> "Content-Length: 575[\r][\n]"
[2015-07-29 21:19:41,418] DEBUG - wire >> "Host: 10.100.5.112:8280[\r][\n]"
[2015-07-29 21:19:41,418] DEBUG - wire >> "User-Agent: Apache-HttpClient/4.2.6 (java 1.5)[\r][\n]"
[2015-07-29 21:19:41,418] DEBUG - wire >> "[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "{[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "    "menu": {[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "        "id": "file",[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "        "value": "File",[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "        "popup": {[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "            "menuitem": [[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                {[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                    "value": "New",[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                    "onclick": "XXXXXXXXXXXXXXXXXXXXXXXXXXX"[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                },[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                {[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                    "value": "Open",[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                    "onclick": "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                },[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                {[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                    "value": "Close",[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                    "onclick": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "                }[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "            ][\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "        }[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "    }[\r][\n]"
[2015-07-29 21:19:41,419] DEBUG - wire >> "}"
[2015-07-29 21:19:41,422] DEBUG - wire << "POST /postesb HTTP/1.1[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "Content-Type: application/json; charset=UTF-8[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "Transfer-Encoding: chunked[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "Host: localhost:8080[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "23f[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "{[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "    "menu": {[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "        "id": "file",[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "        "value": "File",[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "        "popup": {[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "            "menuitem": [[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                {[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                    "value": "New",[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                    "onclick": "XXXXXXXXXXXXXXXXXXXXXXXXXXX"[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                },[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                {[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                    "value": "Open",[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                    "onclick": "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                },[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                {[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                    "value": "Close",[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                    "onclick": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "                }[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "            ][\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "        }[\r][\n]"
[2015-07-29 21:19:41,422] DEBUG - wire << "    }[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire << "}[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire << "0[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire << "[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire >> "HTTP/1.1 201 Created[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire >> "Content-Type: text/xml[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire >> "Content-Length: 53[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire >> "Server: Jetty(6.1.26)[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire >> "[\r][\n]"
[2015-07-29 21:19:41,423] DEBUG - wire >> "<xml1>The Resource Not Created Succesfully!!!!</xml1>"
[2015-07-29 21:19:41,423] ERROR - NativeWorkerPool Uncaught exception
java.lang.UnsupportedOperationException: Not yet implemented
	at org.apache.axis2.description.OutOnlyAxisOperation.getMessage(OutOnlyAxisOperation.java:124)
	at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:140)
	at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:82)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:245)
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)






[ESBJAVA-3990] Issue in proxy invocation via an HTTP Inbound endpoint, when ESB has a web context root defined. Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Inbound Endpoints
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Sandapa Handakumbura Assignee: Chanaka Fernando
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : ESB 4.9.0 BETA SNAPSHOT - 29-07-2015 (standalone)
Java version : jdk1.8.0_45


Severity: Major
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

Web context root : /qa
Request : http://localhost:8285/services/Proxy1

Requests sent to a proxy via this HTTP inbound endpoint without the web context root goes to main sequence even when a sequence in defined.

<inboundEndpoint name="HTTP_EP1" onError="fault" protocol="http"
sequence="InboundEPSeq" suspend="false">
<parameters>
<parameter name="inbound.http.port">8285</parameter>
<parameter name="dispatch.filter.pattern">^(./services/.|.*)$</parameter>
</parameters>
</inboundEndpoint>






[ESBJAVA-3991] If there is a scheduled task(not running) in super tenant, that task is run once when other tenants login to the management console. Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Scheduled Tasks
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Sandapa Handakumbura Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : ESB 4.9.0 BETA SNAPSHOT - 29-07-2015 (standalone)
Java version : jdk1.8.0_45


Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Task in super tenant :

<task class="org.apache.synapse.startup.tasks.MessageInjector" group="synapse.simple.quartz" name="CheckPrice">
<property name="to" value="http://localhost:9000/services/SimpleStockQuoteService"/>
<property name="soapAction" value="urn:getQuote"/>
<property name="message">
<m0:getQuote xmlns:m0="http://services.samples" xmlns="http://ws.apache.org/ns/synapse">
<m0:request>
<m0:symbol>IBM</m0:symbol>
</m0:request>
</m0:getQuote>
</property>
<trigger interval="5"/>
</task>

Backend log when another tenant logs in (during tenant loading):

[2015-07-29 23:22:30,666]  INFO - CarbonAuthenticationUtil 'admin@qa.com [2]' logged in at [2015-07-29 23:22:30,666+0530]
[2015-07-29 23:22:30,670]  INFO - TenantAxisConfigurator Creating tenant AxisConfiguration for tenant: qa.com[2]
[2015-07-29 23:22:30,709]  INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2015-07-29 23:22:30,710]  INFO - UserStoreConfigurationDeployer User Store Configuration Deployer initiated.
[2015-07-29 23:22:30,775]  INFO - DeploymentInterceptor Deploying Axis2 service: wso2carbon-sts {qa.com[2]}
[2015-07-29 23:22:30,782]  INFO - DeploymentEngine Deploying Web service: org.wso2.carbon.sts - 
[2015-07-29 23:22:30,783]  INFO - DeploymentInterceptor Deploying Axis2 service: wso2carbon-sts {qa.com[2]}
[2015-07-29 23:22:30,791]  INFO - PermissionUpdater Permission cache updated for tenant 2
[2015-07-29 23:22:30,792]  INFO - TenantServiceBusInitializer Intializing the ESB Configuration for the tenant domain : qa.com
[2015-07-29 23:22:30,864]  INFO - SynapseControllerFactory Using Synapse home : /home/sandapa/software/esb/wso2esb-4.9.0-BETA-SNAPSHOT/repository/tenants/2
[2015-07-29 23:22:30,864]  INFO - SynapseControllerFactory Using synapse.xml location : /home/sandapa/software/esb/wso2esb-4.9.0-BETA-SNAPSHOT/repository/tenants/2/synapse-configs/default
[2015-07-29 23:22:30,864]  INFO - SynapseControllerFactory Using server name : synapse.qa.com
[2015-07-29 23:22:30,865]  INFO - SynapseControllerFactory The timeout handler will run every : 15s
[2015-07-29 23:22:30,865]  INFO - Axis2SynapseController Initializing Synapse at : Wed Jul 29 23:22:30 IST 2015
[2015-07-29 23:22:30,866]  INFO - CarbonSynapseController Loading the mediation configuration from the file system
[2015-07-29 23:22:30,866]  INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : /home/sandapa/software/esb/wso2esb-4.9.0-BETA-SNAPSHOT/repository/tenants/2/synapse-configs/default
[2015-07-29 23:22:30,866]  INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2015-07-29 23:22:30,873]  INFO - AbstractQuartzTaskManager Task scheduled: [-1234][ESB_TASK][CheckPrice]
[2015-07-29 23:22:30,873]  INFO - NTaskTaskManager Initialized task manager. Tenant [2]
[2015-07-29 23:22:30,873]  INFO - LogMediator To: http://localhost:9000/services/SimpleStockQuoteService, WSAction: urn:getQuote, SOAPAction: urn:getQuote, MessageID: urn:uuid:fc6bbfef-d9cb-41ec-8fea-206322cda058, Direction: request, MAIN_SEQUENCE_INVOKED = $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><m0:getQuote xmlns:m0="http://services.samples">
         <m0:request>
            <m0:symbol>IBM</m0:symbol>
         </m0:request>
      </m0:getQuote></soapenv:Body></soapenv:Envelope>
[2015-07-29 23:22:30,875]  INFO - SynapseConfigurationBuilder Loaded Synapse configuration from the artifact repository at : /home/sandapa/software/esb/wso2esb-4.9.0-BETA-SNAPSHOT/repository/tenants/2/synapse-configs/default
[2015-07-29 23:22:30,876]  INFO - Axis2SynapseController Loading mediator extensions...
[2015-07-29 23:22:30,877]  INFO - Axis2SynapseController Deploying the Synapse service...
[2015-07-29 23:22:30,877]  INFO - Axis2SynapseController Deploying Proxy services...
[2015-07-29 23:22:30,877]  INFO - Axis2SynapseController Deploying EventSources...
[2015-07-29 23:22:30,881]  INFO - ServerManager Server ready for processing...
[2015-07-29 23:22:30,900] ERROR - Axis2Sender Connection:Keep-Alive,Content-Type:application/soap+xml; charset=UTF-8; action="urn:getQuoteResponse",Date:Wed, 29 Jul 2015 17:52:30 GMT,Transfer-Encoding:chunked,<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:MessageID>urn:uuid:02c9713e-e73f-4c2b-8eea-79247bf64c38</wsa:MessageID></soapenv:Header><soapenv:Body/></soapenv:Envelope> Unexpected error sending message back
org.apache.axis2.AxisFault: Unable to determine wsa:Action for outbound message
	at org.apache.axis2.handlers.addressing.AddressingOutHandler$WSAHeaderWriter.processWSAAction(AddressingOutHandler.java:311)
	at org.apache.axis2.handlers.addressing.AddressingOutHandler$WSAHeaderWriter.writeHeaders(AddressingOutHandler.java:228)
	at org.apache.axis2.handlers.addressing.AddressingOutHandler.doInvoke(AddressingOutHandler.java:134)
	at org.apache.axis2.handlers.AbstractTemplatedHandler.invoke(AbstractTemplatedHandler.java:44)
	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:208)
	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:430)
	at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:102)
	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81)
	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48)
	at org.apache.synapse.mediators.filters.OutMediator.mediate(OutMediator.java:61)
	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:81)
	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:48)
	at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:138)
	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:272)
	at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:525)
	at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:172)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:245)
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-29 23:22:30,907]  INFO - LogMediator To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:02c9713e-e73f-4c2b-8eea-79247bf64c38, Direction: response, MESSAGE = Executing default 'fault' sequence, ERROR_CODE = 0, ERROR_MESSAGE = Connection:Keep-Alive,Content-Type:application/soap+xml; charset=UTF-8; action="urn:getQuoteResponse",Date:Wed, 29 Jul 2015 17:52:30 GMT,Transfer-Encoding:chunked,<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:MessageID>urn:uuid:02c9713e-e73f-4c2b-8eea-79247bf64c38</wsa:MessageID></soapenv:Header><soapenv:Body/></soapenv:Envelope> Unexpected error sending message back, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><ns:getQuoteResponse xmlns:ns="http://services.samples"><ns:return xmlns:ax21="http://services.samples/xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ax21:GetQuoteResponse"><ax21:change>3.7895413815290753</ax21:change><ax21:earnings>12.470443053547749</ax21:earnings><ax21:high>-55.266291871329635</ax21:high><ax21:last>55.30114522624073</ax21:last><ax21:lastTradeTimestamp>Wed Jul 29 23:22:30 IST 2015</ax21:lastTradeTimestamp><ax21:low>57.85587718850292</ax21:low><ax21:marketCap>5375359.88499189</ax21:marketCap><ax21:name>IBM Company</ax21:name><ax21:open>56.70220563275479</ax21:open><ax21:peRatio>24.5701172383097</ax21:peRatio><ax21:percentageChange>6.033904151306016</ax21:percentageChange><ax21:prevClose>62.80413620274103</ax21:prevClose><ax21:symbol>IBM</ax21:symbol><ax21:volume>6887</ax21:volume></ns:return></ns:getQuoteResponse></soapenv:Body></soapenv:Envelope>
[2015-07-29 23:22:30,911]  WARN - MediationStatisticsServiceComponent Couldn't find the mediation statistics store for tenant id: 2
[2015-07-29 23:22:30,960]  INFO - TenantAxisUtils Loaded tenant qa.com in 292 ms





[ESBJAVA-3992] In tenant mode, proxy services can be invoked with/without '/services' in the invocation URL and also URLs with /<anyString>/t/domain/proxyName. Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: High
Reporter: Sandapa Handakumbura Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : ESB 4.9.0 BETA SNAPSHOT - 29-07-2015 (standalone)
Java version : jdk1.8.0_45


Severity: Critical
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

Proxy invocation URL given in the dashboard:
http://localhost:8280/services/t/moon.com/Proxy1

But can be invoked successfully using both URL these URLS :
http://localhost:8280/services/t/moon.com/Proxy1
http://localhost:8280/<anyString>/t/moon.com/Proxy1
http://localhost:8280/t/moon.com/Proxy1

If there's a webcontext root defined (eg: /qa) ;

Proxy invocation URL given in the dashboard:
http://localhost:8280/qa/services/t/moon.com/Proxy1

But can be invoked successfully using all URL these URLS :
http://localhost:8280/qa/services/t/moon.com/Proxy1
http://localhost:8280/services/t/moon.com/Proxy1
http://localhost:8280/<anyString>/t/moon.com/Proxy1
http://localhost:8280/t/moon.com/Proxy1






[ESBJAVA-3988] [Tenant] 202 - Accepted, Not sent when invoking APIs in Tenant environment Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: API
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-BETA-SNAPSHOT
Java Version : Java 1.8.0_05
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to Recreate

1. Login to a tenant and create the following API.

<api xmlns="http://ws.apache.org/ns/synapse" name="API01" context="/t/test.com/api">
   <resource methods="POST GET">
      <inSequence>
         <log/>
      </inSequence>
   </resource>
</api>

2. Now invoke the API.

Issue : When the message is accepted ESB should send a 202. This is never sent and client keeps on waiting. Wire logs are as follows.

[2015-07-29 21:12:47,116] DEBUG - wire >> "POST /t/test.com/api HTTP/1.1[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "Connection: keep-alive[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "Content-Type: application/json[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "Content-Length: 575[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "Host: 10.100.5.112:8280[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "User-Agent: Apache-HttpClient/4.2.6 (java 1.5)[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "[\r][\n]"
[2015-07-29 21:12:47,116] DEBUG - wire >> "{[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "    "menu": {[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "        "id": "file",[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "        "value": "File",[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "        "popup": {[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "            "menuitem": [[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                {[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                    "value": "New",[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                    "onclick": "XXXXXXXXXXXXXXXXXXXXXXXXXXX"[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                },[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                {[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                    "value": "Open",[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                    "onclick": "YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY"[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                },[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                {[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                    "value": "Close",[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                    "onclick": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ"[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "                }[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "            ][\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "        }[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "    }[\r][\n]"
[2015-07-29 21:12:47,117] DEBUG - wire >> "}"
[2015-07-29 21:12:47,195]  INFO - LogMediator To: local://axis2services/api, MessageID: urn:uuid:64bbdc9e-3c01-4f76-8247-be1bd507097d, Direction: request





[ESBJAVA-3987] Startup error when catalina-server.xml keystore password is not encrypted when the default keystore is changed Created: 29/Jul/15  Updated: 29/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta
Fix Version/s: None

Type: Bug Priority: High
Reporter: Asanthi Kulasinghe Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB 4.9.0 Pre-BETA
Ubuntu 13.04
JRE 1.7.0_45


Attachments: XML File carbon.xml     XML File catalina-server.xml     File cipher-text.properties     File cipher-tool.properties     File client-truststore.jks     File esb490.jks     File secret-conf.properties    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Change default keystore and apply secure vault.
Do not apply secure vault to keystore password in the catalina-server.xml
Start the server.
The following exception occurs

[2015-07-29 15:07:18,690] FATAL - TomcatBundleActivator Error while starting server NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
org.w3c.dom.DOMException: NOT_FOUND_ERR: An attempt is made to reference a node in a context where it does not exist.
at org.apache.xerces.dom.AttributeMap.internalRemoveNamedItem(Unknown Source)
at org.apache.xerces.dom.AttributeMap.removeNamedItem(Unknown Source)
at org.wso2.carbon.tomcat.internal.ServerManager.init(ServerManager.java:85)
at org.wso2.carbon.tomcat.internal.TomcatBundleActivator.start(TomcatBundleActivator.java:45)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(AccessController.java:330)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)






[ESBJAVA-1564] Gracefully Restart server does not wait until server to persist synapse configuration in to file system. Created: 03/Sep/12  Updated: 07/Oct/12

Status: Open
Project: WSO2 ESB
Component/s: Core Engine
Affects Version/s: 4.5.0 M5
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Nuwan Wimalasekara Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

I upload a synapse configuration which has one proxy service which use groovy script. after test Groovy.jar is removed from class path and upload a new synapse configuration which has not that proxy service. I let 5 sec to deploy new synapse and restart serve gracefully.
when restarting server i got following error and server does not responding any more even if it says carbon server started.
the problem is that proxy service does not delete from file system. when ESB deploying proxy service again error occurred because of no grrovy.jar in classpath.

if we make a much delay scenario get passed. restarting server does not wait server to delete proxy from file system.

Refer Test case:
https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0/products/esb/4.5.0/modules/integration/tests/src/test/java/org/wso2/carbon/esb/mediator/test/script/GroovySupportWithinProxyTestCase.java

ERROR

[2012-09-03 12:05:19,629] INFO - Axis2SynapseController Loading mediator extensions...
[2012-09-03 12:05:19,633] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - [2012-09-03 12:05:19,633] INFO - CarbonSynapseController Loading the mediation configuration from the file system
[2012-09-03 12:05:19,635] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- [2012-09-03 12:05:19,635] INFO - MultiXMLConfigurationBuilder Building synapse configuration from the synapse artifact repository at : ././repository/deployment/server/synapse-configs/default
[2012-09-03 12:05:19,636] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - [2012-09-03 12:05:19,636] INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2012-09-03 12:05:19,720] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- [2012-09-03 12:05:19,719] FATAL - ServiceBusInitializer Failed to initialize ESB due to a fatal error
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - java.lang.NoClassDefFoundError: groovy/lang/MissingMethodException
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at com.sun.script.groovy.GroovyScriptEngineFactory.getScriptEngine(GroovyScriptEngineFactory.java:90)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at javax.script.ScriptEngineManager.getEngineByExtension(ScriptEngineManager.java:256)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:452)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:315)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.mediators.bsf.ScriptMediator.<init>(ScriptMediator.java:134)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.mediators.bsf.ScriptMediatorFactory.createSpecificMediator(ScriptMediatorFactory.java:102)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:89)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:192)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:69)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:172)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.config.xml.SynapseXMLConfigurationFactory.defineProxy(SynapseXMLConfigurationFactory.java:142)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.createProxyServices(MultiXMLConfigurationBuilder.java:225)
[2012-09-03 12:05:19,721] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.config.xml.MultiXMLConfigurationBuilder.getConfiguration(MultiXMLConfigurationBuilder.java:130)
[2012-09-03 12:05:19,721] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:100)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:443)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.wso2.carbon.mediation.initializer.CarbonSynapseController.createSynapseConfiguration(CarbonSynapseController.java:167)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.apache.synapse.ServerManager.start(ServerManager.java:177)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.initESB(ServiceBusInitializer.java:412)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.wso2.carbon.mediation.initializer.ServiceBusInitializer.activate(ServiceBusInitializer.java:172)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at java.lang.reflect.Method.invoke(Method.java:597)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
[2012-09-03 12:05:19,722] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
[2012-09-03 12:05:19,722] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.wso2.carbon.event.core.internal.builder.EventBrokerHandler.startEventBroker(EventBrokerHandler.java:57)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.wso2.carbon.event.core.internal.builder.EventBrokerBuilderDS.activate(EventBrokerBuilderDS.java:72)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2012-09-03 12:05:19,723] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[2012-09-03 12:05:19,723] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at java.lang.reflect.Method.invoke(Method.java:597)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:252)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:346)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:588)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:196)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:328)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:221)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:104)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
[2012-09-03 12:05:19,724] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
[2012-09-03 12:05:19,724] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:503)
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:289)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:118)
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- Caused by: java.lang.ClassNotFoundException: groovy.lang.MissingMethodException
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
[2012-09-03 12:05:19,725] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
[2012-09-03 12:05:19,725] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- ... 70 more
[2012-09-03 12:05:19,727] INFO

{org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler} - [2012-09-03 12:05:19,727] INFO - RuleEngineConfigDS Successfully registered the Rule Config service
[2012-09-03 12:05:20,490] INFO {org.wso2.carbon.automation.core.utils.coreutils.InputStreamHandler}

- [2012-09-03 12:05:20,490] INFO - CarbonUIServiceComponent Mgt Console URL : https://10.100.3.190:9443/carbon/
[2012-09-03 12:05:23,053] INFO

{org.wso2.carbon.automation.core.utils.ClientConnectionUtil} - Waiting until server starts on port 9443
[2012-09-03 12:05:24,054] INFO {org.wso2.carbon.automation.core.utils.ClientConnectionUtil}

- Waiting until server starts on port 9443






[ESBJAVA-1555] Invalid schemaLocation appears in WSDL when proxy service endpoints are customized with ServiceURI parameter. Created: 30/Aug/12  Updated: 07/Oct/12

Status: Open
Project: WSO2 ESB
Component/s: Core Engine
Affects Version/s: 4.0.3
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Ramith Jayasinghe Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

How to reproduce:

1. Get a wsdl with schema imports.
2. Save them (wsdl and xsd files) in a embedded registry (either config registry or governance)
3. Define a proxy service using this wsdl.
4. customize the endpoint of the proxy service using ServiceURI
5. Load the WSDL of the proxy service from SOAP UI and notice SOAP UI complains that it can create the project.
Also notice that 'try it' UI seems to work.

for example:
with following proxy definition:

<proxy name="CustProxy" transports="http" startOnLoad="true" trace="disable">
<target>
<endpoint>
<address uri="http://localhost:8280/services/calculatorImportSchema"/>
</endpoint>
<outSequence>
<send/>
</outSequence>
</target>
<publishWSDL key="conf:/trunk/calculatorImportSchema.wsdl">
<resource location="SCHEMA_LOCATION" key="conf:/trunk/calculator.xsd"/>
</publishWSDL>
<parameter name="ServiceURI">/test/custom</parameter>
</proxy

WSDL of proxy service will incorrectly point to:
http://localhost:8280/test/custom/CustProxy?xsd=calculator.xsd






[ESBJAVA-2372] File Encoding problem in Sequence Mediator ( UTF-8 Conversion error in windows env ) Created: 25/Jul/13  Updated: 25/Jul/13

Status: Open
Project: WSO2 ESB
Component/s: Mediators
Affects Version/s: 4.6.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: jayalal kahandawa Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7


Attachments: Text File RefProxyFile_SequenceMediator_Error.log     XML File wronginput_002_GPV.xml    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

We have a proxy configuration which reads a file and then calls a webservice. The following configuration shows only the relevant parts for the description of the problem:

<proxy xmlns="http://ws.apache.org/ns/synapse" name="RefProxyFile" transports="vfs" statistics="enable" trace="enable" startOnLoad="true">
<target>
<inSequence>
<log category="INFO" level="full" separator="," />
<send>
...
</send>
</inSequence>
<outSequence>
...
</outSequence>
<faultSequence>
...
</faultSequence>
</target>
<parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
<parameter name="transport.PollInterval">10</parameter>
<parameter name="transport.vfs.FileURI">file:///C:/temp/in&lt;/parameter>
<parameter name="transport.vfs.MoveAfterProcess">file:///C:/temp/processing&lt;/parameter>
<parameter name="transport.vfs.FailedRecordNextRetryDuration">1000</parameter>
<parameter name="transport.vfs.MoveAfterFailure">file:///C:/temp/failed_io&lt;/parameter>
<parameter name="transport.vfs.Locking">true</parameter>
<parameter name="transport.vfs.FileNamePattern">*.xml</parameter>
<parameter name="transport.vfs.ContentType">application/xml;charset="UTF-8"</parameter>
<parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
<parameter name="transport.vfs.MaxRetryCount">2</parameter>
</proxy>

In the normal case, if the encoding of the input file is wrong, then the vfs-listener catches the exception and moves the file (transport.vfs.MoveAfterFailure).
In some cases, the vfs-listener can read the input file, but the SequenceMediator crashes because of a wrong encoding. This is the case with the attached xml-file "wronginput_002_GPV.xml".
Exception:
ERROR - SequenceMediator Error while building message
[com.ctc.wstx.exc.WstxLazyException] com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 start byte 0xfc (at char #136, byte #127)
at com.ctc.wstx.exc.WstxLazyException.throwLazily(WstxLazyException.java:45)

The complete Stacktrace is in attached File "RefProxyFile_SequenceMediator_Error.log".

If this error happens, the inSequence or faultSequence is not called, so in the proxy configuration it is not possible to react on it.
The expected behavior is, that all encoding problems with input files are detected by the vfs-listener and the action "transport.vfs.MoveAfterFailure" processed.
Is this a bug in the vfs-listener?






[ESBJAVA-3153] Digest Password verification asks for clear text password Created: 11/Jun/14  Updated: 20/Jun/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Ritesh Gupta Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: ESB, identityserver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Critical
Estimated Complexity: Moderate
Test cases added: No

 Description   

To secure WSO2 ESB 4.8.1 Custom Proxy using UsernameToken Digest Password (WS-Security), requires a clear text password to be set using PasswordCallback handler. This is a security flaw.

We are using WSO2 Identity Server for user accounts and access management. Since ESB (Rampart) needs a clear text password, there is no way to retreive this.



 Comments   
Comment by Ritesh Gupta [ 20/Jun/14 ]

Hi,

Till the time, this is resolved, is there any alternate way where we can authenticate a user using Password Digest considering the fact that the user credentials are in WSO2 Identity Server?

Any temporary solution will be very helpful?

Thanks





[ESBJAVA-2160] Problem with receiving messages that have repeating groups in FIX 5.0 Created: 24/Jun/13  Updated: 24/Jun/13

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Rajeeva Uthayasangar Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Prior to FIX 5.0, other versions handles only one dictionary which can be identified from Begin String of FIX message.

But FIX 5.0 uses two dictionaries as session dictionary and application dictionary. Session dictionary can be identified from Begin string but application dictionary should be identified from config file and handled to identified repeating group.






[ESBJAVA-1754] Iterate Mediator operation scope not functioning properly with high concurrency Created: 10/Jan/13  Updated: 23/May/13

Status: Open
Project: WSO2 ESB
Component/s: Mediators
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Kasun Indrasiri Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Can reproduce with the following configuration:

<?xml version="1.0" encoding="UTF-8"?><definitions xmlns="http://ws.apache.org/ns/synapse">
<registry provider="org.wso2.carbon.mediation.registry.WSO2Registry">
<parameter name="cachableDuration">15000</parameter>
</registry>
<proxy name="aggregateMediatorTestProxy" transports="https http" startOnLoad="true" trace="disable">
<description/>
<target>
<inSequence>
<property name="counter" value="0" scope="operation"/>
<iterate xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" xmlns:m0="http://services.samples" id="iterate1" preservePayload="true" attachPath="//m0:getQuotes" expression="//m0:getQuotes/m0:getQuote"
sequential="true">
<target>
<sequence>

<log level="full">

<property name="target1" value="***********After 1st Iterate before 2nd Iterate************"/>
</log>
<iterate id="iterate2" preservePayload="true" attachPath="//m0:getQuote" expression="//m0:getQuotes/m0:getQuote/m0:request">
<target sequence="anon">
<sequence>
<property name="counter" expression="get-property('operation','counter') + 1" scope="operation"/>
<log level="custom">
<property name="printingCount" expression="get-property('operation','counter')"/>
</log>
<payloadFactory>
<format>
<m0:getQuote>
<m0:request>
<m0:symbol>WSO2 $1</m0:symbol>
</m0:request>
</m0:getQuote>
</format>
<args>
<arg expression="get-property('operation','counter')"/>
</args>
</payloadFactory>
<log level="full" category="DEBUG">
<property name="target1" value="***********after payload factory************"/>
</log>
<send>
<endpoint>
<address uri="http://localhost:9000/services/SimpleStockQuoteService"/>
</endpoint>
</send>
</sequence>
</target>
</iterate>
</sequence>
</target>
</iterate>
</inSequence>
<outSequence>
<aggregate id="iterate2">
<completeCondition>
<messageCount min="-1" max="-1"/>
</completeCondition>
<onComplete xmlns:ns="http://org.apache.synapse/xsd" xmlns:ns3="http://org.apache.synapse/xsd" xmlns:m0="http://services.samples" expression="//m0:getQuoteResponse">
<log level="custom">
<property name="messageLog" value="****Aggregating****"/>
</log>
<send/>
</onComplete>
</aggregate>
</outSequence>
</target>
</proxy>
<sequence name="fault">
<log level="full">
<property name="MESSAGE" value="Executing default 'fault' sequence"/>
<property name="ERROR_CODE" expression="get-property('ERROR_CODE')"/>
<property name="ERROR_MESSAGE" expression="get-property('ERROR_MESSAGE')"/>
</log>
<drop/>
</sequence>
<sequence name="main">
<in>
<sequence key="IterateMediatorSequence"/>
</in>
<out>
<sequence key="IteratorAggregateSequence"/>
</out>
</sequence>
</definitions>






[ESBJAVA-2154] [intermittent] {org.wso2.carbon.security.config.SecurityConfigAdmin} - Error while reading persisted data Created: 24/Jun/13  Updated: 22/Nov/13

Status: Open
Project: WSO2 ESB
Component/s: Core Engine
Affects Version/s: 4.7.0 Alpha
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Nirodha Gallage Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

alpha 20-06 pack, cluster setup, svn depsync


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Get the following exception intermittently. There are no exact steps to reproduce.

TID: [0] [ESB] [2013-06-24 12:53:38,701] INFO

{org.apache.axis2.clustering.tribes.TribesMembershipListener} - New member 192.168.4.54:4002(wso2.esb.qa.domain) joined cluster. {org.apache.axis2.clustering.tribes.TribesMembershipListener}

TID: [0] [ESB] [2013-06-24 12:53:38,990] ERROR

{org.wso2.carbon.security.config.SecurityConfigAdmin} - Error while reading persisted data {org.wso2.carbon.security.config.SecurityConfigAdmin}

org.wso2.carbon.core.persistence.PersistenceException: A transaction is already started for this service group. Nested transactions are no longer supported in this persistence model - CalloutSampleProxy
at org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager.beginTransaction(ServiceGroupFilePersistenceManager.java:71)
at org.wso2.carbon.security.config.SecurityConfigAdmin.getCurrentScenario(SecurityConfigAdmin.java:208)
at org.wso2.carbon.service.mgt.ServiceAdmin.getSecurityScenario(ServiceAdmin.java:1076)
at org.wso2.carbon.service.mgt.ServiceAdmin.listServices(ServiceAdmin.java:587)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
TID: [0] [ESB] [2013-06-24 12:53:38,993] ERROR

{org.wso2.carbon.service.mgt.ServiceAdmin} - Cannot retrieve security scenario for service CalloutSampleProxy {org.wso2.carbon.service.mgt.ServiceAdmin}

org.wso2.carbon.security.SecurityConfigException: readingSecurity
at org.wso2.carbon.security.config.SecurityConfigAdmin.getCurrentScenario(SecurityConfigAdmin.java:254)
at org.wso2.carbon.service.mgt.ServiceAdmin.getSecurityScenario(ServiceAdmin.java:1076)
at org.wso2.carbon.service.mgt.ServiceAdmin.listServices(ServiceAdmin.java:587)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:231)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
TID: [0] [ESB] [2013-06-24 12:53:39,014] ERROR

{org.wso2.carbon.service.mgt.ui.ServiceAdminClient} - Cannot get all services. Backend service may be unavailable {org.wso2.carbon.service.mgt.ui.ServiceAdminClient}

org.apache.axis2.AxisFault: Cannot retrieve security scenario for service CalloutSampleProxy
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.service.mgt.stub.ServiceAdminStub.listServices(ServiceAdminStub.java:8211)
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getAllServices(ServiceAdminClient.java:87)
at org.apache.jsp.service_002dmgt.index_jsp._jspService(org.apache.jsp.service_002dmgt.index_jsp:167)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:700)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:541)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:286)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
TID: [0] [ESB] [2013-06-24 12:53:53,502] INFO

{org.apache.axis2.clustering.control.wka.RpcMembershipRequestHandler} - Received MEMBER_JOINED message from 192.168.4.50:4000(wso2.carbon.lb.domain) {org.apache.axis2.clustering.control.wka.RpcMembershipRequestHandler}




[ESBJAVA-3403] Remove ALL hardcoded passwords from configs and systematically use secure vault for all sensitive data Created: 27/Oct/14  Updated: 27/Oct/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Ishara Cooray Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Advanced
Test cases added: Yes

 Description   

We want to remove ALL hardcoded passwords from configs and systematically use secure vault for all sensitive data, plus endpoints must be manageable as separate entities. This must work for all transports. Same applies to database or ldap connections for example. We need to find a generic way to insert variables into an endpoint definition.






[ESBJAVA-3477] Policies loaded using Local Entries should be able to use the default password call back handler. Created: 17/May/12  Updated: 03/Jan/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Suresh Attanayake Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WSO2 ESB 4.0.3


Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0

 Description   

Policies loaded using the Local Entries in the ESB must be able to use the default password call back handler. ESB throws following error at the current implementation when try to use the default password callback handler.

org.apache.axis2.AxisFault: General security error (WSSecurityEngine: Callback supplied no password for: wso2carbon)
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)






[ESBJAVA-3261] [ESB][Payload factory] Ability to refer registry key dynamically Created: 11/Aug/14  Updated: 11/Aug/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Waruna Perera Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Currently we can refer registry value using a static key that defines in the payload factory. we need to improve this by providing key dynamically at run time to look values in the registry .






[ESBJAVA-3257] [ESB][Smooks mediator] Ability to provide config key dynamically with smooks medaiator Created: 08/Aug/14  Updated: 08/Aug/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Waruna Perera Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

This is to provide the enhancement feature needed for smooks mediator. With current implementation we cant configure to pick up a key dynamically from a user input. We need to create ability to add a dynamic config key based on user input.






[ESBJAVA-3633] No user value in rampart config error , when implementing Scatter-Gather EIP Created: 01/Apr/15  Updated: 01/Apr/15

Status: Open
Project: WSO2 ESB
Component/s: Core Engine, Mediators, Properties Management
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Vernon Osborne Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 8.1 , Latest versions of AS and DSS


Attachments: File Pepkor_Integration.7z    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Comments   
Comment by Vernon Osborne [ 01/Apr/15 ]

Steps to reproduce :
Create MySql DB with scripts
Upload BE Services to DSS(offset = 2) + AS(offset = 1)
Upload ESB Product Search CarbonApp
Apply UT scenario 1 , with admin , admin.
Test in soap.

Error message :
TID: [0] [ESB] [2015-04-01 11:42:17,372] WARN

{org.apache.synapse.FaultHandler} - ERROR_DETAIL : org.apache.synapse.SynapseException: Unexpected error during sending message out : : : : Caused by: org.apache.axis2.AxisFault: No user value in the rampart configuration policy at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76) 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.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185) at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149) at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482) at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59) ... 12 more Caused by: org.apache.rampart.RampartException: No user value in the rampart configuration policy at org.apache.rampart.builder.BindingBuilder.addUsernameToken(BindingBuilder.java:212) at org.apache.rampart.builder.TransportBindingBuilder.build(TransportBindingBuilder.java:95) at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:140) at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65) ... 21 more {org.apache.synapse.FaultHandler}
Comment by Vernon Osborne [ 01/Apr/15 ]

Also see http://stackoverflow.com/questions/29387898/how-to-persist-rampart-data-when-service-chaining-in-wso2-esb





[ESBJAVA-3604] Add more debug log to the ESB SAP connector Created: 12/Mar/15  Updated: 12/Mar/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Upul Bandara Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB 4.8.1


Severity: Minor
Estimated Complexity: Novice
Test cases added: No

 Description   

In order to debug issues in the ESB SAP connector easily and quickly, please add more debug logs. It would be really helpful, if we can add debug log at each execution path. Additionally, while creating and parsing iDocs, please log few properties belonging to that iDoc.






[ESBJAVA-3614] parameter "showProxySchemaURL" in combination with "useOriginalwsdl" parameter set to true not working Created: 20/Mar/15  Updated: 20/Mar/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Suhan Dharmasuriya Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

A parameter 'showProxySchemaURL' was newly introduced in [1].

But this parameter "showProxySchemaURL" in combination with "useOriginalwsdl" parameter set to true is not working.

[1] https://wso2.org/jira/browse/ESBJAVA-2697






[ESBJAVA-3635] Setting up a vfs proxy to connect to a sftp server through a network proxy server Created: 06/Apr/15  Updated: 05/Jun/15

Status: In Progress
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Vijitha Ekanayake Assignee: Vijitha Ekanayake
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB 4.8.0, Linux


Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Trying to set up a vfs proxy to connect to a sftp server, which works fine if we connect to a local sftp server. If we deploy the configuration on environments like DEV,
TEST or PROD we have to access the internet through a proxy server. We are searching for information about how to specify this proxy server in WSO2.
We read the commons-vfs documentation and found a part which suits our needs. We found out that it is possible to configure a proxy for a vfs connection (like our sftp server).
Now we're searching for details about how to configure the proxy in WSO2, but we havn't found an answer by reading the wso2 documentation.
Here is our current proxy xml:
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="ftpCollection" statistics="disable" trace="disable" transports="vfs">
<target>
<inSequence>
<clone>
<target sequence="processSeq"/>
</clone>
</inSequence>
<outSequence/>
<faultSequence/>
</target>
<parameter name="transport.vfs.ReplyFileURI">vfs:sftp://user:pw@192.168.2.99:22/reply</parameter>
<parameter name="transport.PollInterval">15</parameter>
<parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
<parameter name="transport.vfs.FileProcessInterval">100</parameter>
<parameter name="transport.vfs.FileURI">vfs:sftp://user:pw@192.168.2.99:22/process/</parameter>
<parameter name="transport.vfs.MoveAfterProcess">vfs:sftp://user:pw@192.168.2.99:22/success/</parameter>
<parameter name="transport.vfs.MoveAfterFailure">vfs:sftp://user:pw@192.168.2.99:22/failure/</parameter>
<parameter name="transport.vfs.FileNamePattern">.*.xml</parameter>
<parameter name="transport.vfs.Locking">disable</parameter>
<parameter name="transport.vfs.ContentType">application/xml</parameter>
<parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
<parameter name="transport.vfs.MoveTimestampFormat">yyyy-MM-dd'T'HH:mm:ss.SSS</parameter>
</proxy>






[ESBJAVA-3689] Can't access the content of MIME messages with nhttp is enabled Created: 13/May/15  Updated: 13/May/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: shafreen anfar Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

When sending a MIME message (http multipart/form-data request to a rest API defined in ESB) which contains attachments, The attachments are showed in syanpse message context with base64 encoded text (refer to the logs below). But when "HttpCoreNIOSSLListener" transport listener enabled, the message body which relies in message context is an empty message without soap body (refer to the logs below). Any specific reason for this behaviour ?
Further I tried to access attachments by using ((Axis2MessageContext) messageContext).getAxis2MessageContext().getAttachment(cid of attachment) . It does not contain any attachments in both cases (when nio is enabled and disabled).
However when I execute a multipart/related soap request as mentioned in [1], attachments are available in both soap envelope and as attachments in axis2MessageContext.
Requirement : To access request information(content) within soap body/synapse message context when a MIME http request (multipart and not a soap request) with attachments is received to the esb . What would be the way to achieve this ?
[1] https://docs.wso2.com/pages/viewpage.action?pageId=33136025
===== Request for Both cases (NIO enabled and not enabled)====
[2015-05-06 14:43:44,914] DEBUG - wire >> "POST /services/SampleService HTTP/1.1[\r][\n]"
[2015-05-06 14:43:44,916] DEBUG - wire >> "Accept-Encoding: gzip,deflate[\r][\n]"
[2015-05-06 14:43:44,916] DEBUG - wire >> "Content-Type: multipart/form-data; boundary="----=_Part_39_841624924.1430937824809"[\r][\n]"
[2015-05-06 14:43:44,916] DEBUG - wire >> "MIME-Version: 1.0[\r][\n]"
[2015-05-06 14:43:44,917] DEBUG - wire >> "Content-Length: 471[\r][\n]"
[2015-05-06 14:43:44,917] DEBUG - wire >> "Host: localhost:8243[\r][\n]"
[2015-05-06 14:43:44,917] DEBUG - wire >> "Connection: Keep-Alive[\r][\n]"
[2015-05-06 14:43:44,917] DEBUG - wire >> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
[2015-05-06 14:43:44,918] DEBUG - wire >> "[\r][\n]"
[2015-05-06 14:43:44,918] DEBUG - wire >> "[\r][\n]"
[2015-05-06 14:43:44,918] DEBUG - wire >> "------=_Part_39_841624924.1430937824809[\r][\n]"
[2015-05-06 14:43:44,918] DEBUG - wire >> "Content-Type: application/octet-stream; name=a[\r][\n]"
[2015-05-06 14:43:44,918] DEBUG - wire >> "Content-Transfer-Encoding: binary[\r][\n]"
[2015-05-06 14:43:44,919] DEBUG - wire >> "Content-Disposition: form-data; name="a"; filename="a"[\r][\n]"
[2015-05-06 14:43:44,919] DEBUG - wire >> "[\r][\n]"
[2015-05-06 14:43:44,919] DEBUG - wire >> "hasinthaText[\r][\n]"
[2015-05-06 14:43:44,919] DEBUG - wire >> "------=_Part_39_841624924.1430937824809[\r][\n]"
[2015-05-06 14:43:44,919] DEBUG - wire >> "Content-Type: text/xml; charset=Cp1252; name=test.xml[\r][\n]"
[2015-05-06 14:43:44,920] DEBUG - wire >> "Content-Transfer-Encoding: binary[\r][\n]"
[2015-05-06 14:43:44,920] DEBUG - wire >> "Content-Disposition: form-data; name="test.xml"; filename="test.xml"[\r][\n]"
[2015-05-06 14:43:44,920] DEBUG - wire >> "[\r][\n]"
[2015-05-06 14:43:44,920] DEBUG - wire >> "<testdata>aaaa</testdata>[\r][\n]"
[2015-05-06 14:43:44,921] DEBUG - wire >> "----=_Part_39_841624924.1430937824809[\r][\n]"
===================message context when nio transport is not enabled=======================
Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><mediate><test.xml>PHRlc3RkYXRhPmFhYWE8L3Rlc3RkYXRhPg==</test.xml><a>aGFzaW50aGFUZXh0</a></mediate></soapenv:Body></soapenv:Envelope>
===================message context when nio transportis enabled=============================
Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body></soapenv:Body></soapenv:Envelope>






[ESBJAVA-3274] WSO2 ESB does not support http.nonProxyHosts with wildcard character '*' Created: 25/Aug/14  Updated: 14/May/15

Status: In Progress
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: 4.8.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Deependra Ariyadewa Assignee: Balasubramaniyam Senduran
Resolution: Unresolved Votes: 3
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 13.10 64bit


Severity: Major
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

WSO2 ESB does not support http.nonProxyHosts with wildcard character '*'
I set http.nonProxyHosts in wso2server.sh as follows.

JAVA_FLAGS="$JAVA_FLAGS -Dhttp.nonProxyHosts=localhost|*.node|192.168.0.103|.*wso2.com"

When I try to send a message via ESB proxy to a backend I get following error.

[2014-08-24 17:22:06,621] INFO - PassThroughHttpSSLSender HTTP Sender using Proxy http://192.168.0.103:3128 bypassing [localhost, *.node, 192.168.0.103, .*wso2.com]

[2014-08-24 17:28:45,510] ERROR - Axis2Sender Unexpected error during sending message out
java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0
*.node
^
at java.util.regex.Pattern.error(Pattern.java:1713)
at java.util.regex.Pattern.sequence(Pattern.java:1878)
at java.util.regex.Pattern.expr(Pattern.java:1752)
at java.util.regex.Pattern.compile(Pattern.java:1460)
at java.util.regex.Pattern.<init>(Pattern.java:1133)
at java.util.regex.Pattern.compile(Pattern.java:823)
at java.util.regex.Pattern.matches(Pattern.java:928)
at java.lang.String.matches(String.java:2090)
at org.apache.synapse.transport.http.conn.ProxyConfig.isBypass(ProxyConfig.java:96)
at org.apache.synapse.transport.http.conn.ProxyConfig.selectProxy(ProxyConfig.java:78)
at org.apache.synapse.transport.passthru.DeliveryAgent.submit(DeliveryAgent.java:124)
at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:245)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.send(DynamicAxisOperation.java:185)
at org.apache.synapse.core.axis2.DynamicAxisOperation$DynamicOperationClient.executeImpl(DynamicAxisOperation.java:167)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.apache.synapse.core.axis2.Axis2FlexibleMEPClient.send(Axis2FlexibleMEPClient.java:482)
at org.apache.synapse.core.axis2.Axis2Sender.sendOn(Axis2Sender.java:59)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:338)
at org.apache.synapse.endpoints.AbstractEndpoint.send(AbstractEndpoint.java:333)
at org.apache.synapse.endpoints.WSDLEndpoint.send(WSDLEndpoint.java:69)
at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:187)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:403)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

In Synpase nonProxy host name matching fails if we pass a non regex.

org/apache/synapse/transport/http/conn/ProxyConfig.java

private boolean isBypass(String hostName) {
for (String entry : this.proxyBypass) {
if (hostName.matches(entry))

{ knownDirectHosts.add(hostName); return true; }

}
knownProxyHosts.add(hostName);
return false;
}

In Axis2 issue is fixed.

https://issues.apache.org/jira/browse/AXIS2-3453
https://issues.apache.org/jira/browse/AXIS2-3146

http://mail-archives.apache.org/mod_mbox/axis-java-dev/200803.mbox/%3CAD0C8E6047016B48A53660CD4888CE390316236A@namail4.corp.adobe.com%3E



 Comments   
Comment by Malaka Silva [ 11/Sep/14 ]

Use the following. Special characters should be prefixed with
. Also this can be configured at axis2.xml, transportSender level.

localhost|\\*.node|192.168.0.103|.
*wso2.com

Comment by Deependra Ariyadewa [ 14/Dec/14 ]

Setting http.nonProxyHosts [1] should compatible with Java documentation [2]. Escaping * is a workaround but it is not compatible with Java documentation.

[1] -Dhttp.nonProxyHosts=”*.foo.com|localhost”

[2] http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html





[ESBJAVA-3699] support dynamic xpath expression generation in ESB Created: 19/May/15  Updated: 19/May/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Normal
Reporter: Rajith Vitharana Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Current ESB doesn't support dynamic xpath expression generation.
Requirement is to generate the xpath expression at runtime

example would be as follows

<property name="sampleCode4"
expression="//sfobject[en_US='$ctx:sample']/externalCode/text()"/>






[ESBJAVA-3713] custom LoadBalanceMembershipHandler causes Caused by: java.lang.ClassNotFoundException: org.apache.synapse.core.LoadBalanceMembershipHandler Created: 25/May/15  Updated: 25/May/15

Status: Open
Project: WSO2 ESB
Component/s: Endpoints Management
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Jose Luis Pedrosa Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Hi all
if you implement a synapse custom LoadBalanceMembershipHandler,
causes



 Comments   
Comment by Jose Luis Pedrosa [ 25/May/15 ]

Sorry, I hit enter by accident,

This is the proper description:

if you implement a synapse custom LoadBalanceMembershipHandler,
causes java.lang.ClassNotFoundException: org.apache.synapse.core.LoadBalanceMembershipHandler when used in dynamicLoadbalance

<syn:endpoint  xmlns:syn="http://ws.apache.org/ns/synapse" syn:name="LocalHostDynamicEndpoint">
   <syn:dynamicLoadbalance  syn:failover="true" syn:algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin">
		 <syn:membershipHandler class=".....HttpLoadBalanceMembershipHandler" >
			<syn:property name="CheckURL" value="/check.txt"/>
			<syn:property name="HttpPort" value="80"/>
			<syn:property name="EndPoints" value="127.0.0.1,127.0.0.1"/>
		</syn:membershipHandler>
	</syn:dynamicLoadbalance>
</syn:endpoint> 

I created a class HttpLoadBalanceMembershipHandler that implements: LoadBalanceMembershipHandler, then no matter where I drop my jar,
the HttpLoadBalanceMembershipHandler class is read correctly (I'm positive about that because if I put a incorrect class name, then it's not loaded and I see the incorrect class name in the error).

This is the stack trace:

java.lang.NoClassDefFoundError: org/apache/synapse/core/LoadBalanceMembershipHandler
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at org.wso2.carbon.server.ChildFirstURLClassLoader.loadClass(ChildFirstURLClassLoader.java:62)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at org.eclipse.osgi.internal.loader.SystemBundleLoader.findLocalClass(SystemBundleLoader.java:117)
        at org.eclipse.osgi.internal.loader.SingleSourcePackage.loadClass(SingleSourcePackage.java:35)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:471)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:190)
        at org.apache.synapse.config.xml.endpoints.DynamicLoadbalanceEndpointFactory.createEndpoint(DynamicLoadbalanceEndpointFactory.java:136)
        at org.apache.synapse.config.xml.endpoints.EndpointFactory.createEndpointWithName(EndpointFactory.java:143)
        at org.apache.synapse.config.xml.endpoints.EndpointFactory.getEndpointFromElement(EndpointFactory.java:80)
        at org.apache.synapse.deployers.EndpointDeployer.deploySynapseArtifact(EndpointDeployer.java:53)
        at org.wso2.carbon.endpoint.EndpointDeployer.deploySynapseArtifact(EndpointDeployer.java:36)
        at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
        at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
        at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
        at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
        at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
        at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
        at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
        at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
        at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
        at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: org.apache.synapse.core.LoadBalanceMembershipHandler

Obviously the class org.apache.synapse.core.LoadBalanceMembershipHandler is in the jar synapse-core_2.1.2.wso2v4.jar, provided by wso2.

By the way there's something strange in synapse sources, I had to put two two namespaces to satisfy this (DynamicLoadbalanceEndpointFactory.java):
String clazz = eventHandler.getAttributeValue(new QName(XMLConfigConstants.NULL_NAMESPACE, "class")).trim();

Anyway, As i mentioned before, I'm sure my class is read correctly from the XML and loaded because if I put a non existing class I get a completely different error, like:

<?xml version="1.0" encoding="UTF-8"?>
<syn:endpoint  xmlns:syn="http://ws.apache.org/ns/synapse" syn:name="LocalHostDynamicEndpoint">
   <syn:dynamicLoadbalance  syn:failover="true" syn:algorithm="org.apache.synapse.endpoints.algorithms.RoundRobin">
		 <syn:membershipHandler class="this.name.space.does.not.exist.MyClass" >
			<syn:property name="CheckURL" value="/check.txt"/>
			<syn:property name="HttpPort" value="80"/>
			<syn:property name="EndPoints" value="127.0.0.1,127.0.0.1"/>
		</syn:membershipHandler>
	</syn:dynamicLoadbalance>
</syn:endpoint> 

[2015-05-25 14:46:15,309] ERROR - DynamicLoadbalanceEndpointFactory Could not instantiate LoadBalanceMembershipHandler implementation this.name.space.does.not.exist.MyClass
java.lang.ClassNotFoundException: this.name.space.does.not.exist.MyClass
        at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:190)
        at org.apache.synapse.config.xml.endpoints.DynamicLoadbalanceEndpointFactory.createEndpoint(DynamicLoadbalanceEndpointFactory.java:136)

Thanks in advance.

JL





[ESBJAVA-2905] [ Intermitant ] on some occasions HL7TransportSender Error while processing the response HL7 message java.lang.UnsupportedOperationException: Not yet implemented is thorwn Created: 10/Jan/14  Updated: 27/Jan/14

Status: Open
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: 4.8.1 - M1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Shavantha Weerasinghe Assignee: Ravi Undupitiya
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System : Linux
Java Version/Java VM :jdk1.6.0
Packs : wso2esb-4.8.1
DBMS: mysql
User Store:OpenLDAP
Browser : Firefox
Set up :proxy services


Attachments: XML File SFTPToHL7.xml     File bigmessage4.hl7    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

on some occasions HL7TransportSender Error while processing the response HL7 message java.lang.UnsupportedOperationException: Not yet implemented is thrown

steps
1.add a file to the ftp location
2.check the logs once the proxy reads the file

urn:uuid:CF2E261F366585B44C1389336245242, Direction: request, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><hl7:message xmlns:hl7="http://wso2.org/hl7"><ADT_A01 xmlns="urn:hl7-org:v2xml">
<MSH>
<MSH.1>|</MSH.1>
<MSH.2>^~\&</MSH.2>
<MSH.3>
<HD.1>EPIC</HD.1>
</MSH.3>
<MSH.4>
<HD.1>EPICADT</HD.1>
</MSH.4>
<MSH.5>
<HD.1>SMS</HD.1>
</MSH.5>
<MSH.6>
<HD.1>SMSADT</HD.1>
</MSH.6>
<MSH.7>
<TS.1>199912271408</TS.1>
</MSH.7>
<MSH.8>CHARRIS</MSH.8>
<MSH.9>
<MSG.1>ADT</MSG.1>
<MSG.2>A04</MSG.2>
</MSH.9>
<MSH.10>1817457</MSH.10>
<MSH.11>
<PT.1>D</PT.1>
</MSH.11>
<MSH.12>
<VID.1>2.5</VID.1>
</MSH.12>
</MSH>
<PID>
<PID.2>
<CX.1>0493575</CX.1>
<CX.4>
<HD.1>2</HD.1>
</CX.4>
<CX.5>ID 1</CX.5>
</PID.2>
<PID.3>
<CX.1>454721</CX.1>
</PID.3>
<PID.5>
<XPN.1>
<FN.1>DOE</FN.1>
</XPN.1>
<XPN.2>JOHN</XPN.2>
</PID.5>
<PID.6>
<XPN.1>
<FN.1>DOE</FN.1>
</XPN.1>
<XPN.2>JOHN</XPN.2>
</PID.6>
<PID.7>
<TS.1>19480203</TS.1>
</PID.7>
<PID.8>M</PID.8>
<PID.10>
<CE.1>B</CE.1>
</PID.10>
<PID.11>
<XAD.1>
<SAD.1>254 MYSTREET AVE</SAD.1>
</XAD.1>
<XAD.3>MYTOWN</XAD.3>
<XAD.4>OH</XAD.4>
<XAD.5>44123</XAD.5>
<XAD.6>USA</XAD.6>
</PID.11>
<PID.13>
<XTN.1>(216)123-4567</XTN.1>
</PID.13>
<PID.16>
<CE.1>M</CE.1>
</PID.16>
<PID.17>
<CE.1>NON</CE.1>
</PID.17>
<PID.18>
<CX.1>400003403</CX.1>
</PID.18>
<PID.18>
<CX.1>1129086</CX.1>
</PID.18>
</PID>
<NK1>
<NK1.2>
<XPN.1>
<FN.1>ROE</FN.1>
</XPN.1>
<XPN.2>MARIE</XPN.2>
</NK1.2>
<NK1.3>
<CE.1>SPO</CE.1>
</NK1.3>
<NK1.5>
<XTN.1>(216)123-4567</XTN.1>
</NK1.5>
<NK1.7>
<CE.1>EC</CE.1>
</NK1.7>
</NK1>
<PV1>
<PV1.2>O</PV1.2>
<PV1.3>
<PL.1>168 </PL.1>
</PV1.3>
<PV1.3>
<PL.1>219</PL.1>
</PV1.3>
<PV1.3>
<PL.1>C</PL.1>
</PV1.3>
<PV1.3>
<PL.1>PMA</PL.1>
</PV1.3>
<PV1.7>
<XCN.1>277</XCN.1>
<XCN.2>
<FN.1>ALLEN MYLASTNAME</FN.1>
</XCN.2>
<XCN.3>BONNIE</XCN.3>
</PV1.7>
<PV1.19>
<CX.1>2688684</CX.1>
</PV1.19>
<PV1.44>
<TS.1>199912271408</TS.1>
</PV1.44>
<PV1.50>
<CX.1>002376853</CX.1>
</PV1.50>
</PV1>
</ADT_A01></hl7:message></soapenv:Body></soapenv:Envelope>
[2014-01-10 12:14:05,355] INFO - TimeoutHandler This engine will expire all callbacks after : 120 seconds, irrespective of the timeout action, after the specified or optional timeout
[2014-01-10 12:14:05,405] ERROR - HL7TransportSender Error while processing the response HL7 message
java.lang.UnsupportedOperationException: Not yet implemented
at org.apache.axis2.description.OutOnlyAxisOperation.getMessage(OutOnlyAxisOperation.java:124)
at org.apache.axis2.transport.base.AbstractTransportSender.createResponseMessageContext(AbstractTransportSender.java:193)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.processResponse(HL7TransportSender.java:77)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.sendUsingEPR(HL7TransportSender.java:167)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.sendMessage(HL7TransportSender.java:67)
at org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
at org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWorker.run(AxisEngine.java:626)
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)
[2014-01-10 12:14:05,407] INFO - AxisEngine [MessageContext: logID=24d6197df22ab61931c3d5412f5f3e384358ceec390ba5bf] Error while processing the response HL7 message
[2014-01-10 12:14:05,407] ERROR - AsyncCallback Error while processing the response HL7 message
org.apache.axis2.AxisFault: Error while processing the response HL7 message
at org.apache.axis2.transport.base.AbstractTransportSender.handleException(AbstractTransportSender.java:226)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.processResponse(HL7TransportSender.java:82)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.sendUsingEPR(HL7TransportSender.java:167)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.sendMessage(HL7TransportSender.java:67)
at org.apache.axis2.transport.base.AbstractTransportSender.invoke(AbstractTransportSender.java:112)
at org.apache.axis2.engine.AxisEngine$TransportNonBlockingInvocationWorker.run(AxisEngine.java:626)
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)
Caused by: java.lang.UnsupportedOperationException: Not yet implemented
at org.apache.axis2.description.OutOnlyAxisOperation.getMessage(OutOnlyAxisOperation.java:124)
at org.apache.axis2.transport.base.AbstractTransportSender.createResponseMessageContext(AbstractTransportSender.java:193)
at org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender.processResponse(HL7TransportSender.java:77)
... 7 more






[ESBJAVA-3020] ESB does not stop properly if dependent systems are not running Created: 25/Feb/14  Updated: 25/Feb/14

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.0 , 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Isabelle Mauny Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

ESB depends on ActiveMQ / MB , which are not running, since I am shutting down. Note that the error message talks about server startup although I am shutting down. The retry time is multiplied by 2 each time... and there does not seem to be any exit , give-up at any point.

[2014-02-24 20:04:38,395] INFO - ServerManagement All deployment tasks have been completed.
[2014-02-24 20:04:38,395] INFO - ServerManagement Waiting for server task completion...
[2014-02-24 20:04:38,395] INFO - ServerManagement All server tasks have been completed.
[2014-02-24 20:04:38,395] INFO - CarbonServerManager Shutting down WSO2 Enterprise Service Bus...
[2014-02-24 20:04:38,397] INFO - CarbonServerManager Shutting down OSGi framework...
[2014-02-24 20:04:56,477] ERROR - JMSListener Unable to continue server startup as it seems the JMS Provider is not yet started. Please start the JMS provider now.
[2014-02-24 20:04:56,478] ERROR - JMSListener Connection attempt : 3 for JMS Provider failed. Next retry in 80 seconds

[2014-02-24 20:06:16,480] ERROR - JMSListener Unable to continue server startup as it seems the JMS Provider is not yet started. Please start the JMS provider now.
[2014-02-24 20:06:16,481] ERROR - JMSListener Connection attempt : 4 for JMS Provider failed. Next retry in 160 seconds
[2014-02-24 20:08:56,484] ERROR - JMSListener Unable to continue server startup as it seems the JMS Provider is not yet started. Please start the JMS provider now.
[2014-02-24 20:08:56,485] ERROR - JMSListener Connection attempt : 5 for JMS Provider failed. Next retry in 320 seconds






[ESBJAVA-3770] Dropping larger messages based on the user configuration to maintaining the stability of the ESB Created: 11/Jun/15  Updated: 09/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: prabath ariyarathna Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

ESB getting OOM for the large responses while building the messages for the content aware operations. We identified doping messages based on the user defined value as one of the solution for this issue. This can maintain the stability of the ESB to respond other concurrent requests independent on message size and max heap-size.



 Comments   
Comment by Kasun Indrasiri [ 09/Jul/15 ]

Lowering the priority as this is a new feature for 4.9.





[ESBJAVA-2607] [ESB4.8] - Connection error for message store configured for Weblogic 10.3.4 Created: 01/Nov/13  Updated: 09/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Message Stores
Affects Version/s: 4.8.0 M4
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Iranga Muthuthanthri Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System : Linux
Java Version/Java VM :1.6.0_29
Packs : M5 Packs(01-11)
Weblogic :10.3.4
DBMS: H2
Browser : Firefox
Setup : Local


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce
-----------------------
Source:http://docs.wso2.org/display/ESB480/Configure+with+WebLogic

Steps to reproduce
----------------------
1.) Create Message Store configured as follows

<messageStore class="org.apache.synapse.message.store.impl.jms.JmsStore"
name="SWISMS">
<parameter name="vender.class.loader.enabled">false</parameter>
<parameter name="java.naming.factory.initial">weblogic.jndi.WLInitialContextFactory</parameter>
<parameter name="store.jms.cache.connection">false</parameter>
<parameter name="store.jms.password">admin123</parameter>
<parameter name="java.naming.provider.url">t3://localhost:7001</parameter>
<parameter name="store.jms.ConsumerReceiveTimeOut">300</parameter>
<parameter name="store.jms.connection.factory">jms/ConnectionFactory</parameter>
<parameter name="store.jms.username">weblogic</parameter>
<parameter name="store.jms.JMSSpecVersion">1.1</parameter>
<parameter name="store.jms.destination">jms/testQueue</parameter>
</messageStore>

Following Exception Noted:
----------------------------------------
3-11-01 11:09:39,411] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2013-11-01 11:09:39,410+0530]
[2013-11-01 11:14:46,026] INFO - MessageStoreFactory Successfully created Message Store: SWISMS
[2013-11-01 11:14:46,236] ERROR - JmsStore Store [SWISMS] cannot create connection to the broker. Error:Authentication failure due to LoginException
[2013-11-01 11:14:46,236] WARN - JmsStore Store [SWISMS]. Starting with a faulty connection to the broker.
[2013-11-01 11:14:46,236] INFO - JmsStore Initialized Store [SWISMS]...



 Comments   
Comment by Miyuru Daminda [ 19/Nov/13 ]

Just to clear
does weblogic,admin123 valid username and password for broker?

Comment by Iranga Muthuthanthri [ 19/Nov/13 ]

Yes, otherwise believe that the Weblogic MQ Authentication would fail at server startup.





[ESBJAVA-3720] Carbon Applications folders not cleaned up correctly Created: 27/May/15  Updated: 09/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Carbon Applications
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Loic Juillerat Assignee: Nadeeshaan Gunasinghe
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows x64


Severity: Minor
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

The cleanup of Carbon Applications in the work directory is done during shutdown. If the server is crashing, the cleanup is not done and after startup, all existing folders are not removed until a new clean shutdown will be performed.

The cleanup job is so not done at the right place (better at startup).



 Comments   
Comment by Loic Juillerat [ 28/May/15 ]

Deployment of corrupted CAPP (unresolved custom mediators, synthax errors in XSLT local entries, ...) create duplicate folders into work





[ESBJAVA-2507] NPE at EnterpriseBeanstalkManager.destroy in repository/components/default/configuration logs Created: 28/Sep/13  Updated: 21/Jul/15

Status: Reopened
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Isuru Perera Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 13.04, Java 6


Attachments: Text File 1379661276735.log    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

I noticed some errors inside configuration logs.

$ESB_HOME/repository/components/default/configuration/



 Comments   
Comment by Kasun Indrasiri [ 20/Jul/15 ]

Can you please provide more information on reproducing this issue. The provided information is incomplete.

Comment by Isuru Perera [ 20/Jul/15 ]

Hi Kasun,

AFAIR, there were no specific steps to reproduce this issue. But could you please check the logs in $ESB_HOME/repository/components/default/configuration/ and see whether there are any errors?

Comment by Isuru Perera [ 21/Jul/15 ]

I'm still seeing this issue in ESB 4.9.0-ALPHA5. Please start the ESB and stop. Then you will see the mentioned NPE in the log.

I downloaded wso2esb-4.9.0-ALPHA5.zip from [1].

[1] https://svn.wso2.org/repos/wso2/scratch/ESB/packs/21072015/





[ESBJAVA-3254] "A transaction is already started for this service group. Nested transactions are no longer supported in this persistence model - __NONE_" error was thrown when proxy endpoints are suspended Created: 06/Aug/14  Updated: 22/Jun/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Aparna Karunarathna Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

pack: ESB 4.8.1 + hazelcast upgrade patch
Setup: Distributed setup( 4 worker , 1 manager and 1 ELB)
java: JDK 1.7.0_51
OS: Ubuntu 14.04 LTS
DB: Mysql 5.5


Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

"A transaction is already started for this service group. Nested transactions are no longer supported in this persistence model - _NONE" error was thrown when proxy endpoints are suspended

Steps to Reproduce
create a proxy service for AS

--------------------------------------
TID: [0] [ESB] [2014-08-05 06:14:58,897] WARN

{org.apache.synapse.endpoints.EndpointContext} - Endpoint : AnonymousEndpoint will be marked SUSPENDED as it failed {org.apache.synapse.endpoints.EndpointContext}

TID: [0] [ESB] [2014-08-05 06:14:58,898] WARN

{org.apache.synapse.endpoints.EndpointContext} - Suspending endpoint : AnonymousEndpoint - last suspend duration was : 30000ms and current suspend duration is : 30000ms - Ne
xt retry after : Tue Aug 05 06:15:28 UTC 2014 {org.apache.synapse.endpoints.EndpointContext}

TID: [0] [ESB] [2014-08-05 06:14:58,898] ERROR

{org.wso2.carbon.security.config.SecurityConfigAdmin} - Error while reading persisted data {org.wso2.carbon.security.config.SecurityConfigAdmin}

org.wso2.carbon.core.persistence.PersistenceException: A transaction is already started for this service group. Nested transactions are no longer supported in this persistence model - _NONE_
at org.wso2.carbon.core.persistence.file.ServiceGroupFilePersistenceManager.beginTransaction(ServiceGroupFilePersistenceManager.java:71)
at org.wso2.carbon.security.config.SecurityConfigAdmin.getCurrentScenario(SecurityConfigAdmin.java:207)
at org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:90)
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.receive(AxisEngine.java:167)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:147)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
at org.apache.synapse.transport.passthru.TargetErrorHandler$1.run(TargetErrorHandler.java:134)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
TID: [0] [ESB] [2014-08-05 06:14:58,899] ERROR

{org.apache.axis2.engine.AxisEngine} - System error {org.apache.axis2.engine.AxisEngine}

org.apache.axis2.AxisFault: System error
at org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:122)
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.receive(AxisEngine.java:167)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:147)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
at org.apache.synapse.transport.passthru.TargetErrorHandler$1.run(TargetErrorHandler.java:134)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.wso2.carbon.security.SecurityConfigException: readingSecurity
at org.wso2.carbon.security.config.SecurityConfigAdmin.getCurrentScenario(SecurityConfigAdmin.java:253)
at org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:90)
... 11 more
TID: [0] [ESB] [2014-08-05 06:14:58,900] ERROR

{org.apache.synapse.transport.passthru.TargetErrorHandler} - Unable to report back failure to the message receiver {org.apache.synapse.transport.passthru.TargetErrorHandler}

org.apache.axis2.AxisFault: System error
at org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:122)
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.receive(AxisEngine.java:167)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:147)
at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:81)
at org.apache.synapse.transport.passthru.TargetErrorHandler$1.run(TargetErrorHandler.java:134)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: org.wso2.carbon.security.SecurityConfigException: readingSecurity
at org.wso2.carbon.security.config.SecurityConfigAdmin.getCurrentScenario(SecurityConfigAdmin.java:253)
at org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:90)
... 11 more



 Comments   
Comment by Asanthi Kulasinghe [ 11/Jan/15 ]

Reproduced on an Nginx fronted APIM 1.7.0 setup with the service pack

Comment by Evanthika Amarasiri [ 22/Jun/15 ]

Noticed this behaviour during the API-M 1.9.0 load test.





[ESBJAVA-3238] Smooks when parsing CSV files throws exception Created: 29/Jul/14  Updated: 29/Jul/14

Status: Open
Project: WSO2 ESB
Component/s: Mediators
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Ramon Gordillo Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

RHEL 5.7, JDK 1.7.0_51, VMWare


Attachments: Zip Archive SmooksBug.zip    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Any smooks CSV to XML parsing tested in 4.8.1, is throwing exceptions, either with SAX or with DOM. The kind of exception seems to be an internal QName generation problem, as it is:

Caused by: java.lang.IllegalArgumentException: prefix cannot be "null" when creating a QName
at javax.xml.namespace.QName.<init>(QName.java:251)
at com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getQName(XMLEventAllocatorImpl.java:254)
at com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.getXMLEvent(XMLEventAllocatorImpl.java:76)
at com.sun.xml.internal.stream.events.XMLEventAllocatorImpl.allocate(XMLEventAllocatorImpl.java:53)
at com.sun.xml.internal.stream.XMLEventReaderImpl.nextEvent(XMLEventReaderImpl.java:84)
at com.sun.xml.internal.stream.XMLEventReaderImpl.next(XMLEventReaderImpl.java:248)
at org.wso2.carbon.mediator.transform.stream.IOElementPipe.populateEvents(IOElementPipe.java:90)
at org.wso2.carbon.mediator.transform.stream.IOElementPipe.getData(IOElementPipe.java:68)
at org.wso2.carbon.mediator.transform.stream.ElementInputStream.read(ElementInputStream.java:61)
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
...

Attached, a very simple project in dev studio were this issue is shown.

Thanks.



 Comments   
Comment by Ramon Gordillo [ 29/Jul/14 ]

The same smooks-config.xml configuration works ok in a standalone Java project.





[ESBJAVA-3953] Xerces error while processing IDocs Created: 23/Jul/15  Updated: 23/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Edward Walther Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: Axis2, ESB, Idoc, Xerces
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

I have a problem processing IDocs using the Axis2IDoc. Each time an IDoc with empty segments (which seems to be a valid IDoc) is incoming Xerces will throw an error:

ERROR - Axis2IDocHandler Error while processing the IDoc through the Axis engine
java.lang.NullPointerException
at com.sun.org.apache.xerces.internal.impl.XML11NSDocumentScannerImpl.scanStartElement(XML11NSDocumentScannerImpl.java:351)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
at com.sun.org.apache.xerces.internal.impl.XML11NSDocumentScannerImpl.next(XML11NSDocumentScannerImpl.java:852)
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:554)
at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
at org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:34)
at org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225)
at org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper.next(SJSXPStreamReaderWrapper.java:138)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:336)
at org.apache.axiom.om.impl.traverse.OMChildrenIterator.getNextNode(OMChildrenIterator.java:36)
at org.apache.axiom.om.impl.traverse.OMAbstractIterator.hasNext(OMAbstractIterator.java:58)
at org.apache.axiom.om.impl.traverse.OMFilterIterator.hasNext(OMFilterIterator.java:54)
at org.wso2.carbon.transports.sap.idoc.util.IDoCAdapterUtils.stampArcKey(IDoCAdapterUtils.java:62)
at org.wso2.carbon.transports.sap.idoc.Axis2IDocHandler$IDocWorker.run(Axis2IDocHandler.java:132)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)

Is there any way to setup Axis2 to use another stream reader or is there any way to get a newer Xerces implementation into the ESB?



 Comments   
Comment by Edward Walther [ 23/Jul/15 ]

It seems like this is a problem in the JDK: http://stackoverflow.com/questions/10727288/why-does-the-stax-parser-think-this-is-valid-xml-1-0-but-not-1-1/10729375





[ESBJAVA-3306] Review Dual Channel and Quad Channel JMS implementation Created: 01/Jul/13  Updated: 16/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: shammi Jayasinghe Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

We need to have an architecture review with Srinath on Dual Channel and Quad Channel implementation with JMS transport since it creates subscriptions for each of the message which flowing through the scenario



 Comments   
Comment by Kasun Indrasiri [ 01/Jul/13 ]

This is not a blocker. Hence lowered the priority.





[ESBJAVA-3348] No response when proxy desabled. Created: 06/Oct/14  Updated: 16/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Ishara Cooray Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WSO2 ESB 4.8.1


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

There is no response when calling a disabled proxy ESB 4.8.1, instead of returning a soapFault as it happens in ESB 4.5. The connection remains establish until time out happens.






[ESBJAVA-1724] ESB returns different response code for invalid URI request Created: 11/Dec/12  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Administration Console
Affects Version/s: 4.6.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: krishantha Samaraweera Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

How to reproduce:
==============

1. Send HTTP request to invalid URI. Note the $ sign in uri

curl -v http://localhost:8280/services/$simpleProxy?WSO2

  • About to connect() to localhost port 8280 (#0)
  • Trying ::1... connected
  • Connected to localhost (::1) port 8280 (#0)
    > GET /services/?WSO2 HTTP/1.1
    > User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
    > Host: localhost:8280
    > Accept: /
    >
    < HTTP/1.1 200 OK
    < Content-Type: text/html
    < Date: Tue, 11 Dec 2012 14:02:30 GMT
    < Server: Synapse-HttpComponents-NIO
    < Transfer-Encoding: chunked
    <
    <html><head><title>Axis2: Services</title></head><body><h2>Deployed services</h2><h3><a href="/services/wso2carbon-sts?wsdl">wso2carbon-sts</a></h3>Available operations <ul><li>IssueToken</li></ul><h3><a href="/services/echo?wsdl">echo</a></h3>Available operations <ul><li>echoStringArrays</li><li>echoOMElement</li><li>echoInt</li><li>throwAxisFault</li><li>echoString</li></ul><h3><a href="/services/MessageProcessorAdminService?wsdl">MessageProcessorAdminService</a></h3>Available operations <ul><li>getSize</li><li>resendFirstMessage</li><li>deleteAllMessages</li><li>isActive</li><li>modifyMessageProcessor</li><li>getMessageProcessor</li><li>getMessageProcessorNames</li><li>getEnvelope</li><li>getMessageIds</li><li>activate</li><li>addMessageProcessor</li><li>deleteMessageProcessor</li><li>getClassName</li><li>deactivate</li><li>resend</li><li>deleteFirstMessages</li><li>deleteMessage</li><li>resendAll</li></ul><h3><a href="/services/Version?wsdl">Version</a></h3>Available operations <ul><li>getVersion</li></ul* Connection #0 to host localhost left intact
  • Closing connection #0

2. Send HTTP get request again. Note the $$ signs in URI.

curl -v http://localhost:8280/services/$$simpleProxy?WSO2

  • About to connect() to localhost port 8280 (#0)
  • Trying ::1... connected
  • Connected to localhost (::1) port 8280 (#0)
    > GET /services/8743simpleProxy?WSO2 HTTP/1.1
    > User-Agent: curl/7.19.7 (x86_64-pc-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8k zlib/1.2.3.3 libidn/1.15
    > Host: localhost:8280
    > Accept: /
    >
    < HTTP/1.1 202 Accepted
    < Date: Tue, 11 Dec 2012 14:02:39 GMT
    < Server: Synapse-HttpComponents-NIO
    < Transfer-Encoding: chunked
    <
  • Connection #0 to host localhost left intact
  • Closing connection #0

Why does ESB returns different response code for above two scenarios ? is this the expected behavior ?



 Comments   
Comment by Nuwan Wimalasekara [ 13/Dec/12 ]

curl -v http://localhost:8280/services//simpleProxy also returns 200. this url contains double slashes.





[ESBJAVA-2213] Callout mediator improvement to get NTLM working Created: 02/May/12  Updated: 20/Jul/15

Status: Reopened
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Nandika Jayawardana Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Any


Attachments: Text File callout-mediator-update.patch     Text File callout-mediator.patch    
Severity: Major
Estimated Complexity: Moderate

 Description   

With this fix, it is possible to reuse the existing Axis2 client options available in the Synapse message context when invoking the external service through the Callout mediator. This can be enabled by setting the property initAxis2ClientOptions to "false". By default, it's value is "true", so that this new addition does not affect any of the its current usages.



 Comments   
Comment by Nandika Jayawardana [ 02/May/12 ]

patch committed to trunk

Comment by Rajika Kumarasiri [ 10/Jul/12 ]

Does this patches made up their ways to Synapse ?

Rajika





[ESBJAVA-3517] Retrive OM element as parameter in template function always evaluate to String Created: 30/Jan/15  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: dushan abeyruwan Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

please refer the highlighted section

expression="$func:message1/ser:request/xsd:symbol" it always prints null because, evaluation at getEvaluatedParamValue convert property to string regardless of property element type

if '$func:message1' assigned back to another variable with OM type started to evaulate correctly

<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="Moo"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <enrich>
            <source type="body" clone="true"/>
            <target type="property" property="ORGINAL_MSG"/>
         </enrich>
         <property name="api.common.errorEntries"
                   expression="get-property('ORGINAL_MSG')"
                   type="OM"/>
         <clone>
            <target>
               <sequence>
                  <call-template target="HelloWorld_Logger">
                     <with-param name="message" value="Bonjour tout le monde!!!!!!"/>
                     <with-param name="message1" value="{$ctx:api.common.errorEntries}"/>
                  </call-template>
               </sequence>
            </target>
         </clone>
         <drop/>
      </inSequence>
   </target>
   <description/>
</proxy>

<template xmlns="http://ws.apache.org/ns/synapse" name="HelloWorld_Logger">
   <parameter name="message"></parameter>
   <parameter name="message1"></parameter>
   <sequence>
      <log level="custom">
         <property xmlns:ns2="http://org.apache.synapse/xsd" xmlns:ns="http://org.apache.synapse/xsd" name="CLONE-INNNNN" expression="$func:message1"></property>
      </log>
      <property xmlns:ns2="http://org.apache.synapse/xsd" xmlns:ns="http://org.apache.synapse/xsd" name="templateMessage" expression="$func:message1" type="OM"></property>
      <log>
         <property xmlns:xsd="http://services.samples/xsd" xmlns:ns2="http://org.apache.synapse/xsd" xmlns:ns="http://org.apache.synapse/xsd" xmlns:ser="http://services.samples" name="message##########" expression="$func:message1/ser:request/xsd:symbol"></property>
      </log>
   </sequence>
</template>

Please refer the configuration

    private Object getEvaluatedParamValue(MessageContext synCtx, String parameter, Value expression) {
        if (expression != null) {
            if (expression.getExpression() != null) {
                if(expression.hasExprTypeKey()){
                if(expression.hasPropertyEvaluateExpr()){
                //TODO:evalute the string expression get the value
                //String evaluatedPath ="{//m0:getQuote/m0:request}";
                return expression.evalutePropertyExpression(synCtx);
                }
                    return expression.getExpression();
                } else {
                    return expression.evaluateValue(synCtx);
                }

            } else if (expression.getKeyValue() != null) {
                return expression.evaluateValue(synCtx);
            }
        }
        return null;
    }



public String evaluateValue(MessageContext synCtx) {

        if (keyValue != null) {

         return keyValue;

        } else if (expression != null) {

            //if dynamic key return evaluated value

            return expression.stringValueOf(synCtx);

        } else {

            handleException("Can not evaluate the key: " +

                            "key should be static or dynamic key");

            return null;

        }

    }





[ESBJAVA-3491] JSON <-> XML conversion; handling null vs empty string Created: 13/Jan/15  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Ishan Jayawardena Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

Currently, ESB treats both null and empty strings in JSON values the same way. Look beblow

{"test":null}
{"test": ""}

both get converted into

<test/>

But the null value must be converted into XML Schema defined null value mentioned here [1]. ie into,

<test xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true" ></test>

[1] http://www.w3.org/TR/xmlschema-1/#xsi_nil






[ESBJAVA-3475] SOAP Faults are not properly decrypted when sending through to a secured endpoint through secured ESB proxy (Both endpoint and proxy are secured with an encryption mechanism) Created: 02/Sep/11  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Core Engine
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Johann Nallathamby Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu, Linux


Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0

 Description   

Following are the steps to reproduce.
1. Create a service in WSAS
2. Secure WSAS service using security scenario 5 (Sign and Encrypt)
3. Create an ESB proxy and an ESB endpoint
4. Also secure ESB proxy service using security scenario 5 (Sign and Encrypt)
5. Send an invalid message to endpoint through ESB proxy so that endpoint will send a soap fault
6. Client will not receive the soap fault instead it will print a message similar to following,

2011-08-25 14:55:44,799 [-] [main] ERROR AxisEngine The signature or decryption was invalid; nested exception is:
org.apache.xml.security.encryption.XMLEncryptionException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
Original Exception was org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
org.apache.axis2.AxisFault: The signature or decryption was invalid; nested exception is:
org.apache.xml.security.encryption.XMLEncryptionException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
Original Exception was org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:166)
at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)
at org.apache.axis2.engine.Phase.invoke(Phase.java:318)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:259)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:165)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:556)
at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:532)
at org.wso2.identity.esb.kerberos.KerberosClient.main(Unknown Source)
Caused by: org.apache.ws.security.WSSecurityException: The signature or decryption was invalid; nested exception is:
org.apache.xml.security.encryption.XMLEncryptionException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
Original Exception was org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
at org.apache.ws.security.processor.ReferenceListProcessor.decryptEncryptedData(ReferenceListProcessor.java:250)
at org.apache.ws.security.processor.EncryptedKeyProcessor.decryptDataRef(EncryptedKeyProcessor.java:443)
at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:381)
at org.apache.ws.security.processor.EncryptedKeyProcessor.handleEncryptedKey(EncryptedKeyProcessor.java:104)
at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:84)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:333)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:250)
at org.apache.rampart.RampartEngine.process(RampartEngine.java:171)
at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
... 10 more
Caused by: org.apache.xml.security.encryption.XMLEncryptionException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
Original Exception was org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="axis2ns49",rawname="xmlns:axis2ns49"" is invalid. Prefixed namespace bindings may not be empty.
at org.apache.xml.security.encryption.XMLCipher$Serializer.deserialize(Unknown Source)
at org.apache.xml.security.encryption.XMLCipher.decryptElement(Unknown Source)
at org.apache.xml.security.encryption.XMLCipher.decryptElementContent(Unknown Source)
at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)
at org.apache.ws.security.processor.ReferenceListProcessor.decryptEncryptedData(ReferenceListProcessor.java:248)
... 18 more

Further this issue only occurs when we applied encryption to both client -> ESB and ESB -> WSAS flows.

On ESB side before encrypting message it will get a message similar to following,

<?xml version="1.0" encoding="UTF-8"?>
<fragment
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">
<faultcode xmlns:axis2ns34="">soapenv:Server</faultcode>
<faultstring xmlns:axis2ns35="">For input string: "1er"</faultstring>
<detail xmlns:axis2ns36=""></detail>
</soapenv:Fault>
</fragment>






[ESBJAVA-3349] BAM Mediator does not store field "meta_host" in Casandra when Internet is not available Created: 24/Sep/12  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Maninda Edirisooriya Assignee: Vijitha Ekanayake
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

BAM 2.0 and ESB 4.5.0


Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Not-applicable

 Description   

BAM mediator throws an exception while mediating and "meta_host" field seems empty in Cassandra database when Internet is not available. i.e. when IP address is set to 127.0.0.1.






[ESBJAVA-3631] Connection timeout duration is not serializing correctly in the source view when it has a value like $timeDuration instead of an integer Created: 31/Mar/15  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Templates
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Sohani Weerasinghe Assignee: Balasubramaniyam Senduran
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

When creating an Address Endpoint Template if we define a parameter as $timeDuration and if we are going to use that value for the duration in Connection Timeout it is not displaying properly.

The source view will look like

<template xmlns="http://ws.apache.org/ns/synapse" name="testTemplate">
<axis2ns12:parameter xmlns:axis2ns12="http://ws.apache.org/ns/synapse" name="timeDuration"></axis2ns12:parameter>
<endpoint name="$name">
<address uri="$uri">
<suspendOnFailure>
<progressionFactor>1.0</progressionFactor>
</suspendOnFailure>
<markForSuspension>
<retriesBeforeSuspension>0</retriesBeforeSuspension>
<retryDelay>0</retryDelay>
</markForSuspension>
<timeout>
<duration>30000</duration>
<responseAction>discard</responseAction>
</timeout>
</address>
</endpoint>
</template>

The duration tag should be <duration>$timeDuration</duration>

If we check in the file system, the source is getting serialized properly and the main source view also updates properly but the source view of the Address Endpoint Template is not getting updated






[ESBJAVA-3354] Editing Streams should not be allowed in BAM mediator Created: 30/Oct/12  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Maninda Edirisooriya Assignee: Vijitha Ekanayake
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

BAM 2.0.2 with ESB 4.5.1


Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

In BAM config UI, editing Stream information should not be allowed as edited streams are not supported. Only inserting and deleting should be possible.






[ESBJAVA-2831] Unable to specify proxy to use with specific backend Created: 09/Dec/13  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Janis Jansons Assignee: Balasubramaniyam Senduran
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: 6 hours
Time Spent: Not Specified
Original Estimate: 6 hours

Severity: Minor
Estimated Complexity: Moderate
Test cases added: No

 Description   

It seems like it's possible to specify HTTP proxy for the whole ESB to use but it is not possible to do it for each backend.



 Comments   
Comment by Kasun Indrasiri [ 20/Jul/15 ]

@Senduran : Is this supported with proxy profiles? Is that added to 4.9?





[ESBJAVA-2188] Exception thrown when removing service parameter from secured proxy Created: 26/Jun/13  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: 4.7.0 RC1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Shashika Ubhayaratne Assignee: Isuru Udana Loku Narangoda
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Minor
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

1. create a custom proxy and apply security (Sign and Encrypt - X509 Authentication)
2. Edit the proxy and remove service parameter (disableREST)
3. Save the proxy

Issue: error message thorn as "Unable to modify proxy service :: Unable to modify proxy service: new-ProxyServiceAdminProxyAdminException"

Backend entries: [2013-06-26 12:30:38,596] ERROR - ProxyServiceAdmin Error trying to add the proxy service to the ESB configuration : 269 :: Cannot convert null to a StreamSource
org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:576)
at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:77)
at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:686)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:495)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.addProxyService(ProxyServiceAdmin.java:251)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxyService(ProxyServiceAdmin.java:332)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxy(ProxyServiceAdmin.java:701)
at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminStub.modifyProxy(ProxyServiceAdminStub.java:1548)
at org.wso2.carbon.proxyadmin.ui.client.ProxyServiceAdminClient.modifyProxy(ProxyServiceAdminClient.java:116)
at org.apache.jsp.proxyservices.submit_jsp._jspService(org.apache.jsp.proxyservices.submit_jsp:109)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:700)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:541)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:286)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
[2013-06-26 12:30:38,598] ERROR - ProxyServiceAdmin Unable to save changes made for the proxy service : 269. Restoring the existing proxy..
[2013-06-26 12:30:38,598] INFO - ProxyService Building Axis service for Proxy service : 269
[2013-06-26 12:30:38,599] DEBUG - SynapsePropertiesLoader Retrieving synapse properties from the cache
[2013-06-26 12:30:38,599] DEBUG - SynapsePropertiesLoader Retrieving synapse properties from the cache
[2013-06-26 12:30:38,599] DEBUG - MiscellaneousUtil The name with 'synapse.connection.read_timeout' cannot be found. Using default value : 100000
[2013-06-26 12:30:38,599] DEBUG - SynapsePropertiesLoader Retrieving synapse properties from the cache
[2013-06-26 12:30:38,599] DEBUG - MiscellaneousUtil The name with 'synapse.connection.connect_timeout' cannot be found. Using default value : 20000
[2013-06-26 12:30:38,649] DEBUG - SynapseConfiguration Will not evaluate the value of the remote entry with a key conf:/repository/axis2/service-groups/269/services/269/policies/SigEncr, because the registry is not available
[2013-06-26 12:30:38,649] WARN - SynapseConfigUtils Cannot convert null to a StreamSource
[2013-06-26 12:30:38,649] ERROR - ProxyServiceAdmin Unable to restore the existing proxy :: Cannot convert null to a StreamSource
org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:576)
at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:77)
at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:686)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:495)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxyService(ProxyServiceAdmin.java:368)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxy(ProxyServiceAdmin.java:701)
at sun.reflect.GeneratedMethodAccessor273.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:398)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminStub.modifyProxy(ProxyServiceAdminStub.java:1548)
at org.wso2.carbon.proxyadmin.ui.client.ProxyServiceAdminClient.modifyProxy(ProxyServiceAdminClient.java:116)
at org.apache.jsp.proxyservices.submit_jsp._jspService(org.apache.jsp.proxyservices.submit_jsp:109)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:700)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:541)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:286)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
[2013-06-26 12:30:38,655] ERROR - ProxyServiceAdminClient Unable to modify proxy service: 269
org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminProxyAdminException: ProxyServiceAdminProxyAdminException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminStub.modifyProxy(ProxyServiceAdminStub.java:1573)
at org.wso2.carbon.proxyadmin.ui.client.ProxyServiceAdminClient.modifyProxy(ProxyServiceAdminClient.java:116)
at org.apache.jsp.proxyservices.submit_jsp._jspService(org.apache.jsp.proxyservices.submit_jsp:109)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:700)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:541)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:286)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:161)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
[2013-06-26 12:30:39,195] DEBUG - SynapseArtifactDeploymentStore Added restored file : /home/shashi/work_stuff/ESB/4.7.0/jun24/wso2esb-4.7.0/repository/deployment/server/synapse-configs/default/proxy-services/269.xml

Note: This works fine on ESB 4.5.1






[ESBJAVA-3223] BAM HL7 data publisher does not publish out message Created: 18/Jul/14  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Jeewantha Dharmaparakrama Assignee: Ravi Undupitiya
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes




[ESBJAVA-3484] Limiting Threads used by a single cron job/scheduled task Created: 28/Mar/14  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: Shivam Sharma Assignee: prabath ariyarathna
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate

 Description   

Hi,

I am facing an issue where all the scheduler threads are being used by a single cron job, and that is causing other shceduled tasks to not run consistently and on time. I am wondering what the best way to deal with this is? I am looking to have a setting which basically says "allow one thread per cron job, and if a cron job is running and has one thread, dont let another one kick off." Can this be done through some sort of quartz setting? Or any other config?

Thanks



 Comments   
Comment by Shivam Sharma [ 03/Apr/14 ]

Any recommendations for this?

Appreciate your help.

Thanks
Shivam





[ESBJAVA-3180] SAP BAPI Structures Created: 29/Jun/14  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Bostjan Robeznik Assignee: Maheeka Jayasuriya
Resolution: Unresolved Votes: 0
Labels: esb,
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.5


Severity: Blocker
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

It looks that BAPI SAP transport adapter can process only single IMPORT structure which is not enough for most of the BAPI calls. This comment is copied from RFCMetaDataParser.java :

/** This will contains the required methods that can be use to parser a

  • meta data description of a BAPI/RFC call.
  • So the BNF grammer for the meta data would looks like :
  • bapirfc -> import | tables | both
  • import -> structure | field | both
  • structure -> 1 or more fields
  • tables -> 1 or more table
  • table -> row
  • row -> 1 or more fields
  • field -> name and value
    *
  • See resources folder for sample meta data description files
    *
    */

Here is a sample SOAP message which does not pass second structure :

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<bapirfc name="BAPI_MATERIAL_SAVEDATA">
<import>
<structure name="HEADDATA">
<field name="MATERIAL">000000000000100000</field>
<field name="MATL_TYPE">FERT</field>
<field name="IND_SECTOR">M</field>
<field name="BASIC_VIEW">X</field>
</structure>
<structure name="CLIENTDATA">
<field name="MATL_GROUP">202</field>
</structure>
</import>
<tables>
<table name="MATERIALDESCRIPTION">
<row id="0">
<field name="LANGU">EN</field>
<field name="MATL_DESC">TEST</field>
</row>
</table>
</tables>
</bapirfc>
</soapenv:Body>
</soapenv:Envelope>






[ESBJAVA-3159] BAPI and IDOC can not coexist in the same configuration Created: 16/Jun/14  Updated: 20/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Bostjan Robeznik Assignee: Maheeka Jayasuriya
Resolution: Unresolved Votes: 0
Labels: ESB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.5, BAPI and IDOC


Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

If I use only IDOC or only BAPI configuration everything is in perfect order. If I try to use them in parallel on same instance then configuration doesn't work. Error messages regarding JCo state are popping out in debug log in terminal.
My work around is to use two separate WSO2 ESB installations for each task.






[ESBJAVA-3756] Extraction failure of child elements without sub elements in xml payload Created: 08/Jun/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Suhan Dharmasuriya Assignee: shafreen anfar
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

Selecting all children of the parent node fails to extract tag information when there are no sub elements present.

In scenario 1 below, the extraction of child elements with no sub elements fails only leaving field value without any tags.
In scenario 2 the child elements successfully extracted with tags when there are sub elements.

Test Proxy

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse" name="PayloadFactoryHeaderTest"
transports="http" startOnLoad="true" trace="disable">
   <target>
      <inSequence>
         <loopback />
      </inSequence>
      <outSequence>
         <payloadFactory media-type="xml">
            <format>
               <theData xmlns="http://some.namespace">
                  <theHeader>$1</theHeader>
                  <theBody>$2</theBody>
               </theData>
            </format>
            <args>
               <arg evaluator="xml" expression="$header/*" />
               <arg evaluator="xml" expression="$body/*" />
            </args>
         </payloadFactory>
         <send />
      </outSequence>
   </target>
</proxy>

Scenario 1
SOAP Request

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
   <hd:inHeaderA xmlns:hd="http://some.namespace">InputHeaderValueA</hd:inHeaderA>
   <hd:inHeaderB xmlns:hd="http://some.namespace">InputHeaderValueB</hd:inHeaderB>
</soap:Header>
<soap:Body>
   <input1 xmlns="http://some.namespace">inputData1</input1>
   <input2 xmlns="http://some.namespace">inputData2</input2>
</soap:Body>
</soap:Envelope>

Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <hd:inHeaderA xmlns:hd="http://some.namespace">InputHeaderValueA</hd:inHeaderA>
      <hd:inHeaderB xmlns:hd="http://some.namespace">InputHeaderValueB</hd:inHeaderB>
   </soap:Header>
   <soap:Body>
      <theData xmlns="http://some.namespace">
         <theHeader>InputHeaderValueAInputHeaderValueB</theHeader>
         <theBody>inputData1inputData2</theBody>
      </theData>
   </soap:Body>
</soap:Envelope>

Scenario 2

SOAP Request
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <hd:inHeaderA xmlns:hd="http://some.namespace">
         <sub>InputHeaderValueA</sub>
      </hd:inHeaderA>
      <hd:inHeaderB xmlns:hd="http://some.namespace">
         <sub>InputHeaderValueB</sub>
      </hd:inHeaderB>
   </soap:Header>
   <soap:Body>
      <input xmlns="http://some.namespace">
         <sub>inputData</sub>
      </input>
   </soap:Body>
</soap:Envelope>

Response

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header>
      <hd:inHeaderA xmlns:hd="http://some.namespace">
         <sub>InputHeaderValueA</sub>
      </hd:inHeaderA>
      <hd:inHeaderB xmlns:hd="http://some.namespace">
         <sub>InputHeaderValueB</sub>
      </hd:inHeaderB>
   </soap:Header>
   <soap:Body>
      <theData xmlns="http://some.namespace">
         <theHeader>
            <hd:inHeaderA xmlns:hd="http://some.namespace">
               <sub>InputHeaderValueA</sub>
            </hd:inHeaderA>
            <hd:inHeaderB xmlns:hd="http://some.namespace">
               <sub>InputHeaderValueB</sub>
            </hd:inHeaderB>
         </theHeader>
         <theBody>
            <input>
               <sub>inputData</sub>
            </input>
         </theBody>
      </theData>
   </soap:Body>
</soap:Envelope>

This inconsistent behaviour should be fixed.



 Comments   
Comment by Suhan Dharmasuriya [ 08/Jun/15 ]

Workaround

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="PayloadFactoryHeaderTest"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <loopback/>
      </inSequence>
      <outSequence>
         <log level="full"/>
         <payloadFactory media-type="xml">
            <format>
               <theData xmlns="http://some.namespace">
                  <theHeader>$1</theHeader>
                  <theBody>$2</theBody>
               </theData>
            </format>
            <args>
               <arg evaluator="xml" expression="$header"/>
               <arg evaluator="xml" expression="$body/*"/>
            </args>
         </payloadFactory>
         <enrich>
            <source xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                    xmlns:the="http://some.namespace"
                    clone="true"
                    xpath="//the:theHeader/soap:Header/*"/>
            <target xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
                    xmlns:the="http://some.namespace"
                    xpath="//the:theHeader/soap:Header/."/>
         </enrich>
         <log level="full"/>
         <send/>
      </outSequence>
   </target>
   <description/>
</proxy>




[ESBJAVA-2808] Reducing of free thread count when communicating with a JMS Queue Created: 29/Nov/13  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Message Processors
Affects Version/s: 4.6.0
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Irosha Sooriyawansha Assignee: shafreen anfar
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Passthrough sender thread is not notified, if a jms endpoint is getting a readtimeout from the response queue. In this case, the sender thread never getting finished and the calling client receive a timeout for this operation.






[ESBJAVA-2566] Database error observed on Rule mediator for the first time when it takes the rules from the registry. Created: 14/Oct/13  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Mediators
Affects Version/s: 4.8.0 M4
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Shashika Ubhayaratne Assignee: Jagath Ariyarathne
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File Patch.diff    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

1. Deploy attached car file which contains rule mediator.

Issue: Observed following error only for the first time. When the car file removed and re-deployed, the error can not be seen.

[2013-10-14 10:17:17,559] INFO - ApplicationManager Deploying Carbon Application : esb-artifacts-rule-mediator-car_1.0.0.car...
[2013-10-14 10:17:17,606] ERROR - DatabaseUtil Error! NULL not allowed for column "UM_USER_NAME"; SQL statement:
INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?) [90006-140]
org.h2.jdbc.JdbcSQLException: NULL not allowed for column "UM_USER_NAME"; SQL statement:
INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?) [90006-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.table.Column.validateConvertUpdateSequence(Column.java:294)
at org.h2.table.Table.validateConvertUpdateSequence(Table.java:621)
at org.h2.command.dml.Insert.insertRows(Insert.java:116)
at org.h2.command.dml.Insert.update(Insert.java:82)
at org.h2.command.CommandContainer.update(CommandContainer.java:70)
at org.h2.command.Command.executeUpdate(Command.java:199)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:141)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:127)
at org.wso2.carbon.user.core.util.DatabaseUtil.updateDatabase(DatabaseUtil.java:549)
at org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.addAuthorizationForUser(JDBCAuthorizationManager.java:764)
at org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.authorizeUser(JDBCAuthorizationManager.java:398)
at org.wso2.carbon.event.core.internal.topic.registry.RegistryTopicManager.addTopic(RegistryTopicManager.java:128)
at org.wso2.carbon.event.core.internal.CarbonEventBroker.subscribe(CarbonEventBroker.java:129)
at org.wso2.carbon.rule.kernel.internal.ds.RuleValueHolder.addSubscription(RuleValueHolder.java:85)
at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:72)
at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:178)
at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:58)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:189)
at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:109)
at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:251)
at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:71)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
[2013-10-14 10:17:17,609] ERROR - DatabaseUtil Using sql : INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?)
[2013-10-14 10:17:17,609] ERROR - RuleMediatorFactory Can not create the rule engine
org.wso2.carbon.rule.common.exception.RuleConfigurationException: Can not subscribe to topic /registry/notifications/ResourceUpdated/_system/config//rule.drl
at org.wso2.carbon.rule.kernel.internal.ds.RuleValueHolder.addSubscription(RuleValueHolder.java:87)
at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:72)
at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:178)
at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:58)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:189)
at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:109)
at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:251)
at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:71)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.wso2.carbon.event.core.exception.EventBrokerException: Error while granting user null, permission changePermission, on topic /registry/notifications/ResourceUpdated/_system/config//rule.drl
at org.wso2.carbon.event.core.internal.topic.registry.RegistryTopicManager.addTopic(RegistryTopicManager.java:134)
at org.wso2.carbon.event.core.internal.CarbonEventBroker.subscribe(CarbonEventBroker.java:129)
at org.wso2.carbon.rule.kernel.internal.ds.RuleValueHolder.addSubscription(RuleValueHolder.java:85)
... 31 more
Caused by: org.wso2.carbon.user.core.UserStoreException: Error! NULL not allowed for column "UM_USER_NAME"; SQL statement:
INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?) [90006-140]
at org.wso2.carbon.user.core.util.DatabaseUtil.updateDatabase(DatabaseUtil.java:557)
at org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.addAuthorizationForUser(JDBCAuthorizationManager.java:764)
at org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.authorizeUser(JDBCAuthorizationManager.java:398)
at org.wso2.carbon.event.core.internal.topic.registry.RegistryTopicManager.addTopic(RegistryTopicManager.java:128)
... 33 more
Caused by: org.h2.jdbc.JdbcSQLException: NULL not allowed for column "UM_USER_NAME"; SQL statement:
INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?) [90006-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.table.Column.validateConvertUpdateSequence(Column.java:294)
at org.h2.table.Table.validateConvertUpdateSequence(Table.java:621)
at org.h2.command.dml.Insert.insertRows(Insert.java:116)
at org.h2.command.dml.Insert.update(Insert.java:82)
at org.h2.command.CommandContainer.update(CommandContainer.java:70)
at org.h2.command.Command.executeUpdate(Command.java:199)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:141)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:127)
at org.wso2.carbon.user.core.util.DatabaseUtil.updateDatabase(DatabaseUtil.java:549)
... 36 more
[2013-10-14 10:17:17,611] WARN - ProxyServiceDeployer Proxy service hot deployment from file: /home/shashi/work_stuff/ESB/4.8.0/10Oct/wso2esb-4.8.0/repository/carbonapps/work/1381726037561esb-artifacts-rule-mediator-car_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml failed - Continue in fail-safe mode
org.apache.synapse.SynapseException: Can not create the rule engine
at org.apache.synapse.config.xml.AbstractMediatorFactory.handleException(AbstractMediatorFactory.java:208)
at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:51)
at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:91)
at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:223)
at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:41)
at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:178)
at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:58)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:189)
at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:109)
at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:251)
at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:71)
at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65)
at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.wso2.carbon.rule.common.exception.RuleConfigurationException: Can not subscribe to topic /registry/notifications/ResourceUpdated/_system/config//rule.drl
at org.wso2.carbon.rule.kernel.internal.ds.RuleValueHolder.addSubscription(RuleValueHolder.java:87)
at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:72)
at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
... 29 more
Caused by: org.wso2.carbon.event.core.exception.EventBrokerException: Error while granting user null, permission changePermission, on topic /registry/notifications/ResourceUpdated/_system/config//rule.drl
at org.wso2.carbon.event.core.internal.topic.registry.RegistryTopicManager.addTopic(RegistryTopicManager.java:134)
at org.wso2.carbon.event.core.internal.CarbonEventBroker.subscribe(CarbonEventBroker.java:129)
at org.wso2.carbon.rule.kernel.internal.ds.RuleValueHolder.addSubscription(RuleValueHolder.java:85)
... 31 more
Caused by: org.wso2.carbon.user.core.UserStoreException: Error! NULL not allowed for column "UM_USER_NAME"; SQL statement:
INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?) [90006-140]
at org.wso2.carbon.user.core.util.DatabaseUtil.updateDatabase(DatabaseUtil.java:557)
at org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.addAuthorizationForUser(JDBCAuthorizationManager.java:764)
at org.wso2.carbon.user.core.authorization.JDBCAuthorizationManager.authorizeUser(JDBCAuthorizationManager.java:398)
at org.wso2.carbon.event.core.internal.topic.registry.RegistryTopicManager.addTopic(RegistryTopicManager.java:128)
... 33 more
Caused by: org.h2.jdbc.JdbcSQLException: NULL not allowed for column "UM_USER_NAME"; SQL statement:
INSERT INTO UM_USER_PERMISSION (UM_PERMISSION_ID, UM_USER_NAME, UM_IS_ALLOWED, UM_TENANT_ID) VALUES (?, ?, ?, ?) [90006-140]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:327)
at org.h2.message.DbException.get(DbException.java:167)
at org.h2.message.DbException.get(DbException.java:144)
at org.h2.table.Column.validateConvertUpdateSequence(Column.java:294)
at org.h2.table.Table.validateConvertUpdateSequence(Table.java:621)
at org.h2.command.dml.Insert.insertRows(Insert.java:116)
at org.h2.command.dml.Insert.update(Insert.java:82)
at org.h2.command.CommandContainer.update(CommandContainer.java:70)
at org.h2.command.Command.executeUpdate(Command.java:199)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdateInternal(JdbcPreparedStatement.java:141)
at org.h2.jdbc.JdbcPreparedStatement.executeUpdate(JdbcPreparedStatement.java:127)
at org.wso2.carbon.user.core.util.DatabaseUtil.updateDatabase(DatabaseUtil.java:549)
... 36 more
[2013-10-14 10:17:17,628] INFO - ApplicationManager Successfully Deployed Carbon Application : esb-artifacts-rule-mediator-car_1.0.0

{tenant-1}

Note: when the deployed car file is clicked and select the proxy service, system error observed on ui.
2013-10-14 10:18:22,444] ERROR - ServiceAdmin Invalid service name, service not found : proxyService2
[2013-10-14 10:18:22,447] ERROR - ServiceAdminClient Cannot get service data. Backend service may be unavailable
org.apache.axis2.AxisFault: Invalid service name, service not found : proxyService2
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:367)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:413)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:224)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.service.mgt.stub.ServiceAdminStub.getServiceData(ServiceAdminStub.java:5076)
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getServiceData(ServiceAdminClient.java:76)
at org.apache.jsp.service_002dmgt.service_005finfo_jsp._jspService(org.apache.jsp.service_002dmgt.service_005finfo_jsp:127)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:605)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:544)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1015)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:700)
at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter.doFilter(AllPagesFilter.java:156)
at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)



 Comments   
Comment by Suminda Chamara Silva [ 16/Jan/14 ]

Please find the patch to resolve this issue

Thanks,
Chamara Silva





[ESBJAVA-3302] Verify ESB performance for high concurrent messaging scenarios Created: 11/Sep/14  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Normal
Reporter: Sandamal Weerasinghe Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes




[ESBJAVA-3946] Request hangs when an exception is thrown inside Fault Sequence Created: 22/Jul/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Sajith Kariyawasam Assignee: Chanaka Fernando
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce:

Create a proxy service with following property,

<property xmlns:ns="http://org.apache.synapse/xsd" name="maxValidity" expression="$body/jsonObject/name/text()" scope="default" type="STRING"/>

Also, add a log full in the Fault sequence as follows,

<faultSequence>
      <log level="full" xmlns="http://ws.apache.org/ns/synapse">
              <property name="faultProp" value="In Fault Sequence" />
      </log>
</faultSequence>

Send an invalid JSON request as follows,

curl -v -X POST -H "Content-Type:application/json" -d '{"customer":' "http://localhost:8280/services/TestProxy"

You will see the Fault sequence is executed because of the Json message invalid format, but when the message is built in the fault sequence response is not returned, and the request hangs






[ESBJAVA-3693] ClassCastException when combining inline HeaderMediator with WS-Security Created: 15/May/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Mediators
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Stijn Arnauts Assignee: madhuranga bandara
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive BugTestCase.zip    
Severity: Critical
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Test cases added: Yes

 Description   

Adding a custom inline SOAP header with the HeaderMediator results in the following exception when the response is send, whenever WS-Security is enabled:

[2015-05-15 11:28:36,390] ERROR - Axis2Sender Accept-Encoding:gzip,deflate,Connection:Keep-Alive,Content-Length:2798,Content-Type:text/xml;charset=UTF-8,Host:localhost.localdomain:8280,SOAPAction:"urn:mediate",User-Agent:Apache-HttpClient/4.1.1 (java 1.5),<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Header><test>TEST</test></soapenv:Header><soapenv:Body xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="id-48"></soapenv:Body></soapenv:Envelope> Unexpected error sending message back
org.apache.axis2.AxisFault: Error in extracting message properties
	at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:76)
	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.mediators.builtin.RespondMediator.mediate(RespondMediator.java:23)
	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
	at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:47)
	at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:131)
	at org.apache.synapse.core.axis2.ProxyServiceMessageReceiver.receive(ProxyServiceMessageReceiver.java:166)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:411)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:183)
	at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.rampart.RampartException: Error in extracting message properties
	at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:414)
	at org.apache.rampart.MessageBuilder.build(MessageBuilder.java:61)
	at org.apache.rampart.handler.RampartSender.invoke(RampartSender.java:65)
	... 17 more
Caused by: org.apache.ws.security.WSSecurityException: Error in converting SOAP Envelope to Document; nested exception is: 
	java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock
	at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:149)
	at org.apache.rampart.RampartMessageData.<init>(RampartMessageData.java:268)
	... 19 more
Caused by: java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPHeaderBlock
	at org.apache.rampart.util.Axis2Util.getDocumentFromSOAPEnvelope(Axis2Util.java:99)
	... 20 more

TESTCASE: A testcase is included as an attachment. To run this testcase, first deploy the provided Proxy and secure it using scenario 2 with the default carbon truststore. Next, open the provided SoapUI project and point the security to the same keystore file. Finally, call the proxy and observe that the server does not respond. In the logs, you will see that the exception described above occured.

WORKAROUND: The exception doesn't occur for literal headers, only for inline headers. So as a temporary workaround, you can avoid the error by changing:

<header scope="default" description="AddHeader">
  <test xmlns="https://mynamespace.com">TEST</test>
</header>

to:

<header xmlns:tst="https://mynamespace.com" name="tst:test" scope="default" value="TEST"/>

If you need a more complex header than the literal header demonstrated above, you can use the EnrichMediator to add additional child elements without triggering the bug.






[ESBJAVA-3668] Issue Processing JSON with Embedded XML Created: 04/May/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Logging and Tracing
Affects Version/s: 4.9.0 - M7
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Chanaka Fernando Assignee: Chanaka Fernando
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

SUMMARY
=======
I need to convert a JSON payload containing embedded XHTML to XML.

I can get this to work, but addding a <log> mediator to the sequence causes the output to be incorrect.

I want to know if there is a recommended and better way to handle this situation, or what can be done to improve the reliability of my solution.

DESCRIPTION
===========
A simplified example of the source payload is:
{
"type":"article",
"revision":"revision1",
"id":"id1",
"wordCount": "33",
"body":

{"text":"<!DOCTYPE html><html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><head><meta charset=\"UTF-8\"/><title>Some Text</title></head><body><p><a href=\"http://www.example.com\" title=\"Example Company\">Example Company Ltd.</a>said it will report earnings late Friday. The stock slumped.</p></body></html>"}

,
"tags":

{"tag1": "tag1_value"}

}

An expected result is:

<xml>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8"/>
<title>Some Text</title>
</head>
<body>
<p>
<a href="http://www.example.com" title="Example Company">Example Company Ltd.</a>said it will report earnings late Friday. The stock slumped.</p>
</body>
</html>
</xml>

I have been able to get this to work by using a custom mediator:
o that converts the embedded XML string to an OMElement
o and attaches it as a child of jsonObject in the built message
and then using an XSLT mediator to generate the XML.

The results look like:
$ curl -H 'Content-Type: application/json' -H 'Accept: application/xml' -d @payload.json http://localhost:8280/services/ExampleProxy.ExampleProxyHttpEndpoint

<xml>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8"/>
<title>Some Text</title>
</head>
<body>
<html xml:lang="en" lang="en">
<head>
<meta charset="UTF-8"/>
<title>Some Text</title>
</head>
<body>
<p>
<a href="http://www.example.com" title="Example Company">Example Company Ltd.</a>said it will report earnings late Friday. The stock slumped.</p>
</body>
</html>
</body>
</html>
</xml>

However, if I make a single change to the sequence:
$ diff ExampleProxy.xml ExampleProxy2.xml
3c3
< name="ExampleProxy"

> name="ExampleProxy2"
13a14
> <log level="full"/>

The output becomes:
$ curl -H 'Content-Type: application/json' -H 'Accept: application/xml' -d @payload.json http://localhost:8280/services/ExampleProxy2.ExampleProxy2HttpEndpoint
<xml>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8"/>
<title>Some Text</title>
</head>
<body/>
</html>
</xml>

i.e., it is missing the html body content.






[ESBJAVA-3779] Portal/Front end Application getting 404 randomly Created: 12/Jun/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Faisal Shaik Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: ESB
Remaining Estimate: 3 hours
Time Spent: Not Specified
Original Estimate: 3 hours
Environment:

Solaries.ajax calls


Attachments: PNG File 404 error.png    
Severity: Blocker
Estimated Complexity: Moderate
Attachment License: I agree to grant a license to WSO2 for this work for inclusion in WSO2 works as per the WSO2 Contributor License Agreement and the Apache License 2.0
Affects Docs:
Yes

 Description   

Hi,

We have implemented wso2 in our existing system we replace to alsb with wso2 .But We are getting issues with Content-Type like Content-Type is empty or Content-Type is null.

In front end we are getting ERROR -404 -Not Found

We are not having any clue regarding this why we are getting this issue.

We are manipulated service url and using main sequence as entry point .



 Comments   
Comment by Isuru Udana Loku Narangoda [ 12/Jun/15 ]

Hi,

Question is not clear to us. Could you explain more on what's the bug you have encountered ?

Comment by Faisal Shaik [ 12/Jun/15 ]

If we run existing front end application with alsb its working fine.
Same time if we replace with wso2 404 errors are starting.

Some malformed xml requests are coming to wso2 ,so wso2 not responding and its not giving any response back,because of that we are getting 404 issue
We enabled application/soap+xml content-type header in axis2 file.

after that we are getting below errors randomly

Transport level information does not match with SOAP Message namespace URI

ERROR | ServerWorker | Error while building message for REST_URL request

above errors are coming frequently.

some more errors are.

2015-06-11 07:37:46 | ERROR | AnonymousListMediator | Error while building message
2015-06-11 08:12:03 | ERROR | __SynapseService | Error while building message

A

Comment by Chanaka Fernando [ 25/Jul/15 ]

Can you attach sample configuration and the response message you are getting from the back end such that we can get a proper understanding about the root cause?





[ESBJAVA-3605] NullPointerException when mediation data publisher configuration is changed without server restart Created: 12/Mar/15  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Statistics
Affects Version/s: 4.8.1
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Dumidu Handakumbura Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: ESB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

JDK 1.7, Ubuntu 13.10, MySQL, BAM 2.5.0


Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

If Mediation Data Publisher Configuration is changed(nickname, adding properties) following error is observed on server. Stats are not published to BAM. Please not that if the esb is restarted after the changes the error is not observed.

to reproduce,
1) fill mediation data publisher configuration and publish proxy stats to bam
2) change mediation data publisher configuration(add property)
3) increment stream version
4) invoke proxy service

ERROR - AsyncDataPublisher
java.lang.NullPointerException
at org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:700)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2015-03-09 16:53:03,310] ERROR - AsyncDataPublisher Not Supported stream definition type
[2015-03-09 16:53:03,310] ERROR - AsyncDataPublisher
java.lang.NullPointerException
at org.wso2.carbon.databridge.agent.thrift.AsyncDataPublisher$DataPublishWorker.run(AsyncDataPublisher.java:700)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)






[ESBJAVA-2848] OSGi container at server start up is only initializing the first bundle it came across Created: 19/Dec/13  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.7.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Chris Riley Assignee: shafreen anfar
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Development


Attachments: File AIA_Test_Lab_Spring_Mediator_Issues.rtf     Zip Archive esb-security2.zip     Zip Archive uw_esb_security_mediator.zip    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

At design time of inSequence, when trying to add a Spring Extension, we encounter an exception stating that certain namespace handlers are unavailable. We have verified that the required jars are in the repository/components/lib directory.

The error occurs when WSO2 ESB tries to load the Spring configuration file.

I have included a text file with log entries and other specific configuration details. I have also included Maven projects for both our custom security jar(which is runnable in test mode without our database), and the current state of our Spring mediator project.



 Comments   
Comment by Chris Riley [ 19/Dec/13 ]

I discovered that when WSO2 ESB/Synapse was converting the spring-jdbc, spring-tx, etc. jars into OSGi bundles, it was not assigning a valid Bundle-SymbolicName and Bundle-Version for each converted jar. It was assigning them all the same values for these properties in the MANIFEST.MF files. Basically the OSGi container at server start up was only initializing the first bundle it came across which was spring-jdbc.

I went to the Spring bundle repository and fetched the 3.1.0.RELEASE OSGi bundles. Once I restarted synapse, the OSGi console reported that all of the spring modules were active.

Comment by Chris Riley [ 19/Dec/13 ]

Error originally received.

Comment by Chris Riley [ 19/Dec/13 ]

mediator definition.

Comment by Chris Riley [ 11/Mar/14 ]

Just wanted to see if this issue has been examined and if not when we could get some feedback on the issue.





[ESBJAVA-1503] New edit options (Source View / Design View) in service list are visible even when proxy services are Inactive. Created: 22/Aug/12  Updated: 25/Jul/15

Status: Open
Project: WSO2 ESB
Component/s: Proxy Services Management
Affects Version/s: 4.5.0 M5
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Sandapa Handakumbura Assignee: Chanaka Fernando
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : WSO2 ESB 4.5.0 - 20th August 2012


Attachments: PNG File screenshot1.png     PNG File screenshot2.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

When proxy services are inactive, 'WSDL' and 'Try it' options are not visible in service list(as expected), but new edit options (Source View / Design View)are visible. And if you try to edit inactive proxy services using those options, An error is thrown. Error given on UI doesn't even give the reason.

[2012-08-22 10:07:06,034] ERROR - ProxyServiceAdmin Invalid proxy service definition :: The system is attempting to access an inactive service: InOnlyProxy
org.apache.axis2.AxisFault: The system is attempting to access an inactive service: InOnlyProxy
at org.apache.axis2.engine.AxisConfiguration.getService(AxisConfiguration.java:1033)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxyService(ProxyServiceAdmin.java:321)
at org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxy(ProxyServiceAdmin.java:702)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146)
at org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:205)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:58)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:177)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.jav