[ESBJAVA-4133] Proxy services deployed from File System(Hot Deployed) indicates as deployed from a CAPP Created: 31/Aug/15  Updated: 31/Aug/15

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

Type: Bug Priority: Highest
Reporter: Isuru Udana Loku Narangoda Assignee: Nadeeshaan Gunasinghe
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

 Comments   
Comment by Isuru Udana Loku Narangoda [ 31/Aug/15 ]

Same with the other artifacts as well.

Comment by Sandapa Handakumbura [ 31/Aug/15 ]

Could be the reason for https://wso2.org/jira/browse/ESBJAVA-4128





[ESBJAVA-4128] Artifacts that are hot deployed, gets undeployed when updating master source view. Created: 28/Aug/15  Updated: 01/Sep/15

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

Type: Bug Priority: Highest
Reporter: Sandapa Handakumbura Assignee: Nadeeshaan Gunasinghe
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : ESB 4.9.0 RC1 (standalone)
Java version : jdk1.7.0_79


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

 Description   

Steps to reproduce :

1. Copy any artifact (Endpoints, Sequences, etc..) to /repository/deployment/server/synapse-configs/default/ folder and let it get deployed.
2. Check whether above config is available in master source view and Update the master source view.

Copied artifact gets undeployed. Also, cannot hot deploy the same artifact again.

2015-08-28 14:09:34,007]  INFO - SequenceDeployer Sequence named 'DeleteAccountIn' has been deployed from file : /home/sandapa/software/esb/4.9.0/RC1FINAL/wso2esb-4.9.0-RC1/repository/deployment/server/synapse-configs/default/sequences/DeleteAccountIn.xml
[2015-08-28 14:13:19,048]  INFO - EndpointDeployer Endpoint named 'EP001' has been deployed from file : /home/sandapa/software/esb/4.9.0/RC1FINAL/wso2esb-4.9.0-RC1/repository/deployment/server/synapse-configs/default/endpoints/EP001.xml
[2015-08-28 14:13:29,684]  INFO - SynapseTaskManager Shutting down the task manager
[2015-08-28 14:13:29,788]  INFO - XMLConfigurationBuilder Generating the Synapse configuration model by parsing the XML configuration
[2015-08-28 14:13:30,045]  INFO - NTaskTaskManager Initialized task manager. Tenant [-1234]
[2015-08-28 14:13:49,053]  INFO - EndpointDeployer Endpoint named 'EP001' has been undeployed
[2015-08-28 14:13:49,055]  INFO - SequenceDeployer Sequence named 'DeleteAccountIn' has been undeployed





[ESBJAVA-4132] Update the Readme, wso2ser.sh files with Java 1.7 and 1.8 support Created: 31/Aug/15  Updated: 01/Sep/15

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

Type: Bug Priority: Highest
Reporter: Chanaka Fernando Assignee: Kevin Ratnasekera
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   

Need to update all the relevant meta files with this information.






[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-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-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-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-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-3952] Problem with invoke proxy with custom URIService and secure Created: 23/Jul/15  Updated: 03/Aug/15

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

Type: Bug Priority: High
Reporter: Gregory Goodweather Assignee: prabath ariyarathna
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-4120] Update HL7 Toolbox for DAS Created: 16/Jul/15  Updated: 26/Aug/15

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

Type: Task Priority: High
Reporter: Iranga Muthuthanthri 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   

Need to update the HL7 toolbox to be compatible with DAS 3.0.0






[ESBJAVA-4078] Support JMS 2.0.0 Created: 20/Aug/15  Updated: 20/Aug/15

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

Type: New Feature Priority: High
Reporter: Iranga Muthuthanthri 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   

Add JMS 2.0.0 support for JMS transport and inbound endpoint






[ESBJAVA-4088] Creating HTTPS inbound endpoints in multi tenancy scenario for same port fails Created: 21/Aug/15  Updated: 21/Aug/15

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

Type: Bug Priority: High
Reporter: Jason De Silva 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-RC1.zip
OS: Ubuntu 14.04
JDK: 1.7.0_79
Browser : Google Chrome Version 43.0.2357.65 (64-bit)
Setup: Standalone


Attachments: PNG File HTTPSTenantPort.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

When two tenants are available and if one tenant has created a https inbound endpoint with a port. The other tenant is not able to use that port to create a https inbound endpoint

Steps.
1. Create two tenants
2. Create a https inbound endpoint from tenant one (port 7000)
3. Try to create a https inbound endpoint from tenant two using the same port in step 2.

Issue
Tenant two is not allowed to create the https inbound endpoint - popup with - "Error initializing inbound endpoint " image attached

[2015-08-21 12:37:50,156]  INFO - InboundEndpoint Initializing Inbound Endpoint: HTTPSendpointT2
[2015-08-21 12:37:50,157]  WARN - HTTPEndpointManager Cannot Start Endpoint HTTPSendpointT2 Already occupied port 8888 by another Endpoint 
[2015-08-21 12:37:50,157] ERROR - InboundEndpoint Error initializing inbound endpoint HTTPSendpointT2
[2015-08-21 12:37:50,158] ERROR - CarbonInboundManagementService Error adding inbound Endpoint
org.apache.synapse.SynapseException: Error initializing inbound endpoint HTTPSendpointT2
	at org.apache.synapse.inbound.InboundEndpoint.init(InboundEndpoint.java:68)
	at org.wso2.carbon.inbound.CarbonInboundManagementService.addInboundEndpoint(CarbonInboundManagementService.java:128)
	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.inbound.stub.InboundAdminStub.addInboundEndpoint(InboundAdminStub.java:373)
	at org.wso2.carbon.inbound.ui.internal.InboundManagementClient.addInboundEndpoint(InboundManagementClient.java:145)
	at org.apache.jsp.inbound.saveInbound_jsp._jspService(saveInbound_jsp.java:217)
	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.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.GeneratedMethodAccessor42.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.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.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: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:745)
