Commit 4919fdcf authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Update to remove XMLModule


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@114 b35dd754-fafc-0310-a699-88a17e54d16e
parent 448cbdf9
...@@ -362,7 +362,7 @@ String log = ParamUtils.getParameter(request, "log"); ...@@ -362,7 +362,7 @@ String log = ParamUtils.getParameter(request, "log");
} }
// Other vars // Other vars
File logDir = admin.getContainer().getModuleContext().getLogDirectory(); File logDir = new File(Log.getLogDirectory());
String filename = "jive." + log + ".log"; String filename = "jive." + log + ".log";
File logFile = new File(logDir, filename); File logFile = new File(logDir, filename);
boolean tooBig = false; boolean tooBig = false;
......
...@@ -12,7 +12,6 @@ ...@@ -12,7 +12,6 @@
org.jivesoftware.messenger.XMPPServer, org.jivesoftware.messenger.XMPPServer,
org.jivesoftware.messenger.container.*, org.jivesoftware.messenger.container.*,
org.jivesoftware.messenger.spi.BasicServer, org.jivesoftware.messenger.spi.BasicServer,
org.jivesoftware.messenger.container.spi.XMLModuleContext,
org.jivesoftware.messenger.auth.UnauthorizedException" org.jivesoftware.messenger.auth.UnauthorizedException"
%> %>
<!-- Define Administration Bean --> <!-- Define Administration Bean -->
......
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
UserManager userManager = (UserManager)lookup.lookup(UserManager.class); UserManager userManager = (UserManager)lookup.lookup(UserManager.class);
if(userManager == null) { if(userManager == null) {
userManager = new UserManagerImpl(); userManager = new UserManagerImpl();
userManager.initialize(container.getModuleContext(), container); userManager.initialize(container);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment