[seam-commits] Seam SVN: r10936 - in branches/community/Seam_2_1/src/main/org/jboss/seam: bpm and 12 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu May 21 15:27:35 EDT 2009


Author: norman.richards at jboss.com
Date: 2009-05-21 15:27:34 -0400 (Thu, 21 May 2009)
New Revision: 10936

Modified:
   branches/community/Seam_2_1/src/main/org/jboss/seam/async/QuartzDispatcher.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/cache/EhCacheProvider.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCache2Provider.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/core/ConversationPropagation.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/core/Interpolator.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/NamespaceDeploymentHandler.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/document/DocumentStorePhaseListener.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/mail/Meldware.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/navigation/Pages.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenId.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenIdPhaseListener.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/theme/ThemeSelector.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/util/DTDEntityResolver.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/util/Naming.java
   branches/community/Seam_2_1/src/main/org/jboss/seam/web/ExceptionFilter.java
Log:
JBSEAM-2232

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/async/QuartzDispatcher.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/async/QuartzDispatcher.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/async/QuartzDispatcher.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -63,7 +63,7 @@
        else 
        {
          schedulerFactory.initialize();
-         log.debug("No seam.quartz.properties file. Using in-memory job store.");
+         log.warn("No seam.quartz.properties file. Using in-memory job store.");
        }
     
        scheduler = schedulerFactory.getScheduler();
@@ -86,7 +86,7 @@
       } 
       catch (Exception se) 
       {
-        log.error("Cannot Schedule a Quartz Job", se);
+        log.debug("Cannot Schedule a Quartz Job");
         throw new RuntimeException(se);
       }
    }

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/Jbpm.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -75,7 +75,7 @@
    @Create
    public void startup() throws Exception
    {
-      log.trace( "Starting jBPM" );
+      log.debug( "Starting jBPM" );
       ProcessState.setDefaultSubProcessResolver( new SeamSubProcessResolver() );
       installProcessDefinitions();
       installPageflowDefinitions();

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/bpm/SeamExpressionEvaluator.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -128,15 +128,15 @@
                 }
                 else if (exceptions.size() > 1)
                 {
-                   log.error("Exceptions occurred when parsing " + expression);
+                   log.debug("Exceptions occurred when parsing " + expression);
                    for (javax.el.ELException e : exceptions)
                    {
-                      log.error("Possible cause", e);
+                      log.debug("Possible cause", e);
                    }
                 }
                 if (me == null && ve ==  null)
                 {
-                   log.error("Error parsing " + expression);
+                   log.debug("Error parsing " + expression);
                    throw new ELException("Error parsing " + expression + "; not a valid EL expression");
                 }
                 throw new ELException("Error evaluating " + expression + "; possible causes are logged at debug level");

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/cache/EhCacheProvider.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/cache/EhCacheProvider.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/cache/EhCacheProvider.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -84,7 +84,7 @@
       Cache result = cacheManager.getCache(regionName);
       if (result == null)
       {
-          log.warn("Could not find configuration for region [" + regionName + "]; using defaults.");
+          log.debug("Could not find configuration for region [" + regionName + "]; using defaults.");
           cacheManager.addCache(regionName);
           result = cacheManager.getCache(regionName);
           log.debug("EHCache region created: " + regionName); 

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCache2Provider.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCache2Provider.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/cache/JbossCache2Provider.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -68,7 +68,7 @@
             cache.create();
             cache.start();
         } catch (Exception e) {
-            log.error(e, e);
+            //log.error(e, e);
             throw new IllegalStateException("Error starting JBoss Cache", e);
         }
     }

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/core/ConversationPropagation.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/core/ConversationPropagation.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/core/ConversationPropagation.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -89,7 +89,7 @@
    
       else
       {
-         log.debug("Found conversation id in request parameter: " + conversationId);
+         log.trace("Found conversation id in request parameter: " + conversationId);
       }
    }
 

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/core/Interpolator.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/core/Interpolator.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/core/Interpolator.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -85,7 +85,7 @@
                             Object value = Expressions.instance().createValueExpression(expression).getValue();
                             if (value!=null) builder.append(value);
                         } catch (Exception e) {
-                            log.warn("exception interpolating string: " + string, e);
+                            log.debug("exception interpolating string: " + string, e);
                         }
                         tokens.nextToken(); // the trailing "}"
 
