PermissionDeniedExc
Kurt Marasco <[email protected]>
| Newsgroups | gmane.comp.java.ozone.user |
|---|---|
| Message-ID | <[email protected]> |
I switched from 1.1 to 1.2 and I can no longer start my application
without getting a PermissionDeniedExc. I tried several resolutions
including deleting and recreating the database directory, adding
permissions to the opendatabase command, and starting the server without
indicating a user.
My various connection syntax from the apps code (I don't see anyway to
actually set a password, so that may be my problem.):
//db = ExternalDatabase.openDatabase(
"ozonedb:remote://192.168.2.11:3333?user=root&password=x" );
//db = ExternalDatabase.openDatabase(
"ozonedb:remote://192.168.2.11:3333" );
db = ExternalDatabase.openDatabase(
"ozonedb:remote://192.168.2.11:3333,root,any" );
I've launched the database using both:
# ozone -d/opt/ozone/qkbdata
# ozone -d/opt/ozone/qkbdata -uroot
My result is always:
# ojvm net.medportal.qkb.domain.QkbApp
# OZONE_HOME set to: /opt/ozone/ozone-1.2.x-dev
# Exception in thread "Main" java.lang.NoClassDefFoundError:
org.ozoneDB/PermissionDeniedExc
#
Any help would be appreciated.
Kurt