[ESBJAVA-4162] JMS Message Stores added with a CAR is not indicated as artifact deployed with a CAR Created: 04/Sep/15  Updated: 05/Sep/15  Resolved: 05/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta , 4.9.0 - RC2
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: Nadeeshaan Gunasinghe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-RC3.zip
Java Version : Java 1.8
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


Attachments: File Artifact2_1.0.0.car     PNG File Selection_271.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

Steps to reproduce

1. Upload the attached CAR file.
2. Now go to message stores.

Issue : Uploaded JMS Message store is not indicated as a CAR deployed artifact. Refer the attached screenshot.



 Comments   
Comment by Chanaka Fernando [ 05/Sep/15 ]

Fixed with following PR[1]

[1] https://github.com/wso2/carbon-mediation/commit/f3144f9fe428c89d27b8425cd64ec872e7f3d758





[ESBJAVA-4166] Error when creating JDBC message stores with MSSQL Created: 04/Sep/15  Updated: 05/Sep/15  Resolved: 05/Sep/15

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

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

Pack : wso2esb-4.9.0-RC3.zip
Java Version : Java 1.8
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : MSSQL


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

 Description   

Steps to reproduce

1. Create the following message store pointing to MSSQL.

<messageStore
        class="org.apache.synapse.message.store.impl.jdbc.JDBCMessageStore" name="MSSQL_STORE">
        <parameter name="store.producer.guaranteed.delivery.enable">false</parameter>
        <parameter name="store.failover.message.store.name">MSSQL_STORE</parameter>
        <parameter name="store.jdbc.password">welcome12!@</parameter>
        <parameter name="store.jdbc.username">tester</parameter>
        <parameter name="store.jdbc.driver">com.microsoft.sqlserver.jdbc.SQLServerDriver</parameter>
        <parameter name="store.jdbc.table">jdbc_message_store</parameter>
        <parameter name="store.jdbc.connection.url">jdbc:sqlserver://192.168.xx.xx:1433;databaseName=ESB480-yasas</parameter>
    </messageStore>

Issue : When creating following error was observed and coudn't add messages to the message store.

 ERROR - JDBCMessageStore Error executing statement : SELECT COUNT(*) FROM jdbc_message_store against DataSource : jdbc:sqlserver://192.168.18.13:1433;databaseName=ESB480-yasas
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'jdbc_message_store'.
	at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:197)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.getNextResult(SQLServerStatement.java:1493)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(SQLServerPreparedStatement.java:390)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PrepStmtExecCmd.doExecute(SQLServerPreparedStatement.java:340)
	at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:4575)
	at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1400)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeCommand(SQLServerStatement.java:179)
	at com.microsoft.sqlserver.jdbc.SQLServerStatement.executeStatement(SQLServerStatement.java:154)
	at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeQuery(SQLServerPreparedStatement.java:283)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
	at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
	at org.apache.synapse.message.store.impl.jdbc.JDBCMessageStore.size(JDBCMessageStore.java:479)
	at org.wso2.carbon.message.store.service.MessageStoreAdminService.getSize(MessageStoreAdminService.java:246)
	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: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.message.store.stub.MessageStoreAdminServiceStub.getSize(MessageStoreAdminServiceStub.java:1837)
	at org.wso2.carbon.message.store.ui.MessageStoreAdminServiceClient.getSize(MessageStoreAdminServiceClient.java:222)
	at org.apache.jsp.message_005fstore.index_jsp._jspService(index_jsp.java:419)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:688)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:682)
	at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)


 Comments   
Comment by Chanaka Fernando [ 05/Sep/15 ]

Hi Yasassri,

Have you created the table which you are going to store messages into as mentioned at [1]?

[1] https://docs.wso2.com/display/ESB490/JDBC+Message+Store

Comment by Yasassri Rathnayake [ 05/Sep/15 ]

The table was created but was not committed, when the table was created the issue went away. Hence resolving the issue.





[ESBJAVA-4156] SVN based Depsync not functioning Created: 04/Sep/15  Updated: 04/Sep/15  Resolved: 04/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Deployment Synchronizer
Affects Version/s: 4.9.0 - RC2
Fix Version/s: 4.9.0

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

ESB 4.9 RC3


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

 Description   

Steps to Reproduce

1. Enable depsync in ESB node and start the server.

Issue : Following exceptions are thrown and svn doesn't sync with the local repository.

 INFO - NioSelectorPool Using a shared selector for servlet write/read
[2015-09-04 03:55:16,603] ERROR - SVNBasedArtifactRepository Error while checking out or updating artifacts from the SVN repository
org.tigris.subversion.svnclientadapter.SVNClientException: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2243)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:439)
	at org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:178)
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:96)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:179)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:137)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:616)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2240)
	... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.canBeCleaned(SvnNgCleanup.java:60)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanupInternal(SvnNgCleanup.java:71)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanup(SvnNgCleanup.java:47)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:38)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:24)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:614)
	... 13 more
[2015-09-04 03:55:16,617] ERROR - CarbonDeploymentSchedulerTask Deployment synchronization update for tenant -1234 failed
java.lang.RuntimeException: org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException: Error while checking out or updating artifacts from the SVN repository
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:98)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:179)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:137)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException: Error while checking out or updating artifacts from the SVN repository
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.handleException(SVNBasedArtifactRepository.java:827)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:522)
	at org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:178)
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:96)
	... 9 more
Caused by: org.tigris.subversion.svnclientadapter.SVNClientException: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2243)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:439)
	... 11 more
Caused by: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:616)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2240)
	... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.canBeCleaned(SvnNgCleanup.java:60)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanupInternal(SvnNgCleanup.java:71)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanup(SvnNgCleanup.java:47)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:38)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:24)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:614)
	... 13 more
[2015-09-04 03:55:16,653] ERROR - SVNBasedArtifactRepository Error while committing artifacts to the SVN repository
org.tigris.subversion.svnclientadapter.SVNClientException: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2243)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:346)
	at org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.commit(DeploymentSynchronizer.java:142)
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:126)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncCommit(CarbonDeploymentSchedulerTask.java:298)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:142)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:616)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2240)
	... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.canBeCleaned(SvnNgCleanup.java:60)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanupInternal(SvnNgCleanup.java:71)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanup(SvnNgCleanup.java:47)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:38)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:24)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:614)
	... 13 more
[2015-09-04 03:55:16,665] ERROR - CarbonDeploymentSchedulerTask Deployment synchronization commit for tenant -1234 failed
java.lang.RuntimeException: org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException: Error while committing artifacts to the SVN repository
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:128)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncCommit(CarbonDeploymentSchedulerTask.java:298)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:142)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizerException: Error while committing artifacts to the SVN repository
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.handleException(SVNBasedArtifactRepository.java:827)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:405)
	at org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.commit(DeploymentSynchronizer.java:142)
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.commit(DeploymentSynchronizerServiceImpl.java:126)
	... 9 more
Caused by: org.tigris.subversion.svnclientadapter.SVNClientException: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2243)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.commit(SVNBasedArtifactRepository.java:346)
	... 11 more
Caused by: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:616)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2240)
	... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.canBeCleaned(SvnNgCleanup.java:60)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanupInternal(SvnNgCleanup.java:71)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanup(SvnNgCleanup.java:47)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:38)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:24)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:614)
	... 13 more
[2015-09-04 03:55:16,933]  INFO - NioSelectorPool Using a shared selector for servlet write/read
[2015-09-04 03:55:17,034]  INFO - TaskServiceImpl Task service starting in CLUSTERED mode...
[2015-09-04 03:55:17,063]  INFO - NTaskTaskManager Initialized task manager on manager node. Tenant [-1234]
[2015-09-04 03:55:17,096]  INFO - ClusterGroupCommunicator Waiting for 1 [registryTasks] task executor nodes...
[2015-09-04 03:55:17,096]  INFO - ClusterGroupCommunicator All task servers activated for [registryTasks].
[2015-09-04 03:55:17,107]  INFO - RegistryEventingServiceComponent Successfully Initialized Eventing on Registry
[2015-09-04 03:55:17,219]  INFO - JMXServerManager JMX Service URL  : service:jmx:rmi://localhost:11111/jndi/rmi://localhost:9999/jmxrmi
[2015-09-04 03:55:17,225]  INFO - StartupFinalizerServiceComponent Server           :  WSO2 Enterprise Service Bus-4.9.0
[2015-09-04 03:55:17,226]  INFO - StartupFinalizerServiceComponent WSO2 Carbon started in 40 sec
[2015-09-04 03:55:17,570]  INFO - CarbonUIServiceComponent Mgt Console URL  : https://mgt.esb.wso2.com:9443/carbon/
[2015-09-04 03:55:31,675] ERROR - SVNBasedArtifactRepository Error while checking out or updating artifacts from the SVN repository
org.tigris.subversion.svnclientadapter.SVNClientException: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2243)
	at org.wso2.carbon.deployment.synchronizer.subversion.SVNBasedArtifactRepository.checkout(SVNBasedArtifactRepository.java:439)
	at org.wso2.carbon.deployment.synchronizer.DeploymentSynchronizer.checkout(DeploymentSynchronizer.java:178)
	at org.wso2.carbon.deployment.synchronizer.internal.DeploymentSynchronizerServiceImpl.update(DeploymentSynchronizerServiceImpl.java:96)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.deploymentSyncUpdate(CarbonDeploymentSchedulerTask.java:179)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:137)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.subversion.javahl.ClientException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.apache.subversion.javahl.ClientException.fromException(ClientException.java:68)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.getClientException(SVNClientImpl.java:1492)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:616)
	at org.tigris.subversion.svnclientadapter.javahl.AbstractJhlClientAdapter.cleanup(AbstractJhlClientAdapter.java:2240)
	... 12 more
Caused by: org.tmatesoft.svn.core.SVNException: svn: E155007: '/home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC3/repository/deployment/server' is not a working copy directory
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:64)
	at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:51)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.canBeCleaned(SvnNgCleanup.java:60)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanupInternal(SvnNgCleanup.java:71)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.cleanup(SvnNgCleanup.java:47)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:38)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCleanup.run(SvnNgCleanup.java:24)
	at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
	at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
	at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1235)
	at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
	at org.tmatesoft.svn.core.javahl17.SVNClientImpl.cleanup(SVNClientImpl.java:614)
	... 13 more


 Comments   
Comment by Chanaka Fernando [ 04/Sep/15 ]

This is fixed with following commits to carbon-commons and fixed with 4.4.7. updated to commons 4.4.7 in RC4.

https://github.com/wso2/carbon-commons/commit/9010e7af5a9dd241e02c4c15e80f9a0f69f080f8





[ESBJAVA-2769] Obsering ERRORs on stacktrace when Schedule a Trigger Type "Simple" Scheduled Task Created: 27/Nov/13  Updated: 03/Sep/15  Resolved: 03/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Scheduled Tasks
Affects Version/s: 4.8.0 Alpha , 4.8.1
Fix Version/s: 4.9.0 - RC2, 4.9.0

Type: Bug Priority: Normal
Reporter: Asanka Vithanage Assignee: viraj senevirathne
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

java version "1.7.0"


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

 Description   

Steps:
1. Go to the Scheduled Tasks page on admin conole
2. Schedule a Trigger Type "Simple" Scheduled Tasks
3. Check the stacktrace

Issue:
[2013-11-27 14:59:25,948] ERROR - MessageInjector message not set
[2013-11-27 14:59:25,948] ERROR - JobRunShell Job synapse.simple.quartz.jj threw an unhandled Exception:
org.apache.synapse.SynapseException: message not set
at org.apache.synapse.startup.tasks.MessageInjector.handleError(MessageInjector.java:333)
at org.apache.synapse.startup.tasks.MessageInjector.execute(MessageInjector.java:194)
at org.apache.synapse.startup.quartz.SimpleQuartzJob.execute(SimpleQuartzJob.java:88)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
[2013-11-27 14:59:25,949] ERROR - ErrorLogger Job (synapse.simple.quartz.jj threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.apache.synapse.SynapseException: message not set]
at org.quartz.core.JobRunShell.run(JobRunShell.java:224)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
Caused by: org.apache.synapse.SynapseException: message not set
at org.apache.synapse.startup.tasks.MessageInjector.handleError(MessageInjector.java:333)
at org.apache.synapse.startup.tasks.MessageInjector.execute(MessageInjector.java:194)
at org.apache.synapse.startup.quartz.SimpleQuartzJob.execute(SimpleQuartzJob.java:88)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
... 1 more



 Comments   
Comment by Priyadarssini Kishokumar [ 22/Jan/15 ]

The message property is a compulsory requirement for "Simple" Tasks.
We need to improve the UI to give an alert when it is null.
Since it is an UI improvement, I'll reduce the priority to low.

Comment by Ushani Balasooriya [ 13/Mar/15 ]

Issue exists in ESB 4.8.1 as well. User will not get an idea about the issue if you do not check the backend. Therefore it is better to fix this issue. Therefore increasing the issue priority to Normal

Comment by viraj senevirathne [ 03/Sep/15 ]

solved with https://github.com/wso2/carbon-mediation/pull/432





[ESBJAVA-2866] Response from Proxy with Sign and Encrypt policy not signed Created: 06/Jan/14  Updated: 03/Sep/15  Resolved: 03/Sep/15

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

Type: Patch Priority: High
Reporter: Nufail M Assignee: viraj senevirathne
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File ESBJAVA-2866.patch    
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

For a proxy as follows, enable Sign and Encrypt Policy. Then for the BE endpoint enable UT policy for outbound only using 'outboundPolicy' attribute. Then response received by the client contains only Timestamp entries in Security header. Response is not encrypted.

