Here are the exact steps to reproduce : 1. Assume the following directory structure
/Users/prabath /usr/svn 2. Create symlink from /Users/prabath/svn -> /usr/svn 3. Now my ESB distribution is at /Users/prabath/svn/wso2/carbon-new/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT 4. Run the ESB from /Users/prabath/svn/wso2/carbon-new/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT 5. Add a proxy service - will get deleted in seconds. Cause : When adding to the deploymentStore it is added as with the key : /usr/svn/wso2/carbon-new/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/synapse-configs/default/proxy-services/dont_delete_me.xml During updates check is done with the key : /Users/prabath/svn/wso2/carbon-new/products/esb/modules/distribution/product/target/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/synapse-configs/default/proxy-services/dont_delete_me.xml Thanks & regards, -Prabath On Tue, Apr 26, 2011 at 7:28 PM, Jorge Infante Osorio <[email protected]> wrote: > > De: [email protected] [mailto:[email protected]] En > nombre de Hiranya Jayathilaka > Enviado el: lunes, 25 de abril de 2011 13:55 > Para: [email protected] > Asunto: Re: [Carbon-dev] Proxy services get deleted after some time - in the > latest ESB from the trunk > > > On Mon, Apr 25, 2011 at 10:18 PM, Prabath Siriwardena <[email protected]> > wrote: > On Mon, Apr 25, 2011 at 4:46 PM, Hiranya Jayathilaka <[email protected]> > wrote: >> >> >> On Mon, Apr 25, 2011 at 4:44 PM, Prabath Siriwardena <[email protected]> >> wrote: >>> >>> Please find the logs attached... >> >> Thanks Prabath. I'll have a look. > Thanks a lot Hiranya for looking into this.. Even with the latest > build I am getting the same error - [svn up 2 hours ago] - I will try > to debug and see... > > Looks like there are some issues in the latest build (also evident from your > other mail regarding the Qpid error). I'm still building the trunk. Will see > how it goes for me. > > I had the same intermittent issue in ESB 3.0.1. > > Thanks, > Jorge. > > Thanks, > Hiranya > > > Thanks & regards, > -Prabath > >> Thanks, >> Hiranya >> >>> >>> Thanks & regards, >>> -Prabath >>> >>> On Mon, Apr 25, 2011 at 1:59 PM, Ishani Ratnayake <[email protected]> > wrote: >>> > Hi, >>> > >>> > This issue have been reported [1] as an intermittent issue as it did > not >>> > occur constantly. However, this can be constantly reproduced in >>> > Prabath's >>> > machine. >>> > >>> > [1] https://wso2.org/jira/browse/CARBON-9143 >>> > >>> > Thanks, >>> > Ishani >>> > >>> > On Mon, Apr 25, 2011 at 1:26 PM, Prabath Siriwardena <[email protected]> >>> > wrote: >>> >> >>> >> More logs - just after creating a proxy called test. >>> >> >>> >> [2011-04-25 13:25:14,516] INFO >>> >> {org.wso2.carbon.proxyadmin.observer.ProxyObserver} - Deleted the >>> >> proxy service : test >>> >> [2011-04-25 13:25:14,519] ERROR >>> >> {org.apache.synapse.core.axis2.ProxyService} - Error adding Proxy >>> >> service to the Axis2 engine >>> >> org.apache.axis2.AxisFault: Two services cannot have same name. A >>> >> service with the test [null] name already exists in the system. >>> >> at >>> >> >>> >> > org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfigurat > ion.java:492) >>> >> at >>> >> >>> >> > org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.ja > va:110) >>> >> at >>> >> >>> >> > org.apache.axis2.engine.AxisConfiguration.addService(AxisConfiguration.java: > 331) >>> >> at >>> >> >>> >> > org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.jav > a:565) >>> >> at >>> >> >>> >> > org.apache.synapse.deployers.ProxyServiceDeployer.deploySynapseArtifact(Prox > yServiceDeployer.java:84) >>> >> at >>> >> >>> >> > org.wso2.carbon.proxyadmin.ProxyServiceDeployer.deploySynapseArtifact(ProxyS > erviceDeployer.java:43) >>> >> at >>> >> >>> >> > org.apache.synapse.deployers.AbstractSynapseArtifactDeployer.deploy(Abstract > SynapseArtifactDeployer.java:156) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(Deploy > mentFileData.java:136) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java: > 813) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.jav > a:144) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.jav > a:370) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListe > ner.java:254) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListe > ner.java:364) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(Schedule > rTask.java:73) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:9 > 4) >>> >> at >>> >> >>> >> > org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Sched > uler.java:93) >>> >> at java.util.TimerThread.mainLoop(Timer.java:512) >>> >> at java.util.TimerThread.run(Timer.java:462) >>> >> [2011-04-25 13:25:14,522] WARN >>> >> {org.apache.synapse.deployers.ProxyServiceDeployer} - Proxy Service : >>> >> >>> >> >>> >> > /Users/prabath/svn/wso2/carbon-new/products/esb/modules/distribution/product > /target/wso2esb-4.0.0-SNAPSHOT/repository/deployment/server/synapse-configs/ > default/proxy-services/test.xml >>> >> : Hot Deployment FailedError adding Proxy service to the Axis2 engine >>> >> [2011-04-25 13:25:14,522] WARN >>> >> {org.apache.synapse.deployers.ProxyServiceDeployer} - Proxy Service : >>> >> Fail-Safe mode. >>> >> [2011-04-25 13:25:14,526] WARN >>> >> {org.apache.qpid.transport.SessionDelegate} - CLOSED: >>> >> [ssn:"1e6e4d07-861c-41ea-9f09-3f0d63cd8b23"] >>> >> [2011-04-25 13:25:14,532] WARN >>> >> {org.apache.qpid.transport.SessionDelegate} - CLOSED: >>> >> [ssn:"fb6e6247-2769-4deb-aafc-97852538a18c"] >>> >> [2011-04-25 13:25:18,313] WARN >>> >> {org.apache.qpid.transport.ClientDelegate} - Ignoring the idle >>> >> timeout 120 set by the connection, using the brokers max value 0 >>> >> [2011-04-25 13:25:18,313] WARN >>> >> {org.apache.qpid.transport.ClientDelegate} - Ignoring the idle >>> >> timeout 120 set by the connection, using the brokers max value 0 >>> >> [2011-04-25 13:25:18,313] WARN >>> >> {org.apache.qpid.transport.ClientDelegate} - Ignoring the idle >>> >> timeout 120 set by the connection, using the brokers max value 0 >>> >> [2011-04-25 13:25:18,316] ERROR >>> >> >>> >> >>> >> > {org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManag > er} >>> >> - Error while saving mediation configuration changes >>> >> java.lang.NullPointerException >>> >> at >>> >> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:768) >>> >> at >>> >> >>> >> > org.apache.synapse.config.SynapseConfiguration.getProxyService(SynapseConfig > uration.java:904) >>> >> at >>> >> >>> >> > org.wso2.carbon.mediation.initializer.persistence.ProxyServiceStore.getObjec > tToPersist(ProxyServiceStore.java:72) >>> >> at >>> >> >>> >> > org.wso2.carbon.mediation.initializer.persistence.ProxyServiceStore.getObjec > tToPersist(ProxyServiceStore.java:32) >>> >> at >>> >> >>> >> > org.wso2.carbon.mediation.initializer.persistence.AbstractStore.saveItemToRe > gistry(AbstractStore.java:159) >>> >> at >>> >> >>> >> > org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManage > r.persistElementToRegistry(MediationPersistenceManager.java:453) >>> >> at >>> >> >>> >> > org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManage > r.access$1000(MediationPersistenceManager.java:52) >>> >> at >>> >> >>> >> > org.wso2.carbon.mediation.initializer.persistence.MediationPersistenceManage > r$MediationPersistenceWorker.run(MediationPersistenceManager.java:400) >>> >> >>> >> >>> >> On Mon, Apr 25, 2011 at 1:21 PM, Prabath Siriwardena > <[email protected]> >>> >> wrote: >>> >> > 1. Created a proxy called sample_proxy as a pass-through >>> >> > 2. It was there in the list >>> >> > 3. Edited and added more configuration to in-sequence - tried to > save >>> >> > 4. Get the following message - and couldn't find the proxy service > in >>> >> > the list now. >>> >> > >>> >> > [2011-04-25 13:17:31,633] ERROR >>> >> > {org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin} - A proxy >>> >> > service named sample_proxy does not exist >>> >> > org.wso2.carbon.proxyadmin.ProxyAdminException: A proxy service > named >>> >> > sample_proxy does not exist >>> >> > at >>> >> > >>> >> > > org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.handleException(ProxySe > rviceAdmin.java:927) >>> >> > at >>> >> > >>> >> > > org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxyService(Prox > yServiceAdmin.java:294) >>> >> > at >>> >> > >>> >> > > org.wso2.carbon.proxyadmin.service.ProxyServiceAdmin.modifyProxy(ProxyServic > eAdmin.java:656) >>> >> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > Method) >>> >> > at >>> >> > >>> >> > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39 > ) >>> >> > at >>> >> > >>> >> > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl > .java:25) >>> >> > at java.lang.reflect.Method.invoke(Method.java:597) >>> >> > at >>> >> > >>> >> > > org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212) >>> >> > at >>> >> > >>> >> > > org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMes > sageReceiver.java:117) >>> >> > at >>> >> > >>> >> > > org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic( > AbstractInOutMessageReceiver.java:40) >>> >> > at >>> >> > >>> >> > > org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageRe > ceiver.java:110) >>> >> > at >>> >> > org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:181) >>> >> > at >>> >> > >>> >> > > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT > TPTransportUtils.java:172) >>> >> > at >>> >> > >>> >> > > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:146) >>> >> > at >>> >> > >>> >> > > org.wso2.carbon.core.transports.CarbonServlet.doPost(CarbonServlet.java:206) >>> >> > at >>> >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:641) >>> >> > at >>> >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>> >> > at >>> >> > >>> >> > > org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest( > ServletRegistration.java:90) >>> >> > at >>> >> > >>> >> > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxySer > vlet.java:111) >>> >> > at >>> >> > >>> >> > > org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet. > java:67) >>> >> > at >>> >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>> >> > at >>> >> > org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:155) >>> >> > at >>> >> > javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application > FilterChain.java:304) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh > ain.java:210) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja > va:240) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja > va:164) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase > .java:498) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164 > ) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100 > ) >>> >> > at >>> >> > org.wso2.carbon.server.TomcatServer$1.invoke(TomcatServer.java:242) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java > :118) >>> >> > at >>> >> > >>> >> > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:394) >>> >> > at >>> >> > >>> >> > > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java: > 391) >>> >> > at >>> >> > >>> >> > > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(H > ttp11NioProtocol.java:357) >>> >> > at >>> >> > >>> >> > > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java: > 1531) >>> >> > at >>> >> > >>> >> > > java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja > va:886) >>> >> > at >>> >> > >>> >> > > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9 > 08) >>> >> > at java.lang.Thread.run(Thread.java:680) >>> >> > >>> >> > >>> >> > -- >>> >> > Thanks & Regards, >>> >> > Prabath >>> >> > >>> >> > http://blog.facilelogin.com >>> >> > http://RampartFAQ.com >>> >> > >>> >> >>> >> >>> >> >>> >> -- >>> >> Thanks & Regards, >>> >> Prabath >>> >> >>> >> http://blog.facilelogin.com >>> >> http://RampartFAQ.com >>> >> _______________________________________________ >>> >> Carbon-dev mailing list >>> >> [email protected] >>> >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> > >>> > >>> > >>> > -- >>> > Ishani >>> > Mobile : 0727136198 >>> > >>> > >>> > _______________________________________________ >>> > Carbon-dev mailing list >>> > [email protected] >>> > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> > >>> > >>> >>> >>> >>> -- >>> Thanks & Regards, >>> Prabath >>> >>> http://blog.facilelogin.com >>> http://RampartFAQ.com >>> >>> _______________________________________________ >>> Carbon-dev mailing list >>> [email protected] >>> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >>> >> >> >> >> -- >> Hiranya Jayathilaka >> Senior Software Engineer; >> WSO2 Inc.; http://wso2.org >> E-mail: [email protected]; Mobile: +94 77 633 3491 >> Blog: http://techfeast-hiranya.blogspot.com >> >> _______________________________________________ >> Carbon-dev mailing list >> [email protected] >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > > -- > Thanks & Regards, > Prabath > > http://blog.facilelogin.com > http://RampartFAQ.com > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > -- > Hiranya Jayathilaka > Senior Software Engineer; > WSO2 Inc.; http://wso2.org > E-mail: [email protected]; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- Thanks & Regards, Prabath http://blog.facilelogin.com http://RampartFAQ.com _______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
