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

RE: Problems setting up ozone on w2k



> -----Original Message-----
> From: Falko Braeutigam [mailto:falko@softwarebuero.de]
> Sent: Tuesday, June 13, 2000 4:23 AM
> To: David Copeland; ozone-users@ozone-db.org
> Subject: Re: Problems setting up ozone on w2k
>
>
> On Mon, 12 Jun 2000, David Copeland wrote:
> > I'm new to Ozone. I tried running two of the examples without any luck.
> > First, I tried to run samples\simple\Local. After downloading the 0.4
> > distribution, and compiling samples\simple\Local, I got the
> following output
>
> I don't see this with ozone 0.5dev2 on Linux. Unfortunately I'm unable to
> follow your stack trace because it doesn't correspond to my 0.5+
> source tree.
> Can you please try the 0.5dev2 on your W2K system? What JDK do you use?
> Did anybody get ozone running on W2K?

I downloaded 0.5dev2. Now I can run XML.Store and the document is stored
properly, but when I run XML.Load I get IllegalArgumentExceptions from both
the client and the server (output below). If I try XML.Load -sp the document
is printed to the server log before the exceptions are raised so the
document does get properly stored. I removed the database, recreated it, and
repeated the test, same results. Tried simple/Client with similar results.
Tried simple/Local which worked perfectly.

I'm using Windows 2000 with Sun JDK 1.3.

If someone can help me get XML.Load working, I'd appreciate it.

Thanks in advance,
DaveC

--------------------------

Output

Client output from XML.Load

C:\ozone\samples\XML>ojvm XML.Store test.xml

C:\ozone\samples\XML>rem $Id: ojvm.bat,v 1.2 2000/05/09 08:35:47 daniela Exp
$
File name: test.xml
Document name: test.xml
DOM parse into memory and store time: 1842 ms

C:\ozone\samples\XML>ojvm XML.Load test.xml

C:\ozone\samples\XML>rem $Id: ojvm.bat,v 1.2 2000/05/09 08:35:47 daniela Exp
$
Load document: test.xml
Document "test.xml" found in DataBase!
Accessing all nodes on server side (without printing): 20ms
org.ozoneDB.UnexpectedException: org.ozoneDB.OzoneInternalExc:
java.lang.IllegalArgumentException: wrong number of arguments
        at
org.ozoneDB.xml.dom.DocumentImpl_Proxy.getFirstChild(DocumentImpl_Proxy.java
:230)
        at XML.Load.listNodes(Load.java:154)
        at XML.Load.main(Load.java:125)


Server output when running XML.Load

[info] (328) InvokeServer: connection established...
[info] (519) InvokeServer: user logged in: dc
[warn] (519) Transaction: invokeObject()
    java.lang.IllegalArgumentException: wrong number of arguments
        at java.lang.reflect.Method.invoke(Native Method)
        at
org.ozoneDB.core.AbstractObjectContainer.invokeTarget(core/AbstractObjectCon
tainer.java:244)
        at
org.ozoneDB.core.Transaction.invokeObject(core/Transaction.java:418)
        at
org.ozoneDB.core.DbRemote.DbInvoke.perform(core/DbRemote/DbInvoke.java:61)
        at
org.ozoneDB.core.Transaction.performCommand(core/Transaction.java:190)
        at
org.ozoneDB.core.TransactionManager.performCommand(core/TransactionManager.j
ava:307)
        at
org.ozoneDB.core.TransactionManager.handleCommand(core/TransactionManager.ja
va:200)
        at
org.ozoneDB.core.InvokeServer.handleClientEvent(core/InvokeServer.java:77)
        at
org.ozoneDB.DxLib.net.DxMultiServerClient.run(net/DxMultiServerClient.java:3
7)
        at java.lang.Thread.run(Unknown Source)
[warn] (519) Transaction: ta(-111): uncaught exception:
(org.ozoneDB.OzoneInternalExc: java.lang.IllegalArgumentException: wrong
number of arguments)
    org.ozoneDB.OzoneInternalExc: java.lang.IllegalArgumentException: wrong
number of arguments
        at
org.ozoneDB.core.Transaction.invokeObject(core/Transaction.java:445)
        at
org.ozoneDB.core.DbRemote.DbInvoke.perform(core/DbRemote/DbInvoke.java:61)
        at
org.ozoneDB.core.Transaction.performCommand(core/Transaction.java:190)
        at
org.ozoneDB.core.TransactionManager.performCommand(core/TransactionManager.j
ava:307)
        at
org.ozoneDB.core.TransactionManager.handleCommand(core/TransactionManager.ja
va:200)
        at
org.ozoneDB.core.InvokeServer.handleClientEvent(core/InvokeServer.java:77)
        at
org.ozoneDB.DxLib.net.DxMultiServerClient.run(net/DxMultiServerClient.java:3
7)
        at java.lang.Thread.run(Unknown Source)
[info] (519) InvokeServer: connection closed (user: dc)