<proxy xmlns="http://ws.apache.org/ns/synapse"
name="StockQuoteProxy1"
transports="https http local"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<header xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
name="wsse:Security"
action="remove"/>
<log level="full"/>
<send>
<endpoint>
<address uri="https://localhost:9002/services/SecureStockQuoteServiceScenario1">
<enableSec outboundPolicy="conf:/repository/esb/ut-policy2.xml"/>
</address>
</endpoint>
</send>
</inSequence>
<outSequence>
<log level="full"/>
<send/>
</outSequence>
</target>
<publishWSDL uri="file:repository/samples/resources/proxy/sample_proxy_1.wsdl"/>
<policy key="conf:/repository/esb/SigEncr"/>
<enableSec/>
</proxy>

Here Proxy uses the UT policy used for the BE when sending response back to the client.



 Comments   
Comment by Nufail M [ 07/Jan/14 ]

Attached fix for the issue.

Comment by Sivajothy Vanjikumaran [ 21/Mar/14 ]

Hi Nufail,
Please send pull request to [1]
[1] https://github.com/wso2/wso2-synapse

Comment by Chanaka Fernando [ 28/Aug/15 ]

Patch is not present in the 4.9.0 RC1. We need to fix this.

Comment by prabath ariyarathna [ 03/Sep/15 ]

Please review and merge
https://github.com/wso2/wso2-synapse/pull/351





[ESBJAVA-4152] MessageID returned as Null when a proxy is invoked via a scheduled task Created: 03/Sep/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

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

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

ESB 4.9.0
Ubuntu 13.04
JDK 1.7.0


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

 Description   

When a proxy is invoked by a scheduled task the message ID is returned as Null in the insequence.

1) <property name="MESSAGE_ID" expression="get-property('MessageID')"/>

[2015-09-02 17:59:58,725] INFO - LogMediator To: http://localhost:9773/services/HelloService/, WSAction: urn:greet, SOAPAction: urn:greet, Direction: request, MESSAGE_ID = , Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><p:greet xmlns: p= "http://www.wso2.org/types"><!-0 to 1 occurrence-><name>test</name>
</p:greet></soapenv:Body></soapenv:Envelope>

2) <property name="MESSAGE_ID" expression="get-property('axis2','MessageID')"/>

[2015-09-02 17:57:05,755] INFO - CarbonAuthenticationUtil 'admin@carbon.super [-1234]' logged in at [2015-09-02 17:57:05,755+0530]
[2015-09-02 17:57:14,111] INFO - LogMediator To: http://localhost:9773/services/HelloService/, WSAction: urn:greet, SOAPAction: urn:greet, Direction: request, MESSAGE_ID = null, Envelope: <?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Body><p:greet xmlns: p="http://www.wso2.org/types"><!-0 to 1 occurrence-><name>test</name>

Proxy -------------------------------------------------------------

<proxy name="test_scheduled"
transports="https http"
startOnLoad="true"
trace="disable">
<description/>
<target>
<inSequence>
<log level="full">
<property name="MESSAGE_ID" expression="get-property('axis2','MessageID')"/>
</log>
<send/>
</inSequence>
<outSequence>
<log level="full">
<property name="MESSAGE_ID" expression="get-property('axis2','MessageID')"/>
</log>
<store messageStore="test_store"/>
</outSequence>
</target>
</proxy>

Task --------------------------------------------------------------
<task name="test2"
class="org.apache.synapse.startup.tasks.MessageInjector"
group="synapse.simple.quartz">
<trigger count="1" interval="5"/>
<property xmlns:task="http://www.wso2.org/products/wso2commons/tasks"
name="proxyName"
value="test_scheduled"/>
<property xmlns:task="http://www.wso2.org/products/wso2commons/tasks"
name="to"
value="http://localhost:5050/services/HelloService/"/>
<property xmlns:task="http://www.wso2.org/products/wso2commons/tasks"
name="injectTo"
value="proxy"/>
<property xmlns:task="http://www.wso2.org/products/wso2commons/tasks" name="message">
<p:greet xmlns="http://www.wso2.org/types"><!-0 to 1 occurrence-><name xmlns="">test</name>
</p:greet>
</property>
<property xmlns:task="http://www.wso2.org/products/wso2commons/tasks"
name="soapAction"
value="urn:greet"/>
</task>
<messageStore name="test_store"/>



 Comments   
Comment by prabath ariyarathna [ 03/Sep/15 ]

Please review and merge
https://github.com/wso2/wso2-synapse/pull/350





[ESBJAVA-3967] After deploying message processor with a CAR, if it's edited a faulty CAPP gets created on server restart Created: 27/Jul/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Carbon Applications, Message Processors
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: Normal
Reporter: Yasassri Rathnayake Assignee: Shakila Sivagnanarajah
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : https://wso2.org/jenkins/job/product-esb/org.wso2.esb$wso2esb/653/
Java Version : Java 1.8.0_05
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2
MB : ActiveMQ 5.10


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

 Description   

Steps to Reproduce

1. Upload the attached CAR.
2. Now navigate to message processor section and open the deployed message processor and click save. (No need to edit anything)
3. Now restart the server.

Issue : A faulty Capp will be created, following exception was observed when starting the server.

ERROR - SynapseConfiguration Duplicate Message Processor DevProcessorActMQ
[2015-07-27 14:41:47,631] ERROR - MessageProcessorDeployer Message Processor Deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/Jenkins/07-23/pack2/wso2esb-4.9.0-BETA-SNAPSHOT/tmp/carbonapps/-1234/1437988307120Artifact2_1.0.0.car/DevProcessorActMQ_1.0.0/DevProcessorActMQ-1.0.0.xml : Failed.
org.apache.synapse.SynapseException: Duplicate Message Processor DevProcessorActMQ
	at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
	at org.apache.synapse.config.SynapseConfiguration.addMessageProcessor(SynapseConfiguration.java:1767)
	at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:56)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:128)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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.DeploymentEngine.loadServices(DeploymentEngine.java:135)
	at org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:567)
	at org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:235)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:185)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
	at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:91)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
	at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-27 14:41:47,633] ERROR - AbstractSynapseArtifactDeployer Deployment of the Synapse Artifact from file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/Jenkins/07-23/pack2/wso2esb-4.9.0-BETA-SNAPSHOT/tmp/carbonapps/-1234/1437988307120Artifact2_1.0.0.car/DevProcessorActMQ_1.0.0/DevProcessorActMQ-1.0.0.xml : Failed!
org.apache.synapse.deployers.SynapseArtifactDeploymentException: Message Processor Deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/Jenkins/07-23/pack2/wso2esb-4.9.0-BETA-SNAPSHOT/tmp/carbonapps/-1234/1437988307120Artifact2_1.0.0.car/DevProcessorActMQ_1.0.0/DevProcessorActMQ-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:473)
	at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:71)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:128)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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.DeploymentEngine.loadServices(DeploymentEngine.java:135)
	at org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:567)
	at org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:235)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:185)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
	at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:91)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
	at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.synapse.SynapseException: Duplicate Message Processor DevProcessorActMQ
	at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
	at org.apache.synapse.config.SynapseConfiguration.addMessageProcessor(SynapseConfiguration.java:1767)
	at org.apache.synapse.deployers.MessageProcessorDeployer.deploySynapseArtifact(MessageProcessorDeployer.java:56)
	... 87 more

Following Null pointer was observed as well.

 ERROR - TaskQuartzJobAdapter Error in executing task: null
java.lang.NullPointerException
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.setMessageConsumer(ForwardingService.java:706)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.init(ForwardingService.java:292)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:155)
	at org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:81)
	at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-27 14:41:51,831] ERROR - TaskQuartzJobAdapter Error in executing task: null
java.lang.NullPointerException
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.setMessageConsumer(ForwardingService.java:706)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.init(ForwardingService.java:292)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:155)
	at org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:81)
	at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-27 14:41:53,830] ERROR - TaskQuartzJobAdapter Error in executing task: null
java.lang.NullPointerException
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.setMessageConsumer(ForwardingService.java:706)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.init(ForwardingService.java:292)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:155)
	at org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:81)
	at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-27 14:41:55,831] ERROR - TaskQuartzJobAdapter Error in executing task: null
java.lang.NullPointerException
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.setMessageConsumer(ForwardingService.java:706)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.init(ForwardingService.java:292)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:155)
	at org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:81)
	at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-07-27 14:41:57,831] ERROR - TaskQuartzJobAdapter Error in executing task: null
java.lang.NullPointerException
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.setMessageConsumer(ForwardingService.java:706)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.init(ForwardingService.java:292)
	at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:155)
	at org.wso2.carbon.mediation.ntask.NTaskAdapter.execute(NTaskAdapter.java:81)
	at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)


 Comments   
Comment by Ravindra Ranwala [ 03/Sep/15 ]

This issue can not be reproduced in ESB RC2 pack. This was fixed by recent changes made to the capp deployment.

Comment by Ravindra Ranwala [ 03/Sep/15 ]

The issue is resolving after testing and verification.





[ESBJAVA-4098] NPE is thrown when a sequence with name 'main' is deployed through a car file Created: 24/Aug/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: Normal
Reporter: Chanika Geeganage Assignee: Ravindra Ranwala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File ESBJAVA-4098-Capp_1.0.0.car    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

The following exception is thrown when a car file (which contains a sequence which has word 'main' as sequence name) is getting deployed. For an example sequence name is 'abc_main'.

java.lang.NullPointerException
at org.apache.synapse.deployers.SequenceDeployer.updateSynapseArtifact(SequenceDeployer.java:119)
at org.wso2.carbon.sequences.SequenceDeploymentInterceptor.updateSynapseArtifact(SequenceDeploymentInterceptor.java:49)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.updateDefaultSequence(AbstractSynapseArtifactDeployer.java:564)
at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:178)
at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:100)
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.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)



 Comments   
Comment by Ravindra Ranwala [ 03/Sep/15 ]

The capp used to check the issue is attached here.

Comment by Ravindra Ranwala [ 03/Sep/15 ]

This issue could not be reproduced in the ESB 4.9.0 RC2 pack with the attached capp, hence resolving the issue.





[ESBJAVA-4150] initClientOptions in Callout Mediator not working properly Created: 03/Sep/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

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

Type: Bug Priority: High
Reporter: Isuru Udana Loku Narangoda Assignee: Isuru Udana Loku Narangoda
Resolution: Fixed 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 initClientOptions is set to false, message is not delivered to the backend



 Comments   
Comment by Isuru Udana Loku Narangoda [ 03/Sep/15 ]

Fixed with https://github.com/wso2/wso2-synapse/pull/348





[ESBJAVA-4127] [CApp] Exception Observed when uploading a CAR file Created: 28/Aug/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Carbon Applications
Affects Version/s: 4.9.0 - Beta
Fix Version/s: 4.9.0 - RC2

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

Pack : wso2esb-4.9.0-RC1.zip
Java Version : Java 1.8
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


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

 Description   

Following exception was observed when uploading a CAR file. This was observed intermittently. After this exception the CAR was not deployed at all and couldn't re-upload the CAR again, had to restart the server. The CAR file is attached.

ERROR - ProxyServiceDeployer ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
[2015-08-26 16:28:13,334] ERROR - AbstractSynapseArtifactDeployer Deployment of the Synapse Artifact from file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed!
org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:112)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	... 22 more
[2015-08-26 16:28:13,354]  INFO - AbstractSynapseArtifactDeployer The file has been backed up into : NO_BACKUP_ON_WORKER.INFO
[2015-08-26 16:28:13,354] ERROR - AbstractSynapseArtifactDeployer Deployment of synapse artifact failed. Error reading /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:201)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:112)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	... 20 more
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	... 22 more
[2015-08-26 16:28:13,357] ERROR - ApplicationManager Error occurred while deploying Carbon Application
org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:213)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:201)
	... 20 more
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440606493104SecuredProxy1to5_1.0.0.car/SecuredProxy2_1.0.0/SecuredProxy2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:112)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	... 20 more
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	... 22 more


 Comments   
Comment by Yasassri Rathnayake [ 01/Sep/15 ]

Observed tha same in a cluster setup, in one worker node,

[-1234] [] [2015-09-01 05:11:58,325] ERROR {org.wso2.carbon.proxyadmin.ProxyServiceDeployer} -  ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed. {org.wso2.carbon.proxyadmin.ProxyServiceDeployer}
org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
TID: [-1234] [] [2015-09-01 05:11:58,329] ERROR {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} -  Deployment of the Synapse Artifact from file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed! {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}
org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:112)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	... 22 more
TID: [-1234] [] [2015-09-01 05:11:58,332]  INFO {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} -  The file has been backed up into : NO_BACKUP_ON_WORKER.INFO {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}
TID: [-1234] [] [2015-09-01 05:11:58,333] ERROR {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer} -  Deployment of synapse artifact failed. Error reading /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed. {org.apache.synapse.deployers.AbstractSynapseArtifactDeployer}
org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:201)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:112)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	... 20 more
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	... 22 more
TID: [-1234] [] [2015-09-01 05:11:58,336] ERROR {org.wso2.carbon.application.deployer.internal.ApplicationManager} -  Error occurred while deploying Carbon Application {org.wso2.carbon.application.deployer.internal.ApplicationManager}
org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:213)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:309)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1143)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:618)
	at java.lang.Thread.run(Thread.java:785)
