activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1245945 - in /activemq/activemq-apollo/trunk: apollo-cli/pom.xml apollo-openwire/src/main/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index apollo-util/src/main/scala/org/apache/activemq/apollo/util/ClassFinder.scala
Date Sat, 18 Feb 2012 15:34:11 GMT
Author: chirino
Date: Sat Feb 18 15:34:10 2012
New Revision: 1245945

URL: http://svn.apache.org/viewvc?rev=1245945&view=rev
Log:
The openwire config was not getting loaded, add better debug statements to the ClassFinder

Modified:
    activemq/activemq-apollo/trunk/apollo-cli/pom.xml
    activemq/activemq-apollo/trunk/apollo-openwire/src/main/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
    activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/ClassFinder.scala

Modified: activemq/activemq-apollo/trunk/apollo-cli/pom.xml
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-cli/pom.xml?rev=1245945&r1=1245944&r2=1245945&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-cli/pom.xml (original)
+++ activemq/activemq-apollo/trunk/apollo-cli/pom.xml Sat Feb 18 15:34:10 2012
@@ -149,6 +149,13 @@
       <scope>test</scope>
     </dependency>
     <dependency>
+      <groupId>org.xerial.snappy</groupId>
+      <artifactId>snappy-java</artifactId>
+      <version>1.0.3</version>
+      <scope>test</scope>
+    </dependency>
+
+    <dependency>
       <groupId>org.apache.activemq</groupId>
       <artifactId>apollo-bdb</artifactId>
       <version>1.1-SNAPSHOT</version>

Modified: activemq/activemq-apollo/trunk/apollo-openwire/src/main/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-openwire/src/main/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index?rev=1245945&r1=1245944&r2=1245945&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-openwire/src/main/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
(original)
+++ activemq/activemq-apollo/trunk/apollo-openwire/src/main/resources/META-INF/services/org.apache.activemq.apollo/dto-module.index
Sat Feb 18 15:34:10 2012
@@ -14,4 +14,4 @@
 ## See the License for the specific language governing permissions and
 ## limitations under the License.
 ## ---------------------------------------------------------------------------
-org.apache.activemq.apollo.stomp.openwire.Module
\ No newline at end of file
+org.apache.activemq.apollo.openwire.dto.Module
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/ClassFinder.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/ClassFinder.scala?rev=1245945&r1=1245944&r2=1245945&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/ClassFinder.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-util/src/main/scala/org/apache/activemq/apollo/util/ClassFinder.scala
Sat Feb 18 15:34:10 2012
@@ -47,7 +47,7 @@ object ClassFinder extends Log {
             classes += loader.loadClass(name)
           } catch {
             case e:Throwable =>
-              debug("Could not load class %s using class loader: %s", name, loader)
+              debug(e, "Could not load class %s using class loader: %s", name, loader)
           }
         }
       }
@@ -67,7 +67,7 @@ object ClassFinder extends Log {
           Some(moduleField.get(null).asInstanceOf[T])
         } catch {
           case e2: Throwable =>
-            debug("Could not create an instance of '%s' using classloader %s", clazz.getName,
clazz.getClassLoader)
+            debug(e, "Could not create an instance of '%s' using classloader %s", clazz.getName,
clazz.getClassLoader)
             None
         }
     }



Mime
View raw message