Caused by: org.apache.synapse.SynapseException: Cannot Start Endpoint HTTPSendpointT2 Already occupied port 8888 by another Endpoint 
	at org.wso2.carbon.inbound.endpoint.protocol.http.management.HTTPEndpointManager.startSSLEndpoint(HTTPEndpointManager.java:124)
	at org.wso2.carbon.inbound.endpoint.protocol.https.InboundHttpsListener.init(InboundHttpsListener.java:68)
	at org.apache.synapse.inbound.InboundEndpoint.init(InboundEndpoint.java:64)
	... 144 more
[2015-08-21 12:37:50,161]  INFO - InboundEndpoint Destroying Inbound Endpoint: HTTPSendpointT2
[2015-08-21 12:37:50,167] ERROR - RPCInOnlyMessageReceiver Error initializing inbound endpoint HTTPSendpointT2
org.apache.synapse.SynapseException: Error initializing inbound endpoint HTTPSendpointT2
	at org.apache.synapse.inbound.InboundEndpoint.init(InboundEndpoint.java:68)
	at org.wso2.carbon.inbound.CarbonInboundManagementService.addInboundEndpoint(CarbonInboundManagementService.java:128)
	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.inbound.stub.InboundAdminStub.addInboundEndpoint(InboundAdminStub.java:373)
	at org.wso2.carbon.inbound.ui.internal.InboundManagementClient.addInboundEndpoint(InboundManagementClient.java:145)
	at org.apache.jsp.inbound.saveInbound_jsp._jspService(saveInbound_jsp.java:217)
	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.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.GeneratedMethodAccessor42.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	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.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.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: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:745)
Caused by: org.apache.synapse.SynapseException: Cannot Start Endpoint HTTPSendpointT2 Already occupied port 8888 by another Endpoint 
	at org.wso2.carbon.inbound.endpoint.protocol.http.management.HTTPEndpointManager.startSSLEndpoint(HTTPEndpointManager.java:124)
	at org.wso2.carbon.inbound.endpoint.protocol.https.InboundHttpsListener.init(InboundHttpsListener.java:68)
	at org.apache.synapse.inbound.InboundEndpoint.init(InboundEndpoint.java:64)
	... 144 more
[2015-08-21 12:37:50,171] ERROR - InboundManagementClient org.apache.axis2.AxisFault: Error initializing inbound endpoint HTTPSendpointT2


 Comments   
Comment by Jason De Silva [ 21/Aug/15 ]

Observed the same behavior when a tenant tried to create a https inbound endpoint with a port which super tenant had used to create https inbound endpoint.





[ESBJAVA-4103] File Inbound EPs with FTPS endpoint not functioning. Created: 24/Aug/15  Updated: 24/Aug/15

Status: Open
Project: WSO2 ESB
Component/s: Inbound Endpoints
Affects Version/s: 4.9.0 - RC1
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-RC1.zip
Java Version : Java 1.8
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. By following [1] try to add URL parameters to an FTPS endpoint. (transport.vfs.FileURI) as shown below.

e.g :

ftps://wso2qar:qapass@192.168.XX.XX/VFS/IN?vfs.ssl.keystore=/home/esb49/wso2esb-4.9.0-RC1-SNAPSHOT/repository/resources/security/wso2carbon.jks&amp;vfs.ssl.truststore=/home/esb49/wso2esb-4.9.0-RC1-SNAPSHOT/repository/resources/security/client-truststore.jks&amp;vfs.ssl.kspassword=wso2carbon&amp;vfs.ssl.tspassword=wso2carbon&amp;vfs.ssl.keypassword=wso2carbon

[1] - https://docs.wso2.com/display/ESB481/VFS+Transport#VFSTransport-URLparams

Issue : When connecticting to the EP the server gives following error.

ERROR - FtpsClientFactory Error occurred while retrieving the keystore paths
java.io.FileNotFoundException:  (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:146)
	at org.apache.commons.vfs2.provider.ftps.FtpsClientFactory.addSSLParameters(FtpsClientFactory.java:277)
	at org.apache.commons.vfs2.provider.ftps.FtpsClientFactory.createConnection(FtpsClientFactory.java:187)
	at org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper.createClient(FtpsClientWrapper.java:89)
	at org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper.getFtpsClient(FtpsClientWrapper.java:102)
	at org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper.<init>(FtpsClientWrapper.java:56)
	at org.apache.commons.vfs2.provider.ftps.FtpsFileProvider.doCreateFileSystem(FtpsFileProvider.java:130)
	at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:157)
	at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:121)
	at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:90)
	at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:738)
	at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:626)
	at org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.initFileCheck(FilePollingConsumer.java:653)
	at org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.poll(FilePollingConsumer.java:164)
	at org.wso2.carbon.inbound.endpoint.protocol.file.FilePollingConsumer.execute(FilePollingConsumer.java:134)
	at org.wso2.carbon.inbound.endpoint.protocol.file.FileTask.taskExecute(FileTask.java:45)
	at org.wso2.carbon.inbound.endpoint.common.InboundTask.execute(InboundTask.java:44)
	at org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:88)
	at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	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:745)





[ESBJAVA-4102] Message processor allows duplicate names when creating message processors Created: 24/Aug/15  Updated: 24/Aug/15

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

Type: Bug Priority: High
Reporter: viraj senevirathne Assignee: Ravindra Ranwala
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   

Prints error message in console about duplicate message processors but don't show warning in the UI