Caused by: org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:201)
	... 20 more
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/esb490/esb49cl2/esbsetup/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1441084318103Cluster_CAPP_1.0.0.car/ProxyService_Secure_1.0.0/ProxyService_Secure-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:112)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	... 20 more
Caused by: org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
	at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:578)
	at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:79)
	at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:811)
	at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:605)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:80)
	... 22 more
TID: [-1234] [] [2015-09-01 05:11:58,339]  INFO {org.wso2.carbon.application.deployer.internal.ApplicationManager} -  Reverting successfully deployed artifcats in this CApp : CarApp01_1.0.0 {org.wso2.carbon.application.deployer.internal.ApplicationManager}

Comment by Ravindra Ranwala [ 03/Sep/15 ]

Tested uploading and removing the given capp 3 times, but could not reproduce the issue in RC2 pack. Therefore I am resolving the issue here. If you get the issue again please reopen this ticket.





[ESBJAVA-4146] When we try to edit a proxy service using management console, which is already created through the file system, the security policy will change. Created: 02/Sep/15  Updated: 03/Sep/15  Resolved: 03/Sep/15

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

Type: Bug Priority: Normal
Reporter: Sanjaya Halwala Assignee: prabath ariyarathna
Resolution: Fixed Votes: 0
Labels: ESB
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows 7, WSO2 ESB 4.8.1


Attachments: File UTOverTransport    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps to reproduce the behavior.
1) Start ESB 4.8.1
2) Go to "$ESB_HOME/repository/deployment/server/synapse-configs/default/proxy-services" directory
3) Copy a security policy file to registry location "/_system/governance/UT/UTOverTransport" (attached the sample UTOverTransport policy I used).
4) Create a proxy (Proxy.xml file) with following content (Make sure to update endpoint URLs properly)

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="proxy"
transports="https"
statistics="disable"
trace="disable"
startOnLoad="true">
<target>
<outSequence>
<send/>
</outSequence>
<endpoint>
<address uri="http://localhost:8285/services/echo"/>
</endpoint>
</target>
<publishWSDL uri="http://localhost:8285/services/echo?wsdl"/>
<policy key="gov:/UT/UTOverTransport"/>
<parameter name="allowRoles">admin</parameter>
<description/>
</proxy>

5) Now proxy service called "proxy" should deployed properly.
6) Then go to management console and select source view of newly create proxy.
7) Then click on save button. Following is the proxy service content I can see after the above step. (Note : New policy added to proxy).

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
name="proxy"
transports="https"
startOnLoad="true"
trace="disable">
<description/>
<target>
<endpoint>
<address uri="http://localhost:8285/services/echo"/>
</endpoint>
<outSequence>
<send/>
</outSequence>
</target>
<publishWSDL uri="http://localhost:8285/services/echo?wsdl"/>
<policy key="gov:/UT/UTOverTransport"/>
<policy key="conf:/repository/axis2/service-groups/proxy/services/proxy/policies/UTOverTransport"/>
<parameter name="allowRoles">admin</parameter>
</proxy>



 Comments   
Comment by prabath ariyarathna [ 02/Sep/15 ]

Check mentioned behavior in the 4.8.1 and latest 4.9.0-RC2 pack. This could be reproduce in the 4.8.1 pack but not in latest RC2 pack, hence marked as resolved.





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

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

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

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


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

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


 Comments   
Comment by prabath ariyarathna [ 02/Sep/15 ]

Checked both (after tenant unloading/ server restart) scenarios with the 4.9.0-RC2 pack but couldn't reproduce. Hence marked as resolved.





[ESBJAVA-4148] Message is getting built when comments are placed in the synapse configuration Created: 03/Sep/15  Updated: 02/Sep/15  Resolved: 02/Sep/15

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

Type: Bug Priority: Highest
Reporter: Isuru Udana Loku Narangoda Assignee: Isuru Udana Loku Narangoda
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Comments   
Comment by Isuru Udana Loku Narangoda [ 02/Sep/15 ]

Fixed with https://github.com/wso2/wso2-synapse/pull/347





[ESBJAVA-4144] when attempting to connect to a db2 with ESB 490 the startup fails Created: 02/Sep/15  Updated: 02/Sep/15  Resolved: 02/Sep/15

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

Type: Bug Priority: High
Reporter: Shavantha Weerasinghe Assignee: Kasun Indrasiri
Resolution: Not a bug 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.7.0_67
DBMS: db2
Browser : Firefox 27.0
Set up :ESB490


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

 Description   

when attempting to connect to a db2 with ESB 490 the startup fails

preconditions
===========================
following jars should be in repository/components/lib
db2jcc_license_cu.jar
db2jcc.jar

Error occurs for both steps below
===========================
1.first start with -Dsetup
2.shut down and start in sh wso2server.sh

JAVA_HOME environment variable is set to /home/shavantha/projects/software/java/jdk1.8.0_25
CARBON_HOME environment variable is set to /home/shavantha/projects/esb/490/zip/wso2esb-4.9.0-RC1
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
[2015-09-02 11:20:44,789]  INFO - CarbonCoreActivator Starting WSO2 Carbon...
[2015-09-02 11:20:44,810]  INFO - CarbonCoreActivator Operating System : Linux 3.5.0-17-generic, amd64
[2015-09-02 11:20:44,810]  INFO - CarbonCoreActivator Java Home        : /home/shavantha/projects/software/java/jdk1.8.0_25/jre
[2015-09-02 11:20:44,811]  INFO - CarbonCoreActivator Java Version     : 1.8.0_25
[2015-09-02 11:20:44,811]  INFO - CarbonCoreActivator Java VM          : Java HotSpot(TM) 64-Bit Server VM 25.25-b02,Oracle Corporation
[2015-09-02 11:20:44,811]  INFO - CarbonCoreActivator Carbon Home      : /home/shavantha/projects/esb/490/zip/wso2esb-4.9.0-RC1
[2015-09-02 11:20:44,811]  INFO - CarbonCoreActivator Java Temp Dir    : /home/shavantha/projects/esb/490/zip/wso2esb-4.9.0-RC1/tmp
[2015-09-02 11:20:44,811]  INFO - CarbonCoreActivator User             : shavantha, en-US, Asia/Colombo
[2015-09-02 11:20:44,978]  WARN - ValidationResultPrinter Carbon is configured to use the default keystore (wso2carbon.jks). To maximize security when deploying to a production environment, configure a new keystore with a unique password in the production server profile.
[2015-09-02 11:20:45,011]  INFO - AgentHolder Agent created !
[2015-09-02 11:20:45,075]  INFO - AgentDS Successfully deployed Agent Client
[2015-09-02 11:20:54,582] ERROR - DatabaseUtil Database Error - [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
com.ibm.db2.jcc.b.SqlException: [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at com.ibm.db2.jcc.b.wc.a(wc.java:55)
	at com.ibm.db2.jcc.b.wc.a(wc.java:119)
	at com.ibm.db2.jcc.b.bc.a(bc.java:1758)
	at com.ibm.db2.jcc.b.bc.n(bc.java:496)
	at com.ibm.db2.jcc.b.bc.F(bc.java:1263)
	at com.ibm.db2.jcc.b.jk.d(jk.java:939)
	at com.ibm.db2.jcc.b.jk.getString(jk.java:917)
	at org.wso2.carbon.user.core.claim.dao.ClaimDAO.loadClaimMappings(ClaimDAO.java:291)
	at org.wso2.carbon.user.core.claim.builder.ClaimBuilder.buildClaimMappingsFromDatabase(ClaimBuilder.java:86)
	at org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:443)
	at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:105)
	at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:230)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:96)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:109)
	at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
	at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
[2015-09-02 11:20:54,592] ERROR - ClaimBuilder Database Error - [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
org.wso2.carbon.user.core.UserStoreException: Database Error - [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at org.wso2.carbon.user.core.claim.dao.ClaimDAO.loadClaimMappings(ClaimDAO.java:352)
	at org.wso2.carbon.user.core.claim.builder.ClaimBuilder.buildClaimMappingsFromDatabase(ClaimBuilder.java:86)
	at org.wso2.carbon.user.core.common.DefaultRealm.populateProfileAndClaimMaps(DefaultRealm.java:443)
	at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:105)
	at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:230)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:96)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:109)
	at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
	at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: com.ibm.db2.jcc.b.SqlException: [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at com.ibm.db2.jcc.b.wc.a(wc.java:55)
	at com.ibm.db2.jcc.b.wc.a(wc.java:119)
	at com.ibm.db2.jcc.b.bc.a(bc.java:1758)
	at com.ibm.db2.jcc.b.bc.n(bc.java:496)
	at com.ibm.db2.jcc.b.bc.F(bc.java:1263)
	at com.ibm.db2.jcc.b.jk.d(jk.java:939)
	at com.ibm.db2.jcc.b.jk.getString(jk.java:917)
	at org.wso2.carbon.user.core.claim.dao.ClaimDAO.loadClaimMappings(ClaimDAO.java:291)
	... 23 more
[2015-09-02 11:20:54,791] ERROR - DefaultRealm nullType class java.lang.reflect.InvocationTargetException
org.wso2.carbon.user.core.UserStoreException: nullType class java.lang.reflect.InvocationTargetException
	at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:382)
	at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:203)
	at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:108)
	at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:230)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:96)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:109)
	at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
	at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:336)
	... 22 more
Caused by: org.wso2.carbon.user.core.UserStoreException: Using sql : SELECT UM_ROLE_NAME FROM UM_USER_ROLE, UM_ROLE, UM_USER WHERE UM_USER.UM_USER_NAME=? AND UM_USER.UM_ID=UM_USER_ROLE.UM_USER_ID AND UM_ROLE.UM_ID=UM_USER_ROLE.UM_ROLE_ID AND UM_USER_ROLE.UM_TENANT_ID=? AND UM_ROLE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=? [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at org.wso2.carbon.user.core.util.DatabaseUtil.getStringValuesFromDatabase(DatabaseUtil.java:269)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.getStringValuesFromDatabase(JDBCUserStoreManager.java:975)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.doGetExternalRoleListOfUser(JDBCUserStoreManager.java:2614)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.doCheckIsUserInRole(JDBCUserStoreManager.java:421)
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addInitialAdminData(AbstractUserStoreManager.java:3332)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:276)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:215)
	... 27 more
Caused by: com.ibm.db2.jcc.b.SqlException: [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at com.ibm.db2.jcc.b.wc.a(wc.java:55)
	at com.ibm.db2.jcc.b.wc.a(wc.java:119)
	at com.ibm.db2.jcc.b.bc.a(bc.java:1758)
	at com.ibm.db2.jcc.b.bc.n(bc.java:496)
	at com.ibm.db2.jcc.b.bc.F(bc.java:1263)
	at com.ibm.db2.jcc.b.jk.d(jk.java:939)
	at com.ibm.db2.jcc.b.jk.getString(jk.java:917)
	at org.wso2.carbon.user.core.util.DatabaseUtil.getStringValuesFromDatabase(DatabaseUtil.java:257)
	... 33 more
[2015-09-02 11:20:54,799] ERROR - Activator Cannot start User Manager Core bundle
org.wso2.carbon.user.core.UserStoreException: Cannot initialize the realm.
	at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:240)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:96)
	at org.wso2.carbon.user.core.common.DefaultRealmService.<init>(DefaultRealmService.java:109)
	at org.wso2.carbon.user.core.internal.Activator.startDeploy(Activator.java:68)
	at org.wso2.carbon.user.core.internal.BundleCheckActivator.start(BundleCheckActivator.java:61)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1176)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
	at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: org.wso2.carbon.user.core.UserStoreException: nullType class java.lang.reflect.InvocationTargetException
	at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:303)
	at org.wso2.carbon.user.core.common.DefaultRealm.init(DefaultRealm.java:108)
	at org.wso2.carbon.user.core.common.DefaultRealmService.initializeRealm(DefaultRealmService.java:230)
	... 19 more
Caused by: org.wso2.carbon.user.core.UserStoreException: nullType class java.lang.reflect.InvocationTargetException
	at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:382)
	at org.wso2.carbon.user.core.common.DefaultRealm.initializeObjects(DefaultRealm.java:203)
	... 21 more
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
	at org.wso2.carbon.user.core.common.DefaultRealm.createObjectWithOptions(DefaultRealm.java:336)
	... 22 more
Caused by: org.wso2.carbon.user.core.UserStoreException: Using sql : SELECT UM_ROLE_NAME FROM UM_USER_ROLE, UM_ROLE, UM_USER WHERE UM_USER.UM_USER_NAME=? AND UM_USER.UM_ID=UM_USER_ROLE.UM_USER_ID AND UM_ROLE.UM_ID=UM_USER_ROLE.UM_ROLE_ID AND UM_USER_ROLE.UM_TENANT_ID=? AND UM_ROLE.UM_TENANT_ID=? AND UM_USER.UM_TENANT_ID=? [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at org.wso2.carbon.user.core.util.DatabaseUtil.getStringValuesFromDatabase(DatabaseUtil.java:269)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.getStringValuesFromDatabase(JDBCUserStoreManager.java:975)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.doGetExternalRoleListOfUser(JDBCUserStoreManager.java:2614)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.doCheckIsUserInRole(JDBCUserStoreManager.java:421)
	at org.wso2.carbon.user.core.common.AbstractUserStoreManager.addInitialAdminData(AbstractUserStoreManager.java:3332)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:276)
	at org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager.<init>(JDBCUserStoreManager.java:215)
	... 27 more
