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

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

Type: Bug Priority: Highest
Reporter: Suminda Chamara Silva Assignee: Kasun Indrasiri
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-3382] Having a call mediator inside a entitlement mediator OnAccept path does not give any results Created: 15/Oct/14  Updated: 06/Feb/15

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

Type: Bug Priority: Highest
Reporter: Janaka Ranabahu 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   

Hi,

Please find my proxy service configuration below. The log mediator after the call mediator is never executed. The following WARN was present in the wso2carbon.log. Please note that scenario works with the send mediator.

WARN - Axis2SynapseEnvironment ContinuationStateStack empty. No ContinuationState to mediate the response

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="testE"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<property name="username" value="crtMgr" scope="axis2"/>
<log level="custom">
<property name="Effective User" expression="$axis2:username"/>
</log>
<entitlementService remoteServiceUrl="https://localhost:9463/services"
remoteServiceUserName="admin"
remoteServicePassword="enc:kuv2MubUUveMyv6GeHrXr9il59ajJIqUI4eoYHcgGKf/BBFOWn96NTjJQI+wYbWjKW6r79S7L7ZzgYeWx7DlGbff5X3pBN2Gh9yV0BHP1E93QtFqR7uTWi141Tr7V7ZwScwNqJbiNoV+vyLbsqKJE7T3nP8Ih9Y6omygbcLcHzg="
callbackClass="org.wso2.carbon.identity.entitlement.mediator.callback.UTEntitlementCallbackHandler"
client="basicAuth">
<onReject>
<log level="custom">
<property name="Rejected" value="Rejected"/>
</log>
<respond/>
</onReject>
<onAccept>
<log level="custom">
<property name="Accept" value="Accept"/>
</log>
<call>
<endpoint>
<address uri="http://localhost:9764/services/Version/getVersion"/>
</endpoint>
</call>
<log level="full"/>
<respond/>
</onAccept>
<obligations>
<log level="custom">
<property name="Obligations" value="Obligations"/>
</log>
<respond/>
</obligations>
<advice>
<log level="custom">
<property name="Advice" value="Advice"/>
</log>
<respond/>
</advice>
</entitlementService>
</inSequence>
<outSequence>
<send/>
</outSequence>
</target>
</proxy>






[ESBJAVA-3540] How to reset the mediator cache? Created: 10/Feb/15  Updated: 01/Apr/15

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

Type: Improvement Priority: Highest
Reporter: dushan abeyruwan Assignee: Vijitha Ekanayake
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   

We use the cache mediator in some of our proxy definitions:

        
<inSequence> 
            ... 
            <cache collector="false" 
                hashGenerator="org.wso2.caching.digest.DOMHASHGenerator" 
                id="xxxxxx" 
                maxMessageSize="5000" scope="per-mediator" timeout="600000"> 
                <implementation maxSize="1000" type="memory"/> 
                <onCacheHit/> 
            </cache> 
        </inSequence> 

In some situations we want to invalidate the whole cache. At the moment the only way to achieve this is to restart the node. A redeployment of the CAR File containing the proxy with the cache definition does not reset the cache.

Is there another way to reset the cache withouth restarting the esb node






[ESBJAVA-3449] Cannot connect to a Windows endpoint via SMB when the users are in a Active Directory Created: 04/Dec/14  Updated: 21/Apr/15

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

Type: Bug Priority: Highest
Reporter: Yasassri Rathnayake Assignee: Sandamal Weerasinghe
Resolution: Unresolved Votes: 0
Labels: ESB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB 4.8.0
Windows 2008R2
Active Directory User store
Oracle JDK 1.6


Issue Links:
Duplicate
is duplicated by ESBJAVA-3452 SMB Connection Issue with ESB v4.8.0 ... Resolved
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Reproducing steps,

1. Configure a windows file share end point via SMB.
2. Configure an Active Directory in the windows instance.
3. Define a proxy service and send a file to the windows endpoint via vfs over smb.
4. The following errors will be thrown in the back end.

INFO - AxisEngine [MessageContext: logID=250958944117f679dbde25d8df307fe5d3003772f9d0a323] Couldn't send the message to file : smb://wso2.test\Administrator:#######@192.168.YY.XX/smbshare/security.2014308.192836, unable to acquire the lock even after 4 retries



 Comments   
Comment by Yasassri Rathnayake [ 04/Dec/14 ]

The solution for the above is,

Replacing the "jcifs_0.8.3.wso2v1.jar" with the newer version, "jcifs-1.3.18.jar".

This should be included in the next release

Comment by Chathurika De Silva [ 05/Dec/14 ]

The linked issue is closed as fixed since the original issue exists.

Comment by Sandamal Weerasinghe [ 23/Jan/15 ]

Upgraded jcifs and jsch to versions 1.3.17 and 0.1.49

https://github.com/wso2-dev/wso2-commons-vfs/pull/6
https://github.com/wso2-dev/wso2-synapse/pull/206
https://github.com/wso2-dev/carbon-mediation/pull/110

Comment by Sandamal Weerasinghe [ 21/Apr/15 ]

Upgraded the jcifs library used by the ESB to the latest, but the jsch library is packed by the dep sync, therefore it cannot be upgraded at the moment.





Support for customized the access logs other than combined log format (ESBJAVA-2598)

[ESBJAVA-3512] Support for Http,NHttp transport customize access log format Created: 28/Jan/15  Updated: 23/Apr/15

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

Type: Sub-task Priority: Highest
Reporter: Faisal Shaik Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Comments   
Comment by Faisal Shaik [ 28/Jan/15 ]

Hi,

Even I am trying to change org.apache.transports.NHttp.AccessSconstant file but I am unable find this path in wso2esb folder Is any one help,Because without configurable access logs are not more useful.

Thanks in advance.

Comment by Jan Callewaert [ 23/Apr/15 ]

What is the status for this? Will this be fixed in the next release?





[ESBJAVA-3687] Error when sending Plain-old XML over JMS MQ endpoint Created: 12/May/15  Updated: 12/May/15

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

Type: Bug Priority: Highest
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   

Send a plain-old XML message over a JMS MQ Endpoint. It is important that no SOAP envelope is sent along with it.
Currently it is configured using the libraries mentioned in this post: http://mrmalakasilva.blogspot.be/2013/10/connecting-mechanisms-other-than.html In a sequence we try to remove all HTTP headers (Content-Type, etc.). We configured the endpoint with format 'POX'. I attached the XML configuration files below.
If we configure the EP with format 'leave as-is', then it works but the message is included in a soap envelope.
When sending messages we receive following stacktrace
TID: [0] [ESB1] [2015-05-12 11:47:09,332] ERROR

{org.apache.axis2.transport.jms.JMSSender} - Error creating a JMS message from the message context {org.apache.axis2.transport.jms.JMSSender}

com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0049: The property name 'Content-Type' is not a valid Java(tm) identifier.
The supplied property name does not conform to the allowed format described in the JMS specification.
Check the characters used in the property name and modify as necessary.






[ESBJAVA-3697] Test and document the process of upgrading from ESB 4.8.1 to ESB 4.9.0 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: Task Priority: Highest
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   

The content in https://docs.wso2.com/display/ESB490/Upgrading+from+the+Previous+Release can be used as a draft and steps can be added/removed as required while testing the upgrade






[ESBJAVA-3677] HTTP transport header Date gets manipulated inside ESB Created: 08/May/15  Updated: 22/May/15

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

Type: Improvement Priority: Highest
Reporter: Sajini De Silva 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
Test cases added: Yes

 Description   

When message is sent to ESB with the Date header, ESB drops the header from the message. Also for the response Date header is changed from ESB.

Need a new feature to provide the facility to enable a special flag by enabling http.date.preserve=true like in User-Agent header, so that it won't be changed.






[ESBJAVA-3718] Cannot switch to source view of all mediators. Created: 26/May/15  Updated: 27/May/15

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

Type: Bug Priority: Highest
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 Alpha (standalone)
Java version : jdk1.7.0
Browsers : FF, Chrome


Attachments: PNG File Screenshot.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

When we try to switch to mediator source view nothing happens.

(Tried with foreach mediator and when the given expression is invalid a backend exception is thrown when we try to switch to source view, but no UI indication is given to the user.)



 Comments   
Comment by Maheeka Jayasuriya [ 26/May/15 ]

switch to source view is not working for all mediators





[ESBJAVA-2113] Service stats do not get updated for some faults Created: 16/Aug/12  Updated: 20/Jun/13

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

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

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

 Description   

Steps to reproduce:
===============
1. Secure a proxy service in ESB (assign signonly policy)
2. Send non-secured requests to the services

Service stat count will not be updated.






[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-2246] MBeans Hour related latency values not updated Created: 28/Jun/13  Updated: 28/Jun/13

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

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

Attachments: PNG File mbeans.png    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

1. Create a passthru proxy to Appserver echo endpoint and send echoint request - make it long running
2. Verify MBeans from jconsole

Issue: LastHourAvgLatency, Last8HourAvgLatency and Last24HourAvgLatency values not updated and show it as 0 even after 2 hours.






[ESBJAVA-2949] NPE thrown when running deployment scheduler noticed while a proxy service is being deployed on a worker node Created: 23/Jan/14  Updated: 23/Jan/14

Status: Open
Project: WSO2 ESB
Component/s: Deployment Synchronizer
Affects Version/s: 4.8.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:

Operating System : Linux 3.2.0-29-generic, amd64
Java Version/Java VM : 1.7.0/Java HotSpot(TM) 64-Bit Server VM 21.0-b17,Oracle Corporation
Packs : wso2esb-4.8.1
DBMS/DBMS Driver :Mysql 5.5.32-0ubuntu0.12.10.1 , mysql-connector-java-5.1.26 ( Revision: $

{bzr.revision-id}

)
Browser : Firefox 11
Setup : Clustered with wka (1 manager & 2 worker nodes)


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

 Description   

Noticed the below exception while a proxy service was being deployed

TID: [0] [ESB] [2014-01-23 18:14:54,591] INFO

{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=1, tenantDomain='evan.com', messageId=cf15f9b6-5185-4baf-9eca-6bce3e3a5220} {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener}

TID: [0] [ESB] [2014-01-23 18:14:54,592] INFO

{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received [SynchronizeRepositoryRequest{tenantId=1, tenantDomain='evan.com', messageId=cf15f9b6-5185-4baf-9eca-6bce3e3a5220}] {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest}

TID: [0] [ESB] [2014-01-23 18:14:54,592] INFO

{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating repo update required parameter {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest}

TID: [0] [ESB] [2014-01-23 18:15:07,255] INFO

{org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Starting to clean tenant : evan.com {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}

TID: [0] [ESB] [2014-01-23 18:15:07,257] INFO

{org.wso2.carbon.mediation.initializer.multitenancy.TenantServiceBusInitializer} - Shutting down the persistence manager for the tenant: evan.com {org.wso2.carbon.mediation.initializer.multitenancy.TenantServiceBusInitializer}

TID: [0] [ESB] [2014-01-23 18:15:07,341] INFO

{org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils} - Cleaned up tenant evan.com {org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils}

TID: [0] [ESB] [2014-01-23 18:15:08,105] ERROR

{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Error while running deployment scheduler.. {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}

java.lang.NullPointerException
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.getSynapseConfiguration(AbstractSynapseArtifactDeployer.java:396)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.isHotDeploymentEnabled(AbstractSynapseArtifactDeployer.java:77)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:97)
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:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
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)






[ESBJAVA-2840] Wso2 esb 4.8.0 is not working for repository rule or saved rule Created: 13/Dec/13  Updated: 23/Jan/14

Status: Open
Project: WSO2 ESB
Component/s: None
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, documentation
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

wso2esb4.8.0 testing environment
ubuntu,


Attachments: XML File Rule_mediator_test.xml     PNG File Screenshot from 2013-12-13 15_43_15.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes
Affects Docs:
Yes

 Description   

I am using wso2esb 4.8.0 while i am using rule mediator .Its just working for inline defined rule not for repository files how would i achive this

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="Rule_mediator_test"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<in>
<log level="full"/>
<brs:rule xmlns:brs="http://wso2.org/carbon/rules">
<brs:source xpath="">soapBody</brs:source>
<brs:target xmlns:m0="http://services.samples"
xpath=""
resultXpath=""
action="replace">soapBody</brs:target>
<brs:ruleSet>
<brs:properties/>
<brs:rule resourceType="regular" sourceType="url">
file://home/downloads/wso2esb-4.8.0/repository/samples/resources/test_rule.xml

</brs:rule>
</brs:ruleSet>
<brs:input namespace="http://services.samples" wrapperElementName="getQuote">
<brs:fact xmlns:m0="http://services.samples"
elementName="symbol"
namespace="http://services.samples"
type="java.lang.String"
xpath="//symbol"/>
</brs:input>
<brs:output namespace="http://services.samples" wrapperElementName="getQuote">
<brs:fact elementName="accept"
namespace="http://services.samples"
type="java.lang.String"/>
</brs:output>
</brs:rule>
<log level="full"/>
<switch xmlns="http://services.samples" source="//p:accept">
<case regex="ibmEndPoint">
<send>
<endpoint>
<address uri="http://youtility-desktop:8282/services/hello_proxy"/>
</endpoint>
</send>
</case>
<case regex="message">
<log level="full">
<property name="status" value="Learning WSO2ESB"/>
</log>
</case>
</switch>
<header name="To" action="remove"/>
<property name="RESPONSE" value="true"/>
<send/>
</in>
</inSequence>
<outSequence/>
</target>
</proxy>



 Comments   
Comment by faisal shaik [ 13/Dec/13 ]

unable to save with key also .Can we give rules in Excel file is it possible with rule mediator in wso2esb4.8.0.If business analyst wish to change the rule he may do it in EXCEL otherwise there is no use of rule mediator.

Comment by Kasun Indrasiri [ 23/Jan/14 ]

Lowering the priority as this is not a L1.





[ESBJAVA-2884] tenant cleanup error observed continuously when tenant is idle for sometime Created: 07/Jan/14  Updated: 27/Jan/14

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

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

default pack on linux machine


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

 Description   

1. Add a tenant and activate the tenant due to issue https://wso2.org/jira/browse/ESBJAVA-2868
2. Login to admin console as tenant
3. make it idle for sometime (nearly 30 min)

Issue: continuously logs the followings:
[2014-01-07 11:22:49,660] INFO - TenantAxisUtils Starting to clean tenant : shashika.com
[2014-01-07 11:22:49,668] ERROR - MultitenantServerManager Error occurred while executing tenant cleanup
java.lang.RuntimeException: Failed to add CarbonContext to the AxisConfiguration.
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:444)
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:396)
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:379)
at org.wso2.carbon.context.PrivilegedCarbonContext.getCurrentContext(PrivilegedCarbonContext.java:132)
at org.wso2.carbon.mediation.initializer.multitenancy.TenantServiceBusInitializer.terminatingConfigurationContext(TenantServiceBusInitializer.java:216)
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.doPreConfigContextTermination(TenantAxisUtils.java:527)
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:489)
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:438)
at org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
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.SecurityException: Malicious code detected! Trying to override restricted item: carbonContextHolder. An incident has been logged for tenant shashika.com[1]
at org.wso2.carbon.core.multitenancy.TenantAxisConfiguration.checkRestrictedItem(TenantAxisConfiguration.java:91)
at org.wso2.carbon.core.multitenancy.TenantAxisConfiguration.addParameter(TenantAxisConfiguration.java:70)
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:441)
... 17 more
[2014-01-07 11:23:49,659] INFO - TenantAxisUtils Starting to clean tenant : shashika.com
[2014-01-07 11:23:49,670] ERROR - MultitenantServerManager Error occurred while executing tenant cleanup
java.lang.RuntimeException: Failed to add CarbonContext to the AxisConfiguration.
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:444)
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:396)
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:379)
at org.wso2.carbon.context.PrivilegedCarbonContext.getCurrentContext(PrivilegedCarbonContext.java:132)
at org.wso2.carbon.mediation.initializer.multitenancy.TenantServiceBusInitializer.terminatingConfigurationContext(TenantServiceBusInitializer.java:216)
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.doPreConfigContextTermination(TenantAxisUtils.java:527)
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:489)
at org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:438)
at org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
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.SecurityException: Malicious code detected! Trying to override restricted item: carbonContextHolder. An incident has been logged for tenant shashika.com[1]
at org.wso2.carbon.core.multitenancy.TenantAxisConfiguration.checkRestrictedItem(TenantAxisConfiguration.java:91)
at org.wso2.carbon.core.multitenancy.TenantAxisConfiguration.addParameter(TenantAxisConfiguration.java:70)
at org.wso2.carbon.context.internal.CarbonContextDataHolder.getCurrentCarbonContextHolder(CarbonContextDataHolder.java:441)
... 17 more






[ESBJAVA-2965] Response caching for Proxy services fails after tenant unloads Created: 29/Jan/14  Updated: 30/Jan/14

Status: Open
Project: WSO2 ESB
Component/s: Deployment Synchronizer
Affects Version/s: 4.8.1 - RC1
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:

Operating System : Linux 3.2.0-29-generic, amd64
Java Version/Java VM : 1.7.0/Java HotSpot(TM) 64-Bit Server VM 21.0-b17,Oracle Corporation
Packs : wso2esb-4.8.1 - RC1 Packs
DBMS/DBMS Driver :Mysql 5.5.32-0ubuntu0.12.10.1 , mysql-connector-java-5.1.26 ( Revision: $

{bzr.revision-id}

)
Browser : Firefox 11
Setup : Clustered with wka (1 manager & 2 worker nodes)


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

 Description   

Steps to reproduce
===============
1. Login as a tenant and create a proxy
2. Let it sync to worker nodes
3. Apply response caching to the proxy and let it sync to worker nodes
4. Invoke the proxy and response caching would work as expected
5. Let the tenant unload
6. Invoke the proxy again and response caching fails. It would always read the database/call actual service without serving from the cache.

Note that the caching policy is available in the proxy configuration as well as the service meta files. Only the invocation fails.



 Comments   
Comment by Evanthika Amarasiri [ 30/Jan/14 ]

Noticed this with ESB 4.8.1 30th packs as well.





[ESBJAVA-2922] Message Store / Processor not listed in CApp console view Created: 17/Jan/14  Updated: 17/Jan/14

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

Type: Bug 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
Environment:

Local Setup: IBM JDK 1.7.0
OS - Linux


Attachments: File CAppMSP_1.0.0.car    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce
-------------------------
1.) Deploy attached CApp with Message Store and Processor.
2.) Navigate to CApp console view

Issue:
The Message Store and Processor is not listed in the Console View






[ESBJAVA-2995] Total Request Count not shown in Service Statistics for HL7 Proxies Created: 08/Feb/14  Updated: 08/Feb/14

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

Type: Bug Priority: High
Reporter: Ravi Undupitiya 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   

There are some changes in org.wso2.carbon.statistics between version 4.1.2 and 4.2.2 - this is causing HL7 proxies to not report the total request count (always 0).

This is working in ESB 4.7.0 with org.wso2.carbon.statistics-4.1.2, and its broken in both ESB 4.8.0 and ESB 4.8.1 - with either of HL7 Feature 4.2.0 or HL7 Feature 4.2.1.

Originally reported at: http://stackoverflow.com/questions/21629427/what-happened-to-hl7-proxy-statistics-in-wso2-esb-4-8-1



 Comments   
Comment by Ravi Undupitiya [ 08/Feb/14 ]

Changes are seen in org.wso2.carbon.statistics.module.InOutMEPHandler and org.wso2.carbon.statistics.module.InOnlyMEPHandler





[ESBJAVA-3024] [MB Cluster]java.lang.OutOfMemoryError: GC overhead limit exceeded exception observed for message storing and forward scenario Created: 03/Mar/14  Updated: 03/Mar/14

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

Type: Bug 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
Environment:

MB Cluster environment
-----------------------------
Message Producer(Client): ESB 4.8.1 (Message Store and Forward scenario)
Cluster - 3 Node MB 2.1.0 Cluster configured to External Cassandra)


Attachments: File ESB_MSandMP_WSO2MB_Schenario_TestPack_O_CApp_1.0.0.car     Java Archive File andes-client-0.13.wso2v8.jar     File jndi.properties    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce
---------------------------
1.) Create a message store and forward scenario ( C-App attached).
2.) Send 100,000 messages. to proxy service

The following exception was noted on ESB

