Jean-Sebastien Delfino wrote:
> Jeremy,
> 
> Could you please send a brief description of how to configure Tomcat to
> use your new bootstrap code? I'm not sure what kind of listeners are
> required and in which Tomcat config file they should be configured. Also
> a pointer to how to get the Tuscany RuntimeContext when you're running
> in a web app would be useful. Thanks.
> 

Documentation on how to set up Tomcat is now on the wiki at
http://wiki.apache.org/ws/Tuscany/TomcatIntegration

It covers what JARs to put where and how to edit server.xml to enable
SCA. I tested it with the helloworldWeb sample and it seemed to work.

I did not include information on how to access the RuntimeContext as
that is not something application code should be trying to do - in fact,
if configured per these directions it won't have access to the server
implementation classes. This is usually considered a good thing.

For code that really needs it, the RuntimeContext is bound as an
attribute in the ServletContext under the name
"org.apache.tuscany.core.runtime.RuntimeContext"

This probably impacts the Axis2 integration. I can work with whoever is
interested to integrate the entry point deployment into Tomcat to have
the Axis servlet (or equivalent) automatically added during Context
setup so the user doesn't need to modify their web.xml

--
Jeremy

Reply via email to