From: rk Date: Wed, 29 Aug 2001 14:50:56 +0000 (+0000) Subject: no message X-Git-Tag: prexmlproducerconfig~598 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=0df29361e484a602c907336ae33a3aded35f41db;p=mir.git no message --- diff --git a/source/mir/storage/Database.java b/source/mir/storage/Database.java index 510e7bed..b451061f 100755 --- a/source/mir/storage/Database.java +++ b/source/mir/storage/Database.java @@ -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"); diff --git a/source/mircoders/servlet/ServletModuleBreaking.java b/source/mircoders/servlet/ServletModuleBreaking.java index c2a7d3fd..aee475ee 100755 --- a/source/mircoders/servlet/ServletModuleBreaking.java +++ b/source/mircoders/servlet/ServletModuleBreaking.java @@ -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"); diff --git a/source/mircoders/storage/DatabaseBreaking.java b/source/mircoders/storage/DatabaseBreaking.java index 2a9ad581..888bc4eb 100755 --- a/source/mircoders/storage/DatabaseBreaking.java +++ b/source/mircoders/storage/DatabaseBreaking.java @@ -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"); }