Undo accidental check-in of some debugging changes

This commit is contained in:
hns 2001-04-06 18:02:08 +00:00
parent e6d115f51d
commit 2ff4f8e2e8
2 changed files with 3 additions and 3 deletions

View file

@ -104,8 +104,8 @@ public class ApplicationManager {
try {
IServer.getLogger().log ("Binding application "+appName);
Application app = (Application) applications.get (appName);
Naming.rebind ("//:"+port+"/"+appName, app);
if (server.websrv == null) {
Naming.rebind ("//:"+port+"/"+appName, app);
} else {
AcmeServletClient servlet = new AcmeServletClient (app);
server.websrv.addServlet ("/"+appName+"/", servlet);

View file

@ -198,10 +198,10 @@ import com.sleepycat.db.*;
RMISocketFactory.setSocketFactory (factory);
}
// if (websrv == null) {
if (websrv == null) {
getLogger().log ("Starting server on port "+port);
LocateRegistry.createRegistry (port);
// }
}
// start application framework