Skip to content

Commit

Permalink
Ignore soap web service setup error if not using SOAP
Browse files Browse the repository at this point in the history
  • Loading branch information
johnthuss committed Aug 19, 2014
1 parent 72941ed commit 21a9dd3
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,15 @@ public ERXApplication() {

ERXStats.initStatisticsIfNecessary();

WOWebServicePatch.initServer();
try {
WOWebServicePatch.initServer();
} catch (Throwable e) {
Throwable cause = ERXExceptionUtilities.getMeaningfulThrowable(e);
if (!(cause instanceof ClassNotFoundException ||
cause instanceof NoClassDefFoundError)) {
e.printStackTrace();
}
}

// WOFrameworksBaseURL and WOApplicationBaseURL properties are broken in 5.4.
// This is the workaround.
Expand Down

0 comments on commit 21a9dd3

Please sign in to comment.