From 894f3045ed970cadcd421df2c3927f3e4160e91f Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Tue, 19 Aug 2008 09:24:12 +0000 Subject: Convert LoadBalancer and RegionProxy plugins to use XML manifests. Fixes "Plugin Error: Node 'Type' not allowed" messages during region server startup. --- ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs') diff --git a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs index 7eefcf5..e65e7e5 100644 --- a/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs +++ b/ThirdParty/3Di/RegionProxy/RegionProxyPlugin.cs @@ -37,9 +37,6 @@ using Nwc.XmlRpc; using OpenSim.Framework; using OpenSim.Framework.Servers; -[assembly : Addin("RegionProxy", "0.1")] -[assembly : AddinDependency("OpenSim", "0.5")] - namespace OpenSim.ApplicationPlugins.RegionProxy { /* This module has an interface to OpenSim clients that is constant, and is responsible for relaying @@ -60,7 +57,6 @@ namespace OpenSim.ApplicationPlugins.RegionProxy * - UnblockClientMessages */ - [Extension("/OpenSim/Startup")] public class RegionProxyPlugin : IApplicationPlugin { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); @@ -69,8 +65,8 @@ namespace OpenSim.ApplicationPlugins.RegionProxy #region IApplicationPlugin Members // TODO: required by IPlugin, but likely not at all right - string m_name = "RegionProxyPlugin"; - string m_version = "0.0"; + string m_name = "RegionProxy"; + string m_version = "0.1"; public string Version { get { return m_version; } } public string Name { get { return m_name; } } @@ -83,7 +79,7 @@ namespace OpenSim.ApplicationPlugins.RegionProxy public void Initialise(OpenSimBase openSim) { - m_log.Info("Starting proxy"); + m_log.Info("[PROXY] Starting proxy"); string proxyURL = openSim.ConfigSource.Source.Configs["Network"].GetString("proxy_url", ""); if (proxyURL.Length == 0) return; -- cgit v1.1