You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by kelvin goodson <kg...@thegoodsons.org.uk> on 2009/05/22 10:27:01 UTC
Fixing up the tutorial
I was looking at the tutorial at sca-java-1.x\tutorials\store, which
directs you in its README to [1], which turns out to be an effectively
blank page.
Would I be right in thinking that it should really point to [2]? I'd
like to work through this, and in the process fix it up a bit. Can
anyone who has any insight on material that is available to make this
tutorial better please post links etc so that I can begin to make
improvements please?
Kelvin.
[1] http://incubator.apache.org/tuscany/sca-java-tutorial.html
[2] http://tuscany.apache.org/getting-started-with-tuscany.html
Re: Fixing up the tutorial
Posted by Luciano Resende <lu...@gmail.com>.
Looks like there are couple issues here:
1) There were some new extensions points and modules missing from the
manifest/bundle, and I have fixed that as part of TUSCANY-3047.
2) The other thing is that the way the tutorial is structured right
now, it uses the jars from each tutorial module as contributions, so
we need to make sure that these jars are available in the binary
distribution... that' s what might be causing the issues and not
finding the composites....
--
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/
Re: Fixing up the tutorial
Posted by Simon Laws <si...@googlemail.com>.
On Fri, May 22, 2009 at 1:12 PM, Simon Laws <si...@googlemail.com> wrote:
> That output looks OK to me. I'll have to fire it up and take a look
>
> Simon
>
I just started the store tutorial up. I don't see the screen you see
but when I try and point my browser at the contribution URLs is just
gives a 404 so needs looking at.
Simon
Re: Fixing up the tutorial
Posted by Simon Laws <si...@googlemail.com>.
That output looks OK to me. I'll have to fire it up and take a look
Simon
Re: Fixing up the tutorial
Posted by kelvin goodson <ke...@gmail.com>.
>
> Looks like it couldn't find the composite;-)
yes, I think the evidence points to that :)
Did you get any output in
> the console where the domain launcher is running?
the console output (see below) didn't immediately give me any helpful
info -- perhaps to those familiar with its output it might give some
clues
I'm just setting myself up a 1.x development environment so that I can
see how the contribution file is created, but that's going to take me
a while, so any pointers to shortcut this would be welcome
C:\Documents and
Settings\Administrator\Desktop\apache-tuscany-sca-1.5\tuscany-sca-1.
cany-node-launcher-1.5.jar domain
22-May-2009 10:44:03
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main
INFO: Apache Tuscany SCA Domain Manager is starting...
22-May-2009 10:44:03 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: DomainManager.composite
22-May-2009 10:44:04 org.apache.tuscany.sca.node.impl.NodeImpl configureNode
INFO: Loading contribution:
file:/C:/Documents%20and%20Settings/Administrator/Desktop
y-domain-manager-1.5.jar
Using default configuration properties.
22-May-2009 10:44:06 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: DomainManager.composite
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/home/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/home/home.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/home-gadget/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/home-gadget/home-gadget.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/workspace/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/workspace/workspace.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/workspace-gadget/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping:
http://L3AAN4H:9990/ui/workspace-gadget/workspace-gadget
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/files/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/files/files.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/files-gadget/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/files-gadget/files-gadget.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/composite/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/composite/composite.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/composite-gadget/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping:
http://L3AAN4H:9990/ui/composite-gadget/composite-gadget
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/cloud/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/cloud/cloud.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/cloud-gadget/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ui/cloud-gadget/cloud-gadget.js
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/workspace/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/workspace/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/contribution/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/feed/files/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/feed/files/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/files/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite-source/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/deployable/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/deployable/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite-generated/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite-resolved/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/cloud/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/cloud/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/cloud-source/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite-config/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/composite-config/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/node-config/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/quickstart/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/processes/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/processes/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/node/processes/*
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/node/processes/
22-May-2009 10:44:08 org.apache.tuscany.sca.http.jetty.JettyServer
addServletMapping
INFO: Added Servlet mapping: http://L3AAN4H:9990/ping/*
22-May-2009 10:44:08
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main
INFO: SCA Domain Manager is now started.
22-May-2009 10:44:08
org.apache.tuscany.sca.node.launcher.DomainManagerLauncher main
INFO: Press 'q' to quit, 'r' to restart.
2009/5/22 Simon Laws <si...@googlemail.com>:
>> java -jar ..\..\..\modules\tuscany-node-launcher-1.5.jar domain from
>> the tutorials\store\domain and then browsing to
>> http://localhost:9990/ui/cloud/ I see the failure shown in [1]. Any
>> clues how to fix this would be most welcome
>>
>> http://cwiki.apache.org/confluence/download/attachments/118361/Tutorial+Failure.pdf
>
> Simon
>
Re: Fixing up the tutorial
Posted by Simon Laws <si...@googlemail.com>.
> java -jar ..\..\..\modules\tuscany-node-launcher-1.5.jar domain from
> the tutorials\store\domain and then browsing to
> http://localhost:9990/ui/cloud/ I see the failure shown in [1]. Any
> clues how to fix this would be most welcome
>
> http://cwiki.apache.org/confluence/download/attachments/118361/Tutorial+Failure.pdf
Looks like it couldn't find the composite;-) Did you get any output in
the console where the domain launcher is running?
Simon
Re: Fixing up the tutorial
Posted by kelvin goodson <ke...@gmail.com>.
I've fixed up the README a tad, but I'm getting failures when trying
to follow the instructions. After running
java -jar ..\..\..\modules\tuscany-node-launcher-1.5.jar domain from
the tutorials\store\domain and then browsing to
http://localhost:9990/ui/cloud/ I see the failure shown in [1]. Any
clues how to fix this would be most welcome
http://cwiki.apache.org/confluence/download/attachments/118361/Tutorial+Failure.pdf
Kelvin
2009/5/22 Simon Laws <si...@googlemail.com>:
> On Fri, May 22, 2009 at 9:27 AM, kelvin goodson <kg...@thegoodsons.org.uk> wrote:
>> I was looking at the tutorial at sca-java-1.x\tutorials\store, which
>> directs you in its README to [1], which turns out to be an effectively
>> blank page.
>>
>> Would I be right in thinking that it should really point to [2]? I'd
>> like to work through this, and in the process fix it up a bit. Can
>> anyone who has any insight on material that is available to make this
>> tutorial better please post links etc so that I can begin to make
>> improvements please?
>>
>> Kelvin.
>>
>>
>> [1] http://incubator.apache.org/tuscany/sca-java-tutorial.html
>>
>> [2] http://tuscany.apache.org/getting-started-with-tuscany.html
>>
>
> Hi Kelvin
>
> That would be excellent. Pat was suggesting improvement on another
> thread [1]. The resource is the PDF we ship (don't know where the
> source for this is)..
>
> http://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/tutorials/store/Tutorial.pdf
>
> and the README
>
> http://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/tutorials/store/README
>
> Neither of which are that useful. Could do with something that walks
> the user through the various stages. Doesn't have to be too detailed
> at the moment but at least gives the user an idea of what to do, what
> should happen and a bit of why.
>
> Simon
>
> [1] http://www.mail-archive.com/user%40tuscany.apache.org/msg01448.html
>
Re: Fixing up the tutorial
Posted by Simon Laws <si...@googlemail.com>.
On Fri, May 22, 2009 at 9:27 AM, kelvin goodson <kg...@thegoodsons.org.uk> wrote:
> I was looking at the tutorial at sca-java-1.x\tutorials\store, which
> directs you in its README to [1], which turns out to be an effectively
> blank page.
>
> Would I be right in thinking that it should really point to [2]? I'd
> like to work through this, and in the process fix it up a bit. Can
> anyone who has any insight on material that is available to make this
> tutorial better please post links etc so that I can begin to make
> improvements please?
>
> Kelvin.
>
>
> [1] http://incubator.apache.org/tuscany/sca-java-tutorial.html
>
> [2] http://tuscany.apache.org/getting-started-with-tuscany.html
>
Hi Kelvin
That would be excellent. Pat was suggesting improvement on another
thread [1]. The resource is the PDF we ship (don't know where the
source for this is)..
http://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/tutorials/store/Tutorial.pdf
and the README
http://svn.apache.org/repos/asf/tuscany/branches/sca-java-1.x/tutorials/store/README
Neither of which are that useful. Could do with something that walks
the user through the various stages. Doesn't have to be too detailed
at the moment but at least gives the user an idea of what to do, what
should happen and a bit of why.
Simon
[1] http://www.mail-archive.com/user%40tuscany.apache.org/msg01448.html