[2014-03-03 04:37:36,065] ERROR - JmsStore Could not create a Message Producer for Store [MessageStoreO1]. Error:GC overhead limit exceeded
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.util.Arrays.copyOfRange(Arrays.java:3209)
at java.lang.String.<init>(String.java:215)
at java.lang.StringBuilder.toString(StringBuilder.java:430)
at java.lang.Object.toString(Object.java:219)
at org.wso2.andes.client.BasicMessageProducer.setPublishMode(BasicMessageProducer.java:167)
at org.wso2.andes.client.BasicMessageProducer.<init>(BasicMessageProducer.java:148)
at org.wso2.andes.client.BasicMessageProducer_0_8.<init>(BasicMessageProducer_0_8.java:51)
at org.wso2.andes.client.AMQSession_0_8.createMessageProducer(AMQSession_0_8.java:411)
at org.wso2.andes.client.AMQSession_0_8.createMessageProducer(AMQSession_0_8.java:82)
at org.wso2.andes.client.AMQSession$7.execute(AMQSession.java:2632)
at org.wso2.andes.client.AMQSession$7.execute(AMQSession.java:2627)
at org.wso2.andes.client.AMQConnectionDelegate_8_0.executeRetrySupport(AMQConnectionDelegate_8_0.java:315)
at org.wso2.andes.client.AMQConnection.executeRetrySupport(AMQConnection.java:621)
at org.wso2.andes.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
at org.wso2.andes.client.AMQSession.createProducerImpl(AMQSession.java:2625)
at org.wso2.andes.client.AMQSession.createProducerImpl(AMQSession.java:2619)
at org.wso2.andes.client.AMQSession.createProducer(AMQSession.java:1231)
at org.wso2.andes.client.AMQSession.createProducer(AMQSession.java:109)
at org.apache.synapse.message.store.impl.jms.JmsStore.newProducer(JmsStore.java:346)
at org.apache.synapse.message.store.impl.jms.JmsStore.getProducer(JmsStore.java:136)
at org.apache.synapse.mediators.store.MessageStoreMediator.mediate(MessageStoreMediator.java:84)
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$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)






[ESBJAVA-3032] when 1 million records were generated via a client to ESB and BAM after a while java.lang.OutOfMemoryError: Java heap space is thrown Created: 06/Mar/14  Updated: 06/Mar/14

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

Type: Bug Priority: High
Reporter: Shavantha Weerasinghe Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 1
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 : wso2cep-3.1.0 (m1)
DBMS: h2
Browser : Firefox 27.0
Setup : integrated ESB/BAM via BAM server profile and using CEP components. Both the BAM and ESB are stand alone packs without clustering


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

 Description   

when 1 million records were generated via a client to ESB and BAM after a while java.lang.OutOfMemoryError: Java heap space is thrown

precondition
1.the ESB should be configured to accept hl7 messages
2.esb and BAM should be configured via "BAM server profile"
3.input adapter, output adapter, event builder,event formatter and execution planner must be configured

steps
1.generate 1000000 records from hl7 client to ESB proxy service
2.check both ESB and BAM logs after a while

ESB
======
</ADT_A01></hl7:message></soapenv:Body></soapenv:Envelope>
[2014-03-06 11:37:26,402] INFO - LogMediator To: , WSAction: urn:mediate, SOAPAction: urn:mediate, MessageID: urn:uuid:CCC3DE775F655829091394086258151, 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.7>20140113141433.452+0530</MSH.7>
<MSH.9>
<MSG.1>ADT</MSG.1>
<MSG.2>A04</MSG.2>
<MSG.3>ADT_A01</MSG.3>
</MSH.9>
<MSH.10>4401</MSH.10>
<MSH.11>
<PT.1>T</PT.1>
</MSH.11>
<MSH.12>
<VID.1>2.6</VID.1>
</MSH.12>
</MSH>
<SFT></SFT>
<UAC></UAC>
<EVN></EVN>
<PID></PID>
<PD1></PD1>
<ARV></ARV>
<ROL></ROL>
<NK1></NK1>
<PV1></PV1>
<PV2></PV2>
<ARV></ARV>
<ROL></ROL>
<DB1></DB1>
<OBX></OBX>
<AL1></AL1>
<DG1></DG1>
<DRG></DRG>
<ADT_A01.PROCEDURE>
<PR1></PR1>
<ROL></ROL>
</ADT_A01.PROCEDURE>
<GT1></GT1>
<ADT_A01.INSURANCE>
<IN1></IN1>
<IN2></IN2>
<IN3></IN3>
<ROL></ROL>
</ADT_A01.INSURANCE>
<ACC></ACC>
<UB1></UB1>
<UB2></UB2>
<PDA></PDA>
</ADT_A01></hl7:message></soapenv:Body></soapenv:Envelope>
[2014-03-06 11:41:21,581] ERROR - NioEndpoint$Poller
java.lang.OutOfMemoryError: GC overhead limit exceeded
[2014-03-06 11:41:45,468] ERROR - NioEndpoint$Poller
java.lang.OutOfMemoryError: Java heap space

</ADT_A01></hl7:message></soapenv:Body></soapenv:Envelope>
[2014-03-06 11:39:19,127] ERROR - NioEndpoint$Poller
java.lang.OutOfMemoryError: GC overhead limit exceeded
[2014-03-06 11:37:44,446] ERROR - ApplicationRouterImpl Attempting to send error message to remote system.
ca.uhn.hl7v2.HL7Exception: java.lang.OutOfMemoryError: GC overhead limit exceeded
at ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.processMessage(ApplicationRouterImpl.java:157)
at ca.uhn.hl7v2.protocol.impl.ApplicationRouterImpl.processMessage(ApplicationRouterImpl.java:79)
at ca.uhn.hl7v2.app.Responder.processMessage(Responder.java:90)
at ca.uhn.hl7v2.app.Receiver$Grunt.run(Receiver.java:121)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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.OutOfMemoryError: GC overhead limit exceeded
[2014-03-06 11:39:31,471] ERROR - NioEndpoint$Poller
java.lang.OutOfMemoryError: GC overhead limit exceeded

BAM Side
=========
operation_name:mediate,
message_id:urn:uuid:CCC3DE775F655829091394086026984,
timestamp:1394085828722
[2014-03-06 11:36:43,037] INFO

{EVENT_TRACE_LOGGER} - TenantId=-1234 : Output Event Adaptor : logger, sent
meta_tenant_id:-1234,
meta_http_method:,
meta_character_set_encoding:,
meta_remote_address:,
meta_transport_in_url:,
meta_message_type:application/edi-hl7,
meta_remote_host:,
meta_service_prefix:,
meta_host:shavantha-ThinkPad-T530.local:9766,
correlation_activity_id:3901120955633731763939,
message_direction:IN,
service_name:HL7ToBAM,
operation_name:mediate,
message_id:urn:uuid:CCC3DE775F655829091394086026984,
timestamp:1394085828722
[2014-03-06 11:36:43,037] INFO {EVENT_TRACE_LOGGER}

- TenantId=-1234 : Output Event Adaptor : logger, sent
meta_tenant_id:-1234,
meta_http_method:,
meta_character_set_encoding:,
meta_remote_address:,
meta_transport_in_url:,
meta_message_type:application/edi-hl7,
meta_remote_host:,
meta_service_prefix:,
meta_host:shavantha-ThinkPad-T530.local:9766,
correlation_activity_id:3901120955633731763939,
message_direction:IN,
service_name:HL7ToBAM,
operation_name:mediate,
message_id:urn:uuid:CCC3DE775F655829091394086026984,
timestamp:1394085828722
[2014-03-06 11:36:43,037] INFO

{EVENT_TRACE_LOGGER}

- TenantId=-1234 : Output Event Adaptor : logger, sent
meta_tenant_id:-1234,
meta_http_method:,
meta_character_set_encoding:,
meta_remote_address:,
meta_transport_in_url:,
meta_message_type:application/edi-hl7,
meta_remote_host:,
meta_service_prefix:,
meta_host:shavantha-ThinkPad-T530.local:9766,
correlation_activity_id:3901120955633731763939,
message_direction:IN,
service_name:HL7ToBAM,
operation_name:mediate,
message_id:urn:uuid:CCC3DE775F655829091394086026984,
timestamp:1394085828722
[2014-03-06 11:37:07,767] ERROR

{org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet} - Error while parsing http request for processing: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
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.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:54)
at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:39)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.processMultipleEvents(XMLInputMapper.java:165)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.convertToTypedInputEvent(XMLInputMapper.java:148)
at org.wso2.carbon.event.builder.core.internal.EventBuilder.processTypedEvent(EventBuilder.java:223)
at org.wso2.carbon.event.builder.core.internal.EventBuilder$TypedEventListenerImpl.onEvent(EventBuilder.java:305)
at org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet$HTTPRequestProcessor.run(HTTPMessageServlet.java:200)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:594)
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)
... 16 more
[2014-03-06 11:37:19,735] ERROR {org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet}

- Error while parsing http request for processing: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
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.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:54)
at org.apache.axiom.om.util.AXIOMUtil.stringToOM(AXIOMUtil.java:39)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.processMultipleEvents(XMLInputMapper.java:165)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.convertToTypedInputEvent(XMLInputMapper.java:148)
at org.wso2.carbon.event.builder.core.internal.EventBuilder.processTypedEvent(EventBuilder.java:223)
at org.wso2.carbon.event.builder.core.internal.EventBuilder$TypedEventListenerImpl.onEvent(EventBuilder.java:305)
at org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet$HTTPRequestProcessor.run(HTTPMessageServlet.java:200)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[1,1]
Message: Premature end of file.
at com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:594)
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)
... 16 more
[2014-03-06 11:37:58,802] ERROR

{org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet} - Error while parsing http request for processing: null
java.lang.NullPointerException
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.processMultipleEvents(XMLInputMapper.java:175)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.convertToTypedInputEvent(XMLInputMapper.java:148)
at org.wso2.carbon.event.builder.core.internal.EventBuilder.processTypedEvent(EventBuilder.java:223)
at org.wso2.carbon.event.builder.core.internal.EventBuilder$TypedEventListenerImpl.onEvent(EventBuilder.java:305)
at org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet$HTTPRequestProcessor.run(HTTPMessageServlet.java:200)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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-03-06 11:38:09,263] ERROR {org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet}

- Error while parsing http request for processing: null
java.lang.NullPointerException
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.processMultipleEvents(XMLInputMapper.java:175)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.convertToTypedInputEvent(XMLInputMapper.java:148)
at org.wso2.carbon.event.builder.core.internal.EventBuilder.processTypedEvent(EventBuilder.java:223)
at org.wso2.carbon.event.builder.core.internal.EventBuilder$TypedEventListenerImpl.onEvent(EventBuilder.java:305)
at org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet$HTTPRequestProcessor.run(HTTPMessageServlet.java:200)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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-03-06 11:38:27,767] ERROR

{org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet}

- Error while parsing http request for processing: null
java.lang.NullPointerException
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.processMultipleEvents(XMLInputMapper.java:175)
at org.wso2.carbon.event.builder.core.internal.type.xml.XMLInputMapper.convertToTypedInputEvent(XMLInputMapper.java:148)
at org.wso2.carbon.event.builder.core.internal.EventBuilder.processTypedEvent(EventBuilder.java:223)
at org.wso2.carbon.event.builder.core.internal.EventBuilder$TypedEventListenerImpl.onEvent(EventBuilder.java:305)
at org.wso2.carbon.event.input.adaptor.http.HTTPMessageServlet$HTTPRequestProcessor.run(HTTPMessageServlet.java:200)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
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)






[ESBJAVA-2898] if a proxy service becomes a faulty service after changing the transport type, even if we update the proxy service from the xml, the faulty service is not restored as a valid proxy service until system restart Created: 09/Jan/14  Updated: 27/Jan/14

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

Type: Bug Priority: High
Reporter: Shavantha Weerasinghe Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 1
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


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

 Description   

if a proxy service becomes a faulty service after changing the transport type, even if we update the proxy service from the xml, the faulty service is not restored as a valid proxy service until system restart

steps
1.access the proxy service path [esb-home]repository/deployment/server/synapse-configs/default/proxy-services and change the transport of the service from vfs to hl7

Note: the system updates the proxy service as a faulty service

2.make the required corrections to fix the fault
Note: the service remains as a faulty service

3.restart the server
Note: the service is now listed under available services






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

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: 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   

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-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-2865] Sanitizing generated temp files by WSO2 ESB XSLT Mediator Created: 06/Jan/14  Updated: 06/Jan/14

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

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

OS : Windows


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

 Description   

Each time the XSLT mediator transforms a considerably bigger file (> 15 KB), a new temp file gets created in the [ESB_HOME]/tmp and does not get cleaned up. Need a way to clean up the temp folder as it grows beyond a configured limit.






[ESBJAVA-2891] NativeWorkerPool Uncaught exception generated when invoking a proxyservice using enrich mediator Created: 08/Jan/14  Updated: 08/Jan/14

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

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

Attachments: XML File replaceval.xml     PNG File response.png     XML File testenrich.xml    
Severity: Major
Estimated Complexity: Moderate

 Description   

The input parameter value of HelloService is replaced with a new value using a custom proxy service (attached) with the use of an enrich mediator.

The following exception is thrown.
The response is returned as expected regardless of the exception.

Can be reproduced in both 4.8.0 and 4.8.1

----------------------------------------------------------------------------------------------

[2014-01-08 09:47:21,612] INFO - LogMediator To: /services/akkenrrr, WSAction: urn:greet, SOAPAction: urn:greet, MessageID: urn:uuid:fa62d479-bbab-4d25-8c16-347b2ba34736, Direction: request, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:typ="http://www.wso2.org/types"><soapenv:Body>
<typ:greet>
<!-Optional:->
<name>******REPLACED*******
</name>
</typ:greet>
</soapenv:Body></soapenv:Envelope>
[2014-01-08 09:47:21,613] INFO - LogMediator To: /services/akkenrrr, WSAction: urn:greet, SOAPAction: urn:greet, MessageID: urn:uuid:fa62d479-bbab-4d25-8c16-347b2ba34736, Direction: request, end = *************************************************************************************************************************************************
[2014-01-08 09:47:21,622] ERROR - NativeWorkerPool Uncaught exception
org.apache.axiom.om.OMException
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:212)
at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.buildNext(SOAPBodyImpl.java:171)
at org.apache.axiom.om.impl.llom.OMNodeImpl.getNextOMSibling(OMNodeImpl.java:122)
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:343)
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.util.OMSerializerUtil.serializeChildren(OMSerializerUtil.java:554)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:875)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:230)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:113)
at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:988)
at java.lang.String.valueOf(String.java:2854)
at java.lang.StringBuffer.append(StringBuffer.java:232)
at org.apache.synapse.mediators.builtin.LogMediator.getFullLogMessage(LogMediator.java:184)
at org.apache.synapse.mediators.builtin.LogMediator.getLogMessage(LogMediator.java:123)
at org.apache.synapse.mediators.builtin.LogMediator.mediate(LogMediator.java:91)
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.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:268)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:486)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
[2014-01-08 09:47:42,538] WARN - TimeoutHandler Expiring message ID : urn:uuid:e3355090-448d-4535-9ad9-0395667f6f75; dropping message after global timeout of : 120 seconds
[2014-01-08 09:47:42,539] WARN - TimeoutHandler Expiring message ID : urn:uuid:997759e4-fb09-4bb0-b50d-abde9c0d7aeb; dropping message after global timeout of : 120 seconds
[2014-01-08 09:48:27,539] WARN - TimeoutHandler Expiring message ID : urn:uuid:a16736a0-dbd2-4d42-bd31-ac93060fdfca; dropping message after global timeout of : 120 seconds
[2014-01-08 09:49:12,540] WARN - TimeoutHandler Expiring message ID : urn:uuid:5a6bbc3a-b20c-47b5-a40e-94a6f07263ab; dropping message after global timeout of : 120 seconds
[2014-01-08 09:49:27,540] WARN - TimeoutHandler Expiring message ID : urn:uuid:a9549b72-2c19-42b9-9747-b81380694931; dropping message after global timeout of : 120 seconds






[ESBJAVA-2901] Faulty C-App service are listed resulting in error page Created: 09/Jan/14  Updated: 09/Jan/14

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

Type: Bug 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
Environment:

JDK:1.7.0
OS-Ubuntu
Env: Standalone


Attachments: File CAppESB481M11_1.0.0.car    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce
------------------------
1.) Shutdown the backend service ( Simple Stock Quote) which is referenced by a proxy service.
2.) Upload the C-App (attached)

Issue:
The proxy deployment fails, however the C-App is deployed and the C-App page lists the proxy service. Click on the proxy service results in the error page for backend admin service not found.

If considering the C-App as atomic the C-App deployment should be rolled back.

Log
-------

TID: [0] [ESB] [2014-01-09 17:46:55,817] INFO

{org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : CAppESB481M11_1.0.0.car... {org.wso2.carbon.application.deployer.internal.ApplicationManager}

TID: [0] [ESB] [2014-01-09 17:46:55,835] INFO

{org.apache.synapse.deployers.EndpointDeployer} - Endpoint named 'StockEP' has been deployed from file : /home/iranga/Work/ESB/Packs/4.8.1/08-01-14/wso2esb-4.8.1/repository/carbonapps/work/1389269815817CAppESB481M11_1.0.0.car/StockEP_1.0.0/StockEP-1.0.0.xml {org.apache.synapse.deployers.EndpointDeployer}

TID: [0] [ESB] [2014-01-09 17:46:55,841] INFO

{org.apache.synapse.core.axis2.ProxyService} - Building Axis service for Proxy service : StockProxy {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-09 17:46:55,842] ERROR

{org.apache.synapse.core.axis2.ProxyService} - Error reading from wsdl URI {org.apache.synapse.core.axis2.ProxyService}

java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:213)
at sun.net.www.http.HttpClient.New(HttpClient.java:300)
at sun.net.www.http.HttpClient.New(HttpClient.java:316)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
at org.apache.synapse.config.SynapseConfigUtils.getOMElementFromURL(SynapseConfigUtils.java:312)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:284)
at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:75)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:190)
at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:140)
at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:251)
at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:114)
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$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
TID: [0] [ESB] [2014-01-09 17:46:55,844] WARN

{org.apache.synapse.deployers.ProxyServiceDeployer} - Proxy service hot deployment from file: /home/iranga/Work/ESB/Packs/4.8.1/08-01-14/wso2esb-4.8.1/repository/carbonapps/work/1389269815817CAppESB481M11_1.0.0.car/StockProxy_1.0.0/StockProxy-1.0.0.xml failed - Continue in fail-safe mode {org.apache.synapse.deployers.ProxyServiceDeployer}

org.apache.synapse.SynapseException: Error reading from wsdl URI
at org.apache.synapse.core.axis2.ProxyService.handleException(ProxyService.java:856)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:330)
at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:75)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:190)
at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:140)
at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:251)
at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:114)
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$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:337)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:388)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:483)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:213)
at sun.net.www.http.HttpClient.New(HttpClient.java:300)
at sun.net.www.http.HttpClient.New(HttpClient.java:316)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:992)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:928)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:846)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1296)
at org.apache.synapse.config.SynapseConfigUtils.getOMElementFromURL(SynapseConfigUtils.java:312)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:284)
... 24 more
TID: [0] [ESB] [2014-01-09 17:46:55,845] INFO

{org.apache.synapse.deployers.SequenceDeployer} - Sequence named 'ESB481Seq' has been deployed from file : /home/iranga/Work/ESB/Packs/4.8.1/08-01-14/wso2esb-4.8.1/repository/carbonapps/work/1389269815817CAppESB481M11_1.0.0.car/ESB481Seq_1.0.0/ESB481Seq-1.0.0.xml {org.apache.synapse.deployers.SequenceDeployer}

TID: [0] [ESB] [2014-01-09 17:46:55,846] INFO

{org.wso2.carbon.application.deployer.internal.ApplicationManager} - Successfully Deployed Carbon Application : CAppESB481M1_1.0.0 {super-tenant} {org.wso2.carbon.application.deployer.internal.ApplicationManager}

TID: [0] [ESB] [2014-01-09 17:47:38,847] ERROR

{org.wso2.carbon.service.mgt.ServiceAdmin} - Invalid service name, service not found : StockProxy {org.wso2.carbon.service.mgt.ServiceAdmin}

TID: [0] [ESB] [2014-01-09 17:47:38,850] ERROR

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

org.apache.axis2.AxisFault: Invalid service name, service not found : StockProxy
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.service.mgt.stub.ServiceAdminStub.getServiceData(ServiceAdminStub.java:5076)
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getServiceData(ServiceAdminClient.java:76)
at org.apache.jsp.service_002dmgt.service_005finfo_jsp._jspService(org.apache.jsp.service_002dmgt.service_005finfo_jsp:128)
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:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
TID: [0] [ESB] [2014-01-09 17:52:47,164] ERROR

{org.wso2.carbon.service.mgt.ServiceAdmin} - Invalid service name, service not found : StockProxy {org.wso2.carbon.service.mgt.ServiceAdmin}

TID: [0] [ESB] [2014-01-09 17:52:47,166] ERROR

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

org.apache.axis2.AxisFault: Invalid service name, service not found : StockProxy
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.service.mgt.stub.ServiceAdminStub.getServiceData(ServiceAdminStub.java:5076)
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.getServiceData(ServiceAdminClient.java:76)
at org.apache.jsp.service_002dmgt.service_005finfo_jsp._jspService(org.apache.jsp.service_002dmgt.service_005finfo_jsp:128)
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:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)






[ESBJAVA-2911] Cluster Setup:CApp endpoints are not displayed in the Carbon console view Created: 13/Jan/14  Updated: 13/Jan/14

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

