Re: PermissionDeniedExc

Kurt Marasco <[email protected]>
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
Please ignore my prior question. I stupidly had a reference to the 1.1
jar in my ide. Once I referenced the correct jar, the 1.1 to 1.2 changes
that impacted my code became quite clear.

My apologies.

On Wed, 2004-04-28 at 16:12, Kurt Marasco wrote:

> 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
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.