@@ -149,7 +149,7 @@
                 }
             }
         } catch (Exception e) {
-            log.warn("exception interpolating string: " + string, e);
+            log.debug("exception interpolating string: " + string, e);
         }
 
         return builder.toString();

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/NamespaceDeploymentHandler.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/NamespaceDeploymentHandler.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/deployment/NamespaceDeploymentHandler.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -55,7 +55,7 @@
          Package pkg = getPackage(packageName, classLoader);
          if (pkg == null) 
          {
-             log.warn("Cannot load package Dinfo for " + packageName);
+             log.warn("Cannot load package info for " + packageName);
          } 
          else 
          {

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/document/DocumentStorePhaseListener.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/document/DocumentStorePhaseListener.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/document/DocumentStorePhaseListener.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -61,7 +61,7 @@
       }
       catch (IOException e)
       {
-         log.error(e);
+         log.warn(e);
       }
    }
 

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/mail/Meldware.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/mail/Meldware.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/mail/Meldware.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -39,7 +39,7 @@
    {
       // TODO Support domain creation as well.  Currently they are written out to file.
       
-         log.info("Creating users and mailboxes");
+         log.debug("Creating users and mailboxes");
          //MailboxService ms = MMJMXUtil.getMBean("meldware.mail:type=MailboxManager,name=MailboxManager", MailboxService.class);
          AdminTool at = MMJMXUtil.getMBean("meldware.mail:type=MailServices,name=AdminTool", AdminTool.class);
          
@@ -52,7 +52,7 @@
             {
                ms.createAlias(mbox.getId(), alias);
             }*/
-            log.info("Created #0 #1 #2", meldwareUser.isAdministrator() ? "administrator" : "user", meldwareUser.getUsername(), meldwareUser.getAliases() == null || meldwareUser.getAliases().size() == 0 ? "" : "with aliases " + meldwareUser.getAliases());
+            log.debug("Created #0 #1 #2", meldwareUser.isAdministrator() ? "administrator" : "user", meldwareUser.getUsername(), meldwareUser.getAliases() == null || meldwareUser.getAliases().size() == 0 ? "" : "with aliases " + meldwareUser.getAliases());
          }
       }
    

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/navigation/Pages.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/navigation/Pages.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/navigation/Pages.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -133,7 +133,7 @@
          InputStream stream = ResourceLoader.instance().getResourceAsStream(resource);      
          if (stream==null) 
          {
-            log.info("no pages.xml file found: " + resource);
+            log.debug("no pages.xml file found: " + resource);
          } else {
             log.debug("reading pages.xml file: " + resource);
             try {
@@ -382,7 +382,7 @@
                }
                else
                {
-                  log.warn("DataModel row was unavailable");
+                  log.debug("DataModel row was unavailable");
                   Contexts.getEventContext().remove(var);
                }
             }

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/security/jaas/SeamLoginModule.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -94,7 +94,7 @@
       }
       catch (Exception ex)
       {
-         log.error("Error logging in", ex);
+         log.warn("Error logging in");
          LoginException le = new LoginException(ex.getMessage());
          le.initCause(ex);
          throw le;
@@ -110,7 +110,7 @@
          }
          catch (Exception ex)
          {
-            log.error("Error invoking login method", ex);
+            log.warn("Error invoking login method", ex);
             throw new LoginException(ex.getMessage());
          }
       }