Caused by: com.ibm.db2.jcc.b.SqlException: [jcc][t4][10199][10462][3.50.152] Required character converter is not available. ERRORCODE=-4220, SQLSTATE=null
	at com.ibm.db2.jcc.b.wc.a(wc.java:55)
	at com.ibm.db2.jcc.b.wc.a(wc.java:119)
	at com.ibm.db2.jcc.b.bc.a(bc.java:1758)
	at com.ibm.db2.jcc.b.bc.n(bc.java:496)
	at com.ibm.db2.jcc.b.bc.F(bc.java:1263)
	at com.ibm.db2.jcc.b.jk.d(jk.java:939)
	at com.ibm.db2.jcc.b.jk.getString(jk.java:917)
	at org.wso2.carbon.user.core.util.DatabaseUtil.getStringValuesFromDatabase(DatabaseUtil.java:257)
	... 33 more
[2015-09-02 11:21:00,143]  INFO - TaglibUriRule TLD skipped. URI: http://tiles.apache.org/tags-tiles is already defined


 Comments   
Comment by Shavantha Weerasinghe [ 02/Sep/15 ]

tables are created on db2 as shown below

Table/View Schema Type Creation time
------------------------------- --------------- ----- --------------------------
HYBRID_ROLE DUMIDUH T 2015-09-01-12.36.52.961442
HYBRID_USER_ROLE DUMIDUH T 2015-09-01-12.36.53.212543
REG_ASSOCIATION DUMIDUH T 2015-09-01-12.36.50.382730
REG_CLUSTER_LOCK DUMIDUH T 2015-09-01-12.36.48.157719
REG_COMMENT DUMIDUH T 2015-09-01-12.36.49.326063
REG_CONTENT DUMIDUH T 2015-09-01-12.36.48.660729
REG_CONTENT_HISTORY DUMIDUH T 2015-09-01-12.36.48.858630
REG_LOG DUMIDUH T 2015-09-01-12.36.48.349197
REG_PATH DUMIDUH T 2015-09-01-12.36.48.541197
REG_PROPERTY DUMIDUH T 2015-09-01-12.36.50.113102
REG_RATING DUMIDUH T 2015-09-01-12.36.49.624517
REG_RESOURCE DUMIDUH T 2015-09-01-12.36.49.041390
REG_RESOURCE_COMMENT DUMIDUH T 2015-09-01-12.36.49.461361
REG_RESOURCE_HISTORY DUMIDUH T 2015-09-01-12.36.49.193205
REG_RESOURCE_PROPERTY DUMIDUH T 2015-09-01-12.36.50.239266
REG_RESOURCE_RATING DUMIDUH T 2015-09-01-12.36.49.727738
REG_RESOURCE_TAG DUMIDUH T 2015-09-01-12.36.49.961240
REG_SNAPSHOT DUMIDUH T 2015-09-01-12.36.50.506229
REG_TAG DUMIDUH T 2015-09-01-12.36.49.855301
UM_ACCOUNT_MAPPING DUMIDUH T 2015-09-01-12.36.52.654759
UM_CLAIM DUMIDUH T 2015-09-01-12.36.53.727753
UM_CLAIM_BEHAVIOR DUMIDUH T 2015-09-01-12.36.54.330876
UM_DIALECT DUMIDUH T 2015-09-01-12.36.53.434019
UM_DOMAIN DUMIDUH T 2015-09-01-12.36.50.954688
UM_HYBRID_REMEMBER_ME DUMIDUH T 2015-09-01-12.36.55.905823
UM_HYBRID_ROLE DUMIDUH T 2015-09-01-12.36.54.863569
UM_HYBRID_USER_ROLE DUMIDUH T 2015-09-01-12.36.55.099637
UM_MODULE DUMIDUH T 2015-09-01-12.36.51.634717
UM_MODULE_ACTIONS DUMIDUH T 2015-09-01-12.36.51.767074
UM_PERMISSION DUMIDUH T 2015-09-01-12.36.51.918099
UM_PROFILE_CONFIG DUMIDUH T 2015-09-01-12.36.54.116757
UM_ROLE DUMIDUH T 2015-09-01-12.36.51.487414
UM_ROLE_PERMISSION DUMIDUH T 2015-09-01-12.36.52.125781
UM_SHARED_USER_ROLE DUMIDUH T 2015-09-01-12.36.52.783729
UM_SYSTEM_ROLE DUMIDUH T 2015-09-01-12.36.55.348955
UM_SYSTEM_USER DUMIDUH T 2015-09-01-12.36.51.234320
UM_SYSTEM_USER_ROLE DUMIDUH T 2015-09-01-12.36.55.576332
UM_TENANT DUMIDUH T 2015-09-01-12.36.50.716277
UM_USER DUMIDUH T 2015-09-01-12.36.51.096682
UM_USER_ATTRIBUTE DUMIDUH T 2015-09-01-12.36.51.371521
UM_USER_PERMISSION DUMIDUH T 2015-09-01-12.36.52.322152
UM_USER_ROLE DUMIDUH T 2015-09-01-12.36.52.520520

42 record(s) selected.

db2 => select * from UM_USER

UM_ID UM_USER_NAME UM_USER_PASSWORD UM_SALT_VALUE UM_REQUIRE_CHANGE UM_CHANGED_TIME UM_TENANT_ID
--------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------- ----------------- -------------------------- ---------------------------------
2. admin 72NWBdSW8Yz6tdfO+av1DkE0Vpb9qaEDh6AHiNdxrKE= 0uNWJaCvvW1T696zrejWww== 0 2015-09-01-18.07.34.995000 -1234.

1 record(s) selected.

Comment by Shavantha Weerasinghe [ 02/Sep/15 ]

Followed the document :https://docs.wso2.com/display/ESB490/Setting+up+IBM+DB2

Comment by Chanaka Fernando [ 02/Sep/15 ]

Hi Shavantha,

This error is occurring due to some issue with the db2 client libraries and permissions. You can find more information on [1] and [2]

[1] https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014780922

[2] http://forum.spring.io/forum/spring-projects/roo/99065-spring-roo-db2-introspection-fails

Comment by Shavantha Weerasinghe [ 02/Sep/15 ]

closing this ticket. I added an updated library and started ESB and the issue was resolved. I will be reporting a document jira to get the documentation updated it was identified that db2jcc4.jar was the required jira and not db2jcc.jar and db2jcc_license_c0u.jar as mentioned on https://docs.wso2.com/display/ESB490/Setting+up+IBM+DB2





[ESBJAVA-4130] Exception when two proxy services polling from the same ftp location Created: 28/Aug/15  Updated: 02/Sep/15  Resolved: 02/Sep/15

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

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

Pack : wso2esb-4.9.0-RC1.zip
Java Version : Java 1.8
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


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

 Description   

Setups to Reproduce

1. Create two proxy services similar to the following.

<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="FileTransfer_02"
       transports="https,http,vfs"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target>
      <inSequence>
         <log level="custom">
            <property name="ADI FTP" value="'file 0222222222222222  is Takin place...'"/>
         </log>
         <log level="full"/>
      </inSequence>
      <outSequence/>
      <faultSequence/>
   </target>
   <parameter name="transport.vfs.ActionAfterProcess">MOVE</parameter>
   <parameter name="transport.PollInterval">5</parameter>
   <parameter name="transport.vfs.FileURI">ftp://ftpuser:*******@192.168.18.79/srv/ftp/in</parameter>
   <parameter name="transport.vfs.MoveAfterProcess">file:///home/yasassri/Desktop/QA_TESTING/ESB_4.9/HL7/vfs/out</parameter>
   <parameter name="transport.vfs.MoveAfterFailure">file:///home/yasassri/Desktop/QA_TESTING/ESB_4.9/HL7/vfs/error</parameter>
   <parameter name="transport.vfs.FileNamePattern">.*(xml)</parameter>
   <parameter name="transport.vfs.ContentType">application/xml</parameter>
   <parameter name="transport.vfs.ActionAfterFailure">MOVE</parameter>
   <parameter name="transport.vfs.MaxRetryCount">3</parameter>
   <description/>
</proxy>                              

2. Now add multiple files to the Directory

Issue : Following exceptions were observed. When fils are being processed.

ERROR - VFSTransportListener Error reading file content or attributes : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (9th copy).xml
org.apache.commons.vfs2.FileSystemException: Could not determine the size of "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (9th copy).xml" because it is not a file.
	at org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:131)
	at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:637)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:392)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-28 16:50:32,293] ERROR - VFSTransportListener Error processing File URI : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (9th copy).xml
org.apache.axis2.AxisFault: Error reading file content or attributes : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (9th copy).xml
	at org.apache.axis2.transport.base.AbstractTransportListener.handleException(AbstractTransportListener.java:343)
	at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:750)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:392)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not determine the size of "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (9th copy).xml" because it is not a file.
	at org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:131)
	at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:637)
	... 8 more
[2015-08-28 16:50:32,295] ERROR - VFSTransportListener Error moving file : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (9th copy).xml to file:///home/yasassri/Desktop/QA_TESTING/ESB_4.9/HL7/vfs/error
org.apache.commons.vfs2.FileSystemException: Could not copy "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (9th copy).xml" because it does not exist.
	at org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:1016)
	at org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1128)
	at org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:588)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:414)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-28 16:50:32,296] ERROR - VFSTransportListener File object 'ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (9th copy).xml'cloud not be moved, will remain in "locked" state
org.apache.axis2.AxisFault: Error moving file : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (9th copy).xml to file:///home/yasassri/Desktop/QA_TESTING/ESB_4.9/HL7/vfs/error
	at org.apache.axis2.transport.base.AbstractTransportListener.handleException(AbstractTransportListener.java:343)
	at org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:590)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:414)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not copy "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (9th copy).xml" because it does not exist.
	at org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:1016)
	at org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1128)
	at org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:588)
	... 8 more
[2015-08-28 16:50:32,366] ERROR - VFSTransportListener Error reading file content or attributes : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (another copy).xml
org.apache.commons.vfs2.FileSystemException: Could not determine the size of "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (another copy).xml" because it is not a file.
	at org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:131)
	at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:637)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:392)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-28 16:50:32,366] ERROR - VFSTransportListener Error processing File URI : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (another copy).xml
org.apache.axis2.AxisFault: Error reading file content or attributes : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (another copy).xml
	at org.apache.axis2.transport.base.AbstractTransportListener.handleException(AbstractTransportListener.java:343)
	at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:750)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:392)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not determine the size of "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (another copy).xml" because it is not a file.
	at org.apache.commons.vfs2.provider.DefaultFileContent.getSize(DefaultFileContent.java:131)
	at org.apache.synapse.transport.vfs.VFSTransportListener.processFile(VFSTransportListener.java:637)
	... 8 more
[2015-08-28 16:50:32,367] ERROR - VFSTransportListener Error moving file : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (another copy).xml to file:///home/yasassri/Desktop/QA_TESTING/ESB_4.9/HL7/vfs/error
org.apache.commons.vfs2.FileSystemException: Could not copy "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (another copy).xml" because it does not exist.
	at org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:1016)
	at org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1128)
	at org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:588)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:414)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-28 16:50:32,368] ERROR - VFSTransportListener File object 'ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (another copy).xml'cloud not be moved, will remain in "locked" state
org.apache.axis2.AxisFault: Error moving file : ftp://ftpuser":***@"192.168.18.79/srv/ftp/in/smallxml (another copy).xml to file:///home/yasassri/Desktop/QA_TESTING/ESB_4.9/HL7/vfs/error
	at org.apache.axis2.transport.base.AbstractTransportListener.handleException(AbstractTransportListener.java:343)
	at org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:590)
	at org.apache.synapse.transport.vfs.VFSTransportListener.scanFileOrDirectory(VFSTransportListener.java:414)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:176)
	at org.apache.synapse.transport.vfs.VFSTransportListener.poll(VFSTransportListener.java:123)
	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.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.commons.vfs2.FileSystemException: Could not copy "ftp://ftpuser:***@192.168.18.79/srv/ftp/in/smallxml (another copy).xml" because it does not exist.
	at org.apache.commons.vfs2.provider.AbstractFileObject.copyFrom(AbstractFileObject.java:1016)
	at org.apache.commons.vfs2.provider.AbstractFileObject.moveTo(AbstractFileObject.java:1128)
	at org.apache.synapse.transport.vfs.VFSTransportListener.moveOrDeleteAfterProcessing(VFSTransportListener.java:588)
	... 8 more


 Comments   
Comment by viraj senevirathne [ 02/Sep/15 ]

fixed with https://github.com/wso2/wso2-synapse/pull/343





[ESBJAVA-4145] Prepare about page for the ESB 4.9.0 release Created: 02/Sep/15  Updated: 02/Sep/15  Resolved: 02/Sep/15

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

Type: Bug Priority: Normal
Reporter: prabath ariyarathna Assignee: prabath ariyarathna
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Comments   
Comment by Chanaka Fernando [ 02/Sep/15 ]

This is fixed with PR[1]

[1] https://github.com/wso2/product-esb/commit/af20558bbde191517c6bb8390bd5a956498675e6





[ESBJAVA-3985] Faulty ClientSide admin service's generated when try to configure MAILTO transport Created: 14/Mar/13  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0 - RC2, 4.9.0

Type: Bug Priority: Normal
Reporter: Asanka Vithanage Assignee: Geeth Munasinghe
Resolution: Invalid Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Local Setup


Attachments: PNG File Selection_021.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Steps:
1. Enable the MAILTO transport on the Axis2.xml
2. Restart the AS
3. Go to the Transport section (Home > Configure > Transports)
4. Click the configure link on MAILTO transport Listener
5. Click update button
6. Check the services list

Issue:
Lists many faulty service(s).

Console log:

