You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Jonas S Karlsson <js...@yesco.org> on 2004/09/29 01:35:22 UTC

[PATCH] derby.log file error message

A small "cosmetic" patch for derby.

When ij/derby is started it creates the file derby.log and this file
contains an error message as follows:

> 2004-09-28 23:11:50.428 GMT Thread[main,5,main] Class com.ibm.derby.impl.BasicServices.TestService.Basic.BasicUnitTestManager java.lang.ClassNotFoundException: com.ibm.derby.impl.BasicServices.TestService.Basic.BasicUnitTestManager, module ignored.
> ----------------------------------------------------------------

No class com.ibm.derby... exists so it seems to be a misnomer.

The message doesn't seem to cause any other errors but it doesn't
look good in the log file.

So here is a small patch:

------ begin patch ---
Index: java/engine/org/apache/derby/modules.properties
===================================================================
--- java/engine/org/apache/derby/modules.properties     (revision 47434)
+++ java/engine/org/apache/derby/modules.properties     (working copy)
@@ -123,7 +123,6 @@
 derby.module.lockManager=org.apache.derby.impl.services.locks.SinglePool
 cloudscape.config.lockManager=all

-derby.module.testManager=com.ibm.derby.impl.BasicServices.TestService.Basic.BasicUnitTestManager
 cloudscape.config.testManager=none

 derby.module.classManagerJ2=org.apache.derby.impl.services.reflect.ReflectClassesJava2
------ end patch ---

BTW, this file is full of "cloudscape.config" strings, my guess is that
this too should be fixed somewhere and somehow, or removed.

/Jonas