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

Re: ozone installation



hi again,

maybe i'm running in all those errors cause im using
kaffe 1.0.b4, which is ment to be java 1.1 compliant.

anyway - you can find some important environment variables
in the attached file called env.txt.

the file progs.txt lists some files which are related
to ozone or at least to any java tools.

btw - is it correct that the $OZONE_JAR variable only contains
one jar file (w3c-dom.jar)?

finally - regarding to my $CLASSPATH variable, it seems that
there is a openxml jar file included, so both xml4j and openxml
should be found by the java (jikes) copiler.

bye

daniel

p.s. - yes, i'm using 'make all' tho compile all the ozone files
--

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


Hi,

Wed, 05 Jan 2000 Daniel Haischt wrote:
>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
>d.
>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 ...

Hmm, You want to use XML4J and don´t have installed the OpenXML package?
Then you have to modify the Makefile and comment the line with
"OpenXMLParser.java" then the compiler doesn´t search for "DOMFactory".
If you _have_ installed the OpenXML package then your CLASSPATH seems to
be incorrect.

The default target in ozone/org/ozoneDB/xml/util/Makefile compiles _all_
Java files. There are targets for each specfic XML parser (openxml, ibmxml)
so the default target should not compile "parser specific" things. We
will change this for the next distribution.

>bye
>
>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:
>>>hi
>>
>>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/local/ozone/com/ibm/xml/parser,
>>/usr/local/ozone/bin/gnu-regexp-1.0.8.jar(com/ibm/xml/parser),
>>/usr/local/ozone/bin/ozone.jar(com/ibm/xml/parser),
>>/usr/local/ozone/bin/w3c-dom.jar(com/ibm/xml/parser),
>>/usr/share/kaffe/Klasses.jar(com/ibm/xml/parser),
>>/usr/share/kaffe/tools.jar(com/ibm/xml/parser),
>>/usr/share/kaffe/openxml-1.1.jar(com/ibm/xml/parser),
>>/usr/share/kaffe/xml4j/xerces.jar(com/ibm/xml/parser),/
>>usr/share/kaffe/xml4j/xml4j.jar(com/ibm/xml/parser),
>>/usr/share/kaffe/xml4j/src/com/ibm/xml/parsers/com/ibm/xml/parser or
>>/usr/share/kaffe/xml4j/src/org/xml/sax/com/ibm/xml/parser
>>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
>>method,
>>"org/w3c/dom/Document".
>>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.
>>
>>regards
>>
>>daniel haischt
>>
>----------------------------------------
>Content-Type: text/plain; name="ozone.txt"
>Content-Transfer-Encoding: quoted-printable
>Content-Description:
>----------------------------------------
>
>----------------------------------------
>Content-Type: text/plain; name="env.txt"
>Content-Transfer-Encoding: quoted-printable
>Content-Description:
>----------------------------------------
>
>Regards and a Happy New Year to all!
>Lars
>--
>________________________________________________________________
>Lars Martin                         mailto:lars@softwarebuero.de
>softwarebuero m&b (SMB)              http://www.softwarebuero.de

Regards,
Lars
--
________________________________________________________________
Lars Martin                         mailto:lars@softwarebuero.de
softwarebuero m&b (SMB)              http://www.softwarebuero.de

abysstwo:~$ l /usr/bin/ja*
-rwxr-xr-x    1 root     root       681352 Nov  2 17:27 /usr/bin/jade
lrwxrwxrwx    1 root     root            3 Jan  6 01:08 /usr/bin/jadetex -> tex
lrwxrwxrwx    1 root     root           21 Jan  4 17:59 /usr/bin/jar -> /etc/alternatives/jar
lrwxrwxrwx    1 root     root           22 Jan  4 17:59 /usr/bin/java -> /etc/alternatives/java
lrwxrwxrwx    1 root     root           14 Jan  5 19:43 /usr/bin/javac -> /usr/bin/jikes
lrwxrwxrwx    1 root     root           25 Jan  4 17:59 /usr/bin/javadoc -> /etc/alternatives/javadoc
lrwxrwxrwx    1 root     root           25 Jan  4 17:59 /usr/bin/javakey -> /etc/alternatives/javakey
lrwxrwxrwx    1 root     root           23 Jan  4 17:59 /usr/bin/javap -> /etc/alternatives/javap
lrwxrwxrwx    1 root     root           28 Jan  4 17:59 /usr/bin/javaverify -> /etc/alternatives/javaverify
abysstwo:~$ l /usr/share/kaffe/
total 2060
-rw-r--r--    1 root     root       772730 Aug  4 19:00 Klasses.jar
-rw-r--r--    1 root     root         8081 Aug  4 19:00 comm.jar
-rw-r--r--    1 root     root         3100 Aug  4 19:00 microsoft.jar
-rw-r--r--    1 root     root       549215 Jan  5 19:28 openxml-1.1.jar
-rw-r--r--    1 root     root         5486 Aug  4 19:00 pjava.jar
-rw-r--r--    1 root     root        11983 Aug  4 19:00 servlet.jar
-rw-r--r--    1 root     root        10536 Aug  4 19:00 tools.jar
-rwxr-xr-t    1 root     root       721957 Jan  5 19:30 xml4j.jar
abysstwo:~$ l /usr/share/java/ 
total 680
-rw-r--r--    1 root     root        85832 Jan  4 19:27 ApacheJServ.jar
-rw-r--r--    1 root     root       189208 Nov  5 22:33 bsh.jar
-rw-r--r--    1 root     root       143506 Dec 30 23:55 postgresql.jar
drwxr-xr-x    3 root     root         4096 Jan  5 09:17 repository
-rw-r--r--    1 root     root        42153 Jan  4 19:27 servlet-2.0.jar
drwxr-xr-x    2 root     root         4096 Jan  5 10:23 servlets
-rw-r--r--    1 root     root       196724 Nov  7 20:42 xslp.jar
abysstwo:~$ env | grep PATH
CLASSPATH=/usr/local/ozone:/usr/local/ozone/bin/w3c-dom.jar:/usr/share/kaffe/Klasses.jar:/usr/share/kaffe/tools.jar:/usr/share/kaffe/openxml-1.1.jar:/usr/share/kaffe/xml4j.jar
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/ozone/bin
abysstwo:~$ env | grep OZONE
OZONE_JVM=java
OZONE_JARS=/usr/local/ozone/bin/w3c-dom.jar
OZONE_HOME=/usr/local/ozone