Hi Sanchit, When the server starts, Apache Derby DB starts on port 1527. And from the errors, it looks like port 1527 is already in use by some other process. This command "lsof -i :1527" would give you a list of processes using the port and you can try to kill them and restart the server.
Regards, Viknes -----Original Message----- From: Suresh Marru [mailto:[email protected]] Sent: Friday, June 28, 2013 1:31 PM To: [email protected] Subject: Re: Airavata-Server Launch Failure Hi Sanchit, Did you notice lot of wsmg directory cannot be created errors, did you check the permissions. Suresh On Jun 28, 2013, at 1:21 PM, Sanchit Aggarwal <[email protected]> wrote: > Hi > > I am not able to launch the airavata server form the binaries. Its > giving an error Could not listen on port 1527 on host 0.0.0.0. > I h ave checked the Port, and no process is running on this port. > > Please find below the logs: > java.sql.SQLException: Failed to create database 'wsmg', see the next > exception for details. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown > Source) at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown > Source) at > org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source) > at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown > Source) at org.apache.derby.jdbc.InternalDriver.connect(Unknown > Source) at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown > Source) at > java.sql.DriverManager.getConnection(DriverManager.java:620) > at java.sql.DriverManager.getConnection(DriverManager.java:222) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.makeNewConnect > ion(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(Con > nectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(Connect > ionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<in > it>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(Ms > gBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxS > erviceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:659) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEn > gine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarB > asedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati > onContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServ > let.java:525) at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.j > ava:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j > ava:1147) at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:104 > 3) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext > .java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 279) at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) at java.lang.Thread.run(Thread.java:679) > Caused by: java.sql.SQLException: Failed to create database 'wsmg', > see the next exception for details. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > ... 46 more > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown > Source) at > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException( > Unknown > Source) > at > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unk > nown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown > Source) > ... 43 more > Caused by: ERROR XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) > at > org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unk > nown > Source) > at java.security.AccessController.doPrivileged(Native Method) at > org.apache.derby.impl.services.monitor.StorageFactoryService.createSer > viceRoot(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSer > vice(Unknown > Source) > at > org.apache.derby.iapi.services.monitor.Monitor.createPersistentService > (Unknown > Source) > ... 43 more > ============= begin nested exception, level (1) =========== > java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown > Source) at > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException( > Unknown > Source) > at > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unk > nown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown > Source) at > org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) > at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) at > org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) at > java.sql.DriverManager.getConnection(DriverManager.java:620) > at java.sql.DriverManager.getConnection(DriverManager.java:222) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.makeNewConnect > ion(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(Con > nectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(Connect > ionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<in > it>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(Ms > gBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxS > erviceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:659) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEn > gine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarB > asedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati > onContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServ > let.java:525) at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.j > ava:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j > ava:1147) at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:104 > 3) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext > .java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 279) at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) at java.lang.Thread.run(Thread.java:679) > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > ... 48 more > Caused by: ERROR XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) > at > org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unk > nown > Source) > at java.security.AccessController.doPrivileged(Native Method) at > org.apache.derby.impl.services.monitor.StorageFactoryService.createSer > viceRoot(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSer > vice(Unknown > Source) > at > org.apache.derby.iapi.services.monitor.Monitor.createPersistentService > (Unknown > Source) > ... 43 more > ============= end nested exception, level (1) =========== > ============= begin nested exception, level (2) =========== > java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown > Source) at > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException( > Unknown > Source) > at > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unk > nown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown > Source) at > org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) > at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) at > org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) at > java.sql.DriverManager.getConnection(DriverManager.java:620) > at java.sql.DriverManager.getConnection(DriverManager.java:222) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.makeNewConnect > ion(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(Con > nectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(Connect > ionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<in > it>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(Ms > gBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxS > erviceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:659) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEn > gine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarB > asedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati > onContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServ > let.java:525) at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.j > ava:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j > ava:1147) at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:104 > 3) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext > .java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 279) at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) at java.lang.Thread.run(Thread.java:679) > Caused by: ERROR XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) > at > org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unk > nown > Source) > at java.security.AccessController.doPrivileged(Native Method) at > org.apache.derby.impl.services.monitor.StorageFactoryService.createSer > viceRoot(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSer > vice(Unknown > Source) > at > org.apache.derby.iapi.services.monitor.Monitor.createPersistentService > (Unknown > Source) > ... 43 more > ============= end nested exception, level (2) =========== > ============= begin nested exception, level (3) =========== ERROR > XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) > at > org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unk > nown > Source) > at java.security.AccessController.doPrivileged(Native Method) at > org.apache.derby.impl.services.monitor.StorageFactoryService.createSer > viceRoot(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSer > vice(Unknown > Source) > at > org.apache.derby.iapi.services.monitor.Monitor.createPersistentService > (Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown > Source) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown > Source) at > org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source) > at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source) at > org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source) at > java.sql.DriverManager.getConnection(DriverManager.java:620) > at java.sql.DriverManager.getConnection(DriverManager.java:222) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.makeNewConnect > ion(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(Con > nectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(Connect > ionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<in > it>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(Ms > gBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxS > erviceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:659) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEn > gine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarB > asedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati > onContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServ > let.java:525) at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.j > ava:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j > ava:1147) at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:104 > 3) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext > .java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 279) at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) at java.lang.Thread.run(Thread.java:679) > ============= end nested exception, level (3) =========== Cleanup > action completed > org.apache.axis2.deployment.DeploymentException: Failed to create > database connection pool. > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:150) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:659) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEn > gine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarB > asedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati > onContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServ > let.java:525) at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.j > ava:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j > ava:1147) at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:104 > 3) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext > .java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 279) at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) at java.lang.Thread.run(Thread.java:679) > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:106) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:143) > ... 22 more > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:431) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > ... 24 more > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:521) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > ... 25 more > Caused by: java.lang.RuntimeException: Failed to create database > connection pool. > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:52) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<in > it>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(Ms > gBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxS > erviceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > ... 26 more > Caused by: java.sql.SQLException: Failed to create database 'wsmg', > see the next exception for details. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown > Source) at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown > Source) at > org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source) > at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown > Source) at org.apache.derby.jdbc.InternalDriver.connect(Unknown > Source) at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown > Source) at > java.sql.DriverManager.getConnection(DriverManager.java:620) > at java.sql.DriverManager.getConnection(DriverManager.java:222) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.makeNewConnect > ion(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(Con > nectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(Connect > ionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:46) > ... 30 more > Caused by: java.sql.SQLException: Failed to create database 'wsmg', > see the next exception for details. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > ... 46 more > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown > Source) at > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException( > Unknown > Source) > at > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unk > nown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown > Source) > ... 43 more > Caused by: ERROR XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) > at > org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unk > nown > Source) > at java.security.AccessController.doPrivileged(Native Method) at > org.apache.derby.impl.services.monitor.StorageFactoryService.createSer > viceRoot(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSer > vice(Unknown > Source) > at > org.apache.derby.iapi.services.monitor.Monitor.createPersistentService > (Unknown > Source) > ... 43 more > [ERROR] The airavata-message-box-0.8-SNAPSHOT.jar service, which is > not valid, caused Failed to create database connection pool. > org.apache.axis2.deployment.DeploymentException: Failed to create > database connection pool. > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:150) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.jav > a:81) > at > org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy( > DeploymentFileData.java:136) > at > org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine > .java:659) > at > org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoLi > st.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListen > er.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(Repositor > yListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEn > gine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarB > asedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurati > onContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServ > let.java:525) at > org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.j > ava:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.j > ava:1147) at > org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:104 > 3) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext > .java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5 > 279) at > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > at java.util.concurrent.FutureTask.run(FutureTask.java:166) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.j > ava:1146) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor. > java:615) at java.lang.Thread.run(Thread.java:679) > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:106) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildService > Group(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServi > ceGroup(ArchiveReader.java:143) > ... 22 more > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:431) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(S > erviceGroupBuilder.java:101) > ... 24 more > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:521) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuil > der.java:205) > ... 25 more > Caused by: java.lang.RuntimeException: Failed to create database > connection pool. > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:52) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<in > it>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(Ms > gBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxS > erviceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(S > erviceBuilder.java:518) > ... 26 more > Caused by: java.sql.SQLException: Failed to create database 'wsmg', > see the next exception for details. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown > Source) at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown > Source) at > org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(Unknown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(Unknown Source) > at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown > Source) at org.apache.derby.jdbc.InternalDriver.connect(Unknown > Source) at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown > Source) at > java.sql.DriverManager.getConnection(DriverManager.java:620) > at java.sql.DriverManager.getConnection(DriverManager.java:222) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.makeNewConnect > ion(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(Con > nectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(Connect > ionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorag > e.java:46) > ... 30 more > Caused by: java.sql.SQLException: Failed to create database 'wsmg', > see the next exception for details. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > ... 46 more > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportA > crossDRDA(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkno > wn > Source) > at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown > Source) at > org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException( > Unknown > Source) > at > org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unk > nown > Source) > at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown > Source) > ... 43 more > Caused by: ERROR XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/a > iravata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at org.apache.derby.iapi.error.StandardException.newException(Unknown > Source) > at > org.apache.derby.impl.services.monitor.StorageFactoryService$9.run(Unk > nown > Source) > at java.security.AccessController.doPrivileged(Native Method) at > org.apache.derby.impl.services.monitor.StorageFactoryService.createSer > viceRoot(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentSer > vice(Unknown > Source) > at > org.apache.derby.iapi.services.monitor.Monitor.createPersistentService > (Unknown > Source) > ... 43 more > [INFO] org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > [INFO] Deploying Web service: airavata-xbaya-gui-0.8-SNAPSHOT.jar - > file:/home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribut > ion/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/reposit > ory/services/airavata-xbaya-gui-0.8-SNAPSHOT.jar > [INFO] Deploying Web service: > airavata-complex-math-service-0.8-SNAPSHOT.aar - > file:/home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribut > ion/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/reposit > ory/services/airavata-complex-math-service-0.8-SNAPSHOT.aar > [INFO] Deploying Web service: > airavata-levenshtein-distance-service-0.8-SNAPSHOT.aar - > file:/home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribut > ion/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/reposit > ory/services/airavata-levenshtein-distance-service-0.8-SNAPSHOT.aar > [INFO] Deploying Web service: version-1.5.1.aar - > file:/home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribut > ion/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/reposit > ory/services/version-1.5.1.aar Fri Jun 28 22:43:15 IST 2013 : Could > not listen on port 1527 on host 0.0.0.0 > : > java.net.BindException: Address already in use Fri Jun 28 22:43:15 IST > 2013 : Could not listen on port 1527 on host 0.0.0.0 > : > java.net.BindException: Address already in use An exception was thrown > during network server startup. > DRDA_ListenPort.S:Could not listen on port 1527 on host 0.0.0.0: > java.net.BindException: Address already in use > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j > ava:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess > orImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) > at org.apache.derby.iapi.jdbc.DRDAServerStarter.run(Unknown Source) at > java.lang.Thread.run(Thread.java:679) > Caused by: java.lang.Exception: DRDA_ListenPort.S:Could not listen on > port > 1527 on host 0.0.0.0: > java.net.BindException: Address already in use at > org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMes > sageWork(Unknown > Source) > at > org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMes > sage(Unknown > Source) > at > org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(Unkn > own > Source) > ... 6 more > DriverClassName=org.apache.derby.jdbc.ClientDriver,Url=jdbc:derby://lo > calhost:1527/persistent_data;create=true;user=airavata;password=airava > ta,Username=airavata,Password=airavata,validationQuery=SELECT > 1 from > Configuration,MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=t rue,testOnBorrow=true > 102 airavata_data INFO [Thread-6] openjpa.Runtime - Starting OpenJPA > 2.2.0 > > > > Regards > Sanchit Aggarwal > MS Research (Computer Science) > Center for Visual Information Technology IIIT Hyderabad, Gachibowli > Contact - 9581417330
smime.p7s
Description: S/MIME cryptographic signature
