users@jersey.java.net

Re: [Jersey] Logline ERROR...why?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 24 Nov 2008 10:46:37 +0100

On Nov 23, 2008, at 8:04 PM, John O'Conner wrote:

> When I deploy my web app to JBoss, I see the following log lines. I'm
> not sure why...the app seems to run correctly. Any ideas?
>

The "ERROR [STDERR]" does not indicate an actual error. JBoss prefixes
that string to any output written to stderr.

What you are observing is logging output (using JDK logging) of the
level INFO. Jersey is logging what scanning mechanism it is using and
what the results are scanning are, the root resource classes and
provider classes found.

Paul.

> 11:00:55,140 ERROR [STDERR] Nov 23, 2008 11:00:55 AM
> com.sun.jersey.api.core.ClasspathResourceConfig init
> INFO: Scanning for root resource and provider classes in the paths:
> C:\bin\jboss\server\joci\.\deploy\core-ws.war\WEB-INF\lib
> C:\bin\jboss\server\joci\.\deploy\core-ws.war\WEB-INF\classes
> 11:00:55,515 ERROR [STDERR] Nov 23, 2008 11:00:55 AM
> com.sun.jersey.api.core.ClasspathResourceConfig init
> INFO: Root resource classes found:
> class com.joci.ws.AccountsResource
> class com.joci.ws.GatewaysResource
> 11:00:55,515 ERROR [STDERR] Nov 23, 2008 11:00:55 AM
> com.sun.jersey.api.core.ClasspathResourceConfig init
> INFO: Provider classes found:
> class com.joci.ws.GatewaysProvider
> 11:00:55,812 ERROR [STDERR] Nov 23, 2008 11:00:55 AM
> com.sun.jersey.spi.spring.container.servlet.SpringServlet
> springComponentAnnotationAvailable
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>