[2015-08-24 12:33:59,014] ERROR - SynapseConfiguration Duplicate Message Processor sdsd
[2015-08-24 12:33:59,014] ERROR - RPCInOnlyMessageReceiver Duplicate Message Processor sdsd
org.apache.synapse.SynapseException: Duplicate Message Processor sdsd
at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
at org.apache.synapse.config.SynapseConfiguration.addMessageProcessor(SynapseConfiguration.java:1767)
at org.wso2.carbon.message.processor.service.MessageProcessorAdminService.addMessageProcessor(MessageProcessorAdminService.java:77)
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.OutOnlyAxisOperationClient.executeImpl(OutOnlyAxisOperation.java:297)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.message.processor.stub.MessageProcessorAdminServiceStub.addMessageProcessor(MessageProcessorAdminServiceStub.java:417)
at org.wso2.carbon.message.processor.ui.MessageProcessorAdminServiceClient.addMessageProcessor(MessageProcessorAdminServiceClient.java:66)
at org.apache.jsp.message_005fprocessor.ServiceCaller_jsp._jspService(ServiceCaller_jsp.java:276)
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.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:606)
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: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:745)






[ESBJAVA-4106] Do not allow to create two event sinks with the same name. Created: 25/Aug/15  Updated: 25/Aug/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - RC1
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-RC1-SNAPSHOT
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 an event sink with the following configuration.
(to connect to a BAM server)

Name* -test
Username* -admin
Password* -admin
Receiver URL* -tcp://localhost:7611
and save.

2. Create another event sink with the same name, but with different values to user name, password and receiver url fields.

The second one replaces the first one without providing any required message to replace it.

My suggestion is:

display an error message without replacing the existing one by newly created one.






[ESBJAVA-4114] ESB crashes/terminates for one tenant, when trying to update config via master source view. Created: 25/Aug/15  Updated: 25/Aug/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - RC1
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 RC1 - 24th August 2015 pack (standalone)
Java version : jdk1.8.0_45


Attachments: PNG File Error.png     Text File hs_err_pid12072.log    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

[CodeBlob (0x00007faa48a1ee10)]
Framesize: 0
BufferBlob (0x00007faa48a1ee10) used for StubRoutines (2)
#

  1. A fatal error has been detected by the Java Runtime Environment:
    #
  2. Internal Error (sharedRuntime.cpp:834), pid=12072, tid=140368604374784
  3. fatal error: exception happened outside interpreter, nmethods and vtable stubs at pc 0x00007faa48a2146f
    #
  4. JRE version: Java(TM) SE Runtime Environment (8.0_45-b14) (build 1.8.0_45-b14)
  5. Java VM: Java HotSpot(TM) 64-Bit Server VM (25.45-b02 mixed mode linux-amd64 compressed oops)
  6. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #
  7. An error report file with more information is saved as:
  8. /home/sandapa/software/esb/4.9.0/finalRC1/wso2esb-4.9.0-RC1-SNAPSHOT_old/hs_err_pid12072.log
    #
  9. If you would like to submit a bug report, please visit:
  10. http://bugreport.java.com/bugreport/crash.jsp
    #
    Aborted (core dumped)





[ESBJAVA-4110] Listed cApp endpoint navigating to editable page without warning. Created: 25/Aug/15  Updated: 26/Aug/15

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

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

ESB 490
devStudio 380


Severity: Minor
Estimated Complexity: Moderate

 Description   

Steps:
-> Create Endpoint artifact from devStudio
-> Deploy a CAR into ESB
-> Goto List Carbon Applications
-> Click on App and click on EP artifact name
it is directly navigating to edit page (can be to list page) without warning popup (can be given warning like other place).






[ESBJAVA-4139] Allows to delete proxy services that are deployed via a CApp. For other artifacts 'delete' is disabled. Created: 01/Sep/15  Updated: 01/Sep/15

Status: Open
Project: WSO2 ESB
Component/s: Carbon Applications, Proxy Services Management
Affects Version/s: 4.9.0 - RC1
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 RC1 (standalone)
Java version : jdk1.7.0_79


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




[ESBJAVA-4142] First request sent for tenants (after tenant unloading/ server restart) fails. Created: 01/Sep/15  Updated: 01/Sep/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - RC1
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 RC1 (standalone)
Java version : jdk1.7.0_79


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

 Description   
[2015-09-01 14:23:03,052]  INFO - TenantAxisUtils Loaded tenant moon.com in 908 ms
[2015-09-01 14:23:03,064]  INFO - TimeoutHandler This engine will expire all callbacks after : 120 seconds, irrespective of the timeout action, after the specified or optional timeout
[2015-09-01 14:23:03,073] ERROR - ServerWorker Error processing POST reguest for : /services/t/moon.com/Test1. Error detail: null. 
java.util.EmptyStackException
	at java.util.Stack.peek(Stack.java:102)
	at java.util.Stack.pop(Stack.java:84)
	at org.wso2.carbon.context.internal.CarbonContextDataHolder.endTenantFlow(CarbonContextDataHolder.java:1291)
	at org.wso2.carbon.context.PrivilegedCarbonContext.endTenantFlow(PrivilegedCarbonContext.java:75)
	at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processRequest(MultitenantMessageReceiver.java:229)
	at org.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.receive(MultitenantMessageReceiver.java:78)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:395)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:142)
	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-09-01 14:23:03,115] ERROR - PassThroughHttpSender Failed to submit the response
java.lang.NullPointerException
	at org.apache.synapse.transport.passthru.util.SourceResponseFactory.create(SourceResponseFactory.java:64)
	at org.apache.synapse.transport.passthru.PassThroughHttpSender.submitResponse(PassThroughHttpSender.java:462)
	at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:267)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.wso2.carbon.core.multitenancy.transports.TenantTransportSender.invoke(TenantTransportSender.java:231)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:208)
	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:444)
	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.base.SequenceMediator.mediate(SequenceMediator.java:149)
	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:297)
	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.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:166)
	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:247)
	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-09-01 14:23:03,118] ERROR - Axis2Sender Content-Type:text/xml; charset=UTF-8,<?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body/></soapenv:Envelope> Unexpected error sending message back
