Lasantha, The createDB scripts is needed to create an empty Daytrader instance using Derby DB. The DT-14 patch adds the ability for users to go to the Config panel in Daytrader and create the database tables and populate them with random data to start testing. As Chris mentioned some clean-up and bit of clearer documentation should make this a lot smoother for someone new to the application.
Piyush On 2/7/07, Christopher Blythe <[EMAIL PROTECTED]> wrote:
lasantha... piyush and myself have been trying to push in a lot of improvements lately, especially regarding the database setup. one of the items we have added is the ability to create the database tables within the application itself. take a look at daytrader-14 ( https://issues.apache.org/jira/browse/DAYTRADER-14) and you'll get an idea of what we've added. there is still a lot of clean-up that needs in the 1.2 branch and trunk with regard to the plan files. this will take place shortly, since these are essential for a smooth deployment. chris On 2/7/07, Lasantha Ranaweera <[EMAIL PROTECTED]> 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* < [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> 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 > > > > > > -- "I say never be complete, I say stop being perfect, I say let... lets evolve, let the chips fall where they may." - Tyler Durden
