diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs index 20fffc80fb..062986c016 100644 --- a/OpenSim.RegionServer/OpenSimMain.cs +++ b/OpenSim.RegionServer/OpenSimMain.cs @@ -170,6 +170,8 @@ namespace OpenSim this.physManager = new OpenSim.Physics.Manager.PhysicsManager(); this.physManager.LoadPlugins(); + LocalWorld.m_datastore = this.regionData.DataStore; + LocalWorld.LoadStorageDLL("OpenSim.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded. LocalWorld.LoadWorldMap(); diff --git a/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs b/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs index 3c17f1fe21..95cae8ac3b 100644 --- a/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs +++ b/OpenSim.Storage/LocalStorageDb4o/Db4LocalStorage.cs @@ -50,6 +50,7 @@ namespace OpenSim.Storage.LocalStorageDb4o public void Initialise(string dfile) { + OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Db4LocalStorage Opening " + dfile); datastore = dfile; try { diff --git a/OpenSim/Application.cs b/OpenSim/Application.cs index 7d8be599b9..568d6feca1 100644 --- a/OpenSim/Application.cs +++ b/OpenSim/Application.cs @@ -70,7 +70,7 @@ namespace OpenSim } catch (Exception e) { - Console.WriteLine("-config: Please specify a config file."); + Console.WriteLine("-config: Please specify a config file. (" + e.ToString() + ")"); } } }