The problem should be, in hierarchical services, you may have to call file.mkdirs() to create the directory structure before you can create the file.
On Thu, Apr 5, 2012 at 12:25 PM, Kishanthan Thangarajah <[email protected] > wrote: > > > On Thu, Apr 5, 2012 at 12:04 PM, Lalaji Sureshika <[email protected]> wrote: > >> Hi, >> >> Regarding MS pack, I'm getting following PersistanceManager related >> exceptions[1] for each samples during the server start up.And for each >> mashup saving/uploading I'm getting same exceptions.However this exception >> is different from the exception we got from the last time bamboo build MS >> pack. >> >> >> [1] [2012-04-05 11:57:21,781] ERROR - Exception in persisting the >> transaction admin/sudoku >> java.io.IOException: No such file or directory >> at java.io.UnixFileSystem.createFileExclusively(Native Method) >> at java.io.File.createNewFile(File.java:883) >> at >> org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager.commitTransaction(AbstractFilePersistenceManager.java:63) >> at >> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:295) >> at >> org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283) >> at >> org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:653) >> at >> org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:407) >> at >> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606) >> at >> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:191) >> 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.DeploymentEngine.loadServices(DeploymentEngine.java:139) >> at >> org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461) >> at >> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) >> at >> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >> at >> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:370) >> at >> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:263) >> at >> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) >> at >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) >> at >> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) >> [2012-04-05 11:57:21,782] ERROR - Unable to handle new service addition. >> Service: admin/sudoku >> org.wso2.carbon.core.persistence.PersistenceException: Exception in >> persisting the transaction admin/sudoku >> at >> org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager.handleExceptionWithRollback(AbstractFilePersistenceManager.java:286) >> at >> org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager.commitTransaction(AbstractFilePersistenceManager.java:78) >> at >> org.wso2.carbon.core.persistence.ServicePersistenceManager.handleNewServiceAddition(ServicePersistenceManager.java:295) >> at >> org.wso2.carbon.core.deployment.DeploymentInterceptor.serviceUpdate(DeploymentInterceptor.java:283) >> at >> org.apache.axis2.engine.AxisConfiguration.notifyObservers(AxisConfiguration.java:653) >> at >> org.apache.axis2.engine.AxisConfiguration.addServiceGroup(AxisConfiguration.java:407) >> at >> org.apache.axis2.deployment.DeploymentEngine.addServiceGroup(DeploymentEngine.java:606) >> at >> org.wso2.carbon.mashup.jsservices.deployer.JSDeployer.deploy(JSDeployer.java:191) >> 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.DeploymentEngine.loadServices(DeploymentEngine.java:139) >> at >> org.wso2.carbon.core.CarbonAxisConfigurator.loadServices(CarbonAxisConfigurator.java:461) >> at >> org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) >> at >> org.wso2.carbon.core.CarbonConfigurationContextFactory.createNewConfigurationContext(CarbonConfigurationContextFactory.java:65) >> at >> org.wso2.carbon.core.init.CarbonServerManager.initializeCarbon(CarbonServerManager.java:370) >> at >> org.wso2.carbon.core.init.CarbonServerManager.removePendingItem(CarbonServerManager.java:263) >> at >> org.wso2.carbon.core.init.PreAxis2ConfigItemListener.bundleChanged(PreAxis2ConfigItemListener.java:117) >> at >> org.eclipse.osgi.framework.internal.core.BundleContextImpl.dispatchEvent(BundleContextImpl.java:847) >> 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.io.IOException: No such file or directory >> at java.io.UnixFileSystem.createFileExclusively(Native Method) >> at java.io.File.createNewFile(File.java:883) >> at >> org.wso2.carbon.core.persistence.file.AbstractFilePersistenceManager.commitTransaction(AbstractFilePersistenceManager.java:63) >> ... 21 more >> [2012-04-05 11:57:21,784] ERROR - Exception occurred while handling >> service update event. {super-tenant} >> > > Hi, > From the trace it looks like a hierarchical service addition. This > Persistence related Exception is still there and its now being addressed > [1]. > > Thanks, > Kishanthan. > > [1] https://wso2.org/jira/browse/CARBON-12770 > >> >> >> On Thu, Apr 5, 2012 at 10:09 AM, Manjula Rathnayake <[email protected]>wrote: >> >>> Hi, >>> >>> Regarding Stratos Manager, we get exceptions when trying to login using >>> created tenants. I have attached the error log. >>> >>> Thank you. >>> >>> On Thu, Apr 5, 2012 at 8:46 AM, Dimuthu Leelarathne >>> <[email protected]>wrote: >>> >>>> Hi RMs, >>>> >>>> Please smoke these packs available here. The revision number of the >>>> build is 124767. >>>> >>>> >>>> http://builder4.us1.wso2.org:8888/bamboo/browse/WSO2CARBON-PRODUCTS-JOB1-37/artifact >>>> >>>> We hope to release these packs as Carbon 4.0 Alpha2 within today. >>>> >>>> thanks, >>>> dimuthu >>>> >>>> -- >>>> Dimuthu Leelarathne >>>> Technical Lead >>>> >>>> WSO2, Inc. (http://wso2.com) >>>> email: [email protected] >>>> >>>> Lean . Enterprise . Middleware >>>> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Manjula Rathnayaka >>> Software Engineer >>> WSO2, Inc. >>> Mobile:+94 77 743 1987 >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Lalaji Sureshika >> >> Software Engineer >> WSO2 Inc. >> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Kishanthan Thangarajah* > Software Engineer, > Development Technologies Team, > WSO2, Inc. > lean.enterprise.middleware > > Mobile - +94773426635 > Blog - *http://kishanthan.wordpress.com* > Twitter - *http://twitter.com/kishanthan* > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- *Afkham Azeez* Director of Architecture; WSO2, Inc.; http://wso2.com Member; Apache Software Foundation; http://www.apache.org/ * <http://www.apache.org/>** email: **[email protected]* <[email protected]>* cell: +94 77 3320919 blog: **http://blog.afkham.org* <http://blog.afkham.org>* twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez> * linked-in: **http://lk.linkedin.com/in/afkhamazeez* * * *Lean . Enterprise . Middleware*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
