You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by co...@apache.org on 2016/01/15 17:28:21 UTC

cxf git commit: Updating LOG message

Repository: cxf
Updated Branches:
  refs/heads/master 6ec4feb8a -> 5d45660c4


Updating LOG message


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

Branch: refs/heads/master
Commit: 5d45660c4081fff3b8060907c0df3b334633641a
Parents: 6ec4feb
Author: Colm O hEigeartaigh <co...@apache.org>
Authored: Fri Jan 15 16:28:04 2016 +0000
Committer: Colm O hEigeartaigh <co...@apache.org>
Committed: Fri Jan 15 16:28:18 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/ws/security/policy/WSSecurityPolicyLoader.java    | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/5d45660c/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/WSSecurityPolicyLoader.java
----------------------------------------------------------------------
diff --git a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/WSSecurityPolicyLoader.java b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/WSSecurityPolicyLoader.java
index 8b05935..5f2c1e9 100644
--- a/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/WSSecurityPolicyLoader.java
+++ b/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/WSSecurityPolicyLoader.java
@@ -111,7 +111,9 @@ public final class WSSecurityPolicyLoader implements PolicyInterceptorProviderLo
             //as the policy framework will then not find the providers
             //and error out at that point.  If nothing uses ws-securitypolicy
             //no warnings/errors will display
-            LOG.log(Level.FINE, "Could not load or register WS-SecurityPolicy related classes.", t);
+            String error = "Could not load or register WS-SecurityPolicy related classes. "
+                + "Please check that (the correct version of) Apache WSS4J is on the classpath";
+            LOG.log(Level.FINE, error, t);
         }
     }