Hi Luciano,

I'm also seeing slow startup of jetty as mentioned by you on several modules
when performing full build.

There are also a couple of modules that perform a Tuscany runtime startup
during the build phase. Aside from increasing the build time, they are also
not failing the maven build if something goes wrong. I've seen several
stacktraces printed during full build but the build passed successfully
exactly because of this. IMHO it would be more useful to move that to a unit
test that can also report when something gets broken.

Florian


On Fri, Feb 18, 2011 at 8:19 AM, Luciano Resende <luckbr1...@gmail.com>wrote:

> While testing the beta2-rc3, I noticed that the store application,
> while running from binary distribution, hangs for about 30 secs during
> jetty startup... as i don't remember noticing the long delay in
> startup, I just want to double check if others are seeing the same
> issue... see log below.
>
>
>
> run:
>     [java] Starting ...
>     [java] Feb 17, 2011 10:15:10 PM
> org.apache.tuscany.sca.node.impl.NodeImpl start
>     [java] INFO: Starting node:
> http://tuscany.apache.org/sca/1.1/nodes/default0 domain: default
>     [java] Feb 17, 2011 10:15:10 PM
> org.apache.tuscany.sca.node.impl.NodeFactoryImpl loadContributions
>     [java] INFO: Loading contribution:
>
> file:/home/lresende/opensource/apache/tuscany/releases/2.0-beta2-RC3/tuscany-sca-2.0-Beta2/samples/applications/store/target/sample-store.jar
>     [java] Feb 17, 2011 10:15:13 PM org.mortbay.log.Slf4jLog info
>     [java] INFO: Logging to
> org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
>     [java] Feb 17, 2011 10:15:13 PM
> org.apache.tuscany.sca.http.jetty.JettyLogger info
>     [java] INFO: jetty-6.1.19
>
>     >>> se delay here ... about 30 secs kind of hanging...
>
>     [java] Feb 17, 2011 10:15:35 PM
> org.apache.tuscany.sca.http.jetty.JettyLogger info
>     [java] INFO: Started SelectChannelConnector@0.0.0.0:8080
>     [java] Feb 17, 2011 10:15:35 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping: http://127.0.0.1:8080/dojo
>     [java] Feb 17, 2011 10:15:35 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping: http://127.0.0.1:8080/dojo/*
>     [java] Feb 17, 2011 10:15:35 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping: http://127.0.0.1:8080/tuscany
>     [java] Feb 17, 2011 10:15:35 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping: http://127.0.0.1:8080/tuscany/*
>     [java] Feb 17, 2011 10:15:35 PM
> org.apache.tuscany.sca.web.javascript.dojo.DojoWidgetJavascriptProvider
> start
>     [java] INFO: Registered Dojo and Tuscany Dojo extensions (counter=1)
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping:
> http://127.0.0.1:8080/store/store.js
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping: http://127.0.0.1:8080/store/*
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
> addEndpoint
>     [java] INFO: Add endpoint - binding.http - store
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping: http://127.0.0.1:8080/Catalog/*
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
> addEndpoint
>     [java] INFO: Add endpoint - binding.jsonrpc -
> http://127.0.0.1:8080/Catalog/
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping:
> http://127.0.0.1:8080/ShoppingCart/Cart/*
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping:
> http://127.0.0.1:8080/ShoppingCart/Cart/
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
> addEndpoint
>     [java] INFO: Add endpoint - binding.atom -
> http://127.0.0.1:8080/ShoppingCart/Cart
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.http.jetty.JettyServer addServletMapping
>     [java] INFO: Added Servlet mapping:
> http://127.0.0.1:8080/ShoppingCart/Total/*
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
> addEndpoint
>     [java] INFO: Add endpoint - binding.jsonrpc -
> http://127.0.0.1:8080/ShoppingCart/Total/
>     [java] Feb 17, 2011 10:15:36 PM
> org.apache.tuscany.sca.core.assembly.impl.EndpointRegistryImpl
> addEndpoint
>     [java] INFO: Add endpoint - binding.sca -
> CurrencyConverter/CurrencyConverter
>     [java] store.composite ready for big business !!!
>
>
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
> http://twitter.com/lresende1975
> http://lresende.blogspot.com/
>

Reply via email to