Noticed this exception on Ubuntu as well. Regards, Evanthika
On Sat, Aug 24, 2013 at 10:01 AM, Madhuka Udantha <[email protected]> wrote: > Hi, Kasun > > I will check this. > > > On Sat, Aug 24, 2013 at 12:07 AM, Kasun Gajasinghe <[email protected]>wrote: > >> Hi Ruchira/Madhuka, >> >> Any idea why does MSTaskAdmin tries to delete the admin/RESTSample during >> a server restart? This fails with a NPE while trying to undeploy the given >> service. >> >> >> [1] https://wso2.org/jira/browse/WSAS-1550 >> >> >> NPE was observed when starting the worker first time in windows >> environment (error-1) and after restarting the server error-2 popups >> because of error-1 >> >> =============================== >> error -1 >> [2013-08-21 12:14:25,141] ERROR >> {org.wso2.carbon.mashup.javascript.hostobjects.system.MSTaskAdmin} - >> java.lang.NullPointerException >> at >> org.wso2.carbon.mashup.javascript.hostobjects.system.MSTaskAdmin.deleteTask(MSTaskAdmin.java:110) >> at >> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.undeploy(JSDeployer.java:271) >> at >> org.apache.axis2.deployment.DeploymentEngine.unDeploy(DeploymentEngine.java:909) >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:143) >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> at >> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) >> at >> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65) >> at >> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >> at >> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) >> at >> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> at java.lang.Thread.run(Thread.java:662) >> [2013-08-21 12:14:25,148] ERROR >> {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} - Unable to delete >> job : null >> org.apache.axis2.AxisFault: Error deleting task: admin/RESTSample >> at >> org.wso2.carbon.mashup.javascript.hostobjects.system.MSTaskAdmin.deleteTask(MSTaskAdmin.java:118) >> at >> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.undeploy(JSDeployer.java:271) >> at >> org.apache.axis2.deployment.DeploymentEngine.unDeploy(DeploymentEngine.java:909) >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:143) >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> at >> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) >> at >> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65) >> at >> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >> at >> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) >> at >> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> at java.lang.Thread.run(Thread.java:662) >> Caused by: java.lang.NullPointerException >> at >> org.wso2.carbon.mashup.javascript.hostobjects.system.MSTaskAdmin.deleteTask(MSTaskAdmin.java:110) >> ... 19 more >> >> error 2 >> [2013-08-21 12:23:54,327] ERROR >> {org.wso2.carbon.mashup.jsservices.deployer.JSDeployer} - The service >> RESTSample.js is not valid. >> org.apache.axis2.AxisFault: Two services cannot have same name. A service >> with the admin/RESTSample >> [file:/D:/NEW_PA~1/21_08/WINWOR~1/WSO2AS~1.0/bin/../repository/deployment/server/jsservices/admin/RESTSample.js] >> name already exists in the system. >> at >> org.apache.axis2.engine.AxisConfiguration.addToAllServicesMap(AxisConfiguration.java:495) >> at >> org.apache.axis2.description.AxisServiceGroup.addService(AxisServiceGroup.java:110) >> at >> org.apache.axis2.deployment.DeploymentEngine.fillServiceGroup(DeploymentEngine.java:749) >> at >> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:605) >> at >> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:167) >> at >> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) >> at >> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:810) >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377) >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> at >> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59) >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67) >> at >> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:65) >> at >> org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:110) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) >> at >> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) >> at >> java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180) >> at >> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >> at java.lang.Thread.run(Thread.java:662) >> [2013-08-21 12:23:54,337] INFO >> {org.apache.axis2.deployment.DeploymentEngine} - >> org.apache.axis2.deployment.DeploymentException: Two services cannot have >> same name. A service with the admin/RESTSample >> [file:/D:/NEW_PA~1/21_08/WINWOR~1/WSO2AS~1.0/bin/../repository/deployment/server/jsservices/admin/RESTSample.js] >> name already exists in the system. >> >> >> >> -- >> *Kasun Gajasinghe* >> Software Engineer; >> Development Technologies Team, WSO2 Inc.; http://wso2.com >> >> >> , >> *email: **kasung AT spamfree wso2.com >> >> >> ** cell: **+94 (77) 678-0813* >> *linked-in: *http://lk.linkedin.com/in/gajasinghe >> >> >> * >> * >> *blog: **http://kasunbg.org* <http://kasunbg.org> >> >> >> * >> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg> >> >> >> * >> * >> > > > > -- > *Madhuka* Udantha > Senior Software Engineer > Development Technologies > WSO2 Inc. : http://wso2.com > > *Mobile*: +94774066336 > *Blog*: http://madhukaudantha.blogspot.com/ > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
