I have created https://issues.apache.org/jira/browse/TUSCANY-1599 to
track this issue, and am working on fixing it.
Simon Nash wrote:
The feed-aggregator sample hangs when using "ant run" from the binary
distro.
run:
[java] 24-Aug-2007 20:05:48
org.apache.catalina.core.StandardEngine start
[java] INFO: Starting Servlet Engine: Apache Tomcat/6.0.10
[java] 24-Aug-2007 20:05:48
org.apache.catalina.startup.ContextConfig defaultWebConfig
[java] INFO: No default web.xml
[java] 24-Aug-2007 20:05:48
org.apache.catalina.startup.DigesterFactory register
[java] WARNING: Could not get url for
/javax/servlet/jsp/resources/jsp_2_0.xsd
[java] 24-Aug-2007 20:05:48
org.apache.catalina.startup.DigesterFactory register
[java] WARNING: Could not get url for
/javax/servlet/jsp/resources/web-jsptaglibrary_1_1.dtd
[java] 24-Aug-2007 20:05:48
org.apache.catalina.startup.DigesterFactory register
[java] WARNING: Could not get url for
/javax/servlet/jsp/resources/web-jsptaglibrary_1_2.dtd
[java] 24-Aug-2007 20:05:48
org.apache.catalina.startup.DigesterFactory register
[java] WARNING: Could not get url for
/javax/servlet/jsp/resources/web-jsptaglibrary_2_0.xsd
[java] 24-Aug-2007 20:05:48
org.apache.catalina.startup.DigesterFactory register
[java] WARNING: Could not get url for
/javax/servlet/resources/j2ee_web_services_1_1.xsd
[java] 24-Aug-2007 20:05:49
org.apache.coyote.http11.Http11Protocol init
[java] INFO: Initializing Coyote HTTP/1.1 on http-8083
[java] 24-Aug-2007 20:05:49
org.apache.coyote.http11.Http11Protocol start
[java] INFO: Starting Coyote HTTP/1.1 on http-8083
[java] 24-Aug-2007 20:05:49
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
[java] INFO: Added Servlet mapping:
http://localhost:8083/rssAggregator
[java] 24-Aug-2007 20:05:49
org.apache.tuscany.sca.http.tomcat.TomcatServer addServletMapping
[java] INFO: Added Servlet mapping:
http://localhost:8083/atomAggregator/*
[java] log4j:WARN No appenders could be found for logger
(org.apache.commons.httpclient.HttpClient).
[java] log4j:WARN Please initialize the log4j system properly.
[java] Sample Feed server started (press enter to shutdown)
[java] To read the aggregated feeds, point your Web browser to
the following addresses:
[java] http://localhost:8083/atomAggregator
[java] http://localhost:8083/atomAggregator/atomsvc (for the Atom
service document)
[java] http://localhost:8083/rssAggregator
[java] http://localhost:8083/atomAggregator?feedType=rss_2.0
[java] http://localhost:8083/rssAggregator?feedType=atom_1.0
If I press Enter while it is hung, I get the following:
[java] Exception in thread "main"
java.lang.NegativeArraySizeException
[java] at
org.apache.tomcat.util.http.mapper.Mapper.removeWrapper(Mapper.java:451)
[java] at
org.apache.tomcat.util.http.mapper.Mapper.removeWrapper(Mapper.java:384)
[java] at
org.apache.catalina.core.StandardContext.removeServletMapping(StandardContext.java:3474)
[java] at
org.apache.tuscany.sca.http.tomcat.TomcatServer.removeServletMapping(TomcatServer.java:244)
[java] at
org.apache.tuscany.sca.binding.feed.provider.AtomServiceBindingProvider.stop(AtomServiceBindingProvider.java:76)
[java] at
org.apache.tuscany.sca.core.assembly.CompositeActivatorImpl.stop(CompositeActivatorImpl.java:464)
[java] at
org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.close(DefaultSCADomain.java:205)
[java] at feed.SampleServer.main(SampleServer.java:51)
[java] Java Result: 1
Simon
ant elder wrote:
The 0.99 binary and source distributions are currently uploading for
review
at: http://people.apache.org/~antelder/tuscany/0.99-RC1/
This is real close to what the final RC is expected to be but there's
still
a few last minute updates going on so this isn't a VOTE yet. The
final RC
will be available and the VOTE called tomorrow morning GMT. Please
review
and fix/report any issues you find before then on the downloads at
http://people.apache.org/~antelder/tuscany/0.99-RC1/.
There's still outstanding JIRAs so any help cleaning those up would
be good:
http://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=true&mode=hide&sorter/order=DESC&sorter/field=priority&resolution=-1&pid=12310210&fixfor=12312679
Please be careful if updating the 0.99 branch so we don't get any
regressions.
Thanks!
...ant
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]