Skip to content

Commit

Permalink
Titan Server starts without specifying the rexster.xml file.
Browse files Browse the repository at this point in the history
It will configure both http/rest and rexpro in this case.
  • Loading branch information
spmallette authored and mbroecheler committed Mar 29, 2013
1 parent 0f970d5 commit 46314c6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ public RexsterTitanServer(final XMLConfiguration rexsterConfig, final Configurat
final boolean isRexProConfigured = rexsterConfig.subset("rexpro").getKeys().hasNext();
final boolean isHttpConfigured = rexsterConfig.subset("http").getKeys().hasNext();

if (isRexProConfigured) {
if (isRexProConfigured || !isHttpConfigured) {
rexProServer = new RexProRexsterServer(rexsterConfig);
}

if (isHttpConfigured) {
if (isHttpConfigured || !isRexProConfigured) {
// turn off dog house...always
rexsterConfig.setProperty("http.enable-doghouse", false);
httpServer = new HttpRexsterServer(rexsterConfig);
Expand Down

0 comments on commit 46314c6

Please sign in to comment.