FR [2799327] - Allow testing of accounting posting in development mode
https://sourceforge.net/tracker/?func=detail&aid=2799327&group_id=176962&atid=879335 Make embedded server the default for posting
This commit is contained in:
parent
2067987bcc
commit
c66f6924e2
|
@ -1604,7 +1604,9 @@ public class CConnection implements Serializable, Cloneable
|
|||
* @return true if server is embedded in process
|
||||
*/
|
||||
public static boolean isServerEmbedded() {
|
||||
return "true".equalsIgnoreCase(System.getProperty(SERVER_EMBEDDED));
|
||||
// defaults to true - it can be disabled passing this parameter to the JVM
|
||||
// -Dorg.adempiere.server.embedded=false
|
||||
return ! "false".equalsIgnoreCase(System.getProperty(SERVER_EMBEDDED));
|
||||
}
|
||||
|
||||
public void setAppServerCredential(String principal, String credential)
|
||||
|
|
Loading…
Reference in New Issue