Type: Bug 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
Environment:

Cluster Setup
ELB -2.1.1


Attachments: File CAppESB48_1.0.0.car     File Console-jpg    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce
------------------------
1.) Deploy CApp including an endpoint (attached)
2.)View the CApp from the console.

Issue: The endpoint view is not displayed [ refer screen shot] . When browsing to endpoint view from the console. The endpoint is displayed.

The artifact is deployed as per the manager logs.
----------------------------------

ID: [0] [ESB] [2014-01-13 16:27:08,148] INFO

{org.wso2.carbon.application.deployer.internal.ApplicationManager} - Deploying Carbon Application : CAppESB48_1.0.0.car... {org.wso2.carbon.application.deployer.internal.ApplicationManager}

TID: [0] [ESB] [2014-01-13 16:27:08,359] INFO

{org.apache.synapse.deployers.EndpointDeployer} - Endpoint named 'StockEP' has been deployed from file : /home/wso2/esb481/manager/8jan/wso2esb-4.8.1/repository/carbonapps/work/1389610628148CAppESB48_1.0.0.car/StockEP_1.0.0/StockEP-1.0.0.xml {org.apache.synapse.deployers.EndpointDeployer}




[ESBJAVA-2912] Cluster: CApp artifact direct update conflicts Created: 13/Jan/14  Updated: 13/Jan/14

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

Type: Bug 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
Environment:

Cluster environment


Attachments: File CAppESB4811_1.0.0.car    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce
-------------------------
1.) Deploy a CApp with a Sequence mediator.
2.) Once the deployment is completed select the Sequence(deployed from the CApp) and modify the mediator.
3.) The update is successful and a cluster message is sent.
4.) The changes fail at the worker node with a duplicate artifact message (log below)
3.) The changes are displayed in the management console but the workers are not synced.

The synchronization fails at worker node with the following exception.

D: [0] [ESB] [2014-01-13 17:45:48,520] INFO

{org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener} - Received ClusteringMessage: SynchronizeRepositoryRequest{tenantId=4, tenantDomain='ira.com', messageId=8f5e9569-3223-4045-83fc-c1766468c9ba} {org.wso2.carbon.core.clustering.hazelcast.HazelcastClusterMessageListener}

TID: [0] [ESB] [2014-01-13 17:45:48,521] INFO

{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Received [SynchronizeRepositoryRequest{tenantId=4, tenantDomain='ira.com', messageId=8f5e9569-3223-4045-83fc-c1766468c9ba}] {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest}

TID: [0] [ESB] [2014-01-13 17:45:48,521] INFO

{org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest} - Updating repo update required parameter {org.wso2.carbon.core.deployment.SynchronizeRepositoryRequest}

TID: [0] [ESB] [2014-01-13 17:45:59,105] ERROR

{org.apache.synapse.config.SynapseConfiguration} - Duplicate sequence definition for key : ESB481Seq {org.apache.synapse.config.SynapseConfiguration}

TID: [0] [ESB] [2014-01-13 17:45:59,105] ERROR

{org.wso2.carbon.sequences.SequenceDeploymentInterceptor} - Sequence Deployment from the file : /home/wso2/esb481/wrk1/8jan/wso2esb-4.8.1/repository/tenants/4/synapse-configs/default/sequences/ESB481Seq-1.0.0.xml : Failed. {org.wso2.carbon.sequences.SequenceDeploymentInterceptor}

org.apache.synapse.SynapseException: Duplicate sequence definition for key : ESB481Seq
at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1515)
at org.apache.synapse.config.SynapseConfiguration.assertAlreadyExists(SynapseConfiguration.java:1829)
at org.apache.synapse.config.SynapseConfiguration.addSequence(SynapseConfiguration.java:217)
at org.apache.synapse.deployers.SequenceDeployer.deploySynapseArtifact(SequenceDeployer.java:68)
at org.wso2.carbon.sequences.SequenceDeploymentInterceptor.deploySynapseArtifact(SequenceDeploymentInterceptor.java:42)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:190)
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:439)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
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)






[ESBJAVA-3041] BAM server profile creation is broken as a dead page is generated Created: 22/Jan/14  Updated: 11/Mar/14

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

Type: Bug Priority: High
Reporter: Shavantha Weerasinghe 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 :jdk1.6.0
Packs : wso2esb-4.8.1
DBMS: h2
User Store:embedded LDAP
Browser : Firefox
Set up :proxy services


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

 Description   

the creation of BAM server profile fails on the ESB 4.8.1 pack

steps
1.enter the details for BAM server profile
2.save the details
3.check the back end logs

exception
-------------
... 18 more
[2014-01-22 10:26:48,629] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2014-01-22 10:26:48,629+0530]
[2014-01-22 10:28:24,501] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 2
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.extractStream(StreamConfigListBuilder.java:70)
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.getStreamConfigurationListFromString(StreamConfigListBuilder.java:59)
at org.wso2.carbon.mediator.bam.config.ui.BamServerProfileUtils.addResource(BamServerProfileUtils.java:75)
at org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp._jspService(org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp:869)
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.GeneratedMethodAccessor38.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(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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-22 10:28:24,511] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 2
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.extractStream(StreamConfigListBuilder.java:70)
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.getStreamConfigurationListFromString(StreamConfigListBuilder.java:59)
at org.wso2.carbon.mediator.bam.config.ui.BamServerProfileUtils.addResource(BamServerProfileUtils.java:75)
at org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp._jspService(org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp:869)
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:689)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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-22 10:28:24,513] ERROR - JspTilesRequestContext JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'.
javax.servlet.jsp.JspException: ServletException while including page.
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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: org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: 2
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
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:689)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
... 70 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.extractStream(StreamConfigListBuilder.java:70)
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.getStreamConfigurationListFromString(StreamConfigListBuilder.java:59)
at org.wso2.carbon.mediator.bam.config.ui.BamServerProfileUtils.addResource(BamServerProfileUtils.java:75)
at org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp._jspService(org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp:869)
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)
... 92 more
[2014-01-22 10:28:24,532] ERROR - RoleSecurityTagSupport IO Error executing tag: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
java.io.IOException: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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-22 10:28:24,533] ERROR - RenderTagSupport Error during rendering
javax.servlet.jsp.JspException: IO Error executing tag: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:84)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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.io.IOException: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
... 63 more
[2014-01-22 10:29:26,220] 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:120)
at org.apache.commons.vfs2.provider.ftps.FtpsClientFactory.addSSLParameters(FtpsClientFactory.java:251)
at org.apache.commons.vfs2.provider.ftps.FtpsClientFactory.createConnection(FtpsClientFactory.java:170)
at org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper.createClient(FtpsClientWrapper.java:76)
at org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper.getFtpsClient(FtpsClientWrapper.java:95)
at org.apache.commons.vfs2.provider.ftps.FtpsClientWrapper.<init>(FtpsClientWrapper.java:54)
at org.apache.commons.vfs2.provider.ftps.FtpsFileProvider.doCreateFileSystem(FtpsFileProvider.java:130)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:104)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:82)
at org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:66)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:694)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:650)
at org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:606)
at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:189)
at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:158)
at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:107)
at org.apache.axis2.transport.base.AbstractPollingTransportListener$1$1.run(AbstractPollingTransportListener.java:67)
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)
[2014-01-22 10:29:26,221] ERROR - FtpsClientFactory java.io.FileNotFoundException: (No such file or directory)
[2014-01-22 10:29:26,221] WARN - VFSTransportListener Failed to resolve the file URI: ftps://ftpUser":***@"ftps.private.wso2.com/vfs/in?vfs.passive=true, in attempt 1, Could not connect to FTP server on "ftps.private.wso2.com". Retrying in 30000 milliseconds.
[2014-01-22 10:29:32,917] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 2
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.extractStream(StreamConfigListBuilder.java:70)
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.getStreamConfigurationListFromString(StreamConfigListBuilder.java:59)
at org.wso2.carbon.mediator.bam.config.ui.BamServerProfileUtils.addResource(BamServerProfileUtils.java:75)
at org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp._jspService(org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp:869)
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.GeneratedMethodAccessor38.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(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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-22 10:29:32,927] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception
java.lang.ArrayIndexOutOfBoundsException: 2
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.extractStream(StreamConfigListBuilder.java:70)
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.getStreamConfigurationListFromString(StreamConfigListBuilder.java:59)
at org.wso2.carbon.mediator.bam.config.ui.BamServerProfileUtils.addResource(BamServerProfileUtils.java:75)
at org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp._jspService(org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp:869)
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:689)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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-22 10:29:32,928] ERROR - JspTilesRequestContext JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'.
javax.servlet.jsp.JspException: ServletException while including page.
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:102)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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: org.apache.jasper.JasperException: java.lang.ArrayIndexOutOfBoundsException: 2
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
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:689)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:98)
... 70 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.extractStream(StreamConfigListBuilder.java:70)
at org.wso2.carbon.mediator.bam.config.ui.StreamConfigListBuilder.getStreamConfigurationListFromString(StreamConfigListBuilder.java:59)
at org.wso2.carbon.mediator.bam.config.ui.BamServerProfileUtils.addResource(BamServerProfileUtils.java:75)
at org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp._jspService(org.apache.jsp.bam_002dmediator_002dconfig.configure_005fserver_005fprofiles_jsp:869)
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)
... 92 more
[2014-01-22 10:29:32,944] ERROR - RoleSecurityTagSupport IO Error executing tag: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
java.io.IOException: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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-22 10:29:32,946] ERROR - RenderTagSupport Error during rendering
javax.servlet.jsp.JspException: IO Error executing tag: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:84)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$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.io.IOException: JSPException while including path '/bam-mediator-config/configure_server_profiles.jsp'. ServletException while including page.
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:91)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
... 63 more
[2014-01-22 10:29:56,2



 Comments   
Comment by Shavantha Weerasinghe [ 22/Jan/14 ]

Also noted was that when nick name and description is entered this issue does not come

Comment by Anjana Fernando [ 11/Mar/14 ]

Moved this issue to the ESB project since, this is a feature shipped with the ESB product and should be fixed in a specific ESB product release.





[ESBJAVA-3112] the stream for tenant does not seem to get created until the tenant logs in [tenant loads] Created: 17/Mar/14  Updated: 03/May/14

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

Type: Bug Priority: High
Reporter: Shavantha Weerasinghe Assignee: Chamath Gunawardana
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 : wso2cep-3.1.0(alpha pack)
DBMS: h2
Browser : Firefox 27.0
Set up :ESB and CEP connected via BAM server profile


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

 Description   

the stream for tenant does not seem to get created until the tenant logs in [tenant loads]

precondition
1.two proxies should be deployed on ESB connecting to the stream defined on BAM server profile

2.two BAM server profiles should be defined where one connects to the super tenant and the second connects to the tenant

steps
1.

Exception
------------
[2014-03-17 13:42:10,307] INFO -

{DataBridge}

admin@tenant1.com connected
[2014-03-17 13:42:10,307] ERROR -

{DefaultRealmService}

Tenant domain has not been set in CarbonContext
java.lang.NullPointerException: Tenant domain has not been set in CarbonContext
at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:79)
at org.wso2.carbon.user.core.tenant.TenantCache.getTenantCache(TenantCache.java:39)
at org.wso2.carbon.user.core.tenant.TenantCache.getValueFromCache(TenantCache.java:77)
at org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:290)
at org.wso2.carbon.user.core.tenant.JDBCTenantManager.getTenant(JDBCTenantManager.java:54)
at org.wso2.carbon.user.core.common.DefaultRealmService.getTenantUserRealm(DefaultRealmService.java:159)
at org.wso2.carbon.identity.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:61)
at org.wso2.carbon.databridge.core.internal.authentication.CarbonAuthenticationHandler.authenticate(CarbonAuthenticationHandler.java:39)
at org.wso2.carbon.databridge.core.internal.authentication.Authenticator.authenticate(Authenticator.java:69)
at org.wso2.carbon.databridge.core.DataBridge.login(DataBridge.java:188)
at org.wso2.carbon.databridge.receiver.thrift.service.ThriftSecureEventTransmissionServiceImpl.connect(ThriftSecureEventTransmissionServiceImpl.java:55)
at org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Processor$connect.getResult(ThriftSecureEventTransmissionService.java:564)
at org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Processor$connect.getResult(ThriftSecureEventTransmissionService.java:552)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
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-03-17 13:42:10,308] ERROR -

{AuthenticationServiceImpl}

User not authenticated for the given username : admin
[2014-03-17 13:42:10,308] ERROR -

{TThreadPoolServer}

Error occurred during processing of message.
org.wso2.carbon.identity.authentication.AuthenticationException: User not authenticated for the given username : admin
at org.wso2.carbon.identity.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:78)
at org.wso2.carbon.databridge.core.internal.authentication.CarbonAuthenticationHandler.authenticate(CarbonAuthenticationHandler.java:39)
at org.wso2.carbon.databridge.core.internal.authentication.Authenticator.authenticate(Authenticator.java:69)
at org.wso2.carbon.databridge.core.DataBridge.login(DataBridge.java:188)
at org.wso2.carbon.databridge.receiver.thrift.service.ThriftSecureEventTransmissionServiceImpl.connect(ThriftSecureEventTransmissionServiceImpl.java:55)
at org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Processor$connect.getResult(ThriftSecureEventTransmissionService.java:564)
at org.wso2.carbon.databridge.commons.thrift.service.secure.ThriftSecureEventTransmissionService$Processor$connect.getResult(ThriftSecureEventTransmissionService.java:552)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:32)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:34)
at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:176)
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)



 Comments   
Comment by Mohanadarshan Vivekanandalingam [ 18/Mar/14 ]

Above issue occur because tenantDomain not set before calling the below method.

UserRealm userRealm = realmService.getTenantUserRealm(tenantID);

It seems to work in packs before carbon context re-factoring..





[ESBJAVA-3120] Unable to receive response on Rabbitmq response queue Created: 09/May/14  Updated: 14/May/14

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

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

windows


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

 Description   

I am working with example of RabbitMQ proxy as provided in the WSO2 ESB. As per example The custom proxy AMQPProxy is able to read the message from rabbitmq queue : queue1. However unable to send to queue 2 .

Occasionally I get error in esb console
exception in thread "Axis2 Task" java.lang.NoSuchMethodError: org.apache.axis2.t
ransport.TransportUtils.getMessageFormatter(Lorg/apache/axis2/context/MessageCon
text;)Lorg/apache/axis2/transport/MessageFormatter;
at org.apache.axis2.transport.rabbitmq.RabbitMQMessageSender.send(Rabbit

Could you please let us know if we are missing anything in teh configuration.



 Comments   
Comment by anjana prakash [ 14/May/14 ]

Message of type text are now able to put to a rabbitmq queue and consumed using WSo2 esb proxy. However when a SOAP message is being put into the queues they are not updated by proxy in response queue. The first issues was solved after getting the latest jar's of axis2-transport-rabbitmq-amqp-1.1.0.wso2v9 and amqp-client_3.0.3.wso2v1.

Has anyone tried putting a SOAP message into a rabbitmq queue usin wso2 esb. Could you please share the configuration or steps applicable.

I am using wso2 esb 4.8.1.

Thanks,
Anjana,





[ESBJAVA-2718] Cannot delete faulty AAR Services and Faulty Data Services from ESB management console. Created: 20/Nov/13  Updated: 20/Nov/13

Status: Open
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.7.0
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:

WSO2 ESB 4.7.0


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

 Description   

[2013-11-20 13:13:51,499] ERROR - RPCMessageReceiver Exception occurred while trying to invoke service method checkForGroupedServices
java.lang.reflect.InvocationTargetException
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.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.service.mgt.stub.ServiceAdminStub.checkForGroupedServices(ServiceAdminStub.java:7568)
at org.wso2.carbon.service.mgt.ui.ServiceAdminClient.checkForGroupedServices(ServiceAdminClient.java:166)
at org.apache.jsp.service_002dmgt.checkForGroupedServices_005fajaxprocessor_jsp._jspService(org.apache.jsp.service_002dmgt.checkForGroupedServices_005fajaxprocessor_jsp:90)
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.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:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.NullPointerException
at org.wso2.carbon.service.mgt.ServiceAdmin.checkForGroupedServices(ServiceAdmin.java:849)
... 57 more






[ESBJAVA-1994] When a downstream message format is switched to SOAP 1.1, ESB responds to client with SOAP 1.1 response even for a SOAP 1.2 request. This happens only with Pass Through transport. Created: 06/Jun/13  Updated: 22/Nov/13

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

Type: Bug Priority: High
Reporter: Selvaratnam Uthaiyashankar 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   

SOAP 1.2 request -> WSO2ESB -> SOAP 1.1 request -> SOAP 1.1 application ------+

SOAP 1.2 requester <- SOAP 1.1 response <- WSO2ESB <- SOAP 1.1 response ---+

When ESB->Backend format is set to SOAP1.1, even for SOAP1.2 invocation from client->ESB will result in a SOAP1.1 response to the client. Please see following proxy service. This issue is only there with Pass Through transport. Scenario works fine with nhttp transport.

<proxy xmlns="http://ws.apache.org/ns/synapse" name="EchoProxy" transports="https,http" statistics="disable" trace="disable" startOnLoad="true">
<target>
<outSequence>
<send/>
</outSequence>
<endpoint>
<address uri="http://localhost:8281/services/echo" format="soap11"/>
</endpoint>
</target>
<publishWSDL uri="http://localhost:8280/services/echo?wsdl"/>
<description></description>
</proxy>



 Comments   
Comment by Isuru Udana Loku Narangoda [ 21/Jun/13 ]

When we use the Passthrough transport, ESB transfer the message without building/altering it when at least one content aware mediator is not present in the mediation flow.
So soap 1.1 response coming from the backend service will be delivered to the client as it is without converting to soap 1.2.

To fix this issue, this conversion can be addressed at the configuration level.
You can modify the <send/> mediator at the out sequence as follows to convert the soap 1.1 response to soap 1.2.

<send>
<endpoint>
<default format="soap12"/>
</endpoint>
</send>

Comment by Selvaratnam Uthaiyashankar [ 21/Jun/13 ]

Folks,

The resolution you provided is not correct. This formatting change should be handled by the ESB without the configuration. PT should check what was the incoming format and change the format if there are any format changes.





[ESBJAVA-2063] [intermittent] wso2statistics.request.received.time is null in the IN MessageContext Created: 17/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: High
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:

ESB 4.7.0 alpha cluster setup,


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

 Description   

Intermittently get the following error log in back end. After this occurs then the server becomes unresponsive.

TID: [0] [ESB] [2013-06-17 17:22:05,761] ERROR

{org.wso2.carbon.statistics.internal.ResponseTimeCalculator} - wso2statistics.request.received.time is null in the IN MessageContext {org.wso2.carbon.statistics.internal.ResponseTimeCalculator}

TID: [0] [ESB] [2013-06-17 17:22:05,831] ERROR

{org.wso2.carbon.statistics.internal.ResponseTimeCalculator} - wso2statistics.request.received.time is null in the IN MessageContext {org.wso2.carbon.statistics.internal.ResponseTimeCalculator}

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

Any steps to reproduce it. At lease in what kind of situation this happened ?





[ESBJAVA-2467] [MSMP] Add JMS Message Store Username / Passwords Plain text ? Created: 20/Sep/13  Updated: 22/Nov/13  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: Bug 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-2632] Messages are not transformed in to json when "Accept: application/json" is set in Restful services in NHTTP Created: 06/Nov/13  Updated: 22/Nov/13

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

Type: Bug Priority: High
Reporter: Ushani Balasooriya Assignee: dushan abeyruwan
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   

Messages are not transformed in to json when "Accept: application/json" is set in Restful services in NHTTP.

Executed the steps in Rest Client and Rest Services in http://docs.wso2.org/display/ESB480/Using+REST+with+a+Proxy+Service.

Following synapse has been used :
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://ws.apache.org/ns/synapse">
<proxy name="CustomerServiceProxy"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<switch source="$axis2:HTTP_METHOD">
<case regex="GET">
<property name="HTTP_METHOD" value="GET" scope="axis2" type="STRING"/>
</case>
<case regex="POST">
<property name="HTTP_METHOD" value="POST" scope="axis2" type="STRING"/>
</case>
<default/>
</switch>
<send>
<endpoint>
<address uri="http://localhost:9774/jaxrs_basic/services/customers/customerservice"
format="pox"/>
</endpoint>
</send>
</inSequence>
<outSequence>

<send/>
</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">
<log/>
<drop/>
</sequence>
</definitions>

Following request has been sent.

curl -v -i -H "Accept: application/json" http://localhost:8280/services/CustomerServiceProxy/customers/123

response came as an XML :

> GET /services/CustomerServiceProxy/customers/123 HTTP/1.1
> User-Agent: curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 librtmp/2.3
> Host: localhost:8280
> Accept: application/json
>
< HTTP/1.1 200 OK
HTTP/1.1 200 OK
< Content-Type: application/xml; charset=UTF-8
Content-Type: application/xml; charset=UTF-8
< Server: WSO2 Carbon Server
Server: WSO2 Carbon Server
< Date: Wed, 06 Nov 2013 10:08:10 GMT
Date: Wed, 06 Nov 2013 10:08:10 GMT
< Transfer-Encoding: chunked
Transfer-Encoding: chunked

