Anita,

While the jar's are not required in the class loader, without them the warning messages are printed.

Do you have ideas about how to get rid of the warning messages and keep the 'provided' scope?

I think I prefer pushing all the methods into the 'super interface' and having an UnsupportedOperationException as long as there are good error messages as to what has happened (i.e. 'a method was invoked on the Jetty container that is not supported, perhaps you wanted to use Tomcat instead?' or something less cheesy).

Anyway I'm not sure of the best way to handle this but I don't like the warning messages. I think they would look ominous to initial users then over time users would stop worrying about warning messages. Which is bad IMO.

TTFN,

-bd-

On Sep 5, 2006, at 8:23 AM, anita kulshreshtha wrote:


I'm not sure what the point is of listing it as "provided", if that's
what we're currently doing.  I'm pretty sure it's not "provided" so
we
might as well either not list it or list it as a regular dependency.

     The scope=provided is used to enforce the build order for the
configs, i.e the console configs are not built before the jetty/tomcat
deployer configs are built in a multi config build. These cars are not
required in the classloader.


Thanks
Anita



On 9/4/06, Bill Dudney <[EMAIL PROTECTED]> wrote:
Hi All,

The consoles (tomcat & jetty) are spewing warning messages like
this;

08:00:18,511 WARN  [BasicProxyManager] Could not load interface
org.apache.geronimo.jetty.JettyWebAppContext in provided
ClassLoader
for org.apache.geronimo.configs/welcome-jetty/1.2-SNAPSHOT/car?

J2EEApplication=null,j2eeType=WebModule,name=org.apache.geronimo.conf
igs
/welcome-jetty/1.2-SNAPSHOT/car

To fix it we can simply remove the <scope>provided</scope> from
the
<artifactId>{jetty,tomcat}-deployer</artifactId> dependencies in
the
webconsole-{jetty,tomcat}/pom.xml.

Could someone who knows more about the console than me please
review
the patch (GERONIMO-2344.bdudney-2.patch) here;

http://issues.apache.org/jira/browse/GERONIMO-2344

And apply it if it makes sense?

Thanks!

-bd-






__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Reply via email to