- 精华
- 活跃值
-
- 积分
- 516
- 违规
-
- 印币
-
- 鲜花值
-
- 在线时间
- 小时
累计签到:99 天 连续签到:66 天
|
发表于 2025-7-10 10:38:58
|
显示全部楼层
//大佬请教个问题,一切安装完毕后启动pilot后提示数据库有问题,请问大佬有没有遇到过- Resources/Databases/Database_WFMgr
- jdbc:derby:WFMgr;create=true
- Connection to database could not be made.
- SQLState:XJ041
- VendorCode:40000
- java.sql.SQLException: Failed to create database 'WFMgr', see the next exception for details.
- at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
- at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(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.jdbc.InternalDriver$1.run(Unknown Source)
- at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
- at org.apache.derby.jdbc.InternalDriver.connect(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:664)
- at java.sql.DriverManager.getConnection(DriverManager.java:208)
- at com.barco.bg.core.server.gen.db.DB_TDB.MakeConnection(DB_TDB.java:1426)
- at com.barco.bg.core.server.gen.db.DB_TDB.access$700(DB_TDB.java:110)
- at com.barco.bg.core.server.gen.db.DB_TDB$TJDBCConnectionPool.CreateResource(DB_TDB.java:2787)
- at com.barco.bg.core.server.gen.db.DB_TResourcePool.CheckOut(DB_TResourcePool.java:313)
- at com.barco.bg.core.server.gen.db.DB_TDB.BorrowConnection(DB_TDB.java:1342)
- at com.barco.bg.core.server.gen.db.DB_TDB.MakeFirstConnection(DB_TDB.java:650)
- at com.barco.bg.core.server.gen.db.DB_TDB.SetupDBSpec(DB_TDB.java:636)
- at com.barco.bg.core.server.gen.db.DB_TFSDB.SetupDBSpec(DB_TFSDB.java:144)
- at com.barco.bg.core.server.gen.db.DB_TDB$TSetup.run(DB_TDB.java:621)
- at java.lang.Thread.run(Thread.java:750)
- Caused by: ERROR XJ041: Failed to create database 'WFMgr', see the next exception for details.
- at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
- at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
- ... 24 more
- Caused by: ERROR XBM0A: The database directory 'C:\Esko\bg_data_fastserver_dbase\WFMgr\WFMgr' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
- at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
- at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
- at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
- at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
- at org.apache.derby.impl.services.monitor.StorageFactoryService$10.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.impl.services.monitor.FileMonitor.createPersistentService(Unknown Source)
- at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection$5.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at org.apache.derby.impl.jdbc.EmbedConnection.createPersistentService(Unknown Source)
- ... 21 more
- NextSQLException:
- SQLState:XBM0A
- VendorCode:45000
- java.sql.SQLException: The database directory 'C:\Esko\bg_data_fastserver_dbase\WFMgr\WFMgr' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
- at org.apache.derby.impl.jdbc.SQLExceptionFactory.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.jdbc.InternalDriver$1.run(Unknown Source)
- at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
- at org.apache.derby.jdbc.InternalDriver.connect(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:664)
- at java.sql.DriverManager.getConnection(DriverManager.java:208)
- at com.barco.bg.core.server.gen.db.DB_TDB.MakeConnection(DB_TDB.java:1426)
- at com.barco.bg.core.server.gen.db.DB_TDB.access$700(DB_TDB.java:110)
- at com.barco.bg.core.server.gen.db.DB_TDB$TJDBCConnectionPool.CreateResource(DB_TDB.java:2787)
- at com.barco.bg.core.server.gen.db.DB_TResourcePool.CheckOut(DB_TResourcePool.java:313)
- at com.barco.bg.core.server.gen.db.DB_TDB.BorrowConnection(DB_TDB.java:1342)
- at com.barco.bg.core.server.gen.db.DB_TDB.MakeFirstConnection(DB_TDB.java:650)
- at com.barco.bg.core.server.gen.db.DB_TDB.SetupDBSpec(DB_TDB.java:636)
- at com.barco.bg.core.server.gen.db.DB_TFSDB.SetupDBSpec(DB_TFSDB.java:144)
- at com.barco.bg.core.server.gen.db.DB_TDB$TSetup.run(DB_TDB.java:621)
- at java.lang.Thread.run(Thread.java:750)
- Caused by: ERROR XBM0A: The database directory 'C:\Esko\bg_data_fastserver_dbase\WFMgr\WFMgr' exists. However, it does not contain the expected 'service.properties' file. Perhaps Derby was brought down in the middle of creating this database. You may want to delete this directory and try creating the database again.
- at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
- at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
- at org.apache.derby.impl.services.monitor.StorageFactoryService.vetService(Unknown Source)
- at org.apache.derby.impl.services.monitor.StorageFactoryService.access$900(Unknown Source)
- at org.apache.derby.impl.services.monitor.StorageFactoryService$10.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.impl.services.monitor.FileMonitor.createPersistentService(Unknown Source)
- at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Unknown Source)
- at org.apache.derby.impl.jdbc.EmbedConnection$5.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at org.apache.derby.impl.jdbc.EmbedConnection.createPersistentService(Unknown Source)
- ... 21 more
- EndSQLException
复制代码 |
|