Bug 781025 (SOA-3507) - helloworld_ftp_action uses old JBoss cache config file
Summary: helloworld_ftp_action uses old JBoss cache config file
Keywords:
Status: NEW
Alias: SOA-3507
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: JBossESB
Version: 5.2.0 GA,5.3.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-21 13:38 UTC by Martin Weiler
Modified: 2021-10-15 11:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3507 0 Major Closed helloworld_ftp_action uses old JBoss cache config file 2013-02-28 15:24:17 UTC

Description Martin Weiler 2011-10-21 13:38:35 UTC
Help Desk Ticket Reference: https://c.na7.visual.force.com/apex/Case_View?id=500A0000008SKFG&sfdc.override=1
project_key: SOA

With the fixes applied for SOA-2278, the read-only ftp listener works with the updated JBoss Cache 3.2 libraries. But the cache configuration file contained in the quickstart (ftpfile-cache-config.xml) is still using the old JBoss Cache 1.4 syntax, resulting in a failure to deploy the quickstart.

Comment 1 Martin Weiler 2013-02-28 14:39:41 UTC
Deploying the quickstart with 'ant deploy-readonly' leads to the following exception:

 ERROR [org.jboss.cache.config.parsing.XmlConfigHelper] (HDScanner) Configurator SAXParse error
org.xml.sax.SAXParseException: Premature end of file.
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at org.jboss.cache.config.parsing.XmlConfigHelper.getDocumentRoot(XmlConfigHelper.java:454)
	at org.jboss.cache.config.parsing.XmlConfigurationParser2x.parseStream(XmlConfigurationParser2x.java:103)
	at org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:179)
	at org.jboss.soa.esb.listeners.gateway.remotestrategies.cache.FtpFileCache.<init>(FtpFileCache.java:77)
	at org.jboss.soa.esb.listeners.gateway.remotestrategies.ReadOnlyRemoteFileSystemStrategy.init(ReadOnlyRemoteFileSystemStrategy.java:57)


To work around this, take the contents of one of the sample config files from the JBoss Cache 3.2.5.GA distribution, such as cacheloader-enabled.xml [1], and paste it into ftpfile-cache-config.xml.

[1] https://source.jboss.org/browse/~raw,r=8165/JBossCache/core/trunk/src/main/resources/config-samples/cacheloader-enabled.xml


Note You need to log in before you can comment on or make changes to this bug.