[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ozone installation

hi lars,

it's embarrassing, but i'm still running in
some compilation errors while compiling ozone.
error message follows below ...

jikes +E -g OpenXMLParser.java
OpenXMLParser.java:20:20:20:29: Error: "DOMFactory" is either a misplaced
package name or a non-existent entity.
OpenXMLParser.java:22:16:22:26: Caution: This catch block may be unreachable
because there is no exception whose type is assignable to "java/lang
/Exception" that can be thrown during execution of the body of the try
block. However, this being a base exception class, compilation will procee
OpenXMLParser.java:28:16:28:25: Error: "DOMFactory" is either a misplaced
package name or a non-existent entity.
make[2]: *** [openxml] Error 1
make[2]: Leaving directory `/usr/local/ozone/org/ozoneDB/xml/util'
make[1]: *** [openxml] Error 2
make[1]: Leaving directory `/usr/local/ozone/org/ozoneDB/xml'
make: *** [xml] Error 2

right now i'm defenatly using XML4J 2.0.15 ...


daniel haischt

----- Original Message -----
From: "Lars Martin" <lars@softwarebuero.de>
To: "Daniel Haischt" <sirabyss@gmx.net>
Cc: "ozone-users-list" <ozone-users@ozone-db.org>
Sent: Monday, January 03, 2000 11:00 AM
Subject: Re: ozone installation

Hi Daniel,

Thu, 30 Dec 1999 Daniel Haischt wrote:
>im trying to compile ozone on my linux box.
>unfortunatly im running allways into
>some weird error messages.
>below are my system specs:
>debian 2.2 GNU/Linux (glibc2.1/libc6 compliant)
>Java Toolkit: Kaffe
>JVM: java
>JIT compiler: IBM jikes (also symlinked to javac for security reasons)
>openxml and xml4j is in classpath
>(i attached my whole environment as sepperate file)
>ozone home: /usr/local/ozone
>and now the error message:
>BMXMLParser.java:13:8:13:25: Error: Could not find package named:
>/usr/share/kaffe/xml4j/src/com/ibm/xml/parsers/com/ibm/xml/parser or
>IBMXMLParser.java:39:16:39:31: Error: The type of this return expression,
>"org/ozoneDB/xml/util/TXDocument", does not match the return type of the
>IBMXMLParser.java:39:20:39:29: Error: Type org/ozoneDB/xml/util/TXDocument
>was not found.
>make[2]: *** [ibmxml] Error 1
>make[2]: Leaving directory `/usr/local/ozone/org/ozoneDB/xml/util'
>make[1]: *** [util] Error 2
>make[1]: Leaving directory `/usr/local/ozone/org/ozoneDB/xml'
>make: *** [xml] Error 2
>why does the compiler searches for a XML parser though?

The branch "org/ozoneDB/xml" contains classes and interfaces to
handle XML documents in ozone. For this it was necessary to introduce
a common Parser interface as a wrapper for each native XML Parser
(like XML4J and OpenXML). If you want to use the XML stuff from ozone
you have to have installed _your_ XML Parser package. Otherwise donĀ“t
use "make all" to build ozone - use "make server" instead (which doesn't
compile the XML stuff).

In your case it seems that you are not using XML4J 2.0.15. The class
org.ozoneDB.xml.util.IBMXMLParser.class is wrapping this version of
IBMs XML Parser.

>(i thought the parser is allways included in the openxml or xml4j
>jar files).
>i hope some of you is able to help me in some way.
>daniel haischt
Content-Type: text/plain; name="ozone.txt"
Content-Transfer-Encoding: quoted-printable

Content-Type: text/plain; name="env.txt"
Content-Transfer-Encoding: quoted-printable

Regards and a Happy New Year to all!
Lars Martin                         mailto:lars@softwarebuero.de
softwarebuero m&b (SMB)              http://www.softwarebuero.de