Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
ManifoldCF 1.0
-
None
-
None
-
Windows 7
Description
When you ^C in the single process example, you may get a stack trace:
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: E xception doing query: Schema 'MANIFOLDCF' does not exist at org.apache.manifoldcf.core.database.Database.executeViaThread(Databas e.java:681) at org.apache.manifoldcf.core.database.Database.executeUncachedQuery(Dat abase.java:727) at org.apache.manifoldcf.core.database.Database$QueryCacheExecutor.creat e(Database.java:1394) at org.apache.manifoldcf.core.cachemanager.CacheManager.findObjectsAndEx ecute(CacheManager.java:144) at org.apache.manifoldcf.core.database.Database.executeQuery(Database.ja va:186) at org.apache.manifoldcf.core.database.DBInterfaceDerby.performQuery(DBI nterfaceDerby.java:965) at org.apache.manifoldcf.core.database.BaseTable.performQuery(BaseTable. java:221) at org.apache.manifoldcf.agents.agentmanager.AgentManager.getAllAgents(A gentManager.java:218) at org.apache.manifoldcf.agents.system.ManifoldCF.startAgents(ManifoldCF .java:113) at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.runAgents(Man ifoldCFJettyRunner.java:150) at org.apache.manifoldcf.jettyrunner.ManifoldCFJettyRunner.main(Manifold CFJettyRunner.java:244) Caused by: java.sql.SQLSyntaxErrorException: Schema 'MANIFOLDCF' does not exist at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unkn own 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(Un known Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown So urce) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown So urce) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) at org.apache.manifoldcf.core.database.Database.execute(Database.java:80 0) at org.apache.manifoldcf.core.database.Database$ExecuteQueryThread.run(D atabase.java:641) Caused by: java.sql.SQLException: Schema 'MANIFOLDCF' does not exist at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknow n Source) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransport AcrossDRDA(Unknown Source) ... 10 more Caused by: ERROR 42Y07: Schema 'MANIFOLDCF' does not exist at org.apache.derby.iapi.error.StandardException.newException(Unknown So urce) at org.apache.derby.impl.sql.catalog.DataDictionaryImpl.getSchemaDescrip tor(Unknown Source) at org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U nknown Source) at org.apache.derby.impl.sql.compile.QueryTreeNode.getSchemaDescriptor(U nknown Source) at org.apache.derby.impl.sql.compile.FromBaseTable.bindTableDescriptor(U nknown Source) at org.apache.derby.impl.sql.compile.FromBaseTable.bindNonVTITables(Unkn own Source) at org.apache.derby.impl.sql.compile.FromList.bindTables(Unknown Source) at org.apache.derby.impl.sql.compile.SelectNode.bindNonVTITables(Unknown Source) at org.apache.derby.impl.sql.compile.DMLStatementNode.bindTables(Unknown Source) at org.apache.derby.impl.sql.compile.DMLStatementNode.bind(Unknown Sourc e) at org.apache.derby.impl.sql.compile.CursorNode.bindStatement(Unknown So urce) at org.apache.derby.impl.sql.GenericStatement.prepMinion(Unknown Source) at org.apache.derby.impl.sql.GenericStatement.prepare(Unknown Source) at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepa reInternalStatement(Unknown Source) ... 4 more