check if xmlrpc server exists before trying to add handler
This commit is contained in:
parent
904a446611
commit
e383beaa08
1 changed files with 2 additions and 1 deletions
|
@ -157,7 +157,8 @@ public class Application extends UnicastRemoteObject implements IRemoteApp, Runn
|
||||||
worker.start ();
|
worker.start ();
|
||||||
logEvent ("session cleanup and scheduler thread started");
|
logEvent ("session cleanup and scheduler thread started");
|
||||||
|
|
||||||
xmlrpc.addHandler (this.name, new XmlRpcInvoker (this));
|
if (xmlrpc != null)
|
||||||
|
xmlrpc.addHandler (this.name, new XmlRpcInvoker (this));
|
||||||
|
|
||||||
typemgr.start ();
|
typemgr.start ();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue