Re: DayTrader newbie Starter Question

2007-02-07 Thread Christopher Blythe

I agree with Matt... just need to make sure the ddls stay in sync.

On 2/7/07, Matt Hogstrom <[EMAIL PROTECTED]> wrote:


We should probably keep the external ddl around so that folks that
want to create the tables externally can.
>





--
"I say never be complete, I say stop being perfect, I say let... lets
evolve, let the chips fall where they may." - Tyler Durden


Re: DayTrader newbie Starter Question

2007-02-07 Thread Matt Hogstrom
We should probably keep the external ddl around so that folks that  
want to create the tables externally can.






Re: DayTrader newbie Starter Question

2007-02-07 Thread David Jencks
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* <[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








Re: DayTrader newbie Starter Question

2007-02-07 Thread Piyush Agarwal

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]
> > > 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


Re: DayTrader newbie Starter Question

2007-02-07 Thread Christopher Blythe

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.2branch 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]
> > 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


Re: DayTrader newbie Starter Question

2007-02-07 Thread Lasantha Ranaweera


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] 
> 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






Re: DayTrader newbie Starter Question

2007-02-07 Thread Rakesh Midha

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]> 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