@@ -137,7 +137,7 @@
          }
          catch (Exception ex)
          {
-            log.error("Error invoking login method", ex);
+            log.warn("Error invoking login method");
             LoginException le = new LoginException(ex.getMessage());
             le.initCause(ex);
             throw le;

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenId.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenId.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenId.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -127,7 +127,7 @@
 
             return authReq.getDestinationUrl(true);
         } catch (OpenIDException e)  {
-	    log.error(e);
+	    log.warn(e);
         }
         
         return null;

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenIdPhaseListener.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenIdPhaseListener.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/security/openid/OpenIdPhaseListener.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -35,7 +35,7 @@
             try {
                 sendXRDS();
             } catch (IOException e) {
-		log.error(e);
+		log.warn(e);
             }
             return;
         }

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/servlet/ContextualHttpServletRequest.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -58,19 +58,19 @@
       catch (IOException ioe)
       {
          Lifecycle.endRequest();
-         log.warn("ended request due to exception", ioe);
+         log.debug("ended request due to exception");
          throw ioe;
       }
       catch (ServletException se)
       {
          Lifecycle.endRequest();
-         log.warn("ended request due to exception", se);
+         log.debug("ended request due to exception");
          throw se;
       }
       catch (Exception e)
       {
          Lifecycle.endRequest();
-         log.warn("ended request due to exception", e);
+         log.debug("ended request due to exception");
          throw new ServletException(e);
       }
       finally

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/theme/ThemeSelector.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/theme/ThemeSelector.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/theme/ThemeSelector.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -152,7 +152,7 @@
                Locale.instance(), 
                Thread.currentThread().getContextClassLoader() 
             );
-         log.debug("loaded resource bundle: " + theme);
+         log.trace("loaded resource bundle: " + theme);
          return bundle;
       }
       catch (MissingResourceException mre)

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/util/DTDEntityResolver.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/util/DTDEntityResolver.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/util/DTDEntityResolver.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -40,9 +40,9 @@
     public InputSource resolveEntity(String publicId, String systemId) 
     {
         if (systemId != null) {
-            log.debug("trying to resolve system-id [" + systemId + "]");
+            log.trace("trying to resolve system-id [" + systemId + "]");
             if (systemId.startsWith(SEAM_NAMESPACE)) {
-                log.debug("recognized Seam namespace; attempting to resolve on classpath under org/jboss/seam/");
+                log.trace("recognized Seam namespace; attempting to resolve on classpath under org/jboss/seam/");
                 String path = "org/jboss/seam/" + systemId.substring(SEAM_NAMESPACE.length());
                 
                 InputStream dtdStream = resolveInSeamNamespace(path);
@@ -56,7 +56,7 @@
                     return source;
                 }
             } else if (systemId.startsWith(USER_NAMESPACE)) {
-                log.debug("recognized local namespace; attempting to resolve on classpath");
+                log.trace("recognized local namespace; attempting to resolve on classpath");
                 String path = systemId.substring(USER_NAMESPACE.length());
                 
                 InputStream stream = resolveInLocalNamespace(path);

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/util/Naming.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/util/Naming.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/util/Naming.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -39,7 +39,7 @@
                     new InitialContext(props);
         }
         catch (NamingException e) {
-            log.debug("Could not obtain initial context", e);
+            log.debug("Could not obtain initial context");
             throw e;
         }
         

Modified: branches/community/Seam_2_1/src/main/org/jboss/seam/web/ExceptionFilter.java
===================================================================
--- branches/community/Seam_2_1/src/main/org/jboss/seam/web/ExceptionFilter.java	2009-05-20 20:48:59 UTC (rev 10935)
+++ branches/community/Seam_2_1/src/main/org/jboss/seam/web/ExceptionFilter.java	2009-05-21 19:27:34 UTC (rev 10936)
@@ -65,8 +65,8 @@
       }
       catch (Exception e)
       {
-         log.warn( "handling uncaught exception", e );
-         log.warn( "exception root cause", org.jboss.seam.util.Exceptions.getCause(e) );
+         log.debug( "handling uncaught exception", e );
+         log.debug( "exception root cause", org.jboss.seam.util.Exceptions.getCause(e) );
          endWebRequestAfterException( (HttpServletRequest) request, (HttpServletResponse) response, e);
       }
    }
@@ -75,7 +75,7 @@
          throws ServletException, IOException
    {
       
-      log.warn("running exception handlers");
+      log.debug("running exception handlers");
       
       //if the event context was cleaned up, fish the conversation id 
       //directly out of the ServletRequest attributes, else get it from




More information about the seam-commits mailing list