Thanks Jim for replying. The WebAppRuntimeImpl is not a component
implementation it boots up the sca runtime in a webaap environment. Seems like
chick/egg situation. Maybe I misunderstood.
My understanding of the init levels is that it's scope of influence is for
components in a composite.
Jim Marino wrote:
On Sep 26, 2006, at 1:57 PM, Rick wrote:
Hello,
BB needs session scope, and I'm seeing following exception:
org.apache.tuscany.spi.component.ScopeNotFoundException: Scope object
factory not registered for scope [SESSION]
org.apache.tuscany.runtime.webapp.ServletLauncherInitException:
org.apache.tuscany.spi.component.ScopeNotFoundException: Scope object
factory not registered for scope [SESSION]
at
org.apache.tuscany.runtime.webapp.WebappRuntimeImpl.initialize(WebappRuntimeImpl.java:171)
at
org.apache.tuscany.runtime.webapp.TuscanyContextListener.contextInitialized(TuscanyContextListener.java:75)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
It looks for sessison scope something needs to register the
HttpSessionScopeObjectFactory with the ScopeRegistryImpl ? But that
needs to be only done in WebappRuntimeImpl and while I'm still looking
at it don't see a clear path to add it just there so it does not
affect the stand alone launcher. From what I can tell most components
get this through autowire mechanism.
Any suggestions on this?
The object factory should just be configured in a system scdl, probably
one specific to the web app runtime. I haven't been following the
changes closely in that area for a couple of weeks. I assume there is at
least one configuration artifact specific to that environment and if
not, there probably should be.
Some other un related issues is the extension load order
http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg08367.html
I've temporarily worked around that by creating one scdl that includes
the other extensions so I could control the loading order but that is
not going to work in general.
Jeremy a while back put start levels in @Init. Won't this work?
I've really needed to move around jars and manually including scdl for
extensions, and other jar dependencies to get everything to just load.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]