You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ri...@apache.org on 2009/10/28 16:37:37 UTC

svn commit: r830617 - in /qpid/branches/0.5.x-dev/qpid/java/client/src/main/java: log4j.xml org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java

Author: ritchiem
Date: Wed Oct 28 15:37:36 2009
New Revision: 830617

URL: http://svn.apache.org/viewvc?rev=830617&view=rev
Log:
Update PropertiesFileInitialContextFactory to give more details on error.

Removed:
    qpid/branches/0.5.x-dev/qpid/java/client/src/main/java/log4j.xml
Modified:
    qpid/branches/0.5.x-dev/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java

Modified: qpid/branches/0.5.x-dev/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java
URL: http://svn.apache.org/viewvc/qpid/branches/0.5.x-dev/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java?rev=830617&r1=830616&r2=830617&view=diff
==============================================================================
--- qpid/branches/0.5.x-dev/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java (original)
+++ qpid/branches/0.5.x-dev/qpid/java/client/src/main/java/org/apache/qpid/jndi/PropertiesFileInitialContextFactory.java Wed Oct 28 15:37:36 2009
@@ -108,7 +108,8 @@
         }
         catch (IOException ioe)
         {
-            _logger.warn("Unable to load property file specified in Provider_URL:" + environment.get(Context.PROVIDER_URL));
+            _logger.warn("Unable to load property file specified in Provider_URL:" + environment.get(Context.PROVIDER_URL) +"\n" +
+                         "Due to:"+ioe.getMessage());
         }
 
         createConnectionFactories(data, environment);



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org