new argument order in Application constructor
This commit is contained in:
parent
20955225d0
commit
0715a041a7
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ public class ApplicationManager {
|
|||
private void start (String appName) {
|
||||
Server.getLogger().log ("Building application "+appName);
|
||||
try {
|
||||
Application app = new Application (appName, Server.sysProps, Server.dbProps, hopHome);
|
||||
Application app = new Application (appName, hopHome, Server.sysProps, Server.dbProps);
|
||||
applications.put (appName, app);
|
||||
// if we're running with the embedded web server, set app base uri to /appname
|
||||
if (server.websrv != null)
|
||||
|
|
|
@ -37,7 +37,7 @@ public class StandaloneServletClient extends AbstractServletClient {
|
|||
File propfile = new File (serverProps);
|
||||
File hopHome = new File (propfile.getParent());
|
||||
SystemProperties sysProps = new SystemProperties (propfile.getAbsolutePath());
|
||||
app = new Application (appName, sysProps, null, hopHome);
|
||||
app = new Application (appName, hopHome, sysProps, null);
|
||||
app.start ();
|
||||
} catch (Exception x) {
|
||||
System.err.println ("Error starting Application "+appName+": "+x);
|
||||
|
|
Loading…
Add table
Reference in a new issue