Hmm,

Running the mvn build on the tutorial was a helpful step. I see the data base built, but again, going to the localhost:8102/ui store-db sample, I see JavaScript errors getting and posting to the shopping cart "Error getting data from the server" with no log or trace info on the node server window.

Simon Laws wrote:
On Wed, Dec 10, 2008 at 2:47 PM, Dan Becker <[EMAIL PROTECTED]> wrote:

Hi Simon,

Yes, those links are in tutorial.html in the tutorial/assets directory. And
you can see the contributions in the domain sample, and can start them with
the domain manager program. (Which composites to start for which demos must
be deduced from the diagrams.)

However, the ones depending on the DB have no DB to talk to. So the fruits
and vegetables items do not show up in the store. And any get or put to the
shopping cart creates an error. Is the data base self-starting? Or is there
some way of populating and running a DB manually that is not in the doc?



Simon Laws wrote:

On Wed, Dec 10, 2008 at 2:08 PM, Dan Becker <[EMAIL PROTECTED]>
wrote:

 Hi Luciano,
I saw those instructions as well. That works for the basic Store and
Store
merger demos, but not for the StoreDB, StoreEU, Supplier or following
demos
like mashup. I see some SQL code for a table, but I do not see any info
on
running a DB or how to connect to it with StoreDB. The README file points
to
an empty web page. I will continue to look into it when I have the time,
but
if anyone has run it, please respond.


Luciano Resende wrote:

 For the tutorials, I found a thread with some steps [1], but I haven't
tried this with 1.4 yet.

 1.Update to latest svn revision and build modules and tutorial

2.From eclipse, tutorial-domain project, run
launch.LaunchTutorialDomainManager
3.Open the Domain Manager ui [1], and in the cloud tab start the
following nodes : CurrencyNode, CatalogsNode, StoreNode
4.Now you should be able to run the store tutorial from using [2]

Let me know if this does not work for you.

[1] http://localhost:9990/ui/cloud/
[2] http://localhost:8100/ui/


 Anyway, I totally agree that we need to expand our "Getting Started
Guide" to go over store scenario updates and describe how people would
run it.


[1] http://markmail.org/message/heknq7m5w6duj4cz

On Tue, Dec 9, 2008 at 7:33 AM, Dan Becker <[EMAIL PROTECTED]>
wrote:

 Is there documention on how to run the store tutorials we release have
in
our code repositories? I've seen the good developerWorks article [1] on
running the tutorial domain manager demo, and I've also seen some of
the
earlier dev list posts to run the simpler stores demos from the
composites
in Eclipse using the Tuscany plugin. The README and the Tutorial PDF
are
decent overviews, but I think we need a more detailed step-by-step
guide
for
new users for all store demos.

Specifically I've been having trouble with some of the later store
demos.
Are there instructions for running and populating the DB for some of
the
DB
related store demos? Also instructions for the Google mashup store?
Thanks
for any pointers.

[1]:


http://www.ibm.com/developerworks/webservices/library/ws-sca-tuscany/index.html?S_TACT=105AGX04&S_CMP=EDU

 --
Thanks, Dan Becker


Hi Dan

I've run them but I can't find anything written down. The tests are
configured so that all the nodes can be run at the same time. The URL of
the
gui effectively tells you which test you are running. There used to be an
html page with the various URLs in it but I don't see it in svn now. These
are the ones I used during the last run through I did...

<p/>
<a href="http://localhost:9990/ui/home";>Domain</a>
<p/>

<a href="http://localhost:8100/ui/";>Store</a>
<p/>
<a href="http://L3AW203:8100/StoreCatalog?smd";>Store - Catalog SMD</a>
<p/>
<a href="http://localhost:8101/ui/";>Store Merger</a>
<p/>
<a href="http://localhost:8102/ui/";>Store DB</a>
<p/>
<a href="http://localhost:8103/ui/";>Store Supplier</a>
<p/>
<a href="http://l3aw203:8333/ShoppinCartTotalWebService?wsdl";>Store
Supplier - Cart WSDL</a>

<p/>
<a href="http://l3aw203:8103/StoreSupplierShoppingCart/Total?smd";>Store
Supplier - Cart SMD</a>
<p/>
<a href="http://localhost:8104/ui/";>Store EU</a>
<p/>
<a href="http://localhost:8106/mashup/";>Store Mashup</a>


Simon


--
Thanks, Dan Becker


When I ran it I didn't do anything special in order to create the DB. The
POM for the project has a target for creating /target/cart-db based on
/../assets/services/db/cart.sql so I'm guessing I did a maven build first.



--
Thanks, Dan Becker

Reply via email to