<

  • Connection #0 to host localhost left intact
  • Closing connection #0
    <jsonObject><Customer><id>123</id><name>John</name></Customer></jsonObject>


 Comments   
Comment by Ishan Jayawardena [ 11/Nov/13 ]

The response content type and the response payload format seem to agree.

Comment by dushan abeyruwan [ 13/Nov/13 ]

Will be holding the prority level since, this has been not working for NHTTP and we may have to do a proper analysis in-order to provide proper solution

Dushan





[ESBJAVA-2742] org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed displayed when invoking serach user JIRA operation Created: 25/Nov/13  Updated: 25/Nov/13

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

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

Operating System : Ubuntu 12.10
Java Version/Java VM :JDK 1.7
Packs :4.8.0 18th Nov pack
DBMS:h2
Browser :Ffx 23.0
Setup : Local


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   

Invoke the following operation soap ui

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="cha"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<jira.config>
<username>chathu_M</username>
<password>admin</password>
<uri>http://localhost:8080</uri>
</jira.config>
<jira.searchUser>
<username>chathu_M</username>
</jira.searchUser>
<log level="full"/>
</inSequence>
<outSequence/>
<faultSequence/>
</target>
<description/>
</proxy>

2013-11-24 21:35:00,683] INFO - SynapseConfiguration false
[2013-11-24 21:35:00,683] INFO - ProxyService Building Axis service for Proxy service : cha
[2013-11-24 21:35:00,684] INFO - ProxyService Adding service cha to the Axis2 configuration
[2013-11-24 21:35:00,688] INFO - DeploymentInterceptor Deploying Axis2 service: cha

{super-tenant}


[2013-11-24 21:35:00,745] INFO - ProxyService Successfully created the Axis2 service for Proxy service : cha
[2013-11-24 21:35:08,506] DEBUG - wire >> "POST /services/cha.chaHttpSoap11Endpoint HTTP/1.1[\r][\n]"
[2013-11-24 21:35:08,506] DEBUG - wire >> "Accept-Encoding: gzip,deflate[\r][\n]"
[2013-11-24 21:35:08,506] DEBUG - wire >> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
[2013-11-24 21:35:08,506] DEBUG - wire >> "SOAPAction: "urn:mediate"[\r][\n]"
[2013-11-24 21:35:08,506] DEBUG - wire >> "Content-Length: 136[\r][\n]"
[2013-11-24 21:35:08,506] DEBUG - wire >> "Host: chathurika:8280[\r][\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> "Connection: Keep-Alive[\r][\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> "[\r][\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">[\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> " <soapenv:Header/>[\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> " <soapenv:Body/>[\n]"
[2013-11-24 21:35:08,507] DEBUG - wire >> "</soapenv:Envelope>"
[2013-11-24 21:35:08,563] INFO - TimeoutHandler This engine will expire all callbacks after : 120 seconds, irrespective of the timeout action, after the specified or optional timeout
[2013-11-24 21:35:08,589] DEBUG - wire << "GET /rest/api/2/user/search?username=chathu_M&startAt=&maxResults=&includeActive=&includeInactive= HTTP/1.1[\r][\n]"
[2013-11-24 21:35:08,589] DEBUG - wire << "Authorization: Basic Y2hhdGh1X006YWRtaW4=[\r][\n]"
[2013-11-24 21:35:08,589] DEBUG - wire << "Content-Type: application/json[\r][\n]"
[2013-11-24 21:35:08,589] DEBUG - wire << "SOAPAction: [\r][\n]"
[2013-11-24 21:35:08,590] DEBUG - wire << "Host: localhost:8080[\r][\n]"
[2013-11-24 21:35:08,590] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
[2013-11-24 21:35:08,590] DEBUG - wire << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
[2013-11-24 21:35:08,590] DEBUG - wire << "[\r][\n]"
[2013-11-24 21:35:08,648] DEBUG - wire >> "HTTP/1.1 404 Not Found[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Server: Apache-Coyote/1.1[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "X-AREQUESTID: 1295x213x1[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Set-Cookie: JSESSIONID=179B1D213D9E8D5A1D9D22A5B9AB3EFF; Path=/; HttpOnly[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "X-Seraph-LoginReason: OK[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Set-Cookie: atlassian.xsrf.token=BK6Z-0XHA-5971-DURQ|fbdef2fc272690a17b67f2237cf0d838bfaf7e1f|lin; Path=/[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "X-ASESSIONID: rmy6re[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "X-AUSERNAME: chathu_m[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Cache-Control: no-cache, no-store, no-transform[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "X-Content-Type-Options: nosniff[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Content-Type: text/html;charset=UTF-8[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Transfer-Encoding: chunked[\r][\n]"
[2013-11-24 21:35:08,649] DEBUG - wire >> "Date: Sun, 24 Nov 2013 16:05:08 GMT[\r][\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> "[\r][\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> "c00[\r][\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> "<Unable to render embedded object: File (DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><meta http-equiv="X-UA-Compatible" content="IE=EDGE"><title>Not Found (404)</title><script type="text/javascript">contextPath = "";</script><link type='text/css' rel='stylesheet' href='/static-assets/metal-all.css' media='all'><script src='/static-assets/metal-all.js'></script><) not found.-[if lt IE 9]><link type='text/css' rel='stylesheet' href='/static-assets/metal-all-ie.css' media='all'><script src='/static-assets/metal-all-ie.js'></script><Unable to render embedded object: File ([endif]--><) not found.[if IE 9]><link type='text/css' rel='stylesheet' href='/static-assets/metal-all-ie9.css' media='all'><Unable to render embedded object: File ([endif]--><meta name="decorator" content="none" /></head><body class=" error-page error404"><div id="page"><header id="header" role="banner"><script type="text/javascript">$("body").addClass("js-enabled");</script><h1 class="logo" class="aui-header-logo"><a href="/secure/MyJiraHome.jspa"><img src="/images/logoJIRAPNG.png" alt="Your Company JIRA" /></a></h1><div class="main-message"><p>Oh, it seems that we've lost a page.<br/>Maybe you should raise an issue?</p></div><div class="subtle-message">Please notify your System Administrator if this problem caused you data loss</div></header><) not found.- #header -><section id="content" role="main"><div class="aui-page-panel"><div class="aui-page-panel-inner"><section class="aui-page-panel-content lowerContent"><p class="original-addr-info">Please look for misspellings in the address:<br/><strong>http://localhost:8080/rest/api/2/user/search</strong></p><div><p>or just:</p><ul><li>Go back to the <a href="javascript:window.history.back()">previous page</a></li><li>Go to the <a href="/secure/MyJiraHome.jspa">Home Page</a></li></ul></div></section><Unable to render embedded object: File (-- .aui-page-panel-content --></div><) not found.- .aui-page-panel-inner -></div><Unable to render embedded object: File (-- .aui-page-panel --></section><) not found.- #content --><footer id="footer" role="contentinfo">[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> "[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> "<div class="footer-body">[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> " <ul>[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> " <li>[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> " <a href="http://www.atlassian.com/software/jira">Atlassian JIRA</a>[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> "[\n]"
[2013-11-24 21:35:08,650] DEBUG - wire >> " [\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " [\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <span id="footer-build-information">(v6.1.3#6158-<span title='b5b5eabd4a5b00b38c23f1253ab25c87a310df4b' data-commit-id='b5b5eabd4a5b00b38c23f1253ab25c87a310df4b}'>sha1:b5b5eab</span>)</span>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " </li>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <li>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <a id="about-link" href="/secure/AboutPage.jspa">About JIRA</a>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " </li>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <li>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <a id="footer-report-problem-link" href="/secure/CreateIssue!default.jspa">Report a problem</a>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " </li>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " </ul>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <ul>[\n]"
[2013-11-24 21:35:08,651] DEBUG - wire >> " <li class="licensemessagered">[\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> " Powered by a free Atlassian <a href='http://www.atlassian.com/software/jira'>JIRA evaluation license</a>. Please consider <a href='https://www.atlassian.com/ex/Buy.jspa?product=JIRA&version=6.1.3&build=6158&sid=BK6Z-0XHA-5971-DURQ&ref=prod'>purchasing it</a> today.[\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> "[\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> " </li>[\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> " </ul>[\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> " </div>[\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> "</footer><Unable to render embedded object: File (-- #footer --></div><) not found.-- #page --></body></html>[\r][\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> "0[\r][\n]"
[2013-11-24 21:35:08,652] DEBUG - wire >> "[\r][\n]"
[2013-11-24 21:35:08,672] ERROR - RelayUtils Error while building Passthrough stream
org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
at org.apache.axiom.om.impl.AbstractOMMetaFactory.createStAXSOAPModelBuilder(AbstractOMMetaFactory.java:73)
at org.apache.axiom.om.impl.AbstractOMMetaFactory.createSOAPModelBuilder(AbstractOMMetaFactory.java:79)
at org.apache.axiom.om.OMXMLBuilderFactory.createSOAPModelBuilder(OMXMLBuilderFactory.java:196)
at org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:55)
at org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:138)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessageWithStream(RelayUtils.java:95)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:86)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:68)
at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:154)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:245)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:556)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:198)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:486)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed
at org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:36)
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)
... 22 more
[2013-11-24 21:35:08,674] ERROR - TemplateMediator Error while building message
org.apache.axis2.AxisFault: Error while building Passthrough stream
at org.apache.synapse.transport.passthru.util.RelayUtils.handleException(RelayUtils.java:238)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessageWithStream(RelayUtils.java:98)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessage(RelayUtils.java:86)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:68)
at org.apache.synapse.mediators.template.InvokeMediator.mediate(InvokeMediator.java:154)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:245)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:556)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:198)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:486)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPModelBuilder.java:204)
at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.<init>(StAXSOAPModelBuilder.java:154)
at org.apache.axiom.om.impl.AbstractOMMetaFactory.createStAXSOAPModelBuilder(AbstractOMMetaFactory.java:73)
at org.apache.axiom.om.impl.AbstractOMMetaFactory.createSOAPModelBuilder(AbstractOMMetaFactory.java:79)
at org.apache.axiom.om.OMXMLBuilderFactory.createSOAPModelBuilder(OMXMLBuilderFactory.java:196)
at org.apache.axis2.builder.SOAPBuilder.processDocument(SOAPBuilder.java:55)
at org.apache.synapse.transport.passthru.util.DeferredMessageBuilder.getDocument(DeferredMessageBuilder.java:138)
at org.apache.synapse.transport.passthru.util.RelayUtils.buildMessageWithStream(RelayUtils.java:95)
... 14 more
Caused by: javax.xml.stream.XMLStreamException: DOCTYPE is not allowed
at org.apache.axiom.util.stax.dialect.DisallowDoctypeDeclStreamReaderWrapper.next(DisallowDoctypeDeclStreamReaderWrapper.java:36)
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)
... 22 more
[2013-11-24 21:35:08,675] ERROR - SynapseCallbackReceiver Synapse encountered an exception, No error handlers found - [Message Dropped]
Error while building message






[ESBJAVA-2740] java.lang.RuntimeException trown while invoking get filter operation Created: 25/Nov/13  Updated: 25/Nov/13

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

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

Operating System : Ubuntu 12.10
Java Version/Java VM :JDK 1.7
Packs :4.8.0, 18th Nov
DBMS:h2
Browser :Ffx 23.0
Setup : Local


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   

atiInvoke the below operation using soap ui

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="cha"
transports="https,http"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<inSequence>
<jira.config>
<username>xxxxxx</username>
<password>xxxxxx</password>
<uri>http://localhost:8080</uri>
</jira.config>
<jira.getFavouriteFilters/>
<log level="full"/>
</inSequence>
<outSequence/>
<faultSequence/>
</target>
<description/>
</proxy>

following error occurred

[2013-11-24 20:46:27,163] DEBUG - wire >> "POST /services/cha.chaHttpSoap11Endpoint HTTP/1.1[\r][\n]"
[2013-11-24 20:46:27,163] DEBUG - wire >> "Accept-Encoding: gzip,deflate[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "SOAPAction: "urn:mediate"[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "Content-Length: 136[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "Host: chathurika:8280[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "Connection: Keep-Alive[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
[2013-11-24 20:46:27,164] DEBUG - wire >> "[\r][\n]"
[2013-11-24 20:46:27,165] DEBUG - wire >> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">[\n]"
[2013-11-24 20:46:27,165] DEBUG - wire >> " <soapenv:Header/>[\n]"
[2013-11-24 20:46:27,165] DEBUG - wire >> " <soapenv:Body/>[\n]"
[2013-11-24 20:46:27,165] DEBUG - wire >> "</soapenv:Envelope>"
[2013-11-24 20:46:27,182] DEBUG - wire << "GET /rest/api/2/filter/favourite HTTP/1.1[\r][\n]"
[2013-11-24 20:46:27,182] DEBUG - wire << "Authorization: Basic Y2hhdGh1X006YWRtaW4=[\r][\n]"
[2013-11-24 20:46:27,183] DEBUG - wire << "Content-Type: application/json[\r][\n]"
[2013-11-24 20:46:27,183] DEBUG - wire << "SOAPAction: [\r][\n]"
[2013-11-24 20:46:27,183] DEBUG - wire << "Host: localhost:8080[\r][\n]"
[2013-11-24 20:46:27,183] DEBUG - wire << "Connection: Keep-Alive[\r][\n]"
[2013-11-24 20:46:27,183] DEBUG - wire << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]"
[2013-11-24 20:46:27,184] DEBUG - wire << "[\r][\n]"
[2013-11-24 20:46:27,239] DEBUG - wire >> "HTTP/1.1 200 OK[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Server: Apache-Coyote/1.1[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "X-AREQUESTID: 1246x206x1[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Set-Cookie: JSESSIONID=583497C20E35E1A8B20A3149CD327FBA; Path=/; HttpOnly[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "X-Seraph-LoginReason: OK[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Set-Cookie: atlassian.xsrf.token=BK6Z-0XHA-5971-DURQ|a0aa504d16d128dae083d47a7c478cacb4c0f8f3|lin; Path=/[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "X-ASESSIONID: ca2bin[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "X-AUSERNAME: chathu_m[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Cache-Control: no-cache, no-store, no-transform[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Content-Type: application/json;charset=UTF-8[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Transfer-Encoding: chunked[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "Date: Sun, 24 Nov 2013 15:16:27 GMT[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "3f6[\r][\n]"
[2013-11-24 20:46:27,240] DEBUG - wire >> "[{"self":"http://localhost:8080/rest/api/2/filter/10000","id":"10000","name":"F1","owner":{"self":"http://localhost:8080/rest/api/2/user?username=chathu_m","key":"chathu_m","name":"chathu_m","avatarUrls":

{"16x16":"http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10122","24x24":"http://localhost:8080/secure/useravatar?size=small&avatarId=10122","32x32":"http://localhost:8080/secure/useravatar?size=medium&avatarId=10122","48x48":"http://localhost:8080/secure/useravatar?avatarId=10122"}

,"displayName":"chathurika M","active":true},"jql":"issuekey in issueHistory() ORDER BY lastViewed DESC","viewUrl":"http://localhost:8080/secure/IssueNavigator.jspa?mode=hide&requestId=10000","searchUrl":"http://localhost:8080/rest/api/2/search?jql=issuekey+in+issueHistory()+ORDER+BY+lastViewed+DESC","favourite":true,"sharePermissions":[],"sharedUsers":

{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}

,"subscriptions":{"size":0,"items":[],"max-results":1000,"start-index":0,"end-index":0}}][\r][\n]"
[2013-11-24 20:46:27,241] DEBUG - wire >> "0[\r][\n]"
[2013-11-24 20:46:27,241] DEBUG - wire >> "[\r][\n]"
[2013-11-24 20:46:27,243] ERROR - OMSourcedElementImpl forceExpand: expected element name jsonObject, found jsonArray
[2013-11-24 20:46:27,244] ERROR - NativeWorkerPool Uncaught exception
java.lang.RuntimeException: Element name from data source is jsonArray, not the expected jsonObject
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.forceExpand(OMSourcedElementImpl.java:277)
at org.apache.axiom.om.impl.llom.OMSourcedElementImpl.internalSerialize(OMSourcedElementImpl.java:685)
at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeChildren(OMSerializerUtil.java:555)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:875)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:230)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:113)
at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:988)
at java.lang.String.valueOf(String.java:2902)
at java.lang.StringBuffer.append(StringBuffer.java:232)
at org.apache.synapse.mediators.builtin.LogMediator.getFullLogMessage(LogMediator.java:184)
at org.apache.synapse.mediators.builtin.LogMediator.getLogMessage(LogMediator.java:123)
at org.apache.synapse.mediators.builtin.LogMediator.mediate(LogMediator.java:91)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:77)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:255)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.mediateFromContinuationStateStack(Axis2SynapseEnvironment.java:556)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:198)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:486)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:170)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at org.apache.synapse.transport.passthru.ClientWorker.run(ClientWorker.java:225)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
[2013-11-24 20:47:27,227] WARN - SourceHandler Connection time out after request is read: http-incoming-11



 Comments   
Comment by Chathurika Mahaarachchci [ 25/Nov/13 ]

same issue occurred searchAssignableUser, searchAssignableUserMultiProject ,getAvatarsForProject,searchUser





[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: 26/Nov/13

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: 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   

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-2755] [ESB - Long Run] Getting some error on 'TargetHandler' and 'SourceHandler' rarely Created: 26/Nov/13  Updated: 26/Nov/13

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

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

Alpha Pack 25th Nov.
Distributed Clustered setup
Long run with JMeter Script


Attachments: File 100PassThroughProxyServices_positive_20131125.jmx     Zip Archive ClusterConf.zip    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Issue : [ESB - Long Run] Getting some error on 'TargetHandler' and 'SourceHandler' rarely

Below errors observed very rarely during the long run test.
Related JMeter script attached with this.
10 Proxies pointed to app server endpoints.

ERROR

{org.apache.synapse.transport.passthru.TargetHandler} - Unexpected error. {org.apache.synapse.transport.passthru.TargetHandler}

ERROR

{org.apache.synapse.transport.passthru.SourceHandler} - Unexoected error: null {org.apache.synapse.transport.passthru.SourceHandler}




[ESBJAVA-2756] [EntitlementMediator] When try to invoke a service from a secondary user store user, his not permitted till specify the user included user store. i.e. ESBMYSQL/suneth Created: 26/Nov/13  Updated: 26/Nov/13

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: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

JDBC secondary user store,


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

 Description   

Try to invoke a service which is permitted via a XACML policy from a JDBC secondary user store user without specifying the user included user store. i.e. suneth. And its not permitted even though the user is permitted according to the applied policy. But only after specifying the user included user store the invoked service get permitted. i.e. ESBMYSQL/suneth.

Issue: If you can login to the carbon products without specifying the user included secondary user store, it should apply to this scenario as well ??






[ESBJAVA-2796] [Intermittent] Issues with Deployment synchronizing when applying Security for a Proxy Created: 29/Nov/13  Updated: 29/Nov/13

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

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

28th Nov Pack - Worker Manager Distributed Cluster Setup.


Attachments: Zip Archive ClusterConf.zip    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Issue : [Intermittent] Issues with Deployment synchronizing when applying Security for a Proxy

Steps :
1. Add a pass through proxy, pointing to a service such as echo service on AS or ESB it self.
2. Invoke it with unsecured Client. Should get successful.
3. Add security using '#2 - Non-repudiation' with wso2carbon.jks
During this 3rd steps, we have observed below mentioned Error of Workers, when deployment synchronizing.
4. Try to invoke the proxy with unsecured Client. Should not get successful.
But sometimes, proxy returns a successful message, which means the security doesn't apply proper. This is not depend on th error mentioned in above 3rd step. You can reproduce this if you repeat the same cycle (Add security > invoke the proxy 10 to 20 times > Remove security > Add security again )

Log#1 - Error with Deployment synchronizing
---------------------------------------------------
TID: [0] [ESB] [2013-11-29 10:08:26,151] INFO

{org.apache.synapse.core.axis2.ProxyService} - Stopped the proxy service : bbb {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2013-11-29 10:08:26,168] INFO

{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Removing Axis2 Service: bbb {super-tenant} {org.wso2.carbon.core.deployment.DeploymentInterceptor}

TID: [0] [ESB] [2013-11-29 10:08:26,206] INFO

{org.apache.synapse.core.axis2.ProxyService} - Building Axis service for Proxy service : bbb {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2013-11-29 10:08:26,287] DEBUG

{org.apache.synapse.transport.http.wire} - >> "GET /services/echo?wsdl HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,288] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Host: wrk.esb.480qa.wso2.com:8280[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,288] DEBUG

{org.apache.synapse.transport.http.wire} - >> "X-Forwarded-For: 192.168.18.19[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,289] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,289] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,289] DEBUG

{org.apache.synapse.transport.http.wire} - >> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,290] DEBUG

