s.append("** Second exception "); s.append(ERXUtilities.stackTrace(u)); NSLog.err.appendln(s.toString()); log.error("{}", s); } catch (Throwable u2) {} // WE DON'T WANT ANYTHING TO GO WRONG IN HERE as it would cause the app to instantly exit
if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding.")); else NSLog.debug.appendln("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding. Set debug level to NSLog.DebugLevelDetailed for more information."); return result; if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelInformational, NSLog.DebugGroupDatabaseAccess)) if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding.")); else NSLog.debug.appendln("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding. Set debug level to NSLog.DebugLevelDetailed for more information."); if (_valueClass == stringClass || _valueFactoryMethod == null) return value;
break; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding.")); else NSLog.debug.appendln("Deprecated implicit bytes->String conversion. Assuming UTF-8 encoding. Set debug level to NSLog.DebugLevelDetailed for more information."); } catch (IllegalAccessException e) { throw NSForwardException._runtimeExceptionForThrowable(e);
String property = System.getProperty("h2.updateJDBCInfo"); if (NSPropertyListSerialization.booleanForString(property)) { NSLog.out.appendln("Updating H2JDBCInfo.plist enabled:" + property); try { String jdbcInfoContent = NSPropertyListSerialization.stringFromPropertyList(super.jdbcInfo()); File jdbcInfoFile = new File(tmpDir, "H2JDBCInfo.plist"); NSLog.out.appendln("Writing H2JDBCInfo.plist to " + tmpDir.getAbsolutePath()); NSLog.debug.appendln("Loading jdbcInfo from H2JDBCInfo.plist as opposed to using the JDBCPlugIn default implementation.");
final _NSThreadsafeMutableArray syncHosts = aConfig.hostErrorArray; if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupDeployment)) NSLog.debug.appendln("Sending sync requests to: " + syncHosts.array());
if (aClass == null) { if (NSLog.debugLoggingAllowedForLevelAndGroups(2, 128L)) NSLog.debug.appendln(new StringBuilder().append("Unable to find the class ").append(className).append(" in the Java runtime. Unable to validate. Please check your CLASSPATH, or the type for attribute ").append(name()).toString()); return valueP;
NSLog.debug.appendln(new StringBuilder().append("value type '").append(_valueTypeChar()).append("' on attribute \"").append(name()).append("\" of entity \"").append(entity().name()).append("\" is invalid.\nYou should fix your EOModel.").toString()); valueClass = Integer.class; break;
break; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit String->bytes conversion. Assuming UTF-8 encoding.")); else NSLog.debug.appendln("Deprecated implicit String->bytes conversion. Assuming UTF-8 encoding. Set debug level to NSLog.DebugLevelDetailed for more information."); } catch (IllegalAccessException e) { throw NSForwardException._runtimeExceptionForThrowable(e); break; if (NSLog.debugLoggingAllowedForLevel(NSLog.DebugLevelDetailed)) NSLog.debug.appendln(new RuntimeException("Deprecated implicit String->NSData conversion. Assuming UTF-8 encoding.")); else NSLog.debug.appendln("Deprecated implicit String->NSData conversion. Assuming UTF-8 encoding. Set debug level to NSLog.DebugLevelDetailed for more information."); } catch (IllegalAccessException e) { throw NSForwardException._runtimeExceptionForThrowable(e);
_configDirectoryPath = System.getProperty("WODeploymentConfigurationDirectory"); if (_configDirectoryPath != null) { NSLog.debug.appendln("WODeploymentConfigurationDirectory set to non-default: "+_configDirectoryPath); NSLog.debug.appendln("WOLocalRootDirectory set to non-default: "+localRoot); NSLog.debug.appendln("configDirectoryPath = " + _configDirectoryPath);
NSLog.debug.appendln("Found a quoted string: " + quotedStringKey + "='" + token + "';");
if (s1 != null) { if (NSLog.debugLoggingAllowedForLevelAndGroups(3, 8388608L)) { NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for " + s1 + " in the java runtime."); NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for com.webobjects.appserver._private." + s1 + " ."); NSLog.err.appendln("WOBundle.lookForClassInAllBundles(" + s1 + ") failed!"); NSLog.debug.appendln("<WOHTMLWebObjectTag> Will initialize object of class " + s1); NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for " + s1 + " in the Compiled Components."); NSLog.debug.appendln("<WOHTMLWebObjectTag> will look for " + s1 + " in the Frameworks.");
NSLog.debug.appendln("calculateNextScheduledShutdown: " + _nextScheduledShutdown);
public WOResponse sendRequestToWotaskd(WORequest aRequest, boolean willChange, boolean isSync) { if (NSLog.debugLoggingAllowedForLevelAndGroups(NSLog.DebugLevelDetailed, NSLog.DebugGroupDeployment)) NSLog.debug.appendln("!@#$!@#$ sendRequestToWotaskd creates a WOHTTPConnection"); WOResponse aResponse = null; NSLog.err.appendln(localException); isAvailable = false; NSLog.debug.appendln("Cleared sync request for host " + name()); _siteConfig.hostErrorArray.removeObject(this);
NSLog.debug.appendln("!@#$!@#$ getSiteConfigFromHostAndPort creates a WOHTTPConnection"); NSDictionary<String, String> monitorRequest = new NSDictionary<>("SITE", "queryWotaskd"); NSData content = new NSData( (new _JavaMonitorCoder()).encodeRootObjectForKey(monitorRequest, "monitorRequest") );