Undo accidental check-in of some debugging changes
This commit is contained in:
parent
e6d115f51d
commit
2ff4f8e2e8
2 changed files with 3 additions and 3 deletions
|
@ -104,8 +104,8 @@ public class ApplicationManager {
|
||||||
try {
|
try {
|
||||||
IServer.getLogger().log ("Binding application "+appName);
|
IServer.getLogger().log ("Binding application "+appName);
|
||||||
Application app = (Application) applications.get (appName);
|
Application app = (Application) applications.get (appName);
|
||||||
Naming.rebind ("//:"+port+"/"+appName, app);
|
|
||||||
if (server.websrv == null) {
|
if (server.websrv == null) {
|
||||||
|
Naming.rebind ("//:"+port+"/"+appName, app);
|
||||||
} else {
|
} else {
|
||||||
AcmeServletClient servlet = new AcmeServletClient (app);
|
AcmeServletClient servlet = new AcmeServletClient (app);
|
||||||
server.websrv.addServlet ("/"+appName+"/", servlet);
|
server.websrv.addServlet ("/"+appName+"/", servlet);
|
||||||
|
|
|
@ -198,10 +198,10 @@ import com.sleepycat.db.*;
|
||||||
RMISocketFactory.setSocketFactory (factory);
|
RMISocketFactory.setSocketFactory (factory);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (websrv == null) {
|
if (websrv == null) {
|
||||||
getLogger().log ("Starting server on port "+port);
|
getLogger().log ("Starting server on port "+port);
|
||||||
LocateRegistry.createRegistry (port);
|
LocateRegistry.createRegistry (port);
|
||||||
// }
|
}
|
||||||
|
|
||||||
|
|
||||||
// start application framework
|
// start application framework
|
||||||
|
|
Loading…
Add table
Reference in a new issue