{org.apache.synapse.transport.http.wire} - >> "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,317] DEBUG

{org.apache.synapse.transport.http.wire} - << "HTTP/1.1 200 OK[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,318] DEBUG

{org.apache.synapse.transport.http.wire} - << "Content-Type: text/xml[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,318] DEBUG

{org.apache.synapse.transport.http.wire} - << "Date: Fri, 29 Nov 2013 04:38:26 GMT[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,318] DEBUG

{org.apache.synapse.transport.http.wire} - << "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,318] DEBUG

{org.apache.synapse.transport.http.wire} - << "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,319] DEBUG

{org.apache.synapse.transport.http.wire} - << "1ff4[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,319] DEBUG

{org.apache.synapse.transport.http.wire} - << "<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://echo.services.core.carbon.wso2.org" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ax21="http://echo.services.core.carbon.wso2.org/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://echo.services.core.carbon.wso2.org">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,319] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:documentation>echo</wsdl:documentation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,319] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:types>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,320] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:schema attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://echo.services.core.carbon.wso2.org/xsd">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,320] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType name="SimpleBean">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,320] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,320] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element maxOccurs="unbounded" minOccurs="0" name="a_r" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,320] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element maxOccurs="unbounded" minOccurs="0" name="b_r" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,321] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="c" type="xs:int"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,321] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,321] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,321] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:schema>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,321] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:schema xmlns:ax22="http://echo.services.core.carbon.wso2.org/xsd" attributeFormDefault="qualified" elementFormDefault="unqualified" targetNamespace="http://echo.services.core.carbon.wso2.org">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,322] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:import namespace="http://echo.services.core.carbon.wso2.org/xsd"></xs:import>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,322] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoOMElement">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,322] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,322] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,322] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="omEle" nillable="true" type="xs:anyType"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,322] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoOMElementResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="return" nillable="true" type="xs:anyType"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,323] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoString">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="in" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,324] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,325] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoStringResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,325] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,325] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,325] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,325] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,326] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,326] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,326] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoInt">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,326] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,326] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,327] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="in" type="xs:int"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,327] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,327] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,327] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,327] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoIntResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,327] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,328] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,328] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="return" type="xs:int"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,328] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,328] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,328] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,328] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="throwAxisFault">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,329] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,329] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence></xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,329] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,329] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,329] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="throwAxisFaultResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,330] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,330] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,330] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,330] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,330] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,330] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,331] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoStringArrays">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,331] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,331] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,331] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element maxOccurs="unbounded" minOccurs="0" name="a" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,331] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element maxOccurs="unbounded" minOccurs="0" name="b" nillable="true" type="xs:string"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,331] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="c" type="xs:int"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,332] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,332] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,332] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,332] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element name="echoStringArraysResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,332] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,333] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,333] DEBUG

{org.apache.synapse.transport.http.wire} - << " <xs:element minOccurs="0" name="return" nillable="true" type="ax21:SimpleBean"></xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,333] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:sequence>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,333] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:complexType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,333] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:element>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </xs:schema>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:types>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoStringArraysRequest">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoStringArrays"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoStringArraysResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoStringArraysResponse"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoOMElementRequest">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoOMElement"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoOMElementResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoOMElementResponse"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoIntRequest">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoInt"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoIntResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,334] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoIntResponse"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="throwAxisFaultRequest">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:throwAxisFault"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="throwAxisFaultResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:throwAxisFaultResponse"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoStringRequest">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoString"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:message name="echoStringResponse">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:part name="parameters" element="ns:echoStringResponse"></wsdl:part>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:message>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:portType name="echoPortType">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoStringArrays">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input message="ns:echoStringArraysRequest" wsaw:Action="urn:echoStringArrays"></wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output message="ns:echoStringArraysResponse" wsaw:Action="urn:echoStringArraysResponse"></wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoOMElement">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input message="ns:echoOMElementRequest" wsaw:Action="urn:echoOMElement"></wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,335] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output message="ns:echoOMElementResponse" wsaw:Action="urn:echoOMElementResponse"></wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoInt">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input message="ns:echoIntRequest" wsaw:Action="urn:echoInt"></wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output message="ns:echoIntResponse" wsaw:Action="urn:echoIntResponse"></wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="throwAxisFault">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input message="ns:throwAxisFaultRequest" wsaw:Action="urn:throwAxisFault"></wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output message="ns:throwAxisFaultResponse" wsaw:Action="urn:throwAxisFaultResponse"></wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoString">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input message="ns:echoStringRequest" wsaw:Action="urn:echoString"></wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output message="ns:echoStringResponse" wsaw:Action="urn:echoStringResponse"></wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:portType>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:binding name="echoSoap11Binding" type="ns:echoPortType">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoStringArrays">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:operation soapAction="urn:echoStringArrays" style="document"></soap:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,336] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoOMElement">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:operation soapAction="urn:echoOMElement" style="document"></soap:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsd[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << "1030[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << "l:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoInt">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,337] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:operation soapAction="urn:echoInt" style="document"></soap:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="throwAxisFault">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:operation soapAction="urn:throwAxisFault" style="document"></soap:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,338] ERROR

{org.apache.synapse.core.axis2.ProxyService} - Couldn't build the proxy service : bbb. Unable to locate the specified WSDL to build the service {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2013-11-29 10:08:26,338] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,339] ERROR

{org.wso2.carbon.proxyadmin.ProxyServiceDeployer} - ProxyService Update from the file : /home/wso2/ESB480/WRK1/28Nov/wso2esb-4.8.0/repository/deployment/server/synapse-configs/default/proxy-services/bbb.xml : Failed. {org.wso2.carbon.proxyadmin.ProxyServiceDeployer}

org.apache.synapse.SynapseException: Couldn't build the proxy service : bbb. Unable to locate the specified WSDL to build the service
at org.apache.synapse.core.axis2.ProxyService.handleException(ProxyService.java:849)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:522)
at org.apache.synapse.deployers.ProxyServiceDeployer.updateSynapseArtifact(ProxyServiceDeployer.java:129)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.updateSynapseArtifact(ProxyServiceDeployer.java:54)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:158)
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:744)
TID: [0] [ESB] [2013-11-29 10:08:26,339] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,340] ERROR

{org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} - Update of the Synapse Artifact from file : /home/wso2/ESB480/WRK1/28Nov/wso2esb-4.8.0/repository/deployment/server/synapse-configs/default/proxy-services/bbb.xml : Failed! {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}

org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Update from the file : /home/wso2/ESB480/WRK1/28Nov/wso2esb-4.8.0/repository/deployment/server/synapse-configs/default/proxy-services/bbb.xml : Failed.
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:471)
at org.apache.synapse.deployers.ProxyServiceDeployer.updateSynapseArtifact(ProxyServiceDeployer.java:148)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.updateSynapseArtifact(ProxyServiceDeployer.java:54)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:158)
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:744)
Caused by: org.apache.synapse.SynapseException: Couldn't build the proxy service : bbb. Unable to locate the specified WSDL to build the service
at org.apache.synapse.core.axis2.ProxyService.handleException(ProxyService.java:849)
at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:522)
at org.apache.synapse.deployers.ProxyServiceDeployer.updateSynapseArtifact(ProxyServiceDeployer.java:129)
... 19 more
TID: [0] [ESB] [2013-11-29 10:08:26,340] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,341] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,341] INFO

{org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} - The updated file has been backed up into : /home/wso2/ESB480/WRK1/28Nov/wso2esb-4.8.0/repository/deployment/server/synapse-configs/default/proxy-services/bbb.xml.back {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}

TID: [0] [ESB] [2013-11-29 10:08:26,341] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoString">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,341] INFO

{org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} - Restoring the existing artifact into the file : /home/wso2/ESB480/WRK1/28Nov/wso2esb-4.8.0/repository/deployment/server/synapse-configs/default/proxy-services/bbb.xml {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}

TID: [0] [ESB] [2013-11-29 10:08:26,341] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:operation soapAction="urn:echoString" style="document"></soap:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,341] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,341] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,341] ERROR

{org.wso2.carbon.proxyadmin.ProxyServiceDeployer} - Restoring of the ProxyService named 'bbb' has failed {org.wso2.carbon.proxyadmin.ProxyServiceDeployer}

java.lang.NullPointerException
at org.apache.synapse.config.xml.ProxyServiceSerializer.serializeProxy(ProxyServiceSerializer.java:54)
at org.apache.synapse.deployers.ProxyServiceDeployer.restoreSynapseArtifact(ProxyServiceDeployer.java:195)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.restoreSynapseArtifact(ProxyServiceDeployer.java:68)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:166)
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:744)
TID: [0] [ESB] [2013-11-29 10:08:26,341] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,342] ERROR

{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Error while running deployment scheduler.. {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}

org.apache.synapse.deployers.SynapseArtifactDeploymentException: Restoring of the ProxyService named 'bbb' has failed
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:471)
at org.apache.synapse.deployers.ProxyServiceDeployer.restoreSynapseArtifact(ProxyServiceDeployer.java:211)
at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.restoreSynapseArtifact(ProxyServiceDeployer.java:68)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:166)
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:744)
Caused by: java.lang.NullPointerException
at org.apache.synapse.config.xml.ProxyServiceSerializer.serializeProxy(ProxyServiceSerializer.java:54)
at org.apache.synapse.deployers.ProxyServiceDeployer.restoreSynapseArtifact(ProxyServiceDeployer.java:195)
... 19 more
TID: [0] [ESB] [2013-11-29 10:08:26,342] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:body use="literal"></soap:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:binding>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:binding name="echoSoap12Binding" type="ns:echoPortType">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap12:binding>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoStringArrays">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:operation soapAction="urn:echoStringArrays" style="document"></soap12:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoOMElement">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:operation soapAction="urn:echoOMElement" style="document"></soap12:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,344] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoInt">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:operation soapAction="urn:echoInt" style="document"></soap12:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="throwAxisFault">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:operation soapAction="urn:throwAxisFault" style="document"></soap12:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,345] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:operation name="echoString">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:operation soapAction="urn:echoString" style="document"></soap12:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:input>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:body use="literal"></soap12:body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:output>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:operation>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:binding>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:service name="echo">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,346] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:port name="echoHttpsSoap11Endpoint" binding="ns:echoSoap11Binding">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:address location="https://wrk.esb.480qa.wso2.com:8243/services/echo.echoHttpsSoap11Endpoint"></soap:address>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:port>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:port name="echoHttpSoap11Endpoint" binding="ns:echoSoap11Binding">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap:address location="http://wrk.esb.480qa.wso2.com:8280/services/echo.echoHttpSoap11Endpoint"></soap:address>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:port>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:port name="echoHttpSoap12Endpoint" binding="ns:echoSoap12Binding">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:address location="http://wrk.esb.480qa.wso2.com:8280/services/echo.echoHttpSoap12Endpoint"></soap12:address>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:port>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <wsdl:port name="echoHttpsSoap12Endpoint" binding="ns:echoSoap12Binding">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soap12:address location="https://wrk.esb.480qa.wso2.com:8243/services/echo.echoHttpsSoap12Endpoint"></soap12:address>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:port>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << " </wsdl:service>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << "</wsdl:definitions>[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << "0[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:26,347] DEBUG

{org.apache.synapse.transport.http.wire} - << "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 10:08:43,066] WARN

{org.apache.synapse.transport.passthru.SourceHandler} - Connection time out after request is read: http-incoming-23 {org.apache.synapse.transport.passthru.SourceHandler}

Log#2 - Secured proxy invoked successful with a unsecured client
--------------------------------------------------------------------------------------

TID: [0] [ESB] [2013-11-29 11:10:12,456] DEBUG

{org.apache.synapse.transport.http.wire} - >> "POST /services/bbb HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,458] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Host: wrk.esb.480qa.wso2.com:8280[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,459] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Accept-Encoding: gzip,deflate[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,459] DEBUG

{org.apache.synapse.transport.http.wire} - >> "X-Forwarded-For: 10.100.5.9[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,459] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Content-Type: text/xml;charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,460] DEBUG

{org.apache.synapse.transport.http.wire} - >> "SOAPAction: "urn:echoInt"[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,460] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,460] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,460] DEBUG

{org.apache.synapse.transport.http.wire} - >> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,461] DEBUG

{org.apache.synapse.transport.http.wire} - >> "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,461] DEBUG

{org.apache.synapse.transport.http.wire} - >> "12a[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,461] DEBUG

{org.apache.synapse.transport.http.wire} - >> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:echo="http://echo.services.core.carbon.wso2.org">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,462] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <soapenv:Header/>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,462] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <soapenv:Body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,462] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <echo:echoInt>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,463] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <!-Optional:->[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,463] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <in>9</in>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,463] DEBUG

{org.apache.synapse.transport.http.wire} - >> " </echo:echoInt>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,463] DEBUG

{org.apache.synapse.transport.http.wire} - >> " </soapenv:Body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,464] DEBUG

{org.apache.synapse.transport.http.wire} - >> "</soapenv:Envelope>[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,464] DEBUG

{org.apache.synapse.transport.http.wire} - >> "0[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,464] DEBUG

{org.apache.synapse.transport.http.wire} - >> "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,509] DEBUG

{org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Proxy Service bbb received a new message from : 192.168.18.17 {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

TID: [0] [ESB] [2013-11-29 11:10:12,510] DEBUG

{org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Message To: /services/bbb {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

TID: [0] [ESB] [2013-11-29 11:10:12,510] DEBUG

{org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - SOAPAction: urn:echoInt {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

TID: [0] [ESB] [2013-11-29 11:10:12,510] DEBUG

{org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - WSA-Action: urn:echoInt {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

TID: [0] [ESB] [2013-11-29 11:10:12,512] DEBUG

{org.apache.synapse.core.axis2.ProxyServiceMessageReceiver} - Forwarding the message to the anonymous endpoint of the proxy service {org.apache.synapse.core.axis2.ProxyServiceMessageReceiver}

TID: [0] [ESB] [2013-11-29 11:10:12,513] DEBUG

{org.apache.synapse.endpoints.EndpointContext} - Checking if endpoint : AnonymousEndpoint currently at state ACTIVE can be used now? {org.apache.synapse.endpoints.EndpointContext}

TID: [0] [ESB] [2013-11-29 11:10:12,513] DEBUG

{org.apache.synapse.endpoints.AddressEndpoint} - Sending message through endpoint : null resolving to address = http://wrk.esb.480qa.wso2.com:8280/services/echo {org.apache.synapse.endpoints.AddressEndpoint}

TID: [0] [ESB] [2013-11-29 11:10:12,513] DEBUG

{org.apache.synapse.endpoints.AddressEndpoint} - SOAPAction: urn:echoInt {org.apache.synapse.endpoints.AddressEndpoint}

TID: [0] [ESB] [2013-11-29 11:10:12,513] DEBUG

{org.apache.synapse.endpoints.AddressEndpoint} - WSA-Action: urn:echoInt {org.apache.synapse.endpoints.AddressEndpoint}

TID: [0] [ESB] [2013-11-29 11:10:12,515] DEBUG

{org.apache.synapse.core.axis2.Axis2FlexibleMEPClient} - Sending [add = false] [sec = false] [rm = false] [mtom = false] [swa = false] [format = null] [force soap11=false] [force soap12=false] [pox=false] [get=false] [encoding=null] [to=http://wrk.esb.480qa.wso2.com:8280/services/echo] {org.apache.synapse.core.axis2.Axis2FlexibleMEPClient}

TID: [0] [ESB] [2013-11-29 11:10:12,517] DEBUG

{org.apache.synapse.core.axis2.Axis2FlexibleMEPClient} - Message [Original Request Message ID : urn:uuid:d8767def-ee01-44fb-867e-d69d82bd7352] [New Cloned Request Message ID : urn:uuid:8f1d553a-2022-4c39-ba08-ba04ba86b6dc] {org.apache.synapse.core.axis2.Axis2FlexibleMEPClient}

TID: [0] [ESB] [2013-11-29 11:10:12,519] DEBUG

{org.apache.synapse.config.SynapsePropertiesLoader} - Retrieving synapse properties from the cache {org.apache.synapse.config.SynapsePropertiesLoader}

TID: [0] [ESB] [2013-11-29 11:10:12,519] INFO

{org.apache.synapse.core.axis2.TimeoutHandler} - This engine will expire all callbacks after : 120 seconds, irrespective of the timeout action, after the specified or optional timeout {org.apache.synapse.core.axis2.TimeoutHandler}

TID: [0] [ESB] [2013-11-29 11:10:12,519] DEBUG

{org.apache.synapse.config.SynapsePropertiesLoader} - Retrieving synapse properties from the cache {org.apache.synapse.config.SynapsePropertiesLoader}

TID: [0] [ESB] [2013-11-29 11:10:12,520] DEBUG

{org.apache.synapse.commons.util.MiscellaneousUtil} - The name with 'synapse.timeout_handler_interval' cannot be found. Using default value : 15000 {org.apache.synapse.commons.util.MiscellaneousUtil}

TID: [0] [ESB] [2013-11-29 11:10:12,523] DEBUG

{org.apache.synapse.core.axis2.SynapseCallbackReceiver} - Callback added. Total callbacks waiting for : 1 {org.apache.synapse.core.axis2.SynapseCallbackReceiver}

TID: [0] [ESB] [2013-11-29 11:10:12,564] DEBUG

{org.apache.synapse.transport.http.wire} - << "POST /services/echo HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,565] DEBUG

{org.apache.synapse.transport.http.wire} - << "Accept-Encoding: gzip,deflate[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,565] DEBUG

{org.apache.synapse.transport.http.wire} - << "X-Forwarded-For: 10.100.5.9[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,566] DEBUG

{org.apache.synapse.transport.http.wire} - << "Content-Type: text/xml;charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,566] DEBUG

{org.apache.synapse.transport.http.wire} - << "SOAPAction: "urn:echoInt"[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,566] DEBUG

{org.apache.synapse.transport.http.wire} - << "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,567] DEBUG

{org.apache.synapse.transport.http.wire} - << "Host: wrk.esb.480qa.wso2.com:8280[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,567] DEBUG

{org.apache.synapse.transport.http.wire} - << "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,567] DEBUG

{org.apache.synapse.transport.http.wire} - >> "POST /services/echo HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,567] DEBUG

{org.apache.synapse.transport.http.wire} - << "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,568] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Host: wrk.esb.480qa.wso2.com:8280[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,568] DEBUG

{org.apache.synapse.transport.http.wire} - << "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,568] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Accept-Encoding: gzip,deflate[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,569] DEBUG

{org.apache.synapse.transport.http.wire} - >> "X-Forwarded-For: 10.100.5.9,192.168.18.19[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,569] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Content-Type: text/xml;charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,570] DEBUG

{org.apache.synapse.transport.http.wire} - >> "SOAPAction: "urn:echoInt"[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,570] DEBUG

{org.apache.synapse.transport.http.wire} - << "160[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,570] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,570] DEBUG

{org.apache.synapse.transport.http.wire} - << "<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:echo="http://echo.services.core.carbon.wso2.org">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,571] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,571] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soapenv:Header></soapenv:Header>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,571] DEBUG

{org.apache.synapse.transport.http.wire} - >> "User-Agent: Synapse-PT-HttpComponents-NIO[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,572] DEBUG

{org.apache.synapse.transport.http.wire} - << " <soapenv:Body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,572] DEBUG

{org.apache.synapse.transport.http.wire} - >> "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,573] DEBUG

{org.apache.synapse.transport.http.wire} - << " <echo:echoInt>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,574] DEBUG

{org.apache.synapse.transport.http.wire} - << " <!-Optional:->[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,574] DEBUG

{org.apache.synapse.transport.http.wire} - << " <in>9</in>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,574] DEBUG

{org.apache.synapse.transport.http.wire} - << " </echo:echoInt>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,575] DEBUG

{org.apache.synapse.transport.http.wire} - << " </soapenv:Body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,575] DEBUG

{org.apache.synapse.transport.http.wire} - >> "160[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,576] DEBUG

{org.apache.synapse.transport.http.wire} - << "</soapenv:Envelope>[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,576] DEBUG

{org.apache.synapse.transport.http.wire} - >> "<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:echo="http://echo.services.core.carbon.wso2.org">[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,576] DEBUG

{org.apache.synapse.transport.http.wire} - << "0[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,577] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <soapenv:Header></soapenv:Header>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,577] DEBUG

{org.apache.synapse.transport.http.wire} - << "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,577] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <soapenv:Body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,577] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <echo:echoInt>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,578] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <!-Optional:->[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,578] DEBUG

{org.apache.synapse.transport.http.wire} - >> " <in>9</in>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,578] DEBUG

{org.apache.synapse.transport.http.wire} - >> " </echo:echoInt>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,578] DEBUG

{org.apache.synapse.transport.http.wire} - >> " </soapenv:Body>[\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,579] DEBUG

{org.apache.synapse.transport.http.wire} - >> "</soapenv:Envelope>[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,579] DEBUG

{org.apache.synapse.transport.http.wire} - >> "0[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,579] DEBUG

{org.apache.synapse.transport.http.wire} - >> "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,608] DEBUG

{org.apache.synapse.transport.http.wire} - << "HTTP/1.1 200 OK[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,608] DEBUG

{org.apache.synapse.transport.http.wire} - << "Content-Type: text/xml; charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,609] DEBUG

{org.apache.synapse.transport.http.wire} - << "Date: Fri, 29 Nov 2013 05:40:12 GMT[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,609] DEBUG

{org.apache.synapse.transport.http.wire} - << "Server: WSO2-PassThrough-HTTP[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,609] DEBUG

{org.apache.synapse.transport.http.wire} - << "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,609] DEBUG

{org.apache.synapse.transport.http.wire} - >> "HTTP/1.1 200 OK[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,610] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Content-Type: text/xml; charset=UTF-8[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,610] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Date: Fri, 29 Nov 2013 05:40:05 GMT[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,610] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Server: WSO2-PassThrough-HTTP[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,611] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Transfer-Encoding: chunked[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,611] DEBUG

{org.apache.synapse.transport.http.wire} - >> "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,611] DEBUG

{org.apache.synapse.transport.http.wire} - >> "[\r][\n]" {org.apache.synapse.transport.http.wire}

TID: [0] [ESB] [2013-11-29 11:10:12,609] DEBUG

{org.apache.synapse.transport.http.wire} - << "Connection: Keep-Alive[\r][\n]" {org.apache.synapse.transport.http.wire}




[ESBJAVA-2810] No exception logged for requests invoked without credentials Created: 02/Dec/13  Updated: 02/Dec/13

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

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

Linux (Ubuntu 13.04)
jdk1.7.0_45


Severity: Major
Estimated Complexity: Moderate

 Description   

When a request with UT Authentication is invoked without credentials through SoapUI for ESB 4.8.0, no exception is logged. An error response is not generated either.

Expected behavior :
The following exception should be logged (Log extract from ESB 4.6.0)

[2013-12-02 10:33:32,528] ERROR - AxisEngine Missing wsse:Security header in request
org.apache.axis2.AxisFault: Missing wsse:Security header in request
at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
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.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:434)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:219)
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.apache.rampart.RampartException: Missing wsse:Security header in request
at org.apache.rampart.RampartEngine.process(RampartEngine.java:141)
at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
... 10 more
[2013-12-02 10:33:32,534] ERROR - ServerWorker Error processing POST request for : /services/ESBQuestion3ProxyService.ESBQuestion3ProxyServiceHttpsSoap11Endpoint
org.apache.axis2.AxisFault: Missing wsse:Security header in request
at org.apache.rampart.handler.RampartReceiver.setFaultCodeAndThrowAxisFault(RampartReceiver.java:180)
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.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:434)
at org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:219)
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.apache.rampart.RampartException: Missing wsse:Security header in request
at org.apache.rampart.RampartEngine.process(RampartEngine.java:141)
at org.apache.rampart.handler.RampartReceiver.invoke(RampartReceiver.java:92)
... 10 more






[ESBJAVA-2254] QoS properties do not get synchronized properly to worker nodes Created: 28/Jun/13  Updated: 12/Jul/13

Status: Open
Project: WSO2 ESB
Component/s: Deployment Synchronizer
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:

Operating System : Linux 3.2.0-23-generic, amd64
Java Version/Java VM : 1.7.0/Java HotSpot(TM) 64-Bit Server VM 21.0-b17,Oracle Corporation
Packs : 2013-06-28-PACK3-wso2esb-4.7.0.zip
Browser : Chrome Version 24.0.1312.68, Firefox 11


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

 Description   

I created a Proxy service and it got synchronized properly to the worker nodes.
Then applied security/caching. Let it send the cluster message and redeploy the proxy services.

Even after 5 minutes, one of the nodes did not get updated with the QoS policies.

It did not get recovered even after restarting the node



 Comments   
Comment by Thayalan Sivapaleswararajah [ 09/Jul/13 ]

The issue still persist.

Setup:
Manager Node: 192.168.4.52@wso2/wso2123
$ESB_HOME=/home/wso2/setup/ESB-manager/RELEASED/svn/wso2esb-4.7.0

Worker Node1: 192.168.4.52@wso2/wso2123
$ESB_HOME=/home/wso2/setup/ESB-worker/RELEASED/svn/wso2esb-4.7.0

Worker Node 2: 192.168.4.54@wso2/wso2123
$ESB_HOME=/home/wso2/packs/ESB-worker/RELEASED/svn/wso2esb-4.7.0

AS: 192.168.4.54@wso2/wso2123
$AS_HOME=/home/wso2/packs/wso2as-5.0.0

Tenant: thaya3@wso2.com / thaya123

https://esb.qa.com:8243/services/t/wso2.com/PoxSecurityProxy/echoString?in=Hi





[ESBJAVA-2663] WstxParsingException: Illegal to have multiple roots (start tag in epilog?) occurs when backend service is inactive in PTT Created: 08/Nov/13  Updated: 09/Nov/13

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

Type: Bug Priority: High
Reporter: Punnadi Gunarathna 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   

1. Use ESB sample 800 and modify 'POST' resource method by adding "outSequence" and "faultSequence"
2. . Send a POST request through the REST API to an endpoint in AS
3. If the backend service is inactive, we will get a soap Fault and the following exception will be thrown by ESB

Note: You need to use the below property in "inSequence"
<property name="FORCE_ERROR_ON_SOAP_FAULT" value="true"/>

The response received by backend service is similar to following:

<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv=\ " http: /
schemas.xmlsoap.org / soap / envelope />
<soapenv:Header xmlns:wsa=\ " http: / www.w3.org /
addressing \>
<wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault
</wsa:Action>
</soapenv:Header>
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>The system is attempting to access an inactive service:
SimpleStockQuoteService</faultstring>
<detail />
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Exception:
NativeWorkerPool Uncaught exception
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxParsingException: Illegal to have multiple roots (start tag in epilog?).
at [row,col

{unknown-source}]: [7,15]
at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296)
at org.apache.axiom.om.impl.llom.OMElementImpl.buildNext(OMElementImpl.java:653)
at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstOMChild(OMElementImpl.java:670)
at org.apache.axiom.om.impl.llom.OMElementImpl.getChildren(OMElementImpl.java:352)
at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeChildren(OMSerializerUtil.java:553)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:875)
at org.apache.axiom.om.impl.util.OMSerializerUtil.serializeChildren(OMSerializerUtil.java:555)
at org.apache.axiom.om.impl.llom.OMElementImpl.internalSerialize(OMElementImpl.java:875)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.internalSerialize(SOAPEnvelopeImpl.java:230)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:125)
at org.apache.axiom.om.impl.llom.OMSerializableImpl.serialize(OMSerializableImpl.java:113)
at org.apache.axiom.om.impl.llom.OMElementImpl.toString(OMElementImpl.java:988)
at java.lang.String.valueOf(String.java:2826)
at java.lang.StringBuffer.append(StringBuffer.java:219)
at org.apache.synapse.mediators.builtin.LogMediator.getFullLogMessage(LogMediator.java:184)
at org.apache.synapse.mediators.builtin.LogMediator.getLogMessage(LogMediator.java:123)
at org.apache.synapse.mediators.builtin.LogMediator.mediate(LogMediator.java:91)
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.mediators.MediatorFaultHandler.onFault(MediatorFaultHandler.java:81)
at org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:54)
at org.apache.synapse.endpoints.AbstractEndpoint.invokeNextFaultHandler(AbstractEndpoint.java:618)
at org.apache.synapse.endpoints.AbstractEndpoint.onFault(AbstractEndpoint.java:467)
at org.apache.synapse.endpoints.AddressEndpoint.onFault(AddressEndpoint.java:43)
at org.apache.synapse.FaultHandler.handleFault(FaultHandler.java:102)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:410)
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:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.ctc.wstx.exc.WstxParsingException: Illegal to have multiple roots (start tag in epilog?).
at [row,col {unknown-source}

]: [7,15]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:606)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:479)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:464)
at com.ctc.wstx.sr.BasicStreamReader.handleExtraRoot(BasicStreamReader.java:2137)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2052)
at com.ctc.wstx.sr.BasicStreamReader.closeContentTree(BasicStreamReader.java:2886)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2629)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1062)
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)
... 32 more






[ESBJAVA-2539] "ERROR - JDBCLogsDAO Failed to update log batch records" returned when starting the servers after switching databases Created: 09/Oct/13  Updated: 18/Nov/13

Status: Open
Project: WSO2 ESB
Component/s: Core Engine
Affects Version/s: 4.8.0 M3
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:

Operating System : Linux 3.2.0-29-generic, amd64
Java Version/Java VM : 1.7.0/Java HotSpot(TM) 64-Bit Server VM 21.0-b17,Oracle Corporation
Packs : wso2esb-4.8.0 - PreM4 & wso2elb-2.1.0 - 25th Sep 2013
DBMS/DBMS Driver : MySQL5.5.29-0ubuntu0.12.04.1/MySQL-AB JDBC Driver
Browser : Firefox 11
Setup : Clustered with wka (1 manager & 2 worker nodes)


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

 Description   

jjSteps to reproduce
-------------------------
1. My setup was connected to a mysql database -x
2. Then, I wanted to change the database configurations so I created fresh DBs in a new mysql instance and changed the IPs
3. Started the servers with -Dsetup and noticed the below exception. Once restarted, the exception disappeared.

*******************************************************************************************
[2013-10-09 15:29:17,712] ERROR - JDBCLogsDAO Failed to update log batch records . Table 'everegdb480.REG_LOG' doesn't exist
java.sql.BatchUpdateException: Table 'everegdb480.REG_LOG' doesn't exist
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:160)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.saveLogBatch(JDBCLogsDAO.java:124)
at org.wso2.carbon.registry.core.utils.LogWriter.logWrite(LogWriter.java:106)
at org.wso2.carbon.registry.core.utils.LogWriter.run(LogWriter.java:91)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'everegdb480.REG_LOG' doesn't exist
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:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
... 5 more
[2013-10-09 15:29:17,793] ERROR - LogWriter Unable to save log records
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to update log batch records . Table 'everegdb480.REG_LOG' doesn't exist
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:177)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.saveLogBatch(JDBCLogsDAO.java:124)
at org.wso2.carbon.registry.core.utils.LogWriter.logWrite(LogWriter.java:106)
at org.wso2.carbon.registry.core.utils.LogWriter.run(LogWriter.java:91)
Caused by: java.sql.BatchUpdateException: Table 'everegdb480.REG_LOG' doesn't exist
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:160)
... 3 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'everegdb480.REG_LOG' doesn't exist
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:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
... 5 more
[2013-10-09 15:29:25,257] INFO - EmbeddedRegistryService Configured Registry in 40847ms
[2013-10-09 15:29:28,257] ERROR - JDBCLogsDAO Failed to update log batch records . Table 'everegdb480.REG_LOG' doesn't exist
java.sql.BatchUpdateException: Table 'everegdb480.REG_LOG' doesn't exist
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:160)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.saveLogBatch(JDBCLogsDAO.java:124)
at org.wso2.carbon.registry.core.utils.LogWriter.logWrite(LogWriter.java:106)
at org.wso2.carbon.registry.core.utils.LogWriter.run(LogWriter.java:91)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'everegdb480.REG_LOG' doesn't exist
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:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
... 5 more
[2013-10-09 15:29:28,325] ERROR - LogWriter Unable to save log records
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to update log batch records . Table 'everegdb480.REG_LOG' doesn't exist
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:177)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.saveLogBatch(JDBCLogsDAO.java:124)
at org.wso2.carbon.registry.core.utils.LogWriter.logWrite(LogWriter.java:106)
at org.wso2.carbon.registry.core.utils.LogWriter.run(LogWriter.java:91)
Caused by: java.sql.BatchUpdateException: Table 'everegdb480.REG_LOG' doesn't exist
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:160)
... 3 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'everegdb480.REG_LOG' doesn't exist
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:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
... 5 more
[2013-10-09 15:29:38,490] ERROR - JDBCLogsDAO Failed to update log batch records . Table 'everegdb480.REG_LOG' doesn't exist
java.sql.BatchUpdateException: Table 'everegdb480.REG_LOG' doesn't exist
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:160)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.saveLogBatch(JDBCLogsDAO.java:124)
at org.wso2.carbon.registry.core.utils.LogWriter.logWrite(LogWriter.java:106)
at org.wso2.carbon.registry.core.utils.LogWriter.run(LogWriter.java:91)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'everegdb480.REG_LOG' doesn't exist
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:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
... 5 more
[2013-10-09 15:29:38,522] ERROR - LogWriter Unable to save log records
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to update log batch records . Table 'everegdb480.REG_LOG' doesn't exist
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:177)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.saveLogBatch(JDBCLogsDAO.java:124)
at org.wso2.carbon.registry.core.utils.LogWriter.logWrite(LogWriter.java:106)
at org.wso2.carbon.registry.core.utils.LogWriter.run(LogWriter.java:91)
Caused by: java.sql.BatchUpdateException: Table 'everegdb480.REG_LOG' doesn't exist
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2056)
at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:1467)
at org.wso2.carbon.registry.core.jdbc.dao.JDBCLogsDAO.addLogRecords(JDBCLogsDAO.java:160)
... 3 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'everegdb480.REG_LOG' doesn't exist
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:526)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4190)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4122)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2570)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2731)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2818)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2157)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:2460)
at com.mysql.jdbc.PreparedStatement.executeBatchSerially(PreparedStatement.java:2008)
... 5 more






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

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

Type: Bug 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
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-2858]  Mediation Data Publisher Configuration - Test Server is not working when there are multiple receivers Created: 24/Dec/13  Updated: 23/May/14

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

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

Issue Links:
Reference
is related to WSAS-1665 Service Data Publisher Configuration... Open
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Configure > Mediation Data Publishing

Multiple BAM Data Receivers cannot be tested with Test Server button.

BAM URL format is according to:
http://docs.wso2.org/display/BAM240/Setting+up+Multi+Receiver+and+Load+Balancing++Data+Agent

For example:
tcp://10.230.120.39:7621,tcp://10.230.120.40:7621






[ESBJAVA-3155] No way to specify WS-A properties in endpoint configuration Created: 11/Jun/14  Updated: 11/Jun/14

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

Type: Bug Priority: High
Reporter: Charitha Kankanamge 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   

There is no option to specify many useful WS-Addressing properties in endpoint configuration. When we enable addressing for an endpoint, the default WS-A headers (wsa:To, wsa:MessageID, wsa:ReplyTo) are inserted to the out going message. However, users cannot specify more options. For example, there may be requirements to specify wsa:From, FaultTo and many other message information headers cannot be specified at the endpoint configuration level.






[ESBJAVA-2867] Inconsistency in filter mediator Created: 06/Jan/14  Updated: 30/Jun/14

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: dushan abeyruwan
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-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-3346] [Message Store] Cannot set message properties to JMS message when using JMS message store Created: 06/Oct/14  Updated: 06/Oct/14

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

Type: Improvement Priority: High
Reporter: Lasantha Fernando Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 0
Labels: jms, message-store
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

JDK 1.6.0_45, 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
Test cases added: Yes

 Description   

JMS message properties can be set when sending a message directly via a JMS endpoint from ESB. e.g.

<property name="AMQ_SCHEDULED_DELAY"
value="300000"
scope="transport"/>

However, these properties are not picked up when sending the message via a JMS message store. It will be a useful feature if JMS message store code can be improved to add this feature.






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

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-3243] java.nio.BufferOverflowException observed in the ESB worker nodes Created: 31/Jul/14  Updated: 31/Jul/14

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

Type: Bug Priority: High
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
Deployment: Distributed setup(worker/manager)
DB: mysql5.5
Java: jdk1.7.0_51


Attachments: Text File wso2carbon.log    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

java.nio.BufferOverflowException observed in the ESB worker nodes. This was observed when execute performance test more than 8 hours.

=================================================
TID: [0] [ESB] [2014-07-31 06:48:10,880] ERROR

{org.apache.synapse.transport.passthru.TargetHandler} - {org.apache.synapse.transport.passthru.TargetHandler}

java.nio.BufferOverflowException
at java.nio.Buffer.nextPutIndex(Buffer.java:513)
at java.nio.HeapByteBuffer.put(HeapByteBuffer.java:163)
at org.apache.http.impl.nio.reactor.SessionInputBufferImpl.read(SessionInputBufferImpl.java:114)
at org.apache.http.impl.nio.codecs.ChunkDecoder.read(ChunkDecoder.java:197)
at org.apache.synapse.transport.passthru.Pipe.produce(Pipe.java:187)
at org.apache.synapse.transport.passthru.TargetResponse.read(TargetResponse.java:134)
at org.apache.synapse.transport.passthru.TargetHandler.inputReady(TargetHandler.java:363)
at org.apache.http.impl.nio.DefaultNHttpClientConnection.consumeInput(DefaultNHttpClientConnection.java:190)
at org.apache.synapse.transport.http.conn.LoggingNHttpClientConnection.consumeInput(LoggingNHttpClientConnection.java:106)
at org.apache.synapse.transport.passthru.ClientIODispatch.onInputReady(ClientIODispatch.java:83)
at org.apache.synapse.transport.passthru.ClientIODispatch.onInputReady(ClientIODispatch.java:41)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.inputReady(AbstractIODispatch.java:112)
at org.apache.http.impl.nio.reactor.BaseIOReactor.readable(BaseIOReactor.java:160)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:342)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:744)






[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-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-3083] [BAM Mediator] NPE thrown when Dump Header & Body of the payload selected and actual message don't have either of this on BAM mediator Created: 07/Apr/14  Updated: 20/Nov/14

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

Type: Patch Priority: High
Reporter: Thayalan Sivapaleswararajah Assignee: Buddhima Wijeweera
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

WSO2 ESB 4.8.1, Windows 7 SP1, Firefox 25.0.1, Standalone
java version "1.6.0_43"
Java(TM) SE Runtime Environment (build 1.6.0_43-b01)
Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01, mixed mode)


Attachments: Text File ESBJAVA-3083.patch    
Estimated Complexity: Moderate
Test cases added: No

 Description   

When a Pass through proxy created and point to a simple stock quote service as end point and added BAM mediator to both In Sequence and Out Sequence and send a request throwing an exception

1. Create a BAM Server Profile with 2 streams for In and Out sequence with appropriate details and under Stream Configuration Dump Header & Dump Body checked.
2. Create a Pass through Proxy with an endpoint to a Simple Stock Quote service and BAM mediator on both in & out sequence.
3. Invoke a getQoute request and noted the below exception.

[2014-04-07 18:38:53,232] ERROR - MetaDataBuilder Error occurred while extracting the SOAP header or SOAP body. null
java.lang.NullPointerException
at org.wso2.carbon.mediator.bam.builders.PayloadDataBuilder.produceEntityValue(PayloadDataBuilder.java:134)
at org.wso2.carbon.mediator.bam.builders.PayloadDataBuilder.createPayloadData(PayloadDataBuilder.java:36)
at org.wso2.carbon.mediator.bam.Stream.publishEvent(Stream.java:194)
at org.wso2.carbon.mediator.bam.Stream.sendEvents(Stream.java:77)
at org.wso2.carbon.mediator.bam.BamMediator.mediate(BamMediator.java:73)
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$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:662)
[2014-04-07 18:38:53,234] DEBUG - SequenceMediator End : Sequence <anonymous

This is due to Stock Quote response don't have a header in response.



 Comments   
Comment by Rajeeva Uthayasangar [ 17/Nov/14 ]

Please apply the patch in turing branch under components/mediators/bam/org.wso2.carbon.mediator.bam/4.2.0

Comment by Buddhima Wijeweera [ 19/Nov/14 ]

Hi,

Please find the PR sent to fit repo:
https://github.com/wso2-dev/carbon-mediation/pull/69

Thank you!





[ESBJAVA-3181] Synchronize request response unavailable throught rabbitmq listener Created: 30/Jun/14  Updated: 30/Jun/14

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

Type: Bug Priority: High
Reporter: anjana pra Assignee: Kasun Indrasiri
Resolution: Unresolved Votes: 1
Labels: ESB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS , Windows 7


Severity: Blocker
Estimated Complexity: Advanced
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   

using the rabbitmqlisener in wso2 esb 4.8.1 we are unable to execute synchronize request/response even though following parameters are provided in the rabbitmq url.
1. Reply to
2. correlation Id

This is is blocker for us since we could not use the rabbitmq liseterner for synchronize request response.
Appreciate if you could look into the same.

Thanks,
Anjana.






[ESBJAVA-3314] NPE while updating the synapse configuration to with BAM mediator Created: 10/Jan/14  Updated: 19/Sep/14

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

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

8Jan packs in Clustered environment


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   

Added the following proxy;
source view and paste.

