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(Unknown > 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.makeNewConnection(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(ConnectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(ConnectionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<init>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(MsgBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxServiceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java: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(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > 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.java: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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > ... 46 more > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/airavata-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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown > 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(Unknown > 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/airavata-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(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown > Source) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(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/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/bin/wsmg > cannot be created. > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown > 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(Unknown > 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.makeNewConnection(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(ConnectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(ConnectionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<init>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(MsgBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxServiceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java: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(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > 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.java: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/airavata-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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > ... 48 more > Caused by: ERROR XBM0H: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/airavata-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(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown > Source) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(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/airavata-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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > at > org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown > 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(Unknown > 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.makeNewConnection(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(ConnectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(ConnectionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<init>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(MsgBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxServiceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java: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(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > 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.java: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/airavata-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(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown > Source) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(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/airavata-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(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown > Source) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(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.makeNewConnection(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(ConnectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(ConnectionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.java:46) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<init>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(MsgBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxServiceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:518) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:205) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:143) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java: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(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > 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.java: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.processServiceGroup(ArchiveReader.java:150) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java: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(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > 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.java: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(ServiceGroupBuilder.java:106) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(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(ServiceBuilder.java:431) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) > ... 24 more > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:521) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:205) > ... 25 more > Caused by: java.lang.RuntimeException: Failed to create database connection > pool. > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.java:52) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<init>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(MsgBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxServiceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.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(Unknown > 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.makeNewConnection(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(ConnectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(ConnectionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > ... 46 more > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/airavata-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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown > 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(Unknown > 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/airavata-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(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown > Source) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(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.processServiceGroup(ArchiveReader.java:150) > at > org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java: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(WSInfoList.java:144) > at > org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:337) > at > org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:241) > at > org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:131) > at > org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:270) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95) > at > org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:525) > at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:443) > at > org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1228) > at > org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1147) > at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1043) > at > org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4957) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5284) > at > org.apache.catalina.core.StandardContext$3.call(StandardContext.java:5279) > 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.java: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(ServiceGroupBuilder.java:106) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:109) > at > org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(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(ServiceBuilder.java:431) > at > org.apache.axis2.deployment.ServiceGroupBuilder.populateServiceGroup(ServiceGroupBuilder.java:101) > ... 24 more > Caused by: org.apache.axis2.deployment.DeploymentException: Failed to > create database connection pool. > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.java:521) > at > org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:205) > ... 25 more > Caused by: java.lang.RuntimeException: Failed to create database connection > pool. > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.java:52) > at > org.apache.airavata.wsmg.msgbox.Storage.dbpool.DatabaseStorageImpl.<init>(DatabaseStorageImpl.java:53) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.initDatabase(MsgBoxServiceLifeCycle.java:144) > at > org.apache.airavata.wsmg.msgbox.MsgBoxServiceLifeCycle.startUp(MsgBoxServiceLifeCycle.java:97) > at > org.apache.axis2.deployment.ServiceBuilder.loadServiceLifeCycleClass(ServiceBuilder.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(Unknown > 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.makeNewConnection(ConnectionPool.java:190) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.initialize(ConnectionPool.java:127) > at > org.apache.airavata.wsmg.commons.storage.ConnectionPool.<init>(ConnectionPool.java:90) > at > org.apache.airavata.wsmg.commons.storage.JdbcStorage.<init>(JdbcStorage.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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > ... 46 more > Caused by: java.sql.SQLException: Directory > /home/tintin/Documents/GSOC_2013/airavata/trunk/modules/distribution/airavata-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.wrapArgsForTransportAcrossDRDA(Unknown > Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown > 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(Unknown > 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/airavata-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(Unknown > Source) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.derby.impl.services.monitor.StorageFactoryService.createServiceRoot(Unknown > Source) > at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown > Source) > at > org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(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/distribution/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/repository/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/distribution/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/repository/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/distribution/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/repository/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/distribution/airavata-server/target/apache-airavata-server-0.8-SNAPSHOT/repository/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.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.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.consolePropertyMessageWork(Unknown > Source) > at > org.apache.derby.impl.drda.NetworkServerControlImpl.consolePropertyMessage(Unknown > Source) > at > org.apache.derby.impl.drda.NetworkServerControlImpl.blockingStart(Unknown > Source) > ... 6 more > DriverClassName=org.apache.derby.jdbc.ClientDriver,Url=jdbc:derby://localhost:1527/persistent_data;create=true;user=airavata;password=airavata,Username=airavata,Password=airavata,validationQuery=SELECT > 1 from > Configuration,MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,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
