I'm not convinced you are actually supposed to be able to point your
browser at these webapps. Not sure why that's the case but they don't
appear the be configured with bindings/resources that the browser can
exercise. Helloworld does though have an composite scoped component
with and eager init configuration which causes the component to do
something when the webapp starts. When I deploy helloworld.war from
the trunk code (built this morning) I see the following output from
Tomcat.

INFO: Starting service Catalina
24-Feb-2010 11:11:24 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
24-Feb-2010 11:11:24 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive helloworld.war
24-Feb-2010 11:11:24 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: helloworld domain: default
24-Feb-2010 11:11:24 org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContri
butions
INFO: Loading contribution: file:/C:/simon/apps/apache-tomcat-6.0.18/webapps/hel
loworld/
24-Feb-2010 11:11:26 org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryI
mpl addEndpoint
INFO: Add endpoint - (@1133335)Endpoint:  URI = HelloworldComponent#service-bind
ing(HelloworldServiceImpl/HelloworldServiceImpl)
Hello world
24-Feb-2010 11:11:26 org.apache.tuscany.sca.host.webapp.WebAppServletHost initCo
ntextPath
INFO: ContextPath: /helloworld
24-Feb-2010 11:11:27 org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
24-Feb-2010 11:11:27 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
24-Feb-2010 11:11:27 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/47  config=null
24-Feb-2010 11:11:27 org.apache.catalina.startup.Catalina start
INFO: Server startup in 3201 ms

The important line here is "Hello world" which is being printed by the
component that gets started.  This is not very obvious.

The other sames do include technologies that the browser can exercise
so I guess that helloworld is just a baseline that doesn't do very
much.

helloworld-rest isn't in the build (and should be excluded from the distro)

Simon

Reply via email to