[jboss-jira] [JBoss JIRA] Updated: (JBMESSAGING-1616) Classpath issue with file version.properties
Tim Fox (JIRA)
jira-events at lists.jboss.org
Tue Jul 14 07:46:30 EDT 2009
[ https://jira.jboss.org/jira/browse/JBMESSAGING-1616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tim Fox updated JBMESSAGING-1616:
---------------------------------
Fix Version/s: 2.0.0
> Classpath issue with file version.properties
> --------------------------------------------
>
> Key: JBMESSAGING-1616
> URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1616
> Project: JBoss Messaging
> Issue Type: Bug
> Affects Versions: 2.0.0 Alpha
> Reporter: Markus Probst
> Assignee: Tim Fox
> Priority: Critical
> Fix For: 2.0.0
>
>
> In class org.jboss.messaging.util.VersionLoader the static method "load" throws a NumberFormatException while trying to read properties from file version.properties, if several files with this name are situated in current classpath and the "wrong" one is picked up:
> "
> java.lang.NumberFormatException: null
> at java.lang.Integer.parseInt(Integer.java:415)
> at java.lang.Integer.valueOf(Integer.java:553)
> at org.jboss.messaging.util.VersionLoader.load(VersionLoader.java:50)
> at org.jboss.messaging.core.client.impl.ClientConnectionFactoryImpl.createConnection(ClientConnectionFactoryImpl.java:135)
> at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:255)
> at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:134)
> ...
> "
> It is very likely that more than one library/artifacts contains a file called "version.properties", so I think the right way should be to rename this file to a more JBoss Messaging specific one.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list