5 Replies Latest reply on Jul 14, 2009 10:34 AM by guntherv

    Application Client can't find version.properties

      When I run a Java Application I get a java.lang.RuntimeException when I request a connection instance on the factory.

      Exception in thread "main" java.lang.RuntimeException: version.properties is not available
       at org.jboss.messaging.utils.VersionLoader.getVersion(VersionLoader.java:65)
       at org.jboss.messaging.jms.client.JBossConnection.<init>(JBossConnection.java:147)
       at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:514)
       at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:115)
      ...


      Apparently the org.jboss.messaging.utils.VersionLoader class (jbm-core.jar) tries to resolve the file version.properties on the classpath.
      The jbm-core.jar contains this file, but adding it to the classpath doesn't resolve the issue.
      Anybody any idea why this is happening ?