Refine search
@Override public Class<?> loadClass(String name) throws ClassNotFoundException { if (_notFound.contains(name)) { if (LOG.isDebugEnabled()) LOG.debug("Not found cache hit resource {}",name); throw new ClassNotFoundException(name+": in notfound cache"); } try { return super.loadClass(name); } catch (ClassNotFoundException nfe) { if (_notFound.add(name)) if (LOG.isDebugEnabled()) { LOG.debug("Caching not found {}",name); LOG.debug(nfe); } throw nfe; } }
: _locations.isIncludedAndNotExcluded(location); if (LOG.isDebugEnabled()) LOG.debug("match {} from {} byName={} byLocation={} in {}",clazz,location,byName,byLocation,this); LOG.warn(e);
LOG.warn(new Throwable()); // TODO throw ISE? LOG.warn(new Throwable()); // TODO throw ISE? if (s.startsWith("t")) LOG.warn("Deprecated boolean load-on-startup. Please use integer"); order = 1; LOG.warn("Cannot parse load-on-startup " + s + ". Please use integer"); LOG.ignore(e); if (roleName != null && roleName.length() > 0 && roleLink != null && roleLink.length() > 0) if (LOG.isDebugEnabled()) LOG.debug("link role " + roleName + " to " + roleLink + " for " + this); switch (context.getMetaData().getOrigin(name+".servlet.role-name."+roleName))
/** * Close an existing connection */ private void closeConnection () { if (_con != null) { if (LOG.isDebugEnabled()) LOG.debug("Closing db connection for JDBCUserRealm"); try { _con.close(); }catch (Exception e) {LOG.ignore(e);} } _con = null; } }
@Override public boolean isSystemResource(String name, URL url) { if (_systemClasses == null) loadSystemClasses(); boolean result = _systemClasses.match(name,url); if (LOG.isDebugEnabled()) LOG.debug("isSystemResource=={} {} {}",result,name,url); return result; }
if (LOG.isDebugEnabled()) LOG.debug("{} in mapping {} from defaults descriptor is overridden by ",ps,sm,servletName); LOG.warn("Duplicate mapping from {} to {}", p, servletName); if (LOG.isDebugEnabled()) LOG.debug("Removed empty mapping {}",sm); listItor.remove(); if (LOG.isDebugEnabled()) LOG.debug("Removed path {} from mapping {}", p,sm); if (LOG.isDebugEnabled()) LOG.debug("Added mapping {} ",mapping); _servletMappings.add(mapping); return mapping;
if (LOG.isDebugEnabled()) LOG.debug("ALIAS abs={} can={}",abs,can); LOG.warn("bad alias for {}: {}",file,e.toString()); LOG.debug(e); try LOG.ignore(e2); throw new RuntimeException(e);
private void startReservedThread() { try { while (true) { // Not atomic, but there is a re-check in ReservedThread.run(). int pending = _pending.get(); int size = _size.get(); if (pending + size >= _capacity) return; if (_pending.compareAndSet(pending, pending + 1)) { if (LOG.isDebugEnabled()) LOG.debug("{} startReservedThread p={}", this, pending + 1); _executor.execute(new ReservedThread()); return; } } } catch(RejectedExecutionException e) { LOG.ignore(e); } }
public String toReplacedString() { if (!isUtf8SequenceComplete()) { _codep=0; _state = UTF8_ACCEPT; try { _appendable.append(REPLACEMENT); } catch(IOException e) { throw new RuntimeException(e); } Throwable th= new NotUtf8Exception("incomplete UTF8 sequence"); LOG.warn(th.toString()); LOG.debug(th); } return _appendable.toString(); }
if (LOG.isDebugEnabled()) LOG.debug("Not found cache hit resource {}",name); return null; if (LOG.isDebugEnabled()) LOG.debug("Caching not found resource {}",name); _notFound.add(name);
if(LOG.isDebugEnabled()) LOG.debug("addJar - {}", fn); String fnlc=fn.getName().toLowerCase(Locale.ENGLISH); LOG.warn(Log.EXCEPTION,ex);
if (LOG.isDebugEnabled()) LOG.debug("run {}", job); runJob(job); if (LOG.isDebugEnabled()) LOG.debug("ran {}", job); if (Thread.interrupted()) LOG.ignore(e); LOG.warn(e); LOG.warn("Unexpected thread death: {} in {}", this, QueuedThreadPool.this);
private Runnable reservedWait() if (LOG.isDebugEnabled()) LOG.debug("{} waiting", this); LOG.ignore(e); if (LOG.isDebugEnabled()) LOG.debug("{} IDLE", this); tryExecute(STOP); if (LOG.isDebugEnabled()) LOG.debug("{} task={}", this, task);
@Override public boolean isSystemClass(Class<?> clazz) { if (_systemClasses == null) loadSystemClasses(); boolean result = _systemClasses.match(clazz); if (LOG.isDebugEnabled()) LOG.debug("isSystemClass=={} {}",result,clazz); return result; }
LOG.warn(new Throwable()); // TODO throw ISE? if (LOG.isDebugEnabled()) LOG.debug("ContextParam: " + name + "=" + value);
if (LOG.isDebugEnabled()) LOG.debug("Starting java.nio file watching with {}",watchService); if (LOG.isDebugEnabled()) LOG.debug("Waiting for poll({})", wait_time); key = wait_time<0?watch.take():wait_time>0?watch.poll(wait_time,updateQuietTimeUnit):watch.poll(); LOG.warn(e); LOG.ignore(e);