[2013-03-14 13:11:40,662] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service RegistryAdminService1363246708853_13 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,663] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service RegistryAdminService1363246708853_13, because it is not configured properly for the service
[2013-03-14 13:11:40,663] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service RegistryAdminService1363246856678_25 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,663] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service RegistryAdminService1363246856678_25, because it is not configured properly for the service
[2013-03-14 13:11:40,663] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service RegistryAdminService1363246800546_23 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,663] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service RegistryAdminService1363246800546_23, because it is not configured properly for the service
[2013-03-14 13:11:40,663] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service ServiceAdmin1363246802937_11 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,663] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service ServiceAdmin1363246802937_11, because it is not configured properly for the service
[2013-03-14 13:11:40,663] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service TransportAdmin1363246751739_12 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,663] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service TransportAdmin1363246751739_12, because it is not configured properly for the service
[2013-03-14 13:11:40,664] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service ServiceAdmin1363246743411_9 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,664] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service ServiceAdmin1363246743411_9, because it is not configured properly for the service
[2013-03-14 13:11:40,664] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service TransportAdmin1363246856541_14 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,664] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service TransportAdmin1363246856541_14, because it is not configured properly for the service
[2013-03-14 13:11:40,664] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service RegistryAdminService1363246803006_24 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,664] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service RegistryAdminService1363246803006_24, because it is not configured properly for the service
[2013-03-14 13:11:40,664] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service RegistryAdminService1363246741010_17 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,664] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service RegistryAdminService1363246741010_17, because it is not configured properly for the service
[2013-03-14 13:11:40,665] WARN

{org.apache.axis2.transport.mail.MailTransportListener} - Unable to configure the service ServiceAdmin1363246731233_6 for the MAILTO transport: Service doesn't have configuration information for transport mailto. This service is being marked as faulty and will not be available over the MAILTO transport.
[2013-03-14 13:11:40,665] WARN {org.apache.axis2.transport.mail.MailTransportListener}

- Disabling the mailto transport for the service ServiceAdmin1363246731233_6, because it is not configured properly for the service



 Comments   
Comment by Chanaka Fernando [ 01/Sep/15 ]

This is not applicable to ESB 490 since there is no ui to configure transports.





[ESBJAVA-4002] [Intermittent] java.util.ConcurrentModificationException seen during server startup Created: 03/Aug/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - Beta
Fix Version/s: 4.9.0 - RC2, 4.9.0

Type: Bug Priority: Normal
Reporter: Sandapa Handakumbura Assignee: Ravindra Ranwala
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


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

 Description   
[2015-08-03 14:45:24,011] ERROR - ErrorLogger Unable to notify TriggerListener(s) of Job that was executed: (error will be ignored). trigger= TENANT_-1234_TYPE_ESB_TASK.CheckPrice job= TENANT_-1234_TYPE_ESB_TASK.CheckPrice
org.quartz.SchedulerException: TriggerListener 'TENANT_-1234_TYPE_ESB_TASK' threw exception: null [See nested exception: java.util.ConcurrentModificationException]
	at org.quartz.core.QuartzScheduler.notifyTriggerListenersComplete(QuartzScheduler.java:1878)
	at org.quartz.core.JobRunShell.notifyTriggerListenersComplete(JobRunShell.java:377)
	at org.quartz.core.JobRunShell.run(JobRunShell.java:254)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.util.ConcurrentModificationException
	at java.util.LinkedHashMap$LinkedHashIterator.nextNode(LinkedHashMap.java:711)
	at java.util.LinkedHashMap$LinkedKeyIterator.next(LinkedHashMap.java:734)
	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerManager.put(HandlerManager.java:2497)
	at org.wso2.carbon.registry.core.jdbc.handlers.HandlerLifecycleManager.put(HandlerLifecycleManager.java:970)
	at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistry.put(EmbeddedRegistry.java:697)
	at org.wso2.carbon.registry.core.caching.CacheBackedRegistry.put(CacheBackedRegistry.java:508)
	at org.wso2.carbon.registry.core.session.UserRegistry.putInternal(UserRegistry.java:824)
	at org.wso2.carbon.registry.core.session.UserRegistry.access$1000(UserRegistry.java:60)
	at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:800)
	at org.wso2.carbon.registry.core.session.UserRegistry$11.run(UserRegistry.java:797)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.wso2.carbon.registry.core.session.UserRegistry.put(UserRegistry.java:797)
	at org.wso2.carbon.ntask.core.impl.RegistryBasedTaskRepository.setTaskMetadataProp(RegistryBasedTaskRepository.java:325)
	at org.wso2.carbon.ntask.core.TaskUtils.setTaskState(TaskUtils.java:109)
	at org.wso2.carbon.ntask.core.TaskUtils.setTaskFinished(TaskUtils.java:146)
	at org.wso2.carbon.ntask.core.impl.AbstractQuartzTaskManager$TaskTriggerListener.triggerComplete(AbstractQuartzTaskManager.java:423)
	at org.quartz.core.QuartzScheduler.notifyTriggerListenersComplete(QuartzScheduler.java:1876)
	... 7 more


 Comments   
Comment by Ravindra Ranwala [ 03/Aug/15 ]

Could you please state the necessary steps to reproduce this issue.

Comment by Sandapa Handakumbura [ 03/Aug/15 ]

As I have mentioned in the issue title, it's an intermittent issue. But I feel it's related to tasks and tenants. I have couple of tenants in my ESB and a task deployed in super tenant. Faced the issue during server start up.

Comment by Chanaka Fernando [ 01/Sep/15 ]

Cannot reproduce with RC2 pack





[ESBJAVA-4107] Event sinks feature is not available in management console of tenant mode. Created: 25/Aug/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

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

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

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


Attachments: PNG File event-sink-notAvailable.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: No

 Description   

When logged in through tenant mode, event sinks feature is not available in Configure tab.



 Comments   
Comment by prabath ariyarathna [ 01/Sep/15 ]

Please review and merge following PR
https://github.com/wso2/carbon-mediation/pull/425

Comment by prabath ariyarathna [ 01/Sep/15 ]

PR merged hence marked as resolved





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

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: Highest
Reporter: Chanaka Fernando Assignee: Kevin Ratnasekera
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

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



 Comments   
Comment by Kevin Ratnasekera [ 01/Sep/15 ]

fixed with [1]
[1] https://github.com/wso2/product-esb/pull/311





[ESBJAVA-4136] ESB BAM/Mediation data publishing does not publish mediation stats data when there is a Iterate/Aggregate mediator in a Proxy service Created: 01/Sep/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Statistics
Affects Version/s: 4.9.0 - Beta
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: Normal
Reporter: Ravindra Ranwala Assignee: Ravindra Ranwala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File BAM-data-stream.png     XML File BE.xml     PNG File ESB-mediation-data-publisher-config.png     XML File insuranceAgreement.xml     XML File partyService.xml    
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   

Create 2 proxy services and backend using given synapse configs. Then configure the BAM data publisher in the ESB side. Send the curl request [1]. In BAM side explore the cassandra cluster and verify that mediation stats data are not published to BAM. Ideally for each request, 2 mediation stats data entries needs to be published to BAM.

When you set this up, start the BAM with default configuration and set the port offset 1 at the ESB side.

[1] curl -v -d "<foo/>" -H "Content-Type: application/xml" http://localhost:8281/services/insuranceAgreement



 Comments   
Comment by Ravindra Ranwala [ 01/Sep/15 ]

All the necessary screen shots are attached which may be useful to reproduce/validate the issue.

Comment by Ravindra Ranwala [ 01/Sep/15 ]

The pull request [1] was sent for review and merge. Please resolve the issue after merging the pull request [1] to the public branch.

[1] https://github.com/wso2/wso2-synapse/pull/335

Comment by Ravindra Ranwala [ 01/Sep/15 ]

Automation test ESBJAVA3269_StatisticsCloneTestCase was executed in tests-other module. Also functionality was tested with ESB and BAM and the scenario was working fine.

Comment by Ravindra Ranwala [ 01/Sep/15 ]

Pull request [1] was merged, hence resolving the issue.

[1] https://github.com/wso2/wso2-synapse/pull/335/





[ESBJAVA-3809] Intermittent issue when deploying updated CAR files. Proxy service gets undeployed instead of getting updated. Created: 18/Jun/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Carbon Applications
Affects Version/s: 4.9.0 - Alpha
Fix Version/s: 4.9.0

Type: Bug Priority: High
Reporter: Sandapa Handakumbura Assignee: Chanaka Fernando
Resolution: Cannot Reproduce 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


Attachments: File ESB4.9.0_1.0.0.car    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   

The issue was observed when trying the following;

1. Deploy a CApp (that has a secured proxy)
2. Update something like the backend URL of the proxy in the CApp
3. Deploy the updated CApp

Following Warnings are shown and the proxy service gets undeployed instead of getting updated.

[2015-06-18 14:39:56,382] INFO - ApplicationManager Undeploying Carbon Application : ESB4.9_1.0.0...
[2015-06-18 14:39:56,558] INFO - SynapseAppDeployer Deleting artifact at /home/sandapa/software/esb/wso2esb-4.9.0-ALPHA/repository/deployment/server/synapse-configs/default/proxy-services/StockQuoteProxy-1.0.0.xml
[2015-06-18 14:39:56,562] INFO - ApplicationManager Successfully Undeployed Carbon Application : ESB4.9_1.0.0

{super-tenant}
[2015-06-18 14:39:56,563] INFO - ApplicationManager Deploying Carbon Application : ESB4.9.0_1.0.0.car...
[2015-06-18 14:39:56,798] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-06-18 14:39:56,798] INFO - ApplicationManager Successfully Deployed Carbon Application : ESB4.9_1.0.0 {super-tenant}

[2015-06-18 14:40:11,807] INFO - ProxyService Stopped the proxy service : StockQuoteProxy
[2015-06-18 14:40:11,808] INFO - DeploymentInterceptor Removing Axis2 Service: StockQuoteProxy

{super-tenant}

[2015-06-18 14:40:11,808] INFO - ProxyServiceDeployer ProxyService named 'StockQuoteProxy' has been undeployed

The CApp is shown in the list. When we browse it and we try to access the proxy service the page crashes and following error is thrown in server console.

[2015-06-18 14:40:39,208] ERROR - ServiceAdmin Invalid service name, service not found : StockQuoteProxy
[2015-06-18 14:40:39,216] ERROR - ServiceAdminClient Cannot get service data. Backend service may be unavailable
org.apache.axis2.AxisFault: Invalid service name, service not found : StockQuoteProxy
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(service_005finfo_jsp.java:142)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:688)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:682)
at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)



 Comments   
Comment by Chanaka Fernando [ 07/Jul/15 ]

Hi Sandapa,

Have you changed the Proxy service from the management console? I could reproduce the exact same error when I modified the proxy service from the management console and then again uploading the CAR file. But this is user error since we are recommended not to edit artifacts uploaded from the CAR file. Also we have removed the editing capability of artifacts deployed through CAR files for the Beta release. Once we have that in place, this would not occur anyway.

Please confirm the above steps for reproduction of this issue. If that is the case, we can resolve this issue.

Regards,
Chanaka

Comment by Evanthika Amarasiri [ 01/Sep/15 ]

Hi Chanaka,

I observed the same issue while uploading a cApp with 20 proxy services. Note that I did not do any changes to the proxy services from the Management Console. However, please note that I deployed this car before and removed it. I was uploading the same car the second time.

Regards,
Evanthika

Comment by Evanthika Amarasiri [ 01/Sep/15 ]

(attaching the cApp used)

Below are the logs I'm seeing

[2015-09-01 14:55:07,331] INFO - CarbonAuthenticationUtil 'evanUser1@evan.com [1]' logged in at [2015-09-01 14:55:07,331+0530]
[2015-09-01 14:55:55,125] INFO - ApplicationManager Deploying Carbon Application : ESBProxyBulkcApp_1.0.0.car...
[2015-09-01 14:55:55,321] INFO - ProxyService Building Axis service for Proxy service : SuperTenantProxy1
[2015-09-01 14:55:55,322] INFO - ProxyService Adding service SuperTenantProxy1 to the Axis2 configuration
[2015-09-01 14:55:55,325] INFO - DeploymentInterceptor Deploying Axis2 service: SuperTenantProxy1

{evan.com[1]}

[2015-09-01 14:55:55,325] INFO - ProxyService Successfully created the Axis2 service for Proxy service : SuperTenantProxy1
[2015-09-01 14:55:55,326] INFO - ProxyServiceDeployer ProxyService named 'SuperTenantProxy1' has been deployed from file : /WSO2/CARBON/ESB/4.9.0/RC1/cluster/mgr/wso2esb-4.9.0-RC1/tmp/carbonapps/1/1441099555152ESBProxyBulkcApp_1.0.0.car/SuperTenantProxy5_1.0.0/SuperTenantProxy5-1.0.0.xml
[2015-09-01 14:55:55,328] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,329] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,330] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,331] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,331] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,333] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,334] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,335] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,336] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,337] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,338] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,339] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,340] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,341] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,342] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,343] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,344] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,345] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,346] WARN - ProxyServiceDeployer Hot deployment thread picked up an already deployed proxy - Ignoring
[2015-09-01 14:55:55,347] INFO - ApplicationManager Successfully Deployed Carbon Application : ESBcAppProject_1.0.0

{tenant-1}

[2015-09-01 14:55:59,102] INFO - CarbonDeploymentSchedulerTask Sent [SynchronizeRepositoryRequest

{tenantId=1, tenantDomain='evan.com', messageId=7759269f-cc07-4a77-bd1e-82963acda59c}

]