org.apache.axis2.AxisFault: Failed to submit the response
	at org.apache.synapse.transport.passthru.PassThroughHttpSender.handleException(PassThroughHttpSender.java:610)
	at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:269)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.wso2.carbon.core.multitenancy.transports.TenantTransportSender.invoke(TenantTransportSender.java:231)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:208)
	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:444)
	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.base.SequenceMediator.mediate(SequenceMediator.java:149)
	at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:297)
	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.wso2.carbon.core.multitenancy.MultitenantMessageReceiver.processResponse(MultitenantMessageReceiver.java:166)
	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:247)
	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: java.lang.NullPointerException
	at org.apache.synapse.transport.passthru.util.SourceResponseFactory.create(SourceResponseFactory.java:64)
	at org.apache.synapse.transport.passthru.PassThroughHttpSender.submitResponse(PassThroughHttpSender.java:462)
	at org.apache.synapse.transport.passthru.PassThroughHttpSender.invoke(PassThroughHttpSender.java:267)
	... 21 more





[ESBJAVA-4140] NullPointerException seen when server is kept idle (Ghost Deployer is enabled). Created: 01/Sep/15  Updated: 01/Sep/15

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - RC1
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 RC1 (standalone)
Java version : jdk1.7.0_79


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

 Description   

Occurs during tenant loading as well.

[2015-09-01 12:38:07,247]  INFO - ServiceUnloader Unloading actual Service Group : Echo and adding a Ghost Service Group. Tenant Domain: carbon.super
[2015-09-01 12:38:07,249]  INFO - DeploymentInterceptor Removing Axis2 Service: echo {super-tenant}
[2015-09-01 12:38:07,465] ERROR - CGAgentAdminService Could not retrieve the service publish flag for service 'echo'
java.lang.NullPointerException
	at org.wso2.carbon.cloud.gateway.agent.service.CGAgentAdminService.getServiceStatus(CGAgentAdminService.java:365)
	at org.wso2.carbon.cloud.gateway.agent.observer.CGServiceObserver.serviceUpdate(CGServiceObserver.java:52)
	at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:666)
	at org.apache.axis2.engine.AxisConfiguration.removeServiceGroup(AxisConfiguration.java:530)
	at org.wso2.carbon.service.mgt.multitenancy.ServiceUnloader.unloadInactiveServices(ServiceUnloader.java:117)
	at org.wso2.carbon.service.mgt.multitenancy.ServiceUnloader.unload(ServiceUnloader.java:71)
	at org.wso2.carbon.core.multitenancy.GenericArtifactUnloader.run(GenericArtifactUnloader.java:44)
	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)
[2015-09-01 12:38:07,467] ERROR - CGServiceObserver Error while updating the service event for the service 'echo'
[2015-09-01 12:38:07,469]  INFO - GhostDeployerUtils Deploying Ghost Axis2 Service: echo
[2015-09-01 12:38:07,470] ERROR - CGAgentAdminService Could not retrieve the service publish flag for service 'echo'
java.lang.NullPointerException
	at org.wso2.carbon.cloud.gateway.agent.service.CGAgentAdminService.getServiceStatus(CGAgentAdminService.java:365)
	at org.wso2.carbon.cloud.gateway.agent.observer.CGServiceObserver.serviceUpdate(CGServiceObserver.java:52)
	at org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:666)
	at org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:420)
	at org.wso2.carbon.service.mgt.multitenancy.ServiceUnloader.unloadInactiveServices(ServiceUnloader.java:131)
	at org.wso2.carbon.service.mgt.multitenancy.ServiceUnloader.unload(ServiceUnloader.java:71)
	at org.wso2.carbon.core.multitenancy.GenericArtifactUnloader.run(GenericArtifactUnloader.java:44)
	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)
[2015-09-01 12:38:07,471] ERROR - CGServiceObserver Error while updating the service event for the service 'echo'
[2015-09-01 12:59:04,738]  INFO - TenantAxisUtils Starting to clean tenant : moon.com
[2015-09-01 12:59:04,948]  INFO - TenantServiceBusInitializer Shutting down the persistence manager for the tenant: moon.com
[2015-09-01 12:59:04,953]  INFO - TenantAxisUtils Cleaned up tenant moon.com





[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-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-4062] ciphertool.bat file will not run as distributed Created: 13/Aug/15  Updated: 13/Aug/15

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

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

Windows


Severity: Minor
Estimated Complexity: Novice
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   

The ciphertool.bat file adds all jars in the plugins directory to the classpath. This exceds the size of a command line, and the error you get is "The input line is too long" and "the syntax of the command is incorrect". To fix this, the line that adds these jars to the classpath:
FOR %%c in ("%CARBON_HOME%\repository\bib*.jar") DO set CARBON_CLASSPATH=Unable to render embedded object: File (CARBON_CLASSPATH) not found.;".\repository\lib%%~nC%%~xC"
Needs to be commented out. The ciphertool code does not require any of these external files.






[ESBJAVA-4029] Lack of clarity around axis2 context Created: 06/Aug/15  Updated: 06/Aug/15

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

Type: Bug Priority: Normal
Reporter: John Hawkins 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   

Inside a scriptmediator I can set-property($axis2:username, "value").

This variable is then available to me later on in the sequence as if it has been set on the axis2 context e.g. in the logmediator as "axis2:username".

However, when I then have an EntitlementMediator after the setting of this property it doesn't pick up the $axis2:username variable.

It only picks it up if I set the 'username' variable in a PropertyMediator with scope axis2.

This feels a like a quirk of the setproperty method - perhaps it shouldn't allow me to set $axis2:username in setproperty - because it's not actually setting it on the axis2 context. Or perhaps the setProperty method should set the property on the axis2 context ?






