myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r643766 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/JndiUtils.java
Date Wed, 02 Apr 2008 07:24:41 GMT
Author: bommel
Date: Wed Apr  2 00:24:31 2008
New Revision: 643766

URL: http://svn.apache.org/viewvc?rev=643766&view=rev
Log:
(TOBAGO-627) JNDI-Problem on Websphere Application Server

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/JndiUtils.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/JndiUtils.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/JndiUtils.java?rev=643766&r1=643765&r2=643766&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/JndiUtils.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/util/JndiUtils.java
Wed Apr  2 00:24:31 2008
@@ -33,10 +33,14 @@
     NamingEnumeration<Binding> ne = ctx.listBindings("java:comp/env");
     while (ne.hasMore()) {
       Binding b = ne.next();
-      //LOG.error("Property: " + b.getName());
+      if (LOG.isDebugEnabled()) {
+        LOG.debug("Property: " + b.getName());
+      }
       if (property.equals(b.getName())) {
         Object obj = b.getObject();
-        //LOG.error("Value: "+ obj);
+        if (LOG.isDebugEnabled()) {
+          LOG.debug("Value: "+ obj);
+        }
         return obj;
       }
     }



Mime
View raw message