tuscany-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Seth White" <seth.white...@gmail.com>
Subject Configuration question
Date Fri, 01 Sep 2006 00:57:54 GMT
Hi,

I'm writing my first Web application that uses Tuscany.  I built Tuscany
from the latest source.

In my web application I execute the following line of code to get access to
the SCA environment

CompositeContext moduleContext = CurrentCompositeContext.getContext();

Currently this is returning null for me.  What should I be doing to
configure the Web application so that an actual context is returned?

I have done the following in web.xml:


<listener>

<listener-class>org.apache.tuscany.runtime.webapp.TuscanyContextListener
</listener-class>

</listener>
Thanks

Seth

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message