[ https://issues.apache.org/activemq/browse/AMQ-825?page=comments#action_36580 ] james strachan commented on AMQ-825: ------------------------------------
BTW to workaround this issue I tried adding a FileEditor to xbean-spring but that didn't help at all. It seems 2.0-rc1 or later requires URI syntax for files as strings. e.g. 'foo' -.> 'file:foo' etc. So am thinking its better to just not use File types in the DefaultPersistenceAdapterFactory and use Strings by default. The downside is this would break folks using the Java API; but better that than break everyone who uses the activemq.xml configuration mechanism > activemq fails to work with spring-2.0-rc1 > ------------------------------------------ > > Key: AMQ-825 > URL: https://issues.apache.org/activemq/browse/AMQ-825 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 4.0.1 > Reporter: james strachan > Assigned To: james strachan > Fix For: 4.1 > > > we get a failure trying to coerce a String into a File for the dataDirectory > property on the DefaultPersistenceAdapterFactory -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira