deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gpetra...@apache.org
Subject [1/2] deltaspike git commit: DELTASPIKE-896 improved warning-text
Date Fri, 08 May 2015 18:58:12 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 8a84303c9 -> 67ac8c940


DELTASPIKE-896 improved warning-text


Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/f0fde693
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/f0fde693
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/f0fde693

Branch: refs/heads/master
Commit: f0fde693f6d0257cf6328e3bca50981f00084ce9
Parents: 8a84303
Author: gpetracek <gpetracek@apache.org>
Authored: Fri May 8 20:42:38 2015 +0200
Committer: gpetracek <gpetracek@apache.org>
Committed: Fri May 8 20:42:38 2015 +0200

----------------------------------------------------------------------
 .../jsf/impl/config/view/ViewConfigPathValidator.java          | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/f0fde693/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/config/view/ViewConfigPathValidator.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/config/view/ViewConfigPathValidator.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/config/view/ViewConfigPathValidator.java
index 1bfbf06..44df539 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/config/view/ViewConfigPathValidator.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/config/view/ViewConfigPathValidator.java
@@ -22,6 +22,7 @@ import org.apache.deltaspike.core.api.config.view.metadata.ConfigDescriptor;
 import org.apache.deltaspike.core.api.config.view.metadata.ViewConfigDescriptor;
 import org.apache.deltaspike.core.api.config.view.metadata.ViewConfigResolver;
 import org.apache.deltaspike.core.api.provider.BeanProvider;
+import org.apache.deltaspike.core.spi.activation.ClassDeactivator;
 import org.apache.deltaspike.core.spi.activation.Deactivatable;
 import org.apache.deltaspike.core.util.ClassDeactivationUtils;
 import org.apache.deltaspike.core.util.ExceptionUtils;
@@ -53,7 +54,10 @@ public class ViewConfigPathValidator implements ServletContextListener,
Deactiva
             }
             catch (Exception e)
             {
-                LOGGER.log(Level.WARNING, "Container issue detected -> can't validate
view-configs.", e);
+                LOGGER.log(Level.WARNING, "Container issue detected -> can't validate
view-configs. " +
+                    "This exception is usually the effect (but not the reason) of a failed
startup. " +
+                    "You can deactivate " + getClass().getName() + " via a custom " +
+                    ClassDeactivator.class.getName() + " to verify it.", e);
                 return;
             }
 


Mime
View raw message