Rutger,
You simply need to add gwt-log.x.x.x.jar to the classpath on the server.
That may be as simple as dropping the file into WEB-INF/lib/

Fred


On Mon, Sep 21, 2009 at 12:52 PM, Ruggi <[email protected]> wrote:

>
> Hi,
>
> I am trying to get remote logging working (to debug a mobile problem)
> but when I start (in hosted mode) I get the following error message:
>
> 21-sep-2009 19:40:46 com.google.apphosting.utils.jetty.JettyLogger
> warn
> WARNING: EXCEPTION
> java.lang.ClassNotFoundException:
> com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl
> ...
>
> I tried several things to circumvent the problem but have failed up to
> now. I must be missing something simple, so any help is welcome.
>
> Configuration snap-shots:
>
> ....gwt.xml:
>
> ...
>  <!-- For development a default of `DEBUG` is recommended -->
>  <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG" />
>
>  <set-property name="log_DivLogger" value="DISABLED" />
>  <set-property name="log_RemoteLogger" value="ENABLED" />
> ...
>
>
> web.xml:
>
> ...
>        <servlet>
>                <servlet-name>gwt-log-remote-logger-servlet</servlet-name>
>                <servlet-
> class>com.allen_sauer.gwt.log.server.RemoteLoggerServiceImpl</servlet-
> class>
>        </servlet>
>
>        <servlet-mapping>
>                <servlet-name>gwt-log-remote-logger-servlet</servlet-name>
>                <url-pattern>/gwt-log</url-pattern>
>        </servlet-mapping>
> ...
>
>
> EntryPoint:
>
> ...
>        public void onModuleLoad() {
>                final Logger logger = new RemoteLogger(); // logs to stderr
> on
> server
>                Log.addLogger(logger);
>
>                Log.setUncaughtExceptionHandler();
> ...
>
>
> I am using gwt-log-2.6.2.
>
> All logging works fine without the remote logger.
>
> Did I miss (configuring) something?  As said any help appreciated.
>
> tnx,
>
> Rutger
>
>
>
> >
>


-- 
Fred Sauer
Developer Advocate
Google Inc. 1600 Amphitheatre Parkway
Mountain View, CA 94043
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"gwt-log" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/gwt-log?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to