<proxy name="Simple_Stock_Quote_Service_Proxy"
transports="https http"
startOnLoad="true"
trace="disable"
statistics="enable">
<description/>
<target>
<endpoint>
<wsdl service="SimpleStockQuoteService"
port="SimpleStockQuoteServiceHttpSoap11Endpoint"
uri="http://10.100.0.148:9000/services/SimpleStockQuoteService?wsdl"/>
</endpoint>
<inSequence>
<log level="custom">
<property name="STATUS" value="Streaming to BAM"/>
</log>
<bam>
<serverProfile name="BAM_PROFILE_001">
<streamConfig name="stream001" version="0.0.1"/>
</serverProfile>
</bam>
</inSequence>
<outSequence>
<send/>
</outSequence>
</target>
</proxy>

The issue seems to be due to the following
<bam>
<serverProfile name="BAM_PROFILE_001">
<streamConfig name="stream001" version="0.0.1"/>
</serverProfile>
</bam>

not being available. but i was not able to remove it from the UI by editing the source. it is better to either check the configuration before saving or either allow to update the proxy.

when trying to update the proxy the
Exception occurred while trying to invoke service method getProxy

{org.apache.axis2.rpc.receivers.RPCMessageReceiver}

java.lang.reflect.InvocationTargetException
is thrown;

TID: [0] [ESB] [2014-01-10 09:54:01,079] INFO

{org.apache.synapse.task.SynapseTaskManager} - Shutting down the task manager {org.apache.synapse.task.SynapseTaskManager}

TID: [0] [ESB] [2014-01-10 09:54:01,080] INFO

{org.apache.synapse.core.axis2.ProxyService} - Stopped the proxy service : StockQuoteProxy {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,081] INFO

{org.apache.synapse.core.axis2.ProxyService} - Stopped the proxy service : JSONProxy440 {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,084] INFO

{org.apache.synapse.core.axis2.ProxyService} - Stopped the proxy service : JSONProxy441 {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,086] INFO

{org.apache.synapse.config.xml.XMLConfigurationBuilder} - Generating the Synapse configuration model by parsing the XML configuration {org.apache.synapse.config.xml.XMLConfigurationBuilder}

TID: [0] [ESB] [2014-01-10 09:54:01,275] INFO

{org.apache.synapse.core.axis2.ProxyService} - Building Axis service for Proxy service : Simple_Stock_Quote_Service_Proxy {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,275] INFO

{org.apache.synapse.core.axis2.ProxyService} - Adding service Simple_Stock_Quote_Service_Proxy to the Axis2 configuration {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,282] INFO

{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: Simple_Stock_Quote_Service_Proxy {nuwan.com[3]} {org.wso2.carbon.core.deployment.DeploymentInterceptor}

TID: [0] [ESB] [2014-01-10 09:54:01,364] INFO

{org.apache.synapse.core.axis2.ProxyService} - Successfully created the Axis2 service for Proxy service : Simple_Stock_Quote_Service_Proxy {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,364] INFO

{org.apache.synapse.core.axis2.ProxyService} - Building Axis service for Proxy service : StockQuoteProxy {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,380] INFO

{org.apache.synapse.core.axis2.ProxyService} - Adding service StockQuoteProxy to the Axis2 configuration {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,382] INFO

{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: StockQuoteProxy {nuwan.com[3]} {org.wso2.carbon.core.deployment.DeploymentInterceptor}

TID: [0] [ESB] [2014-01-10 09:54:01,440] INFO

{org.apache.synapse.core.axis2.ProxyService} - Successfully created the Axis2 service for Proxy service : StockQuoteProxy {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,441] INFO

{org.apache.synapse.core.axis2.ProxyService} - Building Axis service for Proxy service : JSONProxy440 {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,441] INFO

{org.apache.synapse.core.axis2.ProxyService} - Adding service JSONProxy440 to the Axis2 configuration {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,443] INFO

{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: JSONProxy440 {nuwan.com[3]} {org.wso2.carbon.core.deployment.DeploymentInterceptor}

TID: [0] [ESB] [2014-01-10 09:54:01,572] INFO

{org.apache.synapse.core.axis2.ProxyService} - Successfully created the Axis2 service for Proxy service : JSONProxy440 {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,572] INFO

{org.apache.synapse.core.axis2.ProxyService} - Building Axis service for Proxy service : JSONProxy441 {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,572] INFO

{org.apache.synapse.core.axis2.ProxyService} - Adding service JSONProxy441 to the Axis2 configuration {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,574] INFO

{org.wso2.carbon.core.deployment.DeploymentInterceptor} - Deploying Axis2 service: JSONProxy441 {nuwan.com[3]} {org.wso2.carbon.core.deployment.DeploymentInterceptor}

TID: [0] [ESB] [2014-01-10 09:54:01,655] INFO

{org.apache.synapse.core.axis2.ProxyService} - Successfully created the Axis2 service for Proxy service : JSONProxy441 {org.apache.synapse.core.axis2.ProxyService}

TID: [0] [ESB] [2014-01-10 09:54:01,910] ERROR

{org.wso2.carbon.mediation.configadmin.ConfigAdmin} - Error serializing the Synapse configuration : Error null {org.wso2.carbon.mediation.configadmin.ConfigAdmin}

java.lang.NullPointerException
at org.wso2.carbon.mediator.bam.xml.BamMediatorSerializer.serializeSpecificMediator(BamMediatorSerializer.java:42)
at org.apache.synapse.config.xml.AbstractMediatorSerializer.serializeMediator(AbstractMediatorSerializer.java:90)
at org.apache.synapse.config.xml.AbstractListMediatorSerializer.serializeChildren(AbstractListMediatorSerializer.java:38)
at org.apache.synapse.config.xml.SequenceMediatorSerializer.serializeAnonymousSequence(SequenceMediatorSerializer.java:46)
at org.apache.synapse.config.xml.ProxyServiceSerializer.serializeProxy(ProxyServiceSerializer.java:119)
at org.apache.synapse.config.xml.SynapseXMLConfigurationSerializer.serializeConfiguration(SynapseXMLConfigurationSerializer.java:95)
at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.serializeConfiguration(ConfigurationFactoryAndSerializerFinder.java:207)
at org.apache.synapse.config.xml.ConfigurationFactoryAndSerializerFinder.serializeConfiguration(ConfigurationFactoryAndSerializerFinder.java:183)
at org.apache.synapse.config.xml.XMLConfigurationSerializer.serializeConfiguration(XMLConfigurationSerializer.java:50)
at org.wso2.carbon.mediation.configadmin.ConfigAdmin.getConfiguration(ConfigAdmin.java:68)
at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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: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.mediation.configadmin.stub.ConfigServiceAdminStub.getConfiguration(ConfigServiceAdminStub.java:1604)
at org.wso2.carbon.mediation.configadmin.ui.ConfigManagementClient.getConfiguration(ConfigManagementClient.java:85)
at org.apache.jsp.configadmin.index_jsp._jspService(org.apache.jsp.configadmin.index_jsp:386)
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(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_insertAttribute_7(org.apache.jsp.admin.layout.template_jsp:603)
at org.apache.jsp.admin.layout.template_jsp._jspService(org.apache.jsp.admin.layout.template_jsp:335)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.wso2.carbon.redirector.servlet.ui.filters.AllPagesFilter.doFilter(AllPagesFilter.java:156)
at org.eclipse.equinox.http.helper.FilterServletAdaptor.service(FilterServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:178)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:141)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:156)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:52)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1653)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
TID: [0] [ESB] [2014-01-10 09:54:03,102] INFO

{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Sent [SynchronizeRepositoryRequest{tenantId=3, tenantDomain='nuwan.com', messageId=a2e0913f-7717-4fdc-aa20-973906c7f425}] {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}

TID: [0] [ESB] [2014-01-10 09:54:06,662] ERROR

{org.apache.synapse.config.xml.MultiXMLConfigurationSerializer} - Error while serializing the configuration to the file system {org.apache.synapse.config.xml.MultiXMLConfigurationSerializer}

java.lang.NullPointerException
at org.wso2.carbon.mediator.bam.xml.BamMediatorSerializer.serializeSpecificMediator(BamMediatorSerializer.java:42)
at org.apache.synapse.config.xml.AbstractMediatorSerializer.serializeMediator(AbstractMediatorSerializer.java:90)
at org.apache.synapse.config.xml.AbstractListMediatorSerializer.serializeChildren(AbstractListMediatorSerializer.java:38)
at org.apache.synapse.config.xml.SequenceMediatorSerializer.serializeAnonymousSequence(SequenceMediatorSerializer.java:46)
at org.apache.synapse.config.xml.ProxyServiceSerializer.serializeProxy(ProxyServiceSerializer.java:119)
at org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeProxy(MultiXMLConfigurationSerializer.java:360)
at org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serializeProxyServices(MultiXMLConfigurationSerializer.java:689)
at org.apache.synapse.config.xml.MultiXMLConfigurationSerializer.serialize(MultiXMLConfigurationSerializer.java:100)
at org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager.saveFullConfiguration(MediationPersistenceManager.java:506)
at org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager.persistElement(MediationPersistenceManager.java:452)
at org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager.access$1400(MediationPersistenceManager.java:52)
at org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManager$MediationPersistenceWorker.run(MediationPersistenceManager.java:431)
TID: [0] [ESB] [2014-01-10 09:54:20,100] INFO

{org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask} - Sent [SynchronizeRepositoryRequest{tenantId=3, tenantDomain='nuwan.com', messageId=94650a41-551a-4efe-9451-70c4bb8a2c61}] {org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask}




[ESBJAVA-3321] [UI] If the BAM server profile is not created at the time a proxy that passes data to BAM is created users cannot access the proxy Created: 23/Jan/14  Updated: 23/Sep/14

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

Type: Bug Priority: High
Reporter: Shavantha Weerasinghe 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 :jdk1.6.0
Packs : wso2esb-4.8.1
DBMS: mysql
User Store:OpenLDAP
Browser : Firefox
Set up :proxy services


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

 Description   

[UI] If the BAM server profile is not created at the time a proxy that passes data to BAM is created users cannot access the proxy

steps
1.start a new ESB pack
2.create a proxy that sends data to BAM
3.click on the proxy without creating the BAM server profile



 Comments   
Comment by Anjana Fernando [ 23/Sep/14 ]

This issue cannot be in the BAM project, because this cannot be fixed for a BAM release, it has to be fixed in an ESB product release.





[ESBJAVA-3361] Inconsistence fault handling for users and tenants Created: 30/Oct/12  Updated: 07/Oct/14

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-3379] Cannot send binary message through message store/processor Created: 14/Oct/14  Updated: 23/Jan/15

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

Type: Bug Priority: High
Reporter: Lahiru Sandaruwan Assignee: Ishan Jayawardena
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   

I have binary content created at proxy service and trying to send it to message store.



 Comments   
Comment by Lahiru Sandaruwan [ 14/Oct/14 ]

FYI.

I create the binary in a class mediator as below,

public boolean mediate(MessageContext context) {
log.debug("Starting: FileDecoderMediator Mediator");

SOAPBody body = context.getEnvelope().getBody();
OMElement firstElement = body.getFirstElement();
OMElement archiveElement = null;
try

{ AXIOMXPath xPathSymbol = new AXIOMXPath("//ns:archive"); xPathSymbol.addNamespace("ns", "http://ws.wso2.org/dataservice"); archiveElement = (OMElement) xPathSymbol.selectSingleNode(firstElement); }

catch (JaxenException e)

{ handleException("Element archive error: " + e.getMessage(), e, context); }

if (archiveElement == null)

{ handleException("Element archive not found: " + body, context); }

// picking the encoded file data from archive Element
String encodedFileData = archiveElement.getText();
try

{ // creating a SOAP message, for writing the decoded file SOAPFactory factory = OMAbstractFactory.getSOAP12Factory(); SOAPEnvelope env = factory.getDefaultEnvelope(); // decoding the file data and take into an input stream InputStream inputStream = new ByteArrayInputStream(Base64.decodeBase64(encodedFileData.getBytes())); OMNamespace ns = factory.createOMNamespace( RelayConstants.BINARY_CONTENT_QNAME.getNamespaceURI(), "ns"); OMElement omEle = factory.createOMElement( RelayConstants.BINARY_CONTENT_QNAME.getLocalPart(), ns); StreamingOnRequestDataSource ds = new StreamingOnRequestDataSource(inputStream); DataHandler dataHandler = new DataHandler(ds); // creating an OMText node with file data OMText textData = factory.createOMText(dataHandler, true); textData.setContentID(""); omEle.addChild(textData); env.getBody().addChild(omEle); context.setEnvelope(env); }

catch (Exception e)

{ handleException("Error occurred in file decoding process : ", e, context); }

return true;
}





[ESBJAVA-3098] WSO2 ESB unable to send a scheduled message to activemq broker Created: 17/Apr/14  Updated: 23/Jan/15

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

Type: Bug Priority: High
Reporter: faisal shaik Assignee: Sandamal Weerasinghe
Resolution: Unresolved Votes: 0
Labels: ESB, passthru-transport
Remaining Estimate: 3 minutes
Time Spent: Not Specified
Original Estimate: 3 minutes
Environment:

Ubuntu,wso2esb4.8.0,activemq5.8.0


Attachments: XML File JMSSCHEDULE.xml    
Severity: Critical
Estimated Complexity: Advanced
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 would like send a message to activemq based on schedule time like
below explanatiion
http://www.devteam.gr/blog/?p=265&lang=en
please go through that
0 down vote favorite

I wish to raise a alert to user.User setting his ETA when he registered. so if he is unable to reach in time. i wish to raise a alert to user how would i achieve. for this i refereed TASK SCHEDULING in wso2esb but its static request and static time define but my time is different for every user how would i do it dynamic. Even i tried in ACTIVE MQ scheduling but no use any help for this.
for that i set a property like this

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="JMSSCHEDULE"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<property name="OUT_ONLY" value="true"/>
<log level="full"/>
<property name="messageType" value="application/json" scope="axis2"/>
<property name="OUT_ONLY" value="true"/>
<property name="FORCE_SC_ACCEPTED" value="true" scope="axis2"/>
<send>
<endpoint>
<address uri="jms:/JMSSCHEDULE?transport.jms.ConnectionFactoryJNDIName=QueueConnectionFactory&java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory&java.naming.provider.url=tcp://127.0.0.1:61616&transport.jms.DestinationType=queue"/>
<property name="AMQ_SCHEDULED_DELAY" value="30000000000" scope="transport"/>
</endpoint>
</send>
</inSequence>
<outSequence/>
</target>
<parameter name="AMQ_SCHEDULED_DELAY">300000</parameter>
</proxy

but no use message producing quickly happening
how would i achive this



 Comments   
Comment by Faisal Shaik [ 09/May/14 ]

It's working when we add this property
<property name="AMQ_SCHEDULED_DELAY" value="30000000000" scope="axis2"/>

At last i got the solution as per time schedule its working fine





[ESBJAVA-3140] Aggregate Mediator completeCondition messageCount values are not accepted properly Created: 04/Jun/14  Updated: 01/Jul/14

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

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

local


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
Affects Docs:
Yes

 Description   

We are seeing a weird behavior that we are ending up in configuring or changing the message count manually in completeCondition every time for the aggregate feature to work.

Here is my proxy service:

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="PullBundleAndPushInventory"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <property name="counter" value="0" scope="operation"/>
         <log level="custom">
            <property name="STATUS"
                      value="+++++++++++++++++ Inside Proxy Service ++++++++++++++++++"/>
         </log>
         <iterate xmlns:tem="http://tempuri.org/"
                  xmlns:ns="http://org.apache.synapse/xsd"
                  id="pushInventoryIterator"
                  expression="//tem:result/tem:row"
                  sequential="true">
            <target>
               <sequence>
                  <property name="counter"
                            expression="get-property('operation','counter') + 1"
                            scope="operation"/>
                  <log level="custom">
                     <property name="LISTINGCOUNTER" expression="get-property('operation','counter')"/>
                  </log>
                  <payloadFactory media-type="xml">
                     <format>
                        <listing xmlns="">
                           <eventId>$1</eventId>
                           <eventDescription>$2</eventDescription>
                           <pricePerTicket>
                              <amount>$3</amount>
                              <currency>USD</currency>
                           </pricePerTicket>
                           <quantity>$4</quantity>
                           <section>$5</section>
                           <rows>$6</rows>
                           <seats>$7</seats>
                           <splitOption>NONE</splitOption>
                        </listing>
                     </format>
                     <args>
                        <arg evaluator="xml" expression="//tem:event_key"/>
                        <arg evaluator="xml" expression="//tem:show_title"/>
                        <arg evaluator="xml" expression="//tem:Cost"/>
                        <arg evaluator="xml" expression="//tem:seat_increment"/>
                        <arg evaluator="xml" expression="//tem:area"/>
                        <arg evaluator="xml" expression="//tem:row_desc"/>
                        <arg evaluator="xml" expression="//tem:seat_num"/>
                     </args>
                  </payloadFactory>
                  <log level="full">
                     <property name="STATUS"
                               value="++++++++++++ Invoking Listing EndPoint in pushInventoryIterator ++++++++++++++"/>
                  </log>
                  <header name="Action" scope="default" value="urn:test"/>
                  <send>
                     <endpoint key="ListingEndPoint"/>
                  </send>
               </sequence>
            </target>
         </iterate>
      </inSequence>
      <outSequence>
         <log level="full">
            <property name="STATUS"
                      value="+++++++++++++++++ Inside OutSequence of Proxy Service ++++++++++++++++++"/>
            <property name="LISTINGCOUNTER" expression="get-property('operation','counter')"/>
         </log>
         <aggregate id="pushInventoryIterator">
            <completeCondition>
               <messageCount min="{get-property('operation','counter')}"
                             max="{get-property('operation','counter')}"/>
            </completeCondition>
            <onComplete xmlns:ns2="com.xxx.domain.inventory.common.util" expression="//listing">
               <log level="full" separator=",">
                  <property name="STATUS"
                            value="+++++++++++++++++ Aggregating responses back in Proxy Service ++++++++++++++++++"/>
               </log>
               <enrich>
                  <source type="envelope" clone="true"/>
                  <target type="body"/>
               </enrich>
               <send/>
            </onComplete>
         </aggregate>
      </outSequence>
   </target>
   <description/>
</proxy>

I see that if I explicitly mention the min and max count values as same values and correct manually - aggregate works smoothly.

Following sceanrios does not work:

1) I am assuming min="-1" max="-1" should work for any number of messages but it does not

<aggregate id="pushInventoryIterator">
            <completeCondition>
               <messageCount min="-1"max="-1"/>
            </completeCondition>

2) Mix and max with property combination and -1 for properties are also don't work.

<aggregate id="pushInventoryIterator">
            <completeCondition>
               <messageCount min="{get-property('operation','counter')}"
                             max="-1"/>
            </completeCondition>

In all these error scenarios, it will end up dumping the first message response in outSequence and it hangs there for a long time and does nothing after that.

I referred multiple JIRA's that are opened around this and none of them give a clear solution that works:
https://wso2.org/jira/browse/ESBJAVA-1689 - Closed as duplicate
https://wso2.org/jira/browse/ESBJAVA-935 - Tried this way but did not work.

Here is my request payload that i am using to reproduce this issue:

<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><tem:result xmlns:tem="http://tempuri.org/">
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>54</tem:seat_num>
      <tem:seat_increment>1</tem:seat_increment>
      <tem:Cost>900</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>44</tem:seat_num>
      <tem:seat_increment>1</tem:seat_increment>
      <tem:Cost>901</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>53,58</tem:seat_num>
      <tem:seat_increment>2</tem:seat_increment>
      <tem:Cost>902</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>43,52</tem:seat_num>
      <tem:seat_increment>2</tem:seat_increment>
      <tem:Cost>903</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>41,46,56</tem:seat_num>
      <tem:seat_increment>3</tem:seat_increment>
      <tem:Cost>904</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>42</tem:seat_num>
      <tem:seat_increment>1</tem:seat_increment>
      <tem:Cost>905</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>40,55</tem:seat_num>
      <tem:seat_increment>2</tem:seat_increment>
      <tem:Cost>906</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>47,51,59,60</tem:seat_num>
      <tem:seat_increment>4</tem:seat_increment>
      <tem:Cost>907</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>45,57</tem:seat_num>
      <tem:seat_increment>2</tem:seat_increment>
      <tem:Cost>908</tem:Cost>
   </tem:row>
   <tem:row>
      <tem:event_key>4457573</tem:event_key>
      <tem:show_title>The Book of Mormon Houston</tem:show_title>
      <tem:venue_name>Sarofim Hall at The Hobby Center in Houston, US</tem:venue_name>
      <tem:perf_date>01/28/2015 12:00:00 AM</tem:perf_date>
      <tem:area>CENTER ORCHESTRA</tem:area>
      <tem:row_desc>XN</tem:row_desc>
      <tem:seat_num>48,49,50</tem:seat_num>
      <tem:seat_increment>3</tem:seat_increment>
      <tem:Cost>909</tem:Cost>
   </tem:row>
</tem:result></soapenv:Body></soapenv:Envelope>


 Comments   
Comment by dushan abeyruwan [ 11/Jun/14 ]

