[jboss-user] [JBoss Messaging] - Application Client can't find version.properties
guntherv
do-not-reply at jboss.com
Tue Jul 14 07:32:29 EDT 2009
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 ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243508#4243508
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243508
More information about the jboss-user
mailing list