Comment by Chanaka Fernando [ 01/Sep/15 ]

Hi Evanthika,

The CAR file you have attached has proxy services with the same name(check the proxy service xml config). That is why you are getting the above warning.

Comment by Evanthika Amarasiri [ 01/Sep/15 ]

Yes. My bad

Some of the files have the same name. So for my scenario (for the attached .car), this is not an issue.

Comment by Evanthika Amarasiri [ 01/Sep/15 ]

We will resolve this issue since we could not reproduce the issue in latest packs. If we come across this again, we will reopen the issue with correct steps to reproduce.





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

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

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

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


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

 Description   

Steps to reproduce :

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

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

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


 Comments   
Comment by Nadeeshaan Gunasinghe [ 01/Sep/15 ]

Fix added with [1] and [2]
[1] https://github.com/wso2/carbon-mediation/pull/423
[2] https://github.com/wso2/wso2-synapse/pull/337





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

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

Type: Bug Priority: Highest
Reporter: Isuru Udana Loku Narangoda Assignee: Nadeeshaan Gunasinghe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

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

Same with the other artifacts as well.

Comment by Sandapa Handakumbura [ 31/Aug/15 ]

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

Comment by Nadeeshaan Gunasinghe [ 01/Sep/15 ]

Fix added with [1] and [2]
[1] https://github.com/wso2/carbon-mediation/pull/423
[2] https://github.com/wso2/wso2-synapse/pull/337





[ESBJAVA-4143] Client side TCP connection is not closed for the string recordDelimiter Created: 01/Sep/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

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

Type: Bug Priority: Normal
Reporter: prabath ariyarathna Assignee: Kasun Indrasiri
Resolution: Not a bug 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   

Followed the 3rd proxy sample which mentioned in the sample documentation[1]. Request is successfully sent to the back-end but no response return to the client side.

[1] = https://wso2.org/jira/browse/DOCUMENTATION-1461






[ESBJAVA-4141] ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPFault error occurs when handling SOAPFault in out path of REST API Created: 08/Feb/12  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.8.0 , 4.9.0 - Beta
Fix Version/s: 4.9.0 - RC2, 4.9.0

Type: Bug Priority: Highest
Reporter: Charitha Kankanamge Assignee: Isuru Udana Loku Narangoda
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File Resource.java.patch    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

steps to reproduce:
===============
1. Send a POST request through the REST API to an endpoint in AS
2. If the backend service is inactive, we will get a soap FAult and the following exception will be thrown by ESB

ERROR - NativeWorkerPool Uncaught exception
java.lang.ClassCastException: org.apache.axiom.om.impl.llom.OMElementImpl cannot be cast to org.apache.axiom.soap.SOAPFault
at org.apache.axiom.soap.impl.llom.SOAPBodyImpl.getFault(SOAPBodyImpl.java:120)
at org.apache.synapse.util.POXUtils.convertSOAPFaultToPOX(POXUtils.java:42)
at org.apache.synapse.core.axis2.Axis2Sender.sendBack(Axis2Sender.java:91)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.send(Axis2SynapseEnvironment.java:265)
at org.apache.synapse.mediators.builtin.SendMediator.mediate(SendMediator.java:84)
at org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:60)
at org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:114)
at org.apache.synapse.rest.Resource.process(Resource.java:306)
at org.apache.synapse.rest.API.process(API.java:208)
at org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:76)
at org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:50)
at org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:180)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.handleMessage(SynapseCallbackReceiver.java:370)
at org.apache.synapse.core.axis2.SynapseCallbackReceiver.receive(SynapseCallbackReceiver.java:160)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181)
at org.apache.synapse.transport.nhttp.ClientWorker.run(ClientWorker.java:275)
at org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:173)
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 dushan abeyruwan [ 26/Jun/12 ]

Hi
The issue has been found, this happens even though the there is fault involve in the given message context , which meas it has soap Fault element and during the sequence operation the fault message is updated with the overridden soap payload thus there is a class cast exception, please find the patch attached herewith as solution.

cheers
Dushan

Comment by Isuru Udana Loku Narangoda [ 01/Sep/15 ]

This fix is not merged to the code base and even the fix is not correct

Comment by Isuru Udana Loku Narangoda [ 01/Sep/15 ]

Fixed with
https://github.com/wso2/wso2-synapse/pull/339





[ESBJAVA-4041] When uploading a CApp with a Rule mediator scenario, NPE thrown and CApp upload fails. Created: 07/Aug/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Carbon Applications
Affects Version/s: 4.9.0 - Beta
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: High
Reporter: Sandapa Handakumbura Assignee: Kevin Ratnasekera
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : ESB 4.9.0 BETA (standalone)
Java version : jdk1.8.0_45


Attachments: File cappProject1_1.0.0.car    
Severity: Critical
Estimated Complexity: Moderate
Test cases added: Not-applicable

 Description   
[2015-08-07 19:28:53,042]  INFO - ApplicationManager Deploying Carbon Application : cappProject1_1.0.0.car...
[2015-08-07 19:28:53,084] ERROR - ProxyServiceDeployer ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
java.lang.NullPointerException
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRegistryAsStream(RuleSetLoader.java:83)
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRuleSetAsStream(RuleSetLoader.java:50)
	at org.wso2.carbon.rule.backend.drools.DroolsBackendRuntime.addRuleSet(DroolsBackendRuntime.java:56)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.loadRuleBackendRuntime(RuleEngine.java:111)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:76)
	at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
	at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:94)
	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:224)
	at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:46)
	at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
	at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:177)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:56)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:128)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-07 19:28:53,086] ERROR - AbstractSynapseArtifactDeployer Deployment of the Synapse Artifact from file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed!
org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:473)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:108)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:128)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRegistryAsStream(RuleSetLoader.java:83)
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRuleSetAsStream(RuleSetLoader.java:50)
	at org.wso2.carbon.rule.backend.drools.DroolsBackendRuntime.addRuleSet(DroolsBackendRuntime.java:56)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.loadRuleBackendRuntime(RuleEngine.java:111)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:76)
	at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
	at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:94)
	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:224)
	at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:46)
	at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
	at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:177)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:56)
	... 22 more
[2015-08-07 19:28:53,089]  INFO - AbstractSynapseArtifactDeployer The file has been backed up into : NO_BACKUP_ON_WORKER.INFO
[2015-08-07 19:28:53,089] ERROR - AbstractSynapseArtifactDeployer Deployment of synapse artifact failed. Error reading /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:199)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:128)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:473)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:108)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
	... 20 more
Caused by: java.lang.NullPointerException
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRegistryAsStream(RuleSetLoader.java:83)
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRuleSetAsStream(RuleSetLoader.java:50)
	at org.wso2.carbon.rule.backend.drools.DroolsBackendRuntime.addRuleSet(DroolsBackendRuntime.java:56)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.loadRuleBackendRuntime(RuleEngine.java:111)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:76)
	at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
	at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:94)
	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:224)
	at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:46)
	at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
	at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:177)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:56)
	... 22 more
[2015-08-07 19:28:53,091] ERROR - ApplicationManager Error occurred while deploying Carbon Application
org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:211)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:128)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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:93)
	at org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:138)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.axis2.deployment.DeploymentException: ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:199)
	... 20 more
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: ProxyService Deployment from the file : /home/sandapa/software/esb/4.9.0/wso2esb-4.9.0-BETA/tmp/carbonapps/-1234/1438955933044cappProject1_1.0.0.car/proxyService2_1.0.0/proxyService2-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:473)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:108)
	at org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:46)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:192)
	... 20 more
Caused by: java.lang.NullPointerException
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRegistryAsStream(RuleSetLoader.java:83)
	at org.wso2.carbon.rule.backend.util.RuleSetLoader.getRuleSetAsStream(RuleSetLoader.java:50)
	at org.wso2.carbon.rule.backend.drools.DroolsBackendRuntime.addRuleSet(DroolsBackendRuntime.java:56)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.loadRuleBackendRuntime(RuleEngine.java:111)
	at org.wso2.carbon.rule.kernel.engine.RuleEngine.<init>(RuleEngine.java:76)
	at org.wso2.carbon.rule.mediator.RuleMediatorFactory.createSpecificMediator(RuleMediatorFactory.java:42)
	at org.apache.synapse.config.xml.AbstractMediatorFactory.createMediator(AbstractMediatorFactory.java:94)
	at org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFactoryFinder.java:224)
	at org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(AbstractListMediatorFactory.java:46)
	at org.apache.synapse.config.xml.SequenceMediatorFactory.createAnonymousSequence(SequenceMediatorFactory.java:70)
	at org.apache.synapse.config.xml.ProxyServiceFactory.createProxy(ProxyServiceFactory.java:177)
	at org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(ProxyServiceDeployer.java:56)
	... 22 more
[2015-08-07 19:28:53,093]  INFO - ApplicationManager Reverting successfully deployed artifcats in this CApp : cappProject1_1.0.0


 Comments   
Comment by Kevin Ratnasekera [ 14/Aug/15 ]

will be fixed with[1]
[1] https://github.com/wso2/carbon-rules/pull/14





[ESBJAVA-4084] [Cluster][MQTT inbound]Error in manager node, when edit and update mqtt inbound endpoint Created: 20/Aug/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: Inbound Endpoints
Affects Version/s: 4.9.0 - RC1
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: Kevin Ratnasekera
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB cluster,

Pack : wso2esb-4.9.0-RC1-SNAPSHOT
Java version : Oracle jdk 1.8.0
DB Version : mysql 5.5
OS : Ubuntu 14.04 LTS
manager node -1
worker nodes - 2


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

 Description   

Steps to Recreate :

1.In a clustered Scenario, create a mqtt inbound endpoint with following configurations.

<inboundEndpoint name="mqtinbound" onError="fault" protocol="mqtt"
sequence="TestIn" suspend="false">
<parameters>
<parameter name="mqtt.connection.factory">mqttFactory</parameter>
<parameter name="sequential">true</parameter>
<parameter name="mqtt.topic.name">topictest</parameter>
<parameter name="content.type">application/json</parameter>
<parameter name="mqtt.session.clean">false</parameter>
<parameter name="coordination">false</parameter>
<parameter name="mqtt.server.port">7899</parameter>
<parameter name="mqtt.ssl.enable">false</parameter>
<parameter name="interval">15</parameter>
<parameter name="mqtt.subscription.qos">2</parameter>
<parameter name="mqtt.server.host.name">192.168.48.62</paratmeter>
</parameters>
</inboundEndpoint>

2. After saving the endpoint, edit a random field and update it.

3. Below error can be seen in manager node.


ERROR {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory} -  Error while releasing the resources for data store {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory}
MqttException (0)
	at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.checkIsOpen(MqttDefaultFilePersistence.java:119)
	at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.getFiles(MqttDefaultFilePersistence.java:236)
	at org.eclipse.paho.client.mqttv3.persist.MqttDefaultFilePersistence.close(MqttDefaultFilePersistence.java:131)
	at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory.shutdown(MqttConnectionFactory.java:273)
	at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener.destroy(MqttListener.java:129)
	at org.apache.synapse.inbound.InboundEndpoint.destroy(InboundEndpoint.java:125)
	at org.wso2.carbon.inbound.CarbonInboundManagementService.updateInboundEndpoint(CarbonInboundManagementService.java:209)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
	at org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:66)
	at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
	at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
	at org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
	at org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
	at org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
	at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
	at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
	at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
	at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
	at org.wso2.carbon.inbound.stub.InboundAdminStub.updateInboundEndpoint(InboundAdminStub.java:1092)
	at org.wso2.carbon.inbound.ui.internal.InboundManagementClient.updteInboundEndpoint(InboundManagementClient.java:331)
	at org.apache.jsp.inbound.updateInbound_jsp._jspService(updateInbound_jsp.java:205)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:688)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:682)
	at sun.reflect.GeneratedMethodAccessor43.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:483)
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

4. Also, below is the log that comes after above mentioned error.


TID: [-1234] [] [2015-08-20 12:16:58,458]  INFO {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener} -  Disconnected from the remote MQTT server. {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener}
TID: [-1234] [] [2015-08-20 12:16:58,459]  INFO {org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor} -  Inbound endpoint mqtinbound stopping. {org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor}
TID: [-1234] [] [2015-08-20 12:16:58,459]  INFO {org.apache.synapse.inbound.InboundEndpoint} -  Initializing Inbound Endpoint: mqtinbound {org.apache.synapse.inbound.InboundEndpoint}
TID: [-1234] [] [2015-08-20 12:16:58,460]  WARN {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory} -  Default value is used for the parameter : mqtt.temporary.store.directory {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory}
TID: [-1234] [] [2015-08-20 12:16:58,460]  WARN {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory} -  Default value is used for the parameter : mqtt.client.id {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory}
TID: [-1234] [] [2015-08-20 12:16:58,460]  WARN {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory} -  Default value is used for the parameter : mqtt.reconnection.interval {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory}
TID: [-1234] [] [2015-08-20 12:16:58,461]  INFO {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener} -  MQTT inbound endpoint mqtinbound initializing ... {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener}
TID: [-1234] [] [2015-08-20 12:16:58,469]  INFO {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory} -  Successfully created MQTT client {org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory}
TID: [-1234] [] [2015-08-20 12:16:58,469]  INFO {org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor} -  Starting the inbound endpoint mqtinbound, with coordination false. Type : MQTT--SYNAPSE_INBOUND_ENDPOINT {org.wso2.carbon.inbound.endpoint.common.InboundOneTimeTriggerRequestProcessor}
TID: [-1] [] [2015-08-20 12:16:58,474]  INFO {org.wso2.carbon.inbound.endpoint.common.OneTimeTriggerInboundRunner} -  Inbound Endpoint will not run in manager node. Same will run on worker(s). {org.wso2.carbon.inbound.endpoint.common.OneTimeTriggerInboundRunner}



 Comments   