Hi
Can you try to replace existing operation variable with follows,

 <property name="counter" value="1.0" scope="operation" type="DOUBLE"/>

and

 <?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse" name="CallIterator"
	transports="https,http" statistics="disable" trace="disable"
	startOnLoad="true">
	<target>
		<inSequence>
			<property name="counter" value="0.0" scope="operation" type="DOUBLE" />
			<iterate xmlns:m1="http://services.samples" xmlns:m2="http://services.samples/xsd"
				id="callItr" expression="//m1:getQuotes/m1:getQuote">
				<target>
					<sequence>
						<property name="counter" expression="get-property('operation','counter') + 1"
							scope="operation" type="DOUBLE" />
						<call>
							<endpoint>
								<address
									uri="http://localhost:9000/services/SimpleStockQuoteService" />
							</endpoint>
						</call>
					</sequence>
				</target>
			</iterate>
			<log level="custom">
				<property name="MESSAGE" value="##1" />
			</log>
			<property name="ECNCLOSING_ELEMENT" scope="default">
				<wrapper xmlns="" />
			</property>
			<aggregate id="callItr">
				<completeCondition>
					<messageCount min="{get-property('operation','counter')}"
						max="{get-property('operation','counter')}" />
				</completeCondition>
				<onComplete xmlns:m1="http://services.samples"
					expression="//m1:getQuoteResponse" enclosingElementProperty="ECNCLOSING_ELEMENT">
					<log level="custom">
						<property name="MESSAGE" value="##2" />
						<property name="COUNT####" expression="get-property('operation','counter')" />
					</log>
					<respond />
				</onComplete>
			</aggregate>
		</inSequence>
		<outSequence>
			<respond />
		</outSequence>
	</target>
	<description />
</proxy>
                                

Input


<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.samples" xmlns:xsd="http://services.samples/xsd">
   <soapenv:Header/>
   <soapenv:Body>
      <ser:getQuotes>
         <ser:getQuote>
            <!--Optional:-->
            <ser:request>
               <!--Optional:-->
               <xsd:symbol>IBM</xsd:symbol>
            </ser:request>
         </ser:getQuote>
         <ser:getQuote>
            <!--Optional:-->
            <ser:request>
               <!--Optional:-->
               <xsd:symbol>DLL</xsd:symbol>
            </ser:request>
         </ser:getQuote>
          <ser:getQuote>
            <!--Optional:-->
            <ser:request>
               <!--Optional:-->
               <xsd:symbol>DLL</xsd:symbol>
            </ser:request>
         </ser:getQuote>
          <ser:getQuote>
            <!--Optional:-->
            <ser:request>
               <!--Optional:-->
               <xsd:symbol>DLL</xsd:symbol>
            </ser:request>
         </ser:getQuote>
      </ser:getQuotes>
   </soapenv:Body>
</soapenv:Envelope>
Comment by Ramakrishna Kesara [ 27/Jun/14 ]

Hi,

I tried that suggestion of making the counter type="DOUBLE" but it did not solve the problem. I still see that only one message reaches aggregation sequence - rest of the things even though the call is complete, it still waits for the response to come back. Here are some latest logs indicating that:

TID: [0] [ESB] [2014-06-26 19:47:58,066]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 1.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,070]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:5f11505c-255f-4f0e-823b-28fed76f1eed, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>900</amount><currency>USD</currency></pricePerTicket><quantity>2</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>42,58</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,077]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 2.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,081]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:56cf19c3-a855-48b8-bc8b-a71a51dbadf7, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>901</amount><currency>USD</currency></pricePerTicket><quantity>1</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>44</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,085]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 3.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,089]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:ae65f2fa-c4e8-4cb8-8161-8cedb29f3ccc, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>902</amount><currency>USD</currency></pricePerTicket><quantity>1</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>41</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,092]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 4.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,096]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:4c9c6db5-89e0-4064-b11a-9a1768504f4d, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>903</amount><currency>USD</currency></pricePerTicket><quantity>2</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>47,57</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,099]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 5.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,103]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:93cfbea1-0629-4034-a407-48a9cfde0922, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>904</amount><currency>USD</currency></pricePerTicket><quantity>2</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>50,53</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,108]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 6.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,112]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:832ea639-09bf-4214-be90-510ed22d7666, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>905</amount><currency>USD</currency></pricePerTicket><quantity>1</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>54</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,115]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 7.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,119]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:edd7f81b-9abb-4295-8d2c-6471fd2fcda4, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>906</amount><currency>USD</currency></pricePerTicket><quantity>5</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>43,45,48,56,59</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,124]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 8.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,128]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:3cdaeff4-ebb5-4206-94e4-267e1d8f7148, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>908</amount><currency>USD</currency></pricePerTicket><quantity>2</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>40,60</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,131]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  LISTINGCOUNTER = 9.0 {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:58,134]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:9a811d2e-30a5-4783-9a96-921fa1ad1858, Direction: request, STATUS = ++++++++++++ Invoking Listing EndPoint in  pushInventoryIterator ++++++++++++++, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><listing><eventId>4457573</eventId><eventDescription>The Book of Mormon Houston</eventDescription><pricePerTicket><amount>909</amount><currency>USD</currency></pricePerTicket><quantity>5</quantity><section>CENTER ORCHESTRA</section><rows>XN</rows><seats>46,49,51,52,55</seats><splitOption>NONE</splitOption></listing></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}
TID: [0] [ESB] [2014-06-26 19:47:59,356]  WARN {org.wso2.carbon.mediation.initializer.persistence.ProxyServiceStore} -  Unable to find the item: Pull for persistence {org.wso2.carbon.mediation.initializer.persistence.ProxyServiceStore}
TID: [0] [ESB] [2014-06-26 19:48:00,682]  INFO {org.apache.synapse.mediators.builtin.LogMediator} -  To: http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:1d1600c5-e2ca-4b5d-bab1-568c58973a83, Direction: response, STATUS = +++++++++++++++++ Inside OutSequence of  Proxy Service ++++++++++++++++++, LISTINGCOUNTER = 9.0, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><jsonObject><listing><id>1082835942</id><status>ACTIVE</status></listing></jsonObject></soapenv:Body></soapenv:Envelope> {org.apache.synapse.mediators.builtin.LogMediator}

Here is the proxy service:

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="PullBundleAndPushInventory"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <property name="counter" value="0.0" scope="operation" type="DOUBLE"/>
         <log level="custom">
            <property name="STATUS"
                      value="+++++++++++++++++ Inside Proxy Service ++++++++++++++++++"/>
         </log>
         <iterate xmlns:tem="http://tempuri.org/"
                  xmlns:ns="http://org.apache.synapse/xsd"
                  id="pushInventoryIterator"
                  expression="//tem:result/tem:row"
                  sequential="true">
            <target>
               <sequence>
                  <property name="counter"
                            expression="get-property('operation','counter') + 1"
                            scope="operation" type="DOUBLE"/>
                  <log level="custom">
                     <property name="LISTINGCOUNTER" expression="get-property('operation','counter')"/>
                  </log>
                  <payloadFactory media-type="xml">
                     <format>
                        <listing xmlns="">
                           <eventId>$1</eventId>
                           <eventDescription>$2</eventDescription>
                           <pricePerTicket>
                              <amount>$3</amount>
                              <currency>USD</currency>
                           </pricePerTicket>
                           <quantity>$4</quantity>
                           <section>$5</section>
                           <rows>$6</rows>
                           <seats>$7</seats>
                           <splitOption>NONE</splitOption>
                        </listing>
                     </format>
                     <args>
                        <arg evaluator="xml" expression="//tem:event_key"/>
                        <arg evaluator="xml" expression="//tem:show_title"/>
                        <arg evaluator="xml" expression="//tem:Cost"/>
                        <arg evaluator="xml" expression="//tem:seat_increment"/>
                        <arg evaluator="xml" expression="//tem:area"/>
                        <arg evaluator="xml" expression="//tem:row_desc"/>
                        <arg evaluator="xml" expression="//tem:seat_num"/>
                     </args>
                  </payloadFactory>
                  <log level="full">
                     <property name="STATUS"
                               value="++++++++++++ Invoking Listing EndPoint in pushInventoryIterator ++++++++++++++"/>
                  </log>
                  <header name="Action" scope="default" value="urn:test"/>
                  <send>
                     <endpoint key="ListingEndPoint"/>
                  </send>
               </sequence>
            </target>
         </iterate>
      </inSequence>
      <outSequence>
         <log level="full">
            <property name="STATUS"
                      value="+++++++++++++++++ Inside OutSequence of Proxy Service ++++++++++++++++++"/>
            <property name="LISTINGCOUNTER" expression="get-property('operation','counter')"/>
         </log>
         <aggregate id="pushInventoryIterator">
            <completeCondition>
               <messageCount min="{get-property('operation','counter')}"
                             max="{get-property('operation','counter')}"/>
            </completeCondition>
            <onComplete xmlns:ns2="com.xxx.domain.inventory.common.util" expression="//listing">
               <log level="full" separator=",">
                  <property name="STATUS"
                            value="+++++++++++++++++ Aggregating responses back in Proxy Service ++++++++++++++++++"/>
               </log>
               <enrich>
                  <source type="envelope" clone="true"/>
                  <target type="body"/>
               </enrich>
               <send/>
            </onComplete>
         </aggregate>
      </outSequence>
   </target>
   <description/>
</proxy>                                

I don't think this double made any difference. Am I missing something?





[ESBJAVA-3241] ClosedChannelException was observed in the ESB worker nodes Created: 30/Jul/14  Updated: 30/Jan/15

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

Type: Bug Priority: High
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
Deployment: Distributed setup(worker/manager)
DB: mysql5.5
Java: jdk1.7.0_51


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

 Description   

Following ClosedChannelException was observed in the ESB worker nodes. Same issue has been reported to ELB and it fixed.
https://wso2.org/jira/browse/LB-74

------------------------------------------------------------------------------------------
TID: [0] [ESB] [2014-07-30 00:32:52,505] ERROR

{org.apache.synapse.transport.passthru.SourceHandler} - Unexpected I/O error: java.nio.channels.ClosedChannelException {org.apache.synapse.transport.passthru.SourceHandler}

java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:265)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:474)
at org.apache.http.impl.nio.reactor.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:100)
at org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:76)
at org.apache.synapse.transport.passthru.Pipe.consume(Pipe.java:140)
at org.apache.synapse.transport.passthru.SourceResponse.write(SourceResponse.java:158)
at org.apache.synapse.transport.passthru.SourceHandler.outputReady(SourceHandler.java:253)
at org.apache.http.impl.nio.DefaultNHttpServerConnection.produceOutput(DefaultNHttpServerConnection.java:233)
at org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.produceOutput(LoggingNHttpServerConnection.java:114)
at org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:87)
at org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:141)
at org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:744)



 Comments   
Comment by Aparna Karunarathna [ 04/Aug/14 ]

Seems like ELB ClosedChannelException also not fixed, I observed the following ClosedChannelException when performing a long running test in ELB and ESB worker nodes.

-------------------------------------------------------------------------------------
TID: [0] [ELB] [2014-08-03 18:47:58,943] WARN

{org.apache.synapse.transport.passthru.SourceHandler} - Illegal incoming connection state: CLOSED . Possibly two send backs are happening for the same request {org.apache.sy napse.transport.passthru.SourceHandler}
TID: [0] [ELB] [2014-08-03 18:47:58,943] WARN {org.apache.synapse.transport.passthru.SourceHandler}

- Trying to write response body while the handler is in an inconsistent state REQUEST_READY

{org.apache.synapse.transpo rt.passthru.SourceHandler}

TID: [0] [ELB] [2014-08-03 18:48:25,171] ERROR

{org.apache.synapse.transport.passthru.SourceHandler} - Unexpected I/O error: java.nio.channels.ClosedChannelException {org.apache.synapse.transport.passthru.SourceHandler}

java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:265)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:474)
at org.apache.http.impl.nio.reactor.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:100)
at org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:76)
at org.apache.synapse.transport.passthru.Pipe.consume(Pipe.java:140)
at org.apache.synapse.transport.passthru.SourceResponse.write(SourceResponse.java:216)
at org.apache.synapse.transport.passthru.SourceHandler.outputReady(SourceHandler.java:257)
at org.apache.http.impl.nio.DefaultNHttpServerConnection.produceOutput(DefaultNHttpServerConnection.java:233)
at org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.produceOutput(LoggingNHttpServerConnection.java:114)
at org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:87)
at org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:141)
at org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:744)
TID: [0] [ELB] [2014-08-03 19:08:03,643] ERROR

{org.apache.synapse.transport.passthru.SourceHandler} - Unexpected I/O error: java.nio.channels.ClosedChannelException {org.apache.synapse.transport.passthru.SourceHandler}

java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.ensureWriteOpen(SocketChannelImpl.java:265)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:474)
at org.apache.http.impl.nio.reactor.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:100)
at org.apache.http.impl.nio.codecs.ChunkEncoder.write(ChunkEncoder.java:76)
at org.apache.synapse.transport.passthru.Pipe.consume(Pipe.java:140)
at org.apache.synapse.transport.passthru.SourceResponse.write(SourceResponse.java:216)
at org.apache.synapse.transport.passthru.SourceHandler.outputReady(SourceHandler.java:257)
at org.apache.http.impl.nio.DefaultNHttpServerConnection.produceOutput(DefaultNHttpServerConnection.java:233)
at org.apache.synapse.transport.http.conn.LoggingNHttpServerConnection.produceOutput(LoggingNHttpServerConnection.java:114)
at org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:87)
at org.apache.synapse.transport.passthru.ServerIODispatch.onOutputReady(ServerIODispatch.java:39)
at org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:141)
at org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:181)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:346)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:320)
at org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:280)
at org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106)
at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:604)
at java.lang.Thread.run(Thread.java:744)

Comment by Jeewantha Dharmaparakrama [ 30/Jan/15 ]

Can this issue be reproduced with no ELB involved ? If so what was the ESB config ? Request type ? etc

Comment by Aparna Karunarathna [ 30/Jan/15 ]

I have tested this with ELB fronted setup. Invoked axis2services and jax-rs services(http). Deployment details can be get from jira environment section.





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

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

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

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

 Description   

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






[ESBJAVA-3534] java.lang.IllegalStateException when trying to log in with an invalid tenant domain user Created: 09/Feb/15  Updated: 09/Feb/15

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

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

standalone M5 pack


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

 Description   

Get the below exception logged when trying to log in with an invalid tenant domain.

[2015-02-09 17:53:32,255] ERROR - AuthenticationAdminClient Error occurred while logging in
java.lang.IllegalStateException: Tenant ID cannot be -1
at org.wso2.carbon.caching.impl.CarbonCacheManager.<init>(CarbonCacheManager.java:62)
at org.wso2.carbon.caching.impl.CacheManagerFactoryImpl.getCacheManager(CacheManagerFactoryImpl.java:94)
at org.wso2.carbon.security.pox.POXSecurityHandler.getPOXCache(POXSecurityHandler.java:365)
at org.wso2.carbon.security.pox.POXSecurityHandler.invoke(POXSecurityHandler.java:123)
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.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
at org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
at org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:119)
at org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
at org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticate(BasicAuthUIAuthenticator.java:83)
at org.wso2.carbon.ui.CarbonUILoginUtil.handleLogin(CarbonUILoginUtil.java:363)
at org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:244)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
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:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
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:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
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-3521] Cannot use namespace http://ws.apache.org/ns/synapse in header mediator Created: 02/Feb/15  Updated: 11/Feb/15

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

Type: Bug Priority: High
Reporter: Asanka Abeyweera Assignee: Sivajothy Vanjikumaran
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   

Steps to reproduce,

1. Save an endpoint in registry configuration. (Let's take name as "versionEP")
2. Using UI add following configuration in inSequence to include end-point url in soap header.

<property name="EPProp"
                   expression="get-property('registry','conf:versionEP')"
                   scope="default"
                   type="OM"/>
 <header xmlns:wsa="http://www.w3.org/2005/08/addressing"
                 name="wsa:To"
                 scope="default"
                 xmlns:syn="http://ws.apache.org/ns/synapse"
                 expression="$ctx:EPProp//syn:address/@uri"/>

3. Save and reopen in online editor. the attribute xmlns:syn="http://ws.apache.org/ns/synapse" is missing.

Same behaviour is observed when the proxy is deployed using a CAR file. But when I edit the proxy file on disk and add the xmlns manually again then the proxy does work.



 Comments   
Comment by Sivajothy Vanjikumaran [ 11/Feb/15 ]

Given namespce belong to synapse namespace and synapse configuration cannot have synapse name space for other purposes and you don't need to access xml elements in the endpoint config to use that endpoint you can simply use <endpoint key="conf:versionEP"/> to use the endpoint.

Comment by Asanka Abeyweera [ 11/Feb/15 ]

Here the requirement is adding end-point URL in a header value. Therefore I used the header mediator to put the value using the given expression. But since the attribute xmlns:syn="http://ws.apache.org/ns/synapse" is removed, the expression is broken. I could not find an alternative way to do this.





[ESBJAVA-3544] Tenant creation error with Active directory Created: 11/Feb/15  Updated: 11/Feb/15

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

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

ESB 4.9.0 M5 (Clustered setup fronted by Nginx)
IBM JDK 1.7.0
Centos 6.5


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

 Description   

ESB 4.9.0 is setup with Active Directory as the user store.

The following have been updated accordingly.
1. user-mgt.xml
2. 'RootPartition' property in tenant-mgt.xml

Error [1] is logged when creating a tenant. The tenant is created in the inactive mode. Certain tenant details are not saved ( tenant password / first name/ last name )

Error [2] occurs in the attempt to update tenant details. Therefore it is not possible even to update and login to the tenant.

[1] ____________________________________________________________
TID: [-1234] [] [2015-02-10 11:16:55,048] ERROR

{org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil} - Failed to add tenant config. tenant-domain: testtenant.com, tenant-admin: testtenant. {org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil}

org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceExceptionException: TenantMgtAdminServiceExceptionException
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1774)
at org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.addTenant(TenantMgtAdminServiceStub.java:2743)
at org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.addTenant(TenantServiceClient.java:90)
at org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.addTenantConfigBean(TenantMgtUtil.java:67)
at org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(submit_005ftenant_005fajaxprocessor_jsp.java:136)
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:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
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:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
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:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:853)

[2] ____________________________________________________________

TID: [-1234] [] [2015-02-10 11:20:56,862] ERROR

{org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil} - Failed to update the tenant config. tenant-domain: testtenant.com, tenant-admin: testtenant. {org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil}

org.apache.axis2.AxisFault: An error occurred while obtaining the user realm for the tenant: 5.
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:531)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:370)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:445)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at org.wso2.carbon.tenant.mgt.stub.TenantMgtAdminServiceStub.updateTenant(TenantMgtAdminServiceStub.java:350)
at org.wso2.carbon.tenant.mgt.ui.clients.TenantServiceClient.updateTenant(TenantServiceClient.java:110)
at org.wso2.carbon.tenant.mgt.ui.utils.TenantMgtUtil.updateTenantConfigBean(TenantMgtUtil.java:115)
at org.apache.jsp.tenant_002dmgt.submit_005ftenant_005fajaxprocessor_jsp._jspService(submit_005ftenant_005fajaxprocessor_jsp.java:140)
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:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
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:501)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:183)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:146)
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:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1679)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:853)






[ESBJAVA-3554] VFS transport not working for VFS to VFS Created: 09/Feb/15  Updated: 13/Feb/15

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

Type: Bug Priority: High
Reporter: Sriskandarajah Suhothayan 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   

have to add
<property name="ClientApiNonBlocking" value="true" scope="axis2" action="remove"/>
to make this working

also instructions to transfer large files is wrong
<messagebuilder contenttype="application/binary" class="org.apache.axis2.format.BinaryBuilder"/>
is outdated



 Comments   
Comment by Jackie Wheeler [ 10/Feb/15 ]

We have info on using the ClientApiNonBlocking property in the section on transferring large files, but it sounds like we need to add a note about using it for VFS to VFS as well. Also, please check into what the message builder should be instead of the binary one currently documented in the large files section.

Comment by Nisrin Sheriff [ 13/Feb/15 ]

Discussed with Isuru U and did necessary doc changes.

Moving this JIRA to the ESB project since Isuru mentioned that they need to look into the purpose of adding the ClientApiNonBlocking property.





[ESBJAVA-3574] jms proxies deployed via a carbon app should be undeployed and deleted from the mgt console ui once the carbon app is deleted Created: 19/Feb/15  Updated: 19/Feb/15

Status: Open
Project: WSO2 ESB
Component/s: Carbon Applications, Proxy Services Management
Affects Version/s: 4.8.1, 4.9.0 - M5
Fix Version/s: None

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

Standalone, h2 and cluster setup fornted bu nginx


Attachments: File jmsproxy2_1.0.0.car     File jmsproxy_1.0.0.car    
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   

jms proxies deployed via a carbon app should be undeployed once the carbon app is deleted. At the moment server has to be restarted.