geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: DayTrader newbie Starter Question
Date Wed, 07 Feb 2007 16:15:37 GMT
I believe all of that is not needed for derby, there's an option in  
the configuration page to create the tables from inside the app.

For other dbs that don't create databases on demand you'd have to  
create the database but the app can still create tables for you.

david jencks

On Feb 7, 2007, at 3:13 AM, Lasantha Ranaweera wrote:

>
> This is what I got from the DayTrader trunk. :-)
>
> INSTALL
> Before installing the EAR, you will need to create the tradedb  
> database.  First, make sure Geronimo is started.  Then cd into the  
> derby directory. Make sure the GERONIMO_HOME environment variable  
> is defined.  Run either createDB.bat (Windows) or createDB.sh  
> (Unix). This will create the tradedb database and its tables.
>
> Isn't this bit confusing to a new user like me?
>
> Got the problem solved !!!. Thanks for the information.
>
> Lasantha
>
> Rakesh Midha wrote:
>> According to readme
>> "Then cd into the derby directory. Make sure the GERONIMO_HOME  
>> environment variable is defined.  Run either createDB.bat  
>> (Windows) or createDB.sh (Unix)"
>>
>> and createDB.sh is there in daytrader/module/derby directory
>>
>> Am I missing something?
>> thanks
>> Rakesh
>>
>>
>> On 2/7/07, *Lasantha Ranaweera* <lasantha@opensource.lk  
>> <mailto:lasantha@opensource.lk>> wrote:
>>
>>     Hi All,
>>
>>     I have started looking at DayTrader sample application. According
>>     to the
>>     README file there is a  createDB.sh to configure database of the
>>     application.  I didn't  find it in the either  inside of  
>> daytrader  or
>>     Geronimo.  Also this part is bit ambiguous to a new user like  
>> me since
>>     it does not gives exact location of the file. :-(
>>
>>     How do I configure the db?
>>
>>     Can we create JIRA issues for such problems?
>>
>>     Thanks,
>>     Lasantha
>>
>>
>


Mime
View raw message