[ESBJAVA-4030] devstudio exporting bad XML? Created: 06/Aug/15  Updated: 06/Aug/15

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

Type: Bug Priority: Normal
Reporter: John Hawkins 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   

I tried to manually edit an esb flow through the web UI but it fails with

javax.xml.stream.XMLStreamException: ParseError at [row,col]:[27,62] Message: Element type "header" must be followed by either attribute specifications, ">" or "/>".

This flow had been exported from devstudio - so is devstsudio the thing that output the malformed xml ?



 Comments   
Comment by John Hawkins [ 06/Aug/15 ]

Further to this - In eclipse, if I 'validate' a project' the validation process throws up a lot of schematic validation errors against my flows. This seems to be true for a number of flows but I have have attached one of them below...
<?xml version="1.0" encoding="UTF-8"?>
<api xmlns="http://ws.apache.org/ns/synapse"
name="coffeeshop_order_REST_API"
context="/coffeeshop">
<resource methods="POST GET" url-mapping="/orders">
<inSequence>
<log level="full" separator="," description="Log all"/>
<log level="custom">
<property name="VERB" expression="$axis2:HTTP_METHOD"/>
</log>
<property name="authheader"
expression="get-property('transport','X-JWT-Assertion')"
scope="default"
type="STRING"/>
<log level="custom">
<property name="LOGME_AUTHHEADER" expression="get-property('authheader')"/>
</log>
<script language="js">var temp_auth = mc.getProperty('authheader').trim();
var val = new Array();
val= temp_auth.split("
.");
var auth=val[1];
var jsonStr = Packages.java.lang.String(Packages.org.apache.axiom.om.util.Base64.decode(auth), "UTF-8");
mc.setProperty('entireheader', jsonStr);

var tempUserNameStr = new Array();
tempUserNameStr= jsonStr.split('http://wso2.org/claims/subscriber\":\"');
var decodedUserNameArray=new Array();
decodedUserNameArray = tempUserNameStr[1].split("\"");
mc.setProperty('username', decodedUserNameArray[0]);</script>
<property name="username"
expression="get-property("username")"
scope="axis2"
type="STRING"/>
<property name="xacml_resource_prefix_only"
value="true"
scope="axis2"
type="STRING"/>
<property name="xacml_resource_prefix"
value="/orders"
scope="default"
type="STRING"/>
<log level="custom" description="">
<property name="LOGME_ALL" expression="get-property('entireheader')"/>
<property name="LOGME_APPNAME" expression="get-property('appName')"/>
<property name="LOGME_USERNAME" expression="get-property('$axis2:username')"/>
<property name="LOGME_resource"
expression="get-property('$axis2:xacml_resource_prefix')"/>
</log>
<switch source="$axis2:HTTP_METHOD" description="">
<case regex="POST">
<property name="xacml_action"
value="create"
scope="default"
type="STRING"/>
<entitlementService remoteServiceUrl="https://localhost:9446/services"
remoteServiceUserName="admin"
remoteServicePassword="admin"
callbackClass="org.wso2.carbon.identity.entitlement.mediator.callback.UTEntitlementCallbackHandler"
client="wsXacml">
<onReject>
<log level="custom">
<property name="LOGME" value="Create order REJECTED"/>
</log>
</onReject>
<onAccept>
<log level="custom">
<property name="LOGME" value="Create Order ACCEPTED"/>
</log>
<sequence key="create_new_order"/>
</onAccept>
<obligations>
<log level="custom">
<property name="LOGME" value="Create Order OBLIGATIONS"/>
</log>
</obligations>
<advice>
<log level="custom">
<property name="LOGME" value="Create Order ADVICE"/>
</log>
</advice>
</entitlementService>
</case>
<case regex="GET"/>
<default/>
</switch>
</inSequence>
<outSequence>
<send/>
</outSequence>
<faultSequence>
<send/>
</faultSequence>
</resource>
<resource uri-template="/orders/

{id}

">
<inSequence>
<log level="custom" description="">
<property name="LOGME" value="GETTING WITH ID"/>
</log>
<switch source="$axis2:HTTP_METHOD">
<case regex="GET">
<payloadFactory media-type="xml" description="getSingleOrder">
<format>
<inline xmlns=""/>
</format>
<args/>
</payloadFactory>
</case>
<default/>
</switch>
<send>
<endpoint key="CoffeeShop_DSS_SOAP_EP"/>
</send>
</inSequence>
<outSequence/>
<faultSequence/>
</resource>
</api>

In order to see what I mean, put that into a devstudio esb project and 'validate' it.





[ESBJAVA-4035] fail more noisely if bad thrift port put in for BAMServer profile Created: 07/Aug/15  Updated: 07/Aug/15

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

Type: Improvement Priority: Normal
Reporter: John Hawkins 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   

If I put in the wrong thrift port for a BAM Server profile I get no warning in the console that the connection has failed so I think that I am sending messages. My precise scenario was that I had put in port 7610. "tested the server" but it failed to connect at runtime. The reason was because I should have put port 7710. I have raised a different JIRA about being smarted on the 'test server' option on the UI but this would also help if they have set the port in a different way.






[ESBJAVA-4034] BAM Server profile does misleading server test Created: 07/Aug/15  Updated: 07/Aug/15

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

Type: Bug Priority: Normal
Reporter: John Hawkins 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 I am creating a BAM server profile in ESB. I can 'test server. Regardless of which port I put in (7610 or 7710) this works - even though I may want security or not in the options. This leads to a run-time failure if I tested e.g. the non-secure port but asked for security.

Solution: If I am asking for security then test that I can make a secured connection. If I am asking for un-secured then make sure that I have unsecured connection.

(I have created a separate JIRA to fail more noisely when the connection is bad.)






[ESBJAVA-4039] Script engine returns error Created: 07/Aug/15  Updated: 07/Aug/15

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

Type: Bug Priority: Normal
Reporter: tharindu dharmarathna 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-4071] Applied kerberos security to axis2 service but allows to consume service without security headers Created: 19/Aug/15  Updated: 19/Aug/15

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

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