Comment by Kevin Ratnasekera [ 01/Sep/15 ]

fixed with [1]
[1] https://github.com/wso2/carbon-mediation/pull/421





[ESBJAVA-3995] Payload mediator not escaping special characters Created: 30/Jul/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

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

Type: Bug Priority: Highest
Reporter: Balasubramaniyam Senduran Assignee: Balasubramaniyam Senduran
Resolution: Fixed 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   

for the media type is json, the payload mediator is not escaping the special characters, if the value is a string. this results a invalid output json.



 Comments   
Comment by Balasubramaniyam Senduran [ 03/Aug/15 ]

fix merged in https://github.com/wso2/wso2-synapse/commit/d4765ca58f7ee9c919c6c29c6ba63378f1e320e8,

resolving the issue

Comment by Malaka Silva [ 26/Aug/15 ]

Reopened the issue since fix is breaking the existing integration.

Comment by Malaka Silva [ 28/Aug/15 ]

Provided fix is reverted and need to investigate for a solution.

Comment by Chanaka Fernando [ 01/Sep/15 ]

This is fixed with the following fix

https://github.com/wso2/wso2-synapse/pull/338

Comment by Chanaka Fernando [ 01/Sep/15 ]

PR is merged.

https://github.com/wso2/wso2-synapse/commit/508d16814b71ac54515b0063f2714ddcebed0c8c





[ESBJAVA-4138] Traces for runtime exceptions occurred at mediation are not getting logged Created: 01/Sep/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0 - RC2

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

Probably due to following code segment in AbstractListMediator

catch (Exception ex) {
       throw new SynapseException(msg, e);
} 


 Comments   
Comment by Isuru Udana Loku Narangoda [ 01/Sep/15 ]

Fixed with
https://github.com/wso2/wso2-synapse/pull/336





[ESBJAVA-4113] Inbound endpoints deployed with CAPPs are persisted in the file system when edited and the CAPP gets faulty on server restart Created: 25/Aug/15  Updated: 01/Sep/15  Resolved: 01/Sep/15

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

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: Nadeeshaan Gunasinghe
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-RC1.zip
Java Version : Java 1.8
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


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

 Description   

Steps to reproduce

1. Create a CAPP with a File Inbound EP. (e.g. Add necessary sequences etc.)
2. Now upload the created CAPP to ESB.
3. Now go to Inbound endpoints, click on edit of the deployed EP and change the EP state and click on update. (Note the EP will be added to the file system)
4. Now gracefully restart the server.

Issue : After the restart the CAPP gets faulty and the Inbound EP stops working due to this.

Note : The caap is corrupted since two EPs are trying to get deployed (One from CAPP and one from file system). Refer the following logs.

 ERROR - SynapseConfiguration Duplicate inbound  endpoint definition by the name: FileInbound
[2015-08-25 17:09:11,936] ERROR - InboundEndpointDeployer Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
org.apache.synapse.SynapseException: Duplicate inbound  endpoint definition by the name: FileInbound
	at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
	at org.apache.synapse.config.SynapseConfiguration.addInboundEndpoint(SynapseConfiguration.java:359)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:61)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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.DeploymentEngine.loadServices(DeploymentEngine.java:135)
	at org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:567)
	at org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:235)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:185)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
	at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:91)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
	at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-25 17:09:11,941] ERROR - AbstractSynapseArtifactDeployer Deployment of the Synapse Artifact from file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed!
org.apache.synapse.deployers.SynapseArtifactDeploymentException: Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:70)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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.DeploymentEngine.loadServices(DeploymentEngine.java:135)
	at org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:567)
	at org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:235)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:185)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
	at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:91)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
	at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.synapse.SynapseException: Duplicate inbound  endpoint definition by the name: FileInbound
	at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
	at org.apache.synapse.config.SynapseConfiguration.addInboundEndpoint(SynapseConfiguration.java:359)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:61)
	... 87 more
[2015-08-25 17:09:11,944]  INFO - AbstractSynapseArtifactDeployer The file has been backed up into : NO_BACKUP_ON_WORKER.INFO
[2015-08-25 17:09:11,945] ERROR - AbstractSynapseArtifactDeployer Deployment of synapse artifact failed. Error reading /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
org.apache.axis2.deployment.DeploymentException: Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:201)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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.DeploymentEngine.loadServices(DeploymentEngine.java:135)
	at org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:567)
	at org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:235)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:185)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
	at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:91)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
	at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:70)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	... 86 more
Caused by: org.apache.synapse.SynapseException: Duplicate inbound  endpoint definition by the name: FileInbound
	at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
	at org.apache.synapse.config.SynapseConfiguration.addInboundEndpoint(SynapseConfiguration.java:359)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:61)
	... 87 more
[2015-08-25 17:09:11,949] ERROR - ApplicationManager Error occurred while deploying Carbon Application
org.apache.axis2.deployment.DeploymentException: Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:213)
	at org.wso2.carbon.application.deployer.synapse.SynapseAppDeployer.deployArtifacts(SynapseAppDeployer.java:134)
	at org.wso2.carbon.application.deployer.internal.ApplicationManager.deployCarbonApp(ApplicationManager.java:263)
	at org.wso2.carbon.application.deployer.CappAxis2Deployer.deploy(CappAxis2Deployer.java:72)
	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.DeploymentEngine.loadServices(DeploymentEngine.java:135)
	at org.wso2.carbon.core.CarbonAxisConfigurator.deployServices(CarbonAxisConfigurator.java:567)
	at org.wso2.carbon.core.internal.DeploymentServerStartupObserver.completingServerStartup(DeploymentServerStartupObserver.java:51)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.notifyBefore(CarbonCoreServiceComponent.java:235)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.completeInitialization(StartupFinalizerServiceComponent.java:185)
	at org.wso2.carbon.core.internal.StartupFinalizerServiceComponent.serviceChanged(StartupFinalizerServiceComponent.java:288)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.registerThrottlingAgent(ThrottlingAgentServiceComponent.java:123)
	at org.wso2.carbon.throttling.agent.internal.ThrottlingAgentServiceComponent.activate(ThrottlingAgentServiceComponent.java:100)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:451)
	at org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:517)
	at org.wso2.carbon.core.init.CarbonServerManager.start(CarbonServerManager.java:219)
	at org.wso2.carbon.core.internal.CarbonCoreServiceComponent.activate(CarbonCoreServiceComponent.java:91)
	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.eclipse.equinox.internal.ds.model.ServiceComponent.activate(ServiceComponent.java:260)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.activate(ServiceComponentProp.java:146)
	at org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:345)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)
	at org.eclipse.equinox.internal.ds.InstanceProcess.buildComponents(InstanceProcess.java:197)
	at org.eclipse.equinox.internal.ds.Resolver.getEligible(Resolver.java:343)
	at org.eclipse.equinox.internal.ds.SCRManager.serviceChanged(SCRManager.java:222)
	at org.eclipse.osgi.internal.serviceregistry.FilteredServiceListener.serviceChanged(FilteredServiceListener.java:107)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:861)
	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEventPrivileged(ServiceRegistry.java:819)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.publishServiceEvent(ServiceRegistry.java:771)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.register(ServiceRegistrationImpl.java:130)
	at org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.registerService(ServiceRegistry.java:214)
	at org.eclipse.osgi.framework.internal.core.BundleContextImpl.registerService(BundleContextImpl.java:433)
	at org.eclipse.equinox.http.servlet.internal.Activator.registerHttpService(Activator.java:81)
	at org.eclipse.equinox.http.servlet.internal.Activator.addProxyServlet(Activator.java:60)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.init(ProxyServlet.java:40)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init(DelegationServlet.java:38)
	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
	at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.axis2.deployment.DeploymentException: Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:201)
	... 86 more
Caused by: org.apache.synapse.deployers.SynapseArtifactDeploymentException: Inbound Endpoint deployment from the file : /home/yasassri/Desktop/QA_TESTING/ESB_4.9/RC1-Official/Final3/wso2esb-4.9.0-RC1/tmp/carbonapps/-1234/1440502751018CarApp01_1.0.0.car/FileInbound_1.0.0/FileInbound-1.0.0.xml : Failed.
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.handleSynapseArtifactDeploymentError(AbstractSynapseArtifactDeployer.java:475)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:70)
	at org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(AbstractSynapseArtifactDeployer.java:194)
	... 86 more
Caused by: org.apache.synapse.SynapseException: Duplicate inbound  endpoint definition by the name: FileInbound
	at org.apache.synapse.config.SynapseConfiguration.handleException(SynapseConfiguration.java:1588)
	at org.apache.synapse.config.SynapseConfiguration.addInboundEndpoint(SynapseConfiguration.java:359)
	at org.apache.synapse.deployers.InboundEndpointDeployer.deploySynapseArtifact(InboundEndpointDeployer.java:61)
	... 87 more


 Comments   
Comment by Chanaka Fernando [ 27/Aug/15 ]

This is fixed with following PR [1] and [2]

[1] https://github.com/wso2/wso2-synapse/pull/327

[2] https://github.com/wso2/carbon-mediation/pull/413

Comment by Chanaka Fernando [ 27/Aug/15 ]

PR is merged.





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

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

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: Ravindra Ranwala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

wso2esb-4.9.0-Pre-BETA pack


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

 Description   

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



 Comments   
Comment by Ravindra Ranwala [ 31/Aug/15 ]

This issue is already solved due to some fixes given to the kernel, and hence resolving the ticket.





[ESBJAVA-4116] Cannot deploy a CApp to ESB with an artifact name that contains string "Domain" Created: 25/Aug/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

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

Type: Bug Priority: High
Reporter: Kasun de Silva Assignee: Kevin Ratnasekera
Resolution: Fixed 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 AbstractSynapseArtifactDeployer if the sequence has a name with "main" (here it is 'domain'), it matches with the following condition to check whether it is the main sequence. Hence deployment goes through the main sequence deployment flow and gives this issue.

if (filename.matches(".*main-\\d+\\.\\d+\\.\\d+\\.xml")) {
    artifactName = 
       updateDefaultSequence(filename, lement, properties, deploymentStore.getMainSeqLstUpdatedFile(), deploymentStore);
}


 Comments   
Comment by Kevin Ratnasekera [ 28/Aug/15 ]

this is fixed in public branch, integration test is added with this pr [1]
[1] https://github.com/wso2/product-esb/pull/308

Comment by Kevin Ratnasekera [ 31/Aug/15 ]

fixed with public [1]
[1] https://wso2.org/jira/browse/ESBJAVA-3147





[ESBJAVA-4079] MQTT server port UI field should be validated in mqtt inbound endpoint Created: 20/Aug/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: Inbound Endpoints
Affects Version/s: 4.9.0 - RC1
Fix Version/s: 4.9.0 - RC2, 4.9.0

Type: Bug Priority: High
Reporter: Nayomi Dayarathne Assignee: Kevin Ratnasekera
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

ESB cluster,

Pack : wso2esb-4.9.0-RC1-SNAPSHOT
Java version : Oracle jdk 1.8.0
DB Version : mysql 5.5
OS : Ubuntu 14.04 LTS
manager node -1
worker nodes - 2


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

 Description   

Create a mqtt inbound endpoint by specifying same values to host and port names.
for example :
host name : 192.168.48.62
port name : 192.168.48.62

Though ESB throws errors, it still saves the inbound endpoint.

So it would be great if we can validate the port fields by showing an error message, whenever an incorrect value entered into port field.



 Comments   
Comment by Kevin Ratnasekera [ 28/Aug/15 ]

fixed with [1]
[1] https://github.com/wso2/carbon-mediation/pull/417/





[ESBJAVA-4129] MQTT inbound error log inconsistency Created: 28/Aug/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0 - RC2, 4.9.0

Type: Bug Priority: Normal
Reporter: Kevin Ratnasekera Assignee: Kevin Ratnasekera
Resolution: Fixed 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 trying to deploy mqtt inbound which is bound already existing mqtt inbound port following error log is visible but it does not show the occupied port

Caused by: org.apache.synapse.SynapseException: Client ID: ubuntu.1440065428126 Server Host: 192.168.48.62 Server Port: 192.168.48.62 is bound to existing MQTT Inbound Endpoint.
at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttClientManager.getMqttClient(MqttClientManager.java:91)
at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory.createMqttAsyncClient(MqttConnectionFactory.java:214)
at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttConnectionFactory.getMqttAsyncClient(MqttConnectionFactory.java:156)
at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener.initAsyncClient(MqttListener.java:163)
at org.wso2.carbon.inbound.endpoint.protocol.mqtt.MqttListener.init(MqttListener.java:157)
at org.apache.synapse.inbound.InboundEndpoint.init(InboundEndpoint.java:62)
... 19 more



 Comments   
Comment by Kevin Ratnasekera [ 28/Aug/15 ]

fixed with [1]
[1] https://github.com/wso2/carbon-mediation/pull/418





[ESBJAVA-4131] RabbitMQ inbound endpoint - missing properties Created: 30/Aug/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: Inbound Endpoints
Affects Version/s: 4.9.0 - RC1
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: High
Reporter: Kesavan Yogarajah Assignee: Kesavan Yogarajah
Resolution: Fixed 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   

Following inbound properties missing in the RabbitMQ inbound endpoint UI.
rabbitmq.connection.retry.count
rabbitmq.connection.retry.interval
rabbitmq.message.content.type



 Comments   
