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

RE: Problems starting ozone ?



Thanks in advance to Falko and Lars:
this is trace:
D:\Programs\ozone-0.5.5\samples\XML>java -cp
.;D:\Programs\ozone-0.5.5\bin\ozone.jar;D:\Programs\ozone-0.5.5\bin\xerces.j
ar;D:\Programs\ozone-0.5.5\bin\omquery.jar;D:\Programs\ozone-0.5.5\bin\jta-s
pec1_0_1.jar;D:\Programs\ozone-0.5.5\bin\xtdash.jar \
 XML.Store -p org.apache.xerces.parsers.DOMParser test.xml

File name: test.xml
Document name: test.xml
java.lang.ClassCastException: org.apache.xerces.parsers.DOMParser
        at
org.ozoneDB.xml.util.OzoneDOMParser.<init>(OzoneDOMParser.java:56)
        at XML.Store.main(Store.java:102)

D:\Programs\ozone-0.5.5\samples\XML>

Bye
Mario
-----Original Message-----
From: Falko Braeutigam [mailto:falko@smb-tec.com]
Sent: giovedì 24 agosto 2000 3.57
To: ozone-users@ozone-db.org
Subject: RE: Problems starting ozone ?


On Thu, 24 Aug 2000, Zucca Mario wrote:
> Hi Falko,
> 
> I looked in the sample and I saw the -p switch to use another one parser
but
> using the Xerces 1.1.2 one I got a class cast error :(
> 
> Any suggestions ?
Send us a stack trace. Maybe Lars can help you out.

Falko

> 
> Thanks in advance
> 
> Mario
> 
> -----Original Message-----
> From: Falko Braeutigam [mailto:falko@smb-tec.com]
> Sent: giovedì 24 agosto 2000 2.58
> To: Zucca Mario; ozone-users@ozone-db.org
> Subject: RE: Problems starting ozone ?
> 
> 
> On Tue, 22 Aug 2000, Zucca Mario wrote:
> > Hi Falko,
> > I don't think so, I've the same classpath for the client and the server
> ...
> >> Is it possible to change the standard DOM parser for Ozone ?
> Yes. Look at the XML samples.
> 
> 
> Falko
> 
> > 
> > Bye
> > Mario
> > 
> > -----Original Message-----
> > From: Falko Braeutigam [mailto:falko@smb-tec.com]
> > Sent: martedì 22 agosto 2000 9.55
> > To: Zucca Mario; ozone-users@ozone-db.org
> > Subject: RE: Problems starting ozone ?
> > 
> > 
> > On Tue, 22 Aug 2000, Zucca Mario wrote:
> > > Hi Falko,
> > > 
> > > thanks I'll try this asap :)
> > > 
> > > I've got another one error: after storing a pretty large XML file
(about
> > > 2000 elements) using SAX instead of DOM version of ozone samples now I
> > have
> > > to query the node using XPath.
> > > After a few attempts ( using the sample first and replace XPath
> processor
> > > with Xalan after ..) I got the following error:
> > > 
> > > [warn] (473) Transaction: invokeObject()
> > >     java.lang.ArrayIndexOutOfBoundsException
> > >         at
> > > org.ozoneDB.core.AbstractObjectContainer.invokeTarget(AbstractObje
> > >             ctContainer.java:197)
> > 
> > It seems that your client application and the ozone server are not using
> the
> > same proxy classes.
> > 
> > 
> > Falko
> > -- 
> > ______________________________________________________________________
> > Falko Braeutigam                              mailto:falko@smb-tec.com
> > SMB GmbH                                        http://www.smb-tec.com
> -- 
> ______________________________________________________________________
> Falko Braeutigam                              mailto:falko@smb-tec.com
> SMB GmbH                                        http://www.smb-tec.com
-- 
______________________________________________________________________
Falko Braeutigam                              mailto:falko@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com