OS: Ubuntu 14.04
JDK: 1.7.0_79
Browser : Google Chrome Version 43.0.2357.65 (64-bit)
Setup: Standalone


Attachments: Zip Archive ESBConfFile.zip     Zip Archive EchoAxis2WebService.zip     Zip Archive ISConfFolder.zip     Zip Archive KerberosPolicy.zip     PNG File TryIt.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps
1. Activated KDC in wso2is 5.0.0 (IS conf attached)
2. Enabled kerberos in esb - ( ESB conf with is attached )
3. Created a echo axis2 service using devstudio 3.8 alpha ( axis2 project is attached )
4. Created kerberos policy from devstudio (policy project is attached)
5. Secured the axis2 service by adding the kerberos policy in axis2 services.xml
6. Exported the axis2 service .aar file and deployed it in esb
7. The service is shown as secured in esb

Issue
1. Event though service is shown as secured by invoking the service via soapui the response was received without sending security headers
2. Tryit tool also successfully shows the response even though warnings are shown (Refer pic attached)






[ESBJAVA-4070] Kerberos authentication applied to proxy service failes Created: 19/Aug/15  Updated: 19/Aug/15

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

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

OS: Ubuntu 14.04
JDK: 1.7.0_79
Browser : Google Chrome Version 43.0.2357.65 (64-bit)
Setup: Standalone


Attachments: Zip Archive CarbonApp.zip     Zip Archive ClientCode.zip     File Echo.aar     Zip Archive EsbProxy.zip     Zip Archive ISConfFile.zip     Zip Archive KerberosPolicy.zip     File TestEsb_1.0.0.car    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Tried to use kerberos authentication for a proxy in esb below are the steps followed.
Steps
1. Deployed sample axis2 echo service in wso2as-5.2.1 (.aar file attached)
2. Activated KDC in wso2is 5.0.0 (IS conf attached)
3. Added kerberos configuration in esb - ( ESB conf is attached )
4. Created a proxy service using dev studio 3.8 alpha with the endpoint set(Proxy project is attached )
5. Created kerberos policy from devstudio (policy project is attached)
6. Created a carbon app project using dev studio ( cap is attached)
7. Deployed the cap project in esb successfully.(car is attached)
8. The proxy is shown as secured in esb

Issue
1. Invoked the service using the proxy end point below exception thrown in esb (client code attached)

GSSException: Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))
	at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:788)
	at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:342)
	at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:285)
	at org.apache.ws.security.processor.KerberosTokenProcessor$1.run(KerberosTokenProcessor.java:475)
	at org.apache.ws.security.processor.KerberosTokenProcessor$1.run(KerberosTokenProcessor.java:468)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.Subject.doAs(Subject.java:356)
	at org.apache.ws.security.processor.KerberosTokenProcessor.acceptSecurityContext(KerberosTokenProcessor.java:468)
	at org.apache.ws.security.processor.KerberosTokenProcessor.verifyXMLSignature(KerberosTokenProcessor.java:296)
	at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:308)
	at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:124)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:332)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:249)
	at org.apache.rampart.RampartEngine.process(RampartEngine.java:187)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
	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.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:393)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:140)
	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: KrbException: Integrity check on decrypted field failed (31)
	at sun.security.krb5.internal.crypto.DesCbcEType.decrypt(DesCbcEType.java:164)
	at sun.security.krb5.internal.crypto.DesCbcMd5EType.decrypt(DesCbcMd5EType.java:41)
	at sun.security.krb5.internal.crypto.DesCbcEType.decrypt(DesCbcEType.java:135)
	at sun.security.krb5.internal.crypto.DesCbcMd5EType.decrypt(DesCbcMd5EType.java:41)
	at sun.security.krb5.EncryptedData.decrypt(EncryptedData.java:177)
	at sun.security.krb5.KrbApReq.authenticate(KrbApReq.java:278)
	at sun.security.krb5.KrbApReq.<init>(KrbApReq.java:144)
	at sun.security.jgss.krb5.InitSecContextToken.<init>(InitSecContextToken.java:108)
	at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:771)
	... 24 more
[2015-08-19 10:17:39,224] ERROR - KerberosTokenProcessor Integrity check on decrypted field failed (31)
KrbException: Integrity check on decrypted field failed (31)
	at sun.security.krb5.internal.crypto.DesCbcEType.decrypt(DesCbcEType.java:164)
	at sun.security.krb5.internal.crypto.DesCbcMd5EType.decrypt(DesCbcMd5EType.java:41)
	at sun.security.krb5.internal.crypto.DesCbcEType.decrypt(DesCbcEType.java:135)
	at sun.security.krb5.internal.crypto.DesCbcMd5EType.decrypt(DesCbcMd5EType.java:41)
	at sun.security.krb5.EncryptedData.decrypt(EncryptedData.java:177)
	at org.apache.ws.security.kerberos.KrbTicketDecoder.decryptTicket(KrbTicketDecoder.java:99)
	at org.apache.ws.security.kerberos.KrbTicketDecoder.parseApReq(KrbTicketDecoder.java:90)
	at org.apache.ws.security.kerberos.KrbTicketDecoder.parseServiceTicket(KrbTicketDecoder.java:67)
	at org.apache.ws.security.kerberos.KrbTicketDecoder.getSessionKey(KrbTicketDecoder.java:50)
	at org.apache.ws.security.processor.KerberosTokenProcessor.getSessionKey(KerberosTokenProcessor.java:493)
	at org.apache.ws.security.processor.KerberosTokenProcessor.verifyXMLSignature(KerberosTokenProcessor.java:297)
	at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:308)
	at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:124)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:332)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:249)
	at org.apache.rampart.RampartEngine.process(RampartEngine.java:187)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
	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.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:393)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:140)
	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-08-19 10:17:39,229] ERROR - AxisEngine An error was discovered processing the <wsse:Security> header (Failed to create the security token)
