no message
authorrk <rk>
Wed, 29 Aug 2001 14:50:56 +0000 (14:50 +0000)
committerrk <rk>
Wed, 29 Aug 2001 14:50:56 +0000 (14:50 +0000)
source/mir/storage/Database.java
source/mircoders/servlet/ServletModuleBreaking.java
source/mircoders/storage/DatabaseBreaking.java

index 510e7be..b451061 100755 (executable)
@@ -61,7 +61,7 @@ public class Database implements StorageObject {
         */
        public Database() {
        theLog = Logfile.getInstance(Configuration.getProperty("Home") + Configuration.getProperty("Database.Logfile"));
-    theLog.printDebugInfo("-- made database");
+    theLog.printDebugInfo("-- inside database");
                String database_username=Configuration.getProperty("Database.Username");
                String database_password=Configuration.getProperty("Database.Password");
                String database_host=Configuration.getProperty("Database.Host");
index c2a7d3f..aee475e 100755 (executable)
@@ -35,7 +35,11 @@ public class ServletModuleBreaking extends ServletModule
                templateObjektString = Configuration.getProperty("ServletModule.Breaking.ObjektTemplate");
                templateConfirmString = Configuration.getProperty("ServletModule.Breaking.ConfirmTemplate");
                try {
-                       mainModule = new ModuleBreaking(DatabaseBreaking.getInstance());
+      theLog.printDebugInfo("---- trying to get dbb");
+      DatabaseBreaking dbb = DatabaseBreaking.getInstance();
+      theLog.printDebugInfo("---- got dbb");
+                       mainModule = new ModuleBreaking(dbb);
+      theLog.printDebugInfo("---- got mod");
                }
                catch (StorageObjectException e) {
                        theLog.printDebugInfo("ServletModuleBreaking konnte nicht initialisiert werden");
index 2a9ad58..888bc4e 100755 (executable)
@@ -32,12 +32,15 @@ public class DatabaseBreaking extends Database implements StorageObject{
        private DatabaseBreaking() throws StorageObjectException
        {
                super();
+    theLog.printDebugInfo("-- outside database");
                this.cache = new HashMap();
                this.theTable="breaking";
                try {
                        this.theEntityClass = Class.forName("mir.entity.EntityBreaking");
                }
                catch (Exception e) { throw new StorageObjectException(e.toString());   }
+
+    theLog.printDebugInfo("-- leaving dbb");
        }