Kirk,
I have recently gone through this. Here are my observations on what to do.
Referring to the steps in Orion's estore-install.txt file:
re: 2) There are two data sources required, one for "jdbc/EstoreDataSource"
and one for "jdbc/InventoryDataSource". For example:
<data-source
name="JPS EStore data-source"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/EstoreDataSource"
pooled-location="jdbc/EStorePooledDS"
xa-location="jdbc/xa/EStoreXADS"
ejb-location="jdbc/EStoreEJBDS"
url="jdbc:HypersonicSQL:estoredb"
connection-driver="org.hsql.jdbcDriver"
username="sa"
password=""
/>
<data-source
name="JPS Inventory data-source"
class="com.evermind.sql.ConnectionDataSource"
location="jdbc/InventoryDataSource"
pooled-location="jdbc/InventoryPooledDS"
xa-location="jdbc/xa/InventoryXADS"
ejb-location="jdbc/InventoryEJBDS"
url="jdbc:HypersonicSQL:estoredb"
connection-driver="org.hsql.jdbcDriver"
username="sa"
password=""
/>
re: 4) I ran a Hypersonic.sql script (copied and edited Sysbase.sql) to
create the pet store database. (We also created an Interbase.sql script.)
All the tables are in one database, so both data sources in 2) point to this.
re: 9) You are correct, step 9 cannot be completed until after the web
application has been deployed the first time.
re: 11) The -Djsp.reuse.tags=false java option must be used to run this
application under orion.
At this point you can browse the pet store and put things in the cart. You
should also create a user named 'j2ee' belonging to the 'customers' group
in the principals.xml for the application. However, an order cannot be
committed since there is no provision for HypersonicSQL in the demo. I modified
com/sun/estore/order/ejb/OrderDAO.java
and created
com/sun/estore/order/ejb/OrderDAOHypersonic.java
This also requires one new method in com/sun/estore/util/Calendar.java.
I found it helpful to enable debugging by recompiling
com/sun/estore/util/Debug.java
and setting the debug flag to true.
I would be glad to share these files. If someone on the orion team would
let me know where to send them, they may be posted or integrated into the
estore-patched application.
Regards,
Earl
At 10:22 6/14/00 -0400, Kalvar, Kirk wrote:
> > applications/estore-install.txt
> >
> > for step 9 directory orion/application-deployments/petstore/estore/ does
> > not exist at this point in the installation process.
> >
> > Kirk S. Kalvar, Software Engineer
> > DRS Electronic Systems Group
> >
> > > -----Original Message-----
> > > From: Kalvar, Kirk [SMTP:[EMAIL PROTECTED]]
> > > Sent: Wednesday, June 14, 2000 08:02
> > > To: Orion-Interest
> > > Subject: RE: PetStore Demo for Orion
> > >
> > > Additionally the PetStore Demo on the Orion web site has both of these
> > > features working properly.
> > >
> > > Kirk S. Kalvar, Software Engineer
> > > DRS Electronic Systems Group
> > >
> > > > -----Original Message-----
> > > > From: Kirk Kalvar [SMTP:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, June 14, 2000 05:59
> > > > To: Orion-Interest
> > > > Subject: PetStore Demo for Orion
> > > >
> > > > Has anyone successfully run the Pet Store Demo under Orion? The
> > > > installation instructions for Pet Store for Orion weren't exactly
> > > accurate
> > > > and I think this maybe the reason the login feature as well as catalog
> > > > search feature is not working properly.
> > > >
> > > > Thanks,
> > > >
> > > > Kirk S. Kalvar
> > > >
Earl Marwil
SCIENTECH, Inc.
1690 International Way
Idaho Falls, ID 83402
208.525.3717