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

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?


> 
> C:\install\ozone\ozone-0.4\ozone\samples\simple>java Local
>     ozoneDB.adminPort = 3000
>     ozoneDB.classicStore.clusterSize = 65536
>     ozoneDB.classicStore.clusterSpaceSize = 5120000
>     ozoneDB.classicStore.tableBufferSize = 12800
>     ozoneDB.classicStore.tableCacheSize = 4096
>     ozoneDB.dbID = 0
>     ozoneDB.fileLog = INFO, WARN, ERROR
>     ozoneDB.port = 3333
>     ozoneDB.stdoutLog = INFO, WARN, ERROR
>     ozoneDB.store = org.ozoneDB.core.wizardStore.WizardStore
>     ozoneDB.wizardStore.clusterCacheSize = 2097152
>     ozoneDB.wizardStore.clusterSize = 65536
>     ozoneDB.wizardStore.clusterSizeRatio = 256
>     ozoneDB.wizardStore.tableBufferSize = 100
>     ozoneDB.wizardStore.tableCacheSize = 12
> connected...
> org.ozoneDB.OzoneInternalExc: java.lang.NullPointerException
>         at
> org.ozoneDB.ExternalDatabase.sendCommand(ExternalDatabase.java:324)
>         at
> org.ozoneDB.ExternalDatabase.sendCommand(ExternalDatabase.java:296)
>         at
> org.ozoneDB.ExternalDatabase.createObject(ExternalDatabase.java:413)
>         at
> org.ozoneDB.ExternalDatabase.createObject(ExternalDatabase.java:407)
>         at Local.main(Local.java:32)
> 
> I had no trouble using ozoneInst and OzoneAdminTerm to create a database
> instance and add users. I then tried samples\XML\Client
> 
> >From the client
> 
> C:\install\ozone\ozone-0.4\ozone\samples\XML>java Client
> connected...
> bus:class BusImpl_Proxy remoteID:15002
> Exception in thread "main" org.ozoneDB.TransactionExc:
> java.lang.NullPointerException
>         at
> org.ozoneDB.ExternalDatabase.sendCommand(ExternalDatabase.java:324)
>         at
> org.ozoneDB.ExternalDatabase.sendCommand(ExternalDatabase.java:296)
>         at
> org.ozoneDB.ExternalDatabase.deleteObject(ExternalDatabase.java:418)
>         at Client.main(Client.java:23)
> 
> >From the database
> 
> [info] (389) InvokeServer: user logged in: dc
> Bus:Ford, 0, 12
> [warn] (389) TransactionManager: Prepare transaction failed: ta(-99);
> aborting...
>     java.lang.NullPointerException
>         at
> org.ozoneDB.core.wizardStore.WizardStore.prepareCommitTransaction(WizardStor
> e.java:319)
>         at org.ozoneDB.core.Transaction.prepareCommit(Transaction.java:229)
>         at
> org.ozoneDB.core.TransactionManager.prepareTransaction(TransactionManager.ja
> va:376)
>         at
> org.ozoneDB.core.TransactionManager.completeTransaction(TransactionManager.j
> ava:277)
>         at
> org.ozoneDB.core.TransactionManager.handleCommand(TransactionManager.java:19
> 5)
>         at
> org.ozoneDB.core.InvokeServer.handleClientEvent(InvokeServer.java:76)
>         at
> org.ozoneDB.DxLib.net.DxMultiServerClient.run(DxMultiServerClient.java:36)
>         at java.lang.Thread.run(Unknown Source)
> [info] (389) InvokeServer: connection closed (user: dc)
> 
> Has anyone used Ozone with Windows 2000? Is there any additional setup that
> I need to do to get things working? From looking at the documentation, Ozone
> looks like a very useful product so I'd like to get it working.
> 
> Thanks for your help,
> DaveC
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de