db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack Klebanoff <kleba...@Mutagen.Net>
Subject Re: [PATCH] derby.log file error message
Date Wed, 29 Sep 2004 00:53:22 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Jonas S Karlsson wrote:<br>
<blockquote cite="midm3wtyeq85h.fsf@yesco.org" type="cite">
  <pre wrap="">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:

  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
----------------------------------------------------------------
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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

  </pre>
</blockquote>
The "cloudscape.config.testManager=none" line should also be removed.
It is used to describe the configurations that should contain the
corresponding derby.module.testManager module. Since the
derby.module.testManager property is being removed the
cloudscape.config.testManager property should also be removed; it is
meaningless without the derby.module.testManager property.<br>
<br>
Jack Klebanoff<br>
</body>
</html>

Mime
View raw message