You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Simon Laws <si...@googlemail.com> on 2008/01/09 02:17:46 UTC
R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
On Jan 8, 2008 12:23 AM, Simon Laws <si...@googlemail.com> wrote:
>
>
> On Jan 7, 2008 4:14 PM, ant elder <an...@gmail.com> wrote:
>
> > The chat sample was broken from all the context path problems, I've
> > fixed
> > that so its running again now but it only works using polling not
> > comet/reverse ajax which makes it not very usable. Still trying to fix
> > this...
> >
> > ...ant
> >
> > On Jan 7, 2008 9:29 AM, ant elder <an...@gmail.com> wrote:
> >
> > > OK. I'll start with chat-webapp.
> > >
> > > ...ant
> > >
> > >
> > > On Jan 7, 2008 9:12 AM, Simon Laws <si...@googlemail.com> wrote:
> > >
> > > > Anyone have time today to help fix samples for R1.1? This is what I
> > see
> > > > with
> > > > the current R1.1 code (Windows XP SP2, IBM JDK) ....
> > > >
> > > >
> > > > Samples
> > > > =======
> > > > 20/12/2007 17:42 <DIR> binding-echo
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> binding-echo-extension
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> binding-notification-broker
> > > > -
> > > > Not Tried
> > > > 20/12/2007 17:42 <DIR> binding-notification-consumer
> > > > -
> > > > Not Tired
> > > > 20/12/2007 17:42 <DIR> binding-notification-producer
> > > > -
> > > > Not Tried
> > > > 20/12/2007 17:42 <DIR> calculator
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> calculator-distributed
> > > > -
> > > > OK - doesn't close down cleanly
> > > > 20/12/2007 17:42 <DIR>
> > calculator-implementation-policies
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> calculator-rmi-reference
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> calculator-rmi-service
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> calculator-script
> > > > -
> > > > OK - still get strange output
> > > > 20/12/2007 17:42 <DIR> calculator-webapp
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> calculator-ws-webapp
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> callback-ws-client
> > > > -
> > > > OK - doesn't shut down cleanly
> > > > 20/12/2007 17:42 <DIR> callback-ws-service
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> chat-webapp
> > > > -
> > > > Runs but doesn't send messages
> > > > 20/12/2007 17:42 <DIR> databinding-echo
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> feed-aggregator
> > > > -
> > > > OK - doesn't stop
> > > > 20/12/2007 17:42 <DIR> feed-aggregator-webapp
> > > > -
> > > > java.lang.StringIndexOutOfBoundsException
> > > > 20/12/2007 17:42 <DIR> helloworld-bpel
> > > > -
> > > > javax.xml.stream.FactoryConfigurationError
> > > > 20/12/2007 17:42 <DIR> helloworld-dojo-webapp
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> helloworld-jsonrpc-webapp
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> helloworld-ws-reference
> > > > -
> > > > OK
> > > > 20/12/2007 17:42 <DIR> helloworld-ws-reference-jms
> > > > -
> > > > TODO - README
> > > > 20/12/2007 17:42 <DIR> helloworld-ws-reference-secure
> > > > -
> > > > The signature verification failed (The provided certificate is
> > invalid)
> > > > 20/12/2007 17:43 <DIR> helloworld-ws-sdo
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> helloworld-ws-sdo-webapp
> > > > -
> > > > java.lang.NoClassDefFoundError: commonj.sdo.DataObject
> > > > 20/12/2007 17:43 <DIR> helloworld-ws-service
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> helloworld-ws-service-jms
> > > > -
> > > > TODO - README
> > > > 20/12/2007 17:43 <DIR> helloworld-ws-service-secure
> > > > -
> > > > The signature verification failed (The provided certificate is
> > invalid)
> > > > 20/12/2007 17:43 <DIR> implementation-composite
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> implementation-crud
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> implementation-crud-extension
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> implementation-notification
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> implementation-pojo-extension
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> osgi-supplychain
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> simple-bigbank
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> simple-bigbank-spring
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> simple-callback
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> simple-callback-ws
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> store
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> supplychain
> > > > -
> > > > OK
> > > > 20/12/2007 17:43 <DIR> web-resource
> > > > -
> > > > OK
> > > >
> > > > Demos
> > > > =====
> > > >
> > > > 06/01/2008 16:59 <DIR> alert-aggregator-webapp
> > > > -
> > > > java.lang.NoClassDefFoundError : commonj.sdo.DataObject
> > > > 06/01/2008 16:59 <DIR> bigbank-account
> > > > -
> > > > OK
> > > > 06/01/2008 16:59 <DIR> bigbank-calculator
> > > > -
> > > > OK
> > > > 06/01/2008 16:59 <DIR> bigbank-stockquote
> > > > -
> > > > OK
> > > > 06/01/2008 16:59 <DIR> mortgage-creditcheck
> > > > -
> > > > OK
> > > > 06/01/2008 16:59 <DIR> mortgage-loanapproval
> > > > -
> > > > OK
> > > > 06/01/2008 16:57 <DIR> secure-bigbank
> > > > -
> > > > doesn't compile
> > > > 06/01/2008 16:59 <DIR> xml-bigbank
> > > > -
> > > > demo runs OK but no readme
> > > >
> > > > Thanks
> > > >
> > > > Simon
> > > >
> > >
> > >
> >
> Hmm that doesn't sound too good. Have made some progress with some of the
> others so the scores on the doors are...
>
> 20/12/2007 17:42 <DIR> binding-echo
> - OK
> 20/12/2007 17:42 <DIR> binding-echo-extension
> - OK
> 20/12/2007 17:42 <DIR> binding-notification-broker
> - haven't tried
> 20/12/2007 17:42 <DIR> binding-notification-consumer
> - haven't tried
> 20/12/2007 17:42 <DIR> binding-notification-producer
> - haven't tried
> 20/12/2007 17:42 <DIR> calculator
> - OK
> 20/12/2007 17:42 <DIR> calculator-distributed
> - OK - doesn't close down cleanly
> 20/12/2007 17:42 <DIR> calculator-implementation-policies
> - OK
> 20/12/2007 17:42 <DIR> calculator-rmi-reference
> - OK
> 20/12/2007 17:42 <DIR> calculator-rmi-service
> - OK
> 20/12/2007 17:42 <DIR> calculator-script
> - OK - still get strange output
> 20/12/2007 17:42 <DIR> calculator-webapp
> - OK
> 20/12/2007 17:42 <DIR> calculator-ws-webapp
> - OK
> 20/12/2007 17:42 <DIR> callback-ws-client
> - OK - doesn't shut down cleanly
> 20/12/2007 17:42 <DIR> callback-ws-service
> - OK
> 20/12/2007 17:42 <DIR> chat-webapp
> - Runs but sends message via poll - ant looking at this
> 20/12/2007 17:42 <DIR> databinding-echo
> - OK
> 20/12/2007 17:42 <DIR> feed-aggregator
> - OK - doesn't stop
> 20/12/2007 17:42 <DIR> feed-aggregator-webapp
> - java.lang.StringIndexOutOfBoundsException
> 20/12/2007 17:42 <DIR> helloworld-bpel
> - OK sample runs but 1/ have to compile first 2/closes with exception -
> Luciano looking at this
> 20/12/2007 17:42 <DIR> helloworld-dojo-webapp
> - OK
> 20/12/2007 17:42 <DIR> helloworld-jsonrpc-webapp
> - OK
> 20/12/2007 17:42 <DIR> helloworld-ws-reference
> - OK
> 20/12/2007 17:42 <DIR> helloworld-ws-reference-jms
> - TODO & README
> 20/12/2007 17:42 <DIR> helloworld-ws-reference-secure
> - The signature verification failed (The provided certificate is invalid)
> 20/12/2007 17:43 <DIR> helloworld-ws-sdo
> - OK
> 20/12/2007 17:43 <DIR> helloworld-ws-sdo-webapp
> - OK
> 20/12/2007 17:43 <DIR> helloworld-ws-service
> - OK
> 20/12/2007 17:43 <DIR> helloworld-ws-service-jms
> - TODO & README
> 20/12/2007 17:43 <DIR> helloworld-ws-service-secure
> - The signature verification failed (The provided certificate is invalid)
> 20/12/2007 17:43 <DIR> implementation-composite
> - OK
> 20/12/2007 17:43 <DIR> implementation-crud
> - OK
> 20/12/2007 17:43 <DIR> implementation-crud-extension
> - OK
> 20/12/2007 17:43 <DIR> implementation-notification
> - OK
> 20/12/2007 17:43 <DIR> implementation-pojo-extension
> - OK
> 20/12/2007 17:43 <DIR> osgi-supplychain
> - OK
> 20/12/2007 17:43 <DIR> simple-bigbank
> - OK
> 20/12/2007 17:43 <DIR> simple-bigbank-spring
> - OK
> 20/12/2007 17:43 <DIR> simple-callback
> - OK
> 20/12/2007 17:43 <DIR> simple-callback-ws
> - OK
> 20/12/2007 17:43 <DIR> store
> - OK
> 20/12/2007 17:43 <DIR> supplychain
> - OK
> 20/12/2007 17:43 <DIR> web-resource
> - OK
>
> Demos
> =====
>
> 06/01/2008 16:59 <DIR> alert-aggregator-webapp
> - OK
> 06/01/2008 16:59 <DIR> bigbank-account
> - OK
> 06/01/2008 16:59 <DIR> bigbank-calculator
> - OK
> 06/01/2008 16:59 <DIR> bigbank-stockquote
> - OK
> 06/01/2008 16:59 <DIR> mortgage-creditcheck
> - OK
> 06/01/2008 16:59 <DIR> mortgage-loanapproval
> - OK
> 06/01/2008 16:57 <DIR> secure-bigbank
> - doesn't compile
> 06/01/2008 16:59 <DIR> xml-bigbank
> - OK
>
> Regards
>
> Simon
>
I've put the sample failure chart up on the wiki (
http://cwiki.apache.org/confluence/display/TUSCANYWIKI/R1.1+Samples) in case
anyone else wants to edit it with good news;-)
I've spent most of the afternoon struggling with SVN trying to get it to
make a tag. I thought that would be the easiest part but it kept reporting
errors right at the end of the svn copy for some reason! I got it to work
after starting from scratch for the third time. I'm just uploading some
rough RC0 artifacts but will only get the windows ones up there tonight as
I'm off to get some sleep. The maven artifacts are duff as it crashed during
the upload so ignore them for now.
Anyhow, my plan tomorrow is that we fix remaining samples or remove them,
tidy up the 1.1 branch, removing modules that shouldn't be there, addressing
RAT issues and doing as much README testing as we can before making an RC1.
So if you get the chance to look at RC0, confirm that what you expect to be
there is there and fix the problems you see back in the branch that would be
splendid. Also can you mail here as samples are fixed.
Regards
Simon
Re: R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by Simon Laws <si...@googlemail.com>.
>
>
> I suggest that others please update the chart as well to keep everybody
> updated and avoid double work.
> --
>
+1
Also I'm just copying the *nix part of RC0 now up to
http://people.apache.org/~slaws/tuscany/1.1-RC0/.
Will be done in 30 minutes.
Simon
Re: Can't stop samples that embed Tomcat, was: R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by ant elder <an...@gmail.com>.
On Jan 9, 2008 3:57 PM, Jean-Sebastien Delfino <js...@apache.org> wrote:
> Simon Laws wrote:
> > Jean-Sebastien Delfino wrote:
> >> While debugging I came across a more serious issue with the 1.1 distro,
> >> described in TUSCANY-1954 [2].
> [snip]
> >> [2] http://issues.apache.org/jira/browse/TUSCANY-1954
> >
> > I've seen this issue for all of the releases we've done to date.
> [snip]
> > I suggest we choose one or the other for the all/manifest jar.
>
> +1, which one do people prefer?
>
>
All else being equal Tomcat as its an Apache project, but doesn't Tomcat
cause the problem with not shutting down?
...ant
Re: Can't stop samples that embed Tomcat, was: R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by Simon Laws <si...@googlemail.com>.
>
> +1, which one do people prefer?
>
>
I don't have a preference but, arbitrarily, I'm trying the build with
tuscany-host-jetty at the moment to see if it works.
Simon
Re: Can't stop samples that embed Tomcat, was: R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by Raymond Feng <en...@gmail.com>.
Hi,
I prefer to choose Jetty until TUSCANY-1953 is fixed. Leaving samples
hanging is not a good experience.
Thanks,
Raymond
----- Original Message -----
From: "Jean-Sebastien Delfino" <js...@apache.org>
To: <tu...@ws.apache.org>
Sent: Wednesday, January 09, 2008 7:57 AM
Subject: Re: Can't stop samples that embed Tomcat, was: R1.1. sample chart
and 1.1-RC0 - Re: R1.1 Sample Failures
> Simon Laws wrote:
>> Jean-Sebastien Delfino wrote:
>>> While debugging I came across a more serious issue with the 1.1 distro,
>>> described in TUSCANY-1954 [2].
> [snip]
>>> [2] http://issues.apache.org/jira/browse/TUSCANY-1954
>>
>> I've seen this issue for all of the releases we've done to date.
> [snip]
>> I suggest we choose one or the other for the all/manifest jar.
>
> +1, which one do people prefer?
>
> --
> Jean-Sebastien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Can't stop samples that embed Tomcat, was: R1.1. sample chart
and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Simon Laws wrote:
> Jean-Sebastien Delfino wrote:
>> While debugging I came across a more serious issue with the 1.1 distro,
>> described in TUSCANY-1954 [2].
[snip]
>> [2] http://issues.apache.org/jira/browse/TUSCANY-1954
>
> I've seen this issue for all of the releases we've done to date.
[snip]
> I suggest we choose one or the other for the all/manifest jar.
+1, which one do people prefer?
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: Can't stop samples that embed Tomcat, was: R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by Simon Laws <si...@googlemail.com>.
Hi Sebastien,
Thanks for investigating. Re. the not stopping issue...
> I suggest to not take risks as the problem existed in previous releases
> and only release the fix in release 1.2.
+1
> While debugging I came across a more serious issue with the 1.1 distro,
> described in TUSCANY-1954 [2].
<http://issues.apache.org/jira/browse/TUSCANY-1953>
> [2] http://issues.apache.org/jira/browse/TUSCANY-1954
>
I've seen this issue for all of the releases we've done to date. It hasn't
been impacting the correct running of the samples as far as I can tell and
is a product of the slightly strange situation of
1 - shipping both host-tomcat and host-jetty in the manifest/all jar
2 - providing no way of choosing which to use
Each host is registered by its activator, e.g, JettyRuntimeModuleActivator;
servletHosts.addServletHost(server);
The servlet host is chosen in, for example, the ws-axis binding, when the
provider factory (Axis2BindingProviderFactory) is created.
this.servletHost = servletHosts.getServletHosts().get(0);
The order in which the Activators are processed, and hence which one as
returned by get(0), can vary from run to run not least because the service
providers are manipulated via a HashSet as they are read from the classpath.
I suggest we choose one or the other for the all/manifest jar.
Simon
Can't stop samples that embed Tomcat, was: R1.1. sample chart and
1.1-RC0 - Re: R1.1 Sample Failures
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Jean-Sebastien Delfino wrote:
[snip]
>
> Thanks, the chart is useful.
>
> I updated it to flag that I'm looking at the stop issue with
> feed-aggregator. Even though it's marked OK, I think it'll be better if
> it correctly stops, and I know that code.
>
[snip]
The issue is with the thread pool used by the embedded Tomcat server. It
can prevent stopping other Tomcat based samples as well.
Diagnosis and the fix to trunk are documented in TUSCANY-1953 [1].
I suggest to not take risks as the problem existed in previous releases
and only release the fix in release 1.2.
While debugging I came across a more serious issue with the 1.1 distro,
described in TUSCANY-1954 [2].
[1] http://issues.apache.org/jira/browse/TUSCANY-1953
[2] http://issues.apache.org/jira/browse/TUSCANY-1954
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
R1.1. sample chart and 1.1-RC0 - Re: R1.1 Sample Failures
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Simon Laws wrote:
>
> I've put the sample failure chart up on the wiki (
> http://cwiki.apache.org/confluence/display/TUSCANYWIKI/R1.1+Samples) in case
> anyone else wants to edit it with good news;-)
[snip]
Thanks, the chart is useful.
I updated it to flag that I'm looking at the stop issue with
feed-aggregator. Even though it's marked OK, I think it'll be better if
it correctly stops, and I know that code.
I suggest that others please update the chart as well to keep everybody
updated and avoid double work.
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org