You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2006/09/28 09:17:51 UTC

Re: svn commit: r450722 - in /incubator/tuscany/java/sca: kernel/core/src/main/java/org/apache/tuscany/core/runtime/ kernel/host-api/src/main/java/org/apache/tuscany/host/runtime/ runtime/webapp-host/src/main/java/org/apache/tuscany/runtime/webapp/ runtime...

On Sep 28, 2006, at 12:09 AM, jboynes@apache.org wrote:

> Author: jboynes
> Date: Thu Sep 28 00:09:18 2006
> New Revision: 450722
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=450722
> Log:
> clean up webapp bootstrap code
> move extension deployment into a service component

This is the first stage of the webapp launch cleanup I've been  
promising. I've added pluggable RuntimeInfo support so that we can  
customize the RuntimeInfo impl for different host environments  
(launcher, webapp, and I've not checked yet but I think Andy's Spring  
patch as well).

I also made the extension mechanism pluggable by turning it over to a  
service component deployed as part of the system configuration  
(rather than hard coding it into the WebappRuntimeImpl). I've tested  
that it locates extensions but not that they actually deploy (they  
should as they share implementation with the standalone config that  
has been working for a while but YMMV). I'll do more testing in the  
AM when I'm less tired.

I ran into a weird problem with Tomcat when I moved the  
WebResourceScanExtender into a services sub-package - the classloader  
throws ClassNotFound even though the class file is there; moving it  
to a different package worked. Anyone have an idea of why that would  
happen (I suspect something in the jndi resource caching but don't  
know for sure)?

--
Jeremy


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org