Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Change suffix of *.ds.xml files

    I'm using fabric3 container (http://www.fabric3.org/) with smartgwt 2.2. The problem is that, when the container tryies to deploy a war file with smartgwt front end it parse all xml files and fails on :

    [ERROR pool-8-thread-1 2010-11-03 10:06:23,810] [fabric3://runtime/ContributionDirectoryScanner] An error was encountered deploying a contribution
    org.fabric3.host.contribution.InstallException: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'i' (code 105) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
    at org.fabric3.contribution.processor.XmlResourceProcessor.process(XmlResourceProcessor.java:142)
    at org.fabric3.contribution.ProcessorRegistryImpl.processResource(ProcessorRegistryImpl.java:115)
    at org.fabric3.contribution.archive.ArchiveContributionProcessor.process(ArchiveContributionProcessor.java:99)
    at org.fabric3.contribution.ProcessorRegistryImpl.processContribution(ProcessorRegistryImpl.java:107)
    at org.fabric3.contribution.ContributionServiceImpl.processContents(ContributionServiceImpl.java:523)
    at org.fabric3.contribution.ContributionServiceImpl.installInOrder(ContributionServiceImpl.java:413)
    at org.fabric3.contribution.ContributionServiceImpl.contribute(ContributionServiceImpl.java:220)
    at org.fabric3.contribution.scanner.impl.ContributionDirectoryScanner.processAdditions(ContributionDirectoryScanner.java:384)
    at org.fabric3.contribution.scanner.impl.ContributionDirectoryScanner.processFiles(ContributionDirectoryScanner.java:261)
    at org.fabric3.contribution.scanner.impl.ContributionDirectoryScanner.run(ContributionDirectoryScanner.java:192)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:636)
    Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character 'i' (code 105) in prolog; expected '<'
    at [row,col {unknown-source}]: [1,1]
    at com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648)
    at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2047)
    at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
    at org.fabric3.contribution.processor.XmlResourceProcessor.skipToFirstTag(XmlResourceProcessor.java:165)
    at org.fabric3.contribution.processor.XmlResourceProcessor.process(XmlResourceProcessor.java:135)
    ... 17 common frames omitted


    because all war/helloworld/sc/shema/*.ds.xml files doesn't contain xml content but json content.

    Can you please change suffix of these files to something relevant?

    Here is the war file:
    http://jira.codehaus.org/secure/attachment/51763/helloworld-2.0.war
    http://jira.codehaus.org/secure/attachment/51762/helloworld-2.0-src.zip
Working...
X