Package org.apache.commons.logging

Examples of org.apache.commons.logging.Log.warn()


                            tag.getAttributeValue("ejb-name") + "\" view-type=\"" +
                            tag.getAttributeValue("view-type") + "\"");
                        throw new XDocletException("Duplicate @ejb.ejb-ref with different parameters");
                    }
                    else {
                        log.warn("Duplicated @ejb.ejb-ref found, ref-name=\"" + refName + "\"");
                    }
                }

                setCurrentClassTag(null);
                referringClassId = null;
View Full Code Here


                    return clazz.getQualifiedName();
                }
            }
        }
        if (log.isDebugEnabled()) {
            log.warn("NOT FOUND! bean class coreesponding to IF " + return_type);
        }
        throw new XDocletException(Translator.getString(XDocletModulesEjbMessages.class, XDocletModulesEjbMessages.BEAN_CLASS_NOT_FOUND_FOR_INTERFACE, new String[]{return_type}));
    }

    /**
 
View Full Code Here

         {
            Config.Templating.TemplatePath.Dir oDir = ( Config.Templating.TemplatePath.Dir ) oLoaderPathItem;

            if ( ! oDir.getDir().exists() )
            {
               oLog.warn( "freemarker > template load path > ignoring missing directory > " + oDir.getDir() );
            }
            else
            {
               oLog.info( "freemarker > template load path > adding directory > " + oDir.getDir() );
View Full Code Here

         oLog.info( "freemarker > using configured locale > " + oConfig.getLocale() );
      }
      else
      {
         oLog.warn( "freemarker > no locale configured, using default > " + _oConfiguration.getLocale() );
      }
   }

   public void process( Template oTemplate, Writer oWriter ) throws TemplatingEngineException, IOException
   {
View Full Code Here

        requestControl.setReturnValue(session);

        session.invalidate();
        sessionControl.setThrowable(ex);

        log.warn("Exception thrown invalidating HttpSession.", ex);

        cycle.getAbsoluteURL("/app");
        cycleControl.setReturnValue("http://myserver/app");

        builder.constructURL("http://myserver/app");
View Full Code Here

      } catch (IOException ie) {
        Log log = (Log) context.getAttribute("log");
        String errorMsg = ("getMapOutput(" + mapId + "," + reduceId +
                           ") failed :\n"+
                           StringUtils.stringifyException(ie));
        log.warn(errorMsg);
        if (shuffleExceptionTracking.checkException(ie)) {
          shuffleMetrics.exceptionsCaught();
        }
        if (isInputException) {
          tracker.mapOutputLost(TaskAttemptID.forName(mapId), errorMsg);
View Full Code Here

      } catch (IOException ie) {
        Log log = (Log) context.getAttribute("log");
        String errorMsg = ("getMapOutput(" + mapId + "," + reduceId +
                           ") failed :\n"+
                           StringUtils.stringifyException(ie));
        log.warn(errorMsg);
        checkException(ie, exceptionMsgRegex, exceptionStackRegex, shuffleMetrics);
        if (isInputException) {
          tracker.mapOutputLost(TaskAttemptID.forName(mapId), errorMsg);
        }
        response.sendError(HttpServletResponse.SC_GONE, errorMsg);
View Full Code Here

      {
        log.error(message, exception);
      }
      else if(level == Level.WARNING)
      {
        log.warn(message, exception);
      }
      else if(level == Level.INFO)
      {
        log.info(message, exception);
      }
View Full Code Here

        requestControl.setReturnValue(session);

        session.invalidate();
        sessionControl.setThrowable(ex);

        log.warn("Exception thrown invalidating HttpSession.", ex);

        builder.constructURL("/app");
        builderControl.setReturnValue("http://myserver/app");

        response.sendRedirect("http://myserver/app");
View Full Code Here

            (TaskTracker) context.getAttribute("task.tracker");
          Log log = (Log) context.getAttribute("log");
          String errorMsg = ("getMapOutput(" + mapId + "," + reduceId +
                             ") failed :\n"+
                             StringUtils.stringifyException(ie));
          log.warn(errorMsg);
          if (isInputException) {
            tracker.mapOutputLost(mapId, errorMsg);
          }
          response.sendError(HttpServletResponse.SC_GONE, errorMsg);
          throw ie;
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.