Comment by Kesavan Yogarajah [ 30/Aug/15 ]

Fixed in the PR https://github.com/wso2/carbon-mediation/pull/420





[ESBJAVA-4094] NullPointerException when viewing Scheduled Tasks Created: 21/Aug/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: Scheduled Tasks
Affects Version/s: 4.9.0 - Beta
Fix Version/s: None

Type: Bug Priority: High
Reporter: Yasassri Rathnayake Assignee: viraj senevirathne
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Pack : wso2esb-4.9.0-RC1.zip
Java Version : Java 1.8
Setup : Standalone
Browser : Chrome Version 43.0.2357.130 (64-bit) | FireFox 38.0
DB : H2


Attachments: File CarApp045_1.0.0.car     PNG File Selection_262.png    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

Following exception was observed when clicking on Scheduled Tasks and a error page was displayed, I was working with MSMP and Inbound related tasks when this error occurred, could not find exact steps to reproduce.

ERROR - RPCMessageReceiver Exception occurred while trying to invoke service method getAllTaskData
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: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.task.stub.TaskAdminStub.getAllTaskData(TaskAdminStub.java:1516)
	at org.wso2.carbon.task.ui.internal.TaskManagementClient.getAllTaskData(TaskManagementClient.java:190)
	at org.apache.jsp.task.index_jsp._jspService(index_jsp.java:195)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:37)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.include(ContextPathServletAdaptor.java:369)
	at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:954)
	at org.apache.jasper.runtime.PageContextImpl.doInclude(PageContextImpl.java:688)
	at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:682)
	at sun.reflect.GeneratedMethodAccessor42.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.apache.tiles.jsp.context.JspUtil.doInclude(JspUtil.java:87)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.include(JspTilesRequestContext.java:88)
	at org.apache.tiles.jsp.context.JspTilesRequestContext.dispatch(JspTilesRequestContext.java:82)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:465)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:140)
	at org.apache.tiles.jsp.taglib.InsertAttributeTag.render(InsertAttributeTag.java:117)
	at org.apache.tiles.jsp.taglib.RenderTagSupport.execute(RenderTagSupport.java:171)
	at org.apache.tiles.jsp.taglib.RoleSecurityTagSupport.doEndTag(RoleSecurityTagSupport.java:75)
	at org.apache.tiles.jsp.taglib.ContainerTagSupport.doEndTag(ContainerTagSupport.java:80)
	at org.apache.jsp.admin.layout.template_jsp._jspx_meth_tiles_005finsertAttribute_005f7(template_jsp.java:640)
	at org.apache.jsp.admin.layout.template_jsp._jspService(template_jsp.java:356)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.ui.JspServlet.service(JspServlet.java:155)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:80)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
	at org.eclipse.equinox.http.servlet.internal.RequestDispatcherAdaptor.forward(RequestDispatcherAdaptor.java:30)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor$RequestDispatcherAdaptor.forward(ContextPathServletAdaptor.java:362)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
	at org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
	at org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:370)
	at org.wso2.carbon.ui.action.ActionHelper.render(ActionHelper.java:52)
	at org.wso2.carbon.ui.TilesJspServlet.service(TilesJspServlet.java:101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.eclipse.equinox.http.helper.ContextPathServletAdaptor.service(ContextPathServletAdaptor.java:37)
	at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
	at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:68)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
	at org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.service(DelegationServlet.java:68)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.wso2.carbon.tomcat.ext.filter.CharacterSetFilter.doFilter(CharacterSetFilter.java:61)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.continueInvocation(CompositeValve.java:99)
	at org.wso2.carbon.tomcat.ext.valves.TomcatValveContainer.invokeValves(TomcatValveContainer.java:49)
	at org.wso2.carbon.tomcat.ext.valves.CompositeValve.invoke(CompositeValve.java:62)
	at org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve.invoke(CarbonStuckThreadDetectionValve.java:159)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
	at org.wso2.carbon.tomcat.ext.valves.CarbonContextCreatorValve.invoke(CarbonContextCreatorValve.java:57)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1074)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1739)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1698)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.wso2.carbon.task.TaskManager.getAllTaskData(TaskManager.java:189)
	at org.wso2.carbon.task.CarbonTaskManagementService.getAllTaskData(CarbonTaskManagementService.java:163)
	... 127 more
[2015-08-21 16:40:49,881] ERROR - TaskManagementClient Exception occurred while trying to invoke service method getAllTaskData



 Comments   
Comment by Yasassri Rathnayake [ 26/Aug/15 ]

This is continuously reproducible when attached Capp is uploaded. After uploading click on Scheduled Tasks. Note this happens when there is a valid EP as well.

Comment by viraj senevirathne [ 28/Aug/15 ]

Fixed with https://github.com/wso2/carbon-mediation/pull/419





[ESBJAVA-4077] MessageProcessor error when undeploying Created: 20/Aug/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: Message Processors
Affects Version/s: 4.8.1
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: Normal
Reporter: Susinda Perera Assignee: Ravindra Ranwala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File ESBJAVA-4077-Capp_1.0.0.car     File HTTP Request.jmx    
Severity: Major
Estimated Complexity: Moderate
Test cases added: Yes

 Description   

When undeploy (by CAR file undeploy) the message processor while it is processing the messages from a topic we get this error

{org.apache.synapse.message.store.impl.jms.MessageConverter} - Cannot create Message Context. Error:null {org.apache.synapse.message.store.impl.jms.MessageConverter}

java.lang.NullPointerException
at org.apache.synapse.message.store.impl.jms.MessageConverter.toMessageContext(MessageConverter.java:107)
at org.apache.synapse.message.store.impl.jms.JmsConsumer.receive(JmsConsumer.java:105)
at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.fetch(ForwardingService.java:273)
at org.apache.synapse.message.processor.impl.forwarder.ForwardingService.execute(ForwardingService.java:104)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)



 Comments   
Comment by Ravindra Ranwala [ 27/Aug/15 ]

These synapse artefacts were used to reproduce the issue. First load the JMS store with more that 500 messages using the given Jmeter script. Undeploy the capp while Message Processor consumes messages. That yields this error message.

Comment by Ravindra Ranwala [ 27/Aug/15 ]

The fix needs to be given in MessageProcessorDeployer class. The MP should be destroyed before being removed from the synapse configs.

Comment by Ravindra Ranwala [ 28/Aug/15 ]

The pull request [1] was sent for review and merge. Please resolve the issue after merging the pull request [1]

[1] https://github.com/wso2/wso2-synapse/pull/332/

Comment by Ravindra Ranwala [ 31/Aug/15 ]

The pull request [1] was merged to the public branch, hence resolving the issue.

[1] https://github.com/wso2/wso2-synapse/pull/332/





[ESBJAVA-3227] Resuming server from maintenance mode via JMX cause a illegal state exception Created: 21/Jul/14  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: Transport
Affects Version/s: 4.8.1, 4.9.0 - Beta
Fix Version/s: 4.9.0 - RC2

Type: Bug Priority: High
Reporter: Miyuru Daminda Assignee: Ravindra Ranwala
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Comments   
Comment by Sandapa Handakumbura [ 05/Aug/15 ]

Issue exists in ESB 4.9.0 BETA SNAPSHOT - 05-08-2015 (standalone)
Java version : jdk1.8.0_45

[2015-08-05 15:25:59,116]  INFO - ServerManagement Switching to normal mode...
[2015-08-05 15:25:59,118]  INFO - PassThroughHttpListener Starting Pass-through HTTP Listener...
[2015-08-05 15:25:59,120] ERROR - PassThroughListeningIOReactorManager Cannot Start PassThroughListeningEndpoint for port 8280
java.lang.IllegalStateException: I/O reactor has been shut down
	at org.apache.http.util.Asserts.check(Asserts.java:34)
	at org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.listen(DefaultListeningIOReactor.java:215)
	at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager.startEndpoint(PassThroughListeningIOReactorManager.java:611)
	at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager.startPTTEndpoint(PassThroughListeningIOReactorManager.java:135)
	at org.apache.synapse.transport.passthru.PassThroughHttpListener.startEndpoints(PassThroughHttpListener.java:286)
	at org.apache.synapse.transport.passthru.PassThroughHttpListener.start(PassThroughHttpListener.java:256)
	at org.wso2.carbon.core.ServerManagement.endMaintenance(ServerManagement.java:263)
	at org.wso2.carbon.server.admin.service.ServerAdmin.endMaintenance(ServerAdmin.java:311)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1406)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828)
	at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$8/1036032949.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-05 15:25:59,122] FATAL - PassThroughListeningIOReactorManager Exception encountered in the HTTP-Listener I/O dispatcher Listener. No more connections will be accepted by this transport
java.lang.IllegalArgumentException: Event dispatcher may not be null
	at org.apache.http.util.Args.notNull(Args.java:48)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:307)
	at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager$1.run(PassThroughListeningIOReactorManager.java:506)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-05 15:25:59,130]  INFO - PassThroughHttpSSLListener Starting Pass-through HTTPS Listener...
[2015-08-05 15:25:59,130]  INFO - PassThroughListeningIOReactorManager HTTP-Listener I/O dispatcher Listener shutdown.
[2015-08-05 15:25:59,131] ERROR - PassThroughListeningIOReactorManager Cannot Start PassThroughListeningEndpoint for port 8243
java.lang.IllegalStateException: I/O reactor has been shut down
	at org.apache.http.util.Asserts.check(Asserts.java:34)
	at org.apache.http.impl.nio.reactor.DefaultListeningIOReactor.listen(DefaultListeningIOReactor.java:215)
	at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager.startEndpoint(PassThroughListeningIOReactorManager.java:611)
	at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager.startPTTEndpoint(PassThroughListeningIOReactorManager.java:135)
	at org.apache.synapse.transport.passthru.PassThroughHttpListener.startEndpoints(PassThroughHttpListener.java:286)
	at org.apache.synapse.transport.passthru.PassThroughHttpListener.start(PassThroughHttpListener.java:256)
	at org.wso2.carbon.core.ServerManagement.endMaintenance(ServerManagement.java:263)
	at org.wso2.carbon.server.admin.service.ServerAdmin.endMaintenance(ServerAdmin.java:311)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
	at sun.reflect.GeneratedMethodAccessor39.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112)
	at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46)
	at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1466)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1307)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1406)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:828)
	at sun.reflect.GeneratedMethodAccessor47.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$241(TCPTransport.java:683)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$8/1036032949.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-05 15:25:59,131] FATAL - PassThroughListeningIOReactorManager Exception encountered in the HTTPS-Listener I/O dispatcher Listener. No more connections will be accepted by this transport
java.lang.IllegalArgumentException: Event dispatcher may not be null
	at org.apache.http.util.Args.notNull(Args.java:48)
	at org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor.execute(AbstractMultiworkerIOReactor.java:307)
	at org.apache.synapse.transport.passthru.core.PassThroughListeningIOReactorManager$1.run(PassThroughListeningIOReactorManager.java:506)
	at java.lang.Thread.run(Thread.java:745)
[2015-08-05 15:25:59,136]  INFO - PassThroughListeningIOReactorManager HTTPS-Listener I/O dispatcher Listener shutdown.
[2015-08-05 15:25:59,133]  INFO - ServerManagement Switched to normal mode
Comment by Ravindra Ranwala [ 27/Aug/15 ]

Use the following steps to reproduce the issue. Start the ESB, connect to the server using JConsole. Then from the JMX console start the server in maintenance mode and then end the maintenance mode. This is where you gee the "java.lang.IllegalStateException: I/O reactor has been shut down"

Comment by Ravindra Ranwala [ 28/Aug/15 ]

Pull request [1] was sent for review and merge. Please resolve the issue after merging the pull request [1].

[1] https://github.com/wso2/wso2-synapse/pull/331

Comment by Ravindra Ranwala [ 28/Aug/15 ]

Use the above synapse config with the curl command [1] to reproduce and verify the issue.

[1] curl -v -d @getQuote.xml -H "Content-Type: text/xml; charset=utf-8" -H "SOAPAction:urn:getQuote" http://localhost:8280/services/MaintenanceProxy

Comment by Ravindra Ranwala [ 28/Aug/15 ]

A Doc JIRA is created [1] to document the new behaviour.

[1] https://wso2.org/jira/browse/DOCUMENTATION-2267

Comment by Ravindra Ranwala [ 31/Aug/15 ]

The pull request [1] was merged into the public branch, hence resolving the issue.

[1] https://github.com/wso2/wso2-synapse/pull/331





[ESBJAVA-3495] Chunking is not disabled for response with HTTP 204 in Nhttp and PTT Transport Created: 19/Jan/15  Updated: 31/Aug/15  Resolved: 31/Aug/15

Status: Resolved
Project: WSO2 ESB
Component/s: None
Affects Version/s: 4.9.0 - M4
Fix Version/s: 4.9.0

Type: Bug Priority: Normal
Reporter: isuru ranawaka Assignee: isuru ranawaka
Resolution: Fixed 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

 Comments   
Comment by isuru ranawaka [ 19/Jan/15 ]

https://github.com/wso2-dev/wso2-synapse/pull/192

Comment by isuru ranawaka [ 12/Feb/15 ]

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

Comment by viraj senevirathne [ 31/Aug/15 ]

Fix is already in the git repo https://github.com/wso2-dev/wso2-synapse/





Generated at Sat Sep 05 13:13:32 IST 2015 using JIRA 6.0.1#6096-sha1:e4a48bd73c6b8a4d99c824976ce5808b4c85857d.