Sorry for the delay (Thursday was a holiday here (unless you're a 
turkey<g>), and I took Friday off...).  However, I see from the mail list 
that you've fixed the problem.

The file $ORION_DIR/config/data-sources.xml contains the configuration for 
your jdbc connection(s) - part of the data-source element is the jdbc URL, 
which (at least for hypersonic) includes the path to the database 
files.  For example, from my development system:

   <data-source
--- (many attributes skipped...)
     connection-driver="org.hsql.jdbcDriver"
     url="jdbc:HypersonicSQL:../oriondb/SBDdb"
   />

In our case the database directory is moved outside the $ORION_DIR tree - 
mostly because it made it easier to update Orion in the pre-autoupdate 
days, and uses several files named SDBdb and different extensions.

The given path is relative to $ORION_DIR, and the format is described at 
http://www.hypersonicsql.com/ (click on Operating Modes) under Standalone mode.

I'm a bit surprised that the default installation doesn't create the 
database directory; perhaps you'd like to put that one into 
bugzilla.  Little gotcha's for new evaluators aren't good...

Kirk Yarina

At 09:35 AM 11/23/00 +0000, you wrote:

>Hi.
>No, I haven't created any database directory. This is the first time I hear
>about
>that!! . Could you tell me what I have to do?, I mean,
>What is this directory for? What about the defaultdb file in it? Where did
>you
>read about that?
>
>Thank you very much.
>
>
>----- Original Message -----
>From: KirkYarina <[EMAIL PROTECTED]>
>To: Orion-Interest <[EMAIL PROTECTED]>
>Sent: Wednesday, November 22, 2000 9:35 PM
>Subject: Re: Problems with the Orion CMP primer example.
>
>
> > Have you created a database directory ($ORION_DIR/database)?  Do you have
> > the appropriate permissions on defaultdb.* in it?
> >
> > At 12:10 PM 11/22/00 +0000, you wrote:
> >
> > >Hi,
> > >I'm trying to deploy the Orion CMP primer example. I've follow the
> > >instructions but I've got the following error:
> > >
> > >Auto-deploying addressbook (New server version detected)...
> > >Auto-deploying addressbook-ejb.jar (No previous deployment found)... SQL
> > >    error: File input/output error: ./database/defaultdb.properties
> > >Warning: Error creating table: File input/output error:
> > >./database/defaultdb.pro
> > >     perties
> > >done
> > >Orion/1.3.8 initialized
> > >
> > >I'm sure I've installed Orion properly because I've deployed successfully
> > >the
> > >Orion Primer example.
> > >
> > >Thanks in advance
> >
> >
> > Kirk Yarina
> > [EMAIL PROTECTED]
> >


Kirk Yarina
[EMAIL PROTECTED]


Reply via email to