[daisy] block.xml sax problem
James Bowery
jabowery at technicalpursuit.com
Wed Nov 22 14:15:06 CST 2006
[root at limelight jabowery]# java --version
java version "1.4.2"
gij (GNU libgcj) version 4.1.1 20060525 (Red Hat 4.1.1-1)
Bruno Dumon wrote:
> Hi,
>
> Sorry for the late response. Which Java version are you using (java
> -version)?
>
> (don't pay too much attention if the following is too technical)
>
> It seems like it fails in validating the .xinfo file in the jar against
> the DTD. Looking a bit closer at the DTD itself, it indeed contains
> multiple declarations of the "name" element, and of other elements too.
> A quick check of the XML specificiation reveals this is not allowed.
>
> Anyhow, since you're the first one up to know to report this problem, I
> guess it must be the result of using some newer/different java version
> which actually checks this constraint.
>
> On Sat, 2006-11-18 at 17:52 -0800, James Bowery wrote:
>
>> Attempting to run up:
>>
>> [root at limelight bin]# ./daisy-repository-server /home/daisycms/daisydata/
>> Starting Merlin 3.3.0.
>> ====================
>> Platform: Linux
>> Java Home: /usr
>> Merlin Home: /home/daisycms/daisy-1.5.1/repository-server/merlin
>> Security policy:
>> /home/daisycms/daisy-1.5.1/repository-server/merlin/bin/security.policy
>> JVM Options: -Xmx128m -Dmerlin.deployment.timeout=0
>> -Dmerlin.logging.config=/home/daisycms/daisydata//conf/logkit.xml
>> -Ddaisy.datadir=/home/daisycms/daisydata/
>> -Ddaisy.home=/home/daisycms/daisy-1.5.1 -Dfile.encoding=UTF-8
>> -Djava.awt.headless=true
>> -Dorg.apache.commons.logging.Log=org.outerj.daisy.logging.DaisyLog
>> -Djava.security.auth.login.config=/home/daisycms/daisydata//conf/login.config
>> -Duser.language=en -Duser.country=US -Duser.variant=
>> Bootstrap JAR:
>> /home/daisycms/daisy-1.5.1/repository-server/merlin/system/merlin/jars/merlin-cli-3.3.0.jar
>> Merlin Arguments: -offline -home /home/daisycms/daisydata/
>> -repository /home/daisycms/daisy-1.5.1/lib -config
>> /home/daisycms/daisydata//conf/myconfig.xml
>> /home/daisycms/daisy-1.5.1/repository-server/conf/block.xml
>> ---- exception report
>> ----------------------------------------------------------
>> Exception: org.apache.avalon.merlin.KernelException
>> Message: Install failure:
>> file:/home/daisycms/daisy-1.5.1/repository-server/conf/block.xml
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: org.apache.avalon.composition.model.ModelException
>> Message: Could not create classloader.
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: org.apache.avalon.composition.model.ModelException
>> Message: Unexpected error while scanning jar file:
>> file:/home/daisycms/daisy-1.5.1/lib/daisy/jars/daisy-commons-logging-helper-1.5.1.jar
>> ---- cause
>> ---------------------------------------------------------------------
>> Exception: org.xml.sax.SAXParseException
>> Message: multiple declarations for element type: name
>>
>
>
More information about the daisy
mailing list