org.apache.axis2.AxisFault: An error was discovered processing the <wsse:Security> header (Failed to create the security token)
	at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)
	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.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:393)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:140)
	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.ws.security.WSSecurityException: An error was discovered processing the <wsse:Security> header (Failed to create the security token)
	at org.apache.ws.security.processor.KerberosTokenProcessor.verifyXMLSignature(KerberosTokenProcessor.java:341)
	at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:308)
	at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:124)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:332)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:249)
	at org.apache.rampart.RampartEngine.process(RampartEngine.java:187)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
	... 10 more
[2015-08-19 10:17:39,230] ERROR - ServerWorker Error processing POST request for : /services/ASesbProxy
org.apache.axis2.AxisFault: An error was discovered processing the <wsse:Security> header (Failed to create the security token)
	at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:95)
	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.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:393)
	at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:140)
	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.ws.security.WSSecurityException: An error was discovered processing the <wsse:Security> header (Failed to create the security token)
	at org.apache.ws.security.processor.KerberosTokenProcessor.verifyXMLSignature(KerberosTokenProcessor.java:341)
	at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:308)
	at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:124)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:332)
	at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:249)
	at org.apache.rampart.RampartEngine.process(RampartEngine.java:187)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
	... 10 more

Client side

org.apache.axis2.AxisFault: Must Understand check failed for header http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd : Security
	at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:104)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:170)
	at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:359)
	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.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
	at org.wso2.identity.esb.kerberos.KerberosClient.run(KerberosClient.java:116)
	at org.wso2.identity.esb.kerberos.KerberosClient.main(KerberosClient.java:48)
	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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:140)
	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 com.intellij.rt.execution.CommandLineWrapper.main(CommandLineWrapper.java:130)
Could not create service client





[ESBJAVA-4072] User Token policy applied to axis2 service allows to consume service without authentication credentials Created: 19/Aug/15  Updated: 19/Aug/15

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

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

OS: Ubuntu 14.04
JDK: 1.7.0_79
Browser : Google Chrome Version 43.0.2357.65 (64-bit)
Setup: Standalone


Attachments: Zip Archive UTAxis2Service.zip     Zip Archive UserTokenPolicy.zip     File UserTokenService_1.0.0.aar    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps
1. Created a axis2 service using dev studio 3.8 alpha ( axis2 service project is attached )
2. Created a username token policy using dev studio ( Registry handler project attached)
3. Added the UT policy details to axis2 - services.xml to secure the service
4. Exported the axis2 service using dev studio and deployed the axis2 service in esb (service file is attached)
5. Service is shown as secured in esb

Issue
1. Invoked the axis2 service via soap ui without providing any security header and the request was successful.
2. Invoked the service using try it tool with false user name and password. Response is shown with the string echoed. And also below exception is thrown.

[2015-08-19 06:43:39,121] ERROR - AxisEngine SOAP header missing
org.apache.axis2.AxisFault: SOAP header missing
	at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:186)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:99)
	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.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:359)
	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.axis2.client.ServiceClient.sendReceive(ServiceClient.java:530)
	at org.apache.jsp.admin.jsp.WSRequestXSSproxy_005fajaxprocessor_jsp._jspService(WSRequestXSSproxy_005fajaxprocessor_jsp.java:294)
	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.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:745)
Caused by: org.apache.rampart.RampartException: SOAP header missing
	at org.apache.rampart.RampartEngine.process(RampartEngine.java:128)
	at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
	... 55 more






[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-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-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.java:49)
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:1001)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
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:619)
[2012-08-22 10:07:06,059] ERROR - ProxyServiceAdminClient Unable to modify proxy service: InOnlyProxy
org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminProxyAdminException: ProxyServiceAdminProxyAdminException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.wso2.carbon.proxyadmin.stub.ProxyServiceAdminStub.modifyProxy(ProxyServiceAdminStub.java:1573)
at org.wso2.carbon.proxyadmin.ui.client.ProxyServiceAdminClient.modifyProxy(ProxyServiceAdminClient.java:112)
at org.apache.jsp.proxyservices.submit_jsp._jspService(submit_jsp.java:107)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:599)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:536)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:265)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:643)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:637)
at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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(template_jsp.java:539)
at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:290)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:161)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:690)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:477)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:402)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:329)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:258)
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:722)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:36)
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.java:49)
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:1001)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
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:619)



 Comments   
Comment by Sandapa Handakumbura [ 22/Aug/12 ]

At least the Error message given on UI should be meaningful.





[ESBJAVA-2183] POST without content type. Created: 26/Jun/13  Updated: 25/Jul/15

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

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

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

 Description   

According to the HTTP 1.1 spec

"Any HTTP/1.1 message containing an entity-body SHOULD include a Content-Type header field defining the media type of that body. If and only if the media type is not given by a Content-Type field, the recipient MAY attempt to guess the media type via inspection of its content and/or the name extension(s) of the URI used to identify the resource. If the media type remains unknown, the recipient SHOULD treat it as type "application/octet-stream"."

Once i sent a POST without content type, ESB build the message in application/x-www-form-urlencoded type. Shouldn't the type be application/octet-stream?

Steps to reproduce:
================
1. Udate synapse config
<?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>
<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>
<log level="full"/>
<send>
<endpoint>
<address uri="http://localhost:9001/services/SimpleStockQuoteService"/>
</endpoint>
</send>
</in>
<out>
<log level="full"/>
<send/>
</out>
</sequence>
</definitions>

2. Send a POST without content.
curl -X POST -H "SOAPAction: getQuote" --data @request.xml http://localhost:8280

Reference : https://issues.apache.org/jira/browse/SYNAPSE-587






[ESBJAVA-2244] Improve the implementation in quad - channel JMS-JMS Created: 28/Jun/13  Updated: 25/Jul/15

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

Type: Improvement Priority: Normal
Reporter: shammi Jayasinghe Assignee: shafreen anfar
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File log.txt    
Issue Links:
Dependants
blocks MB-340 Getting java.lang.OutOfMemoryError: J... Reopened
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

We are experiencing the issue [1] in Message Broker when testing the ESB integrated with MB with this feature. In that we could observe that , JMS transport implementation creates a subscription per message sent out from the ESB to achieve this scenario.

We need to implement this feature with out having that behavior. I am attaching the log which indicates the number of subscriptions it creates per message with this.

[1] https://wso2.org/jira/browse/MB-340






[ESBJAVA-2384] Error in building Passthrough stream when Entitlement Mediator is configured Created: 02/Aug/13  Updated: 25/Jul/15

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

Type: Bug Priority: Normal
Reporter: Pushpalanka Jayawardhana Assignee: madhuranga bandara
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WSO2 ESB 4.7.0
WSO2 IS 4.5.0
WSO2 AS 5.1.0
Ubuntu 12.04


Attachments: Zip Archive Resources_for_the_sample.zip    
Severity: Minor
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   

The scenario is as described in the article [1] . When the sample client is run following error is printed in ESB server side though the expected results are presented.

[2013-08-02 12:53:43,991] INFO - LogMediator LOG = ===================================In Sequence ============================
[2013-08-02 12:53:43,991] INFO - LogMediator Entitlement Phase = Before the entitlement phase
[2013-08-02 12:53:44,217] INFO - LogMediator Entitlement Phase = After the entitlement mediator
[2013-08-02 12:53:44,222] INFO - LogMediator LOG = ===================================Out Sequence ============================
[2013-08-02 12:53:44,222] ERROR - RelayUtils Error while building Passthrough stream
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col

{unknown-source}]: [1,0]
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
at org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:129)
at org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:116)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:91)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:302)
at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:92)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:71)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:239)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:443)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:222)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}

]: [1,0]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)
at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2116)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2022)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1114)
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.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
... 19 more
[2013-08-02 12:53:44,224] ERROR - RelayUtils Error while building Passthrough stream
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col

{unknown-source}]: [1,0]
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.om.impl.llom.OMDocumentImpl.getOMDocumentElement(OMDocumentImpl.java:109)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:570)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.getDocumentElement(StAXOMBuilder.java:566)
at org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:129)
at org.apache.synapse.transport.passthru.util.RelayUtils.builldMessage(RelayUtils.java:116)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:91)
at org.apache.synapse.transport.passthru.util.RelaySecuirtyMessageBuilderDispatchandler.build(RelaySecuirtyMessageBuilderDispatchandler.java:165)
at org.apache.synapse.transport.passthru.util.RelaySecuirtyMessageBuilderDispatchandler.invoke(RelaySecuirtyMessageBuilderDispatchandler.java:101)
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:161)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:308)
at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:92)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:71)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:239)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:443)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:166)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:222)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}

]: [1,0]
at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)
at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2116)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2022)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1114)
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.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681)
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214)
... 26 more
[2013-08-02 12:53:44,250] INFO - LogMediator LOG = ===================================In Sequence ============================
[2013-08-02 12:53:44,250] INFO - LogMediator Entitlement Phase = Before the entitlement phase
[2013-08-02 12:53:44,277] INFO - LogMediator Entitlement Phase = After the entitlement mediator
[2013-08-02 12:53:44,280] INFO - LogMediator LOG = ===================================Out Sequence ============================
[2013-08-02 12:53:44,301] INFO - LogMediator LOG = ===================================In Sequence ============================
[2013-08-02 12:53:44,302] INFO - LogMediator Entitlement Phase = Before the entitlement phase
[2013-08-02 12:53:44,326] ERROR - EntitlementMediator org.apache.synapse.SynapseException: User is not authorized to perform the action

The sample client, used entitlement policy and proxy configuration at ESB are attached here with.

[1] - http://wso2.com/library/articles/2011/08/finegrained-authorization-restful-services-xacml






[ESBJAVA-3716] Service url for the entitlement mediator should be able to set dynamically Created: 26/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: Improvement Priority: Normal
Reporter: Asanka Vithanage 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: Yes

 Description   

Currently we are hard coding the service url for the entitlement mediator[1][2]. But there can be situations where users need to set service url in dynamic manner.So we should give the ability to set service url dynamically.
May be we can implement server url to be read from registry

[1] public void build(OMElement elem) {
getList().clear();
OMAttribute attRemoteServiceUri = elem.getAttribute(PROP_NAME_SERVICE_EPR);

[2]https://docs.wso2.com/display/ESB481/Entitlement+Mediator#EntitlementMediator-Example






[ESBJAVA-3576] wss4j_1.5.11.wso2v6.jar has Embed-Dependency of bcprov-jdk15-132.jar Created: 20/Feb/15  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: Balaji Sengeni 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: Yes

 Description   

Hi Team,

I have noticed that wss4j_1.5.11.wso2v6.jar has Embed-Dependency of bcprov-jdk15-132.jar also export the org.bouncycastle.*, can that dependency be provided at runtime so that it is flexible to upgrade the bouncycastle version if required for any solution.

Kind Regards,
Balaji






[ESBJAVA-2953] Error handling of Sequence (OnError) not working when using Sampling Message Processor Created: 24/Jan/14  Updated: 26/Jul/15

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

Type: Improvement