Hello,

I'm attempting to use "log_RemoteLogger" from gwt-log-1.5.6 in order
to redirect my clients logs to a log4j system.

On the load of my module, an error appears:

[ERROR] [gwt-log] Removing
'com.allen_sauer.gwt.log.client.RemoteLogger' due to unexecpted
exception
java.lang.RuntimeException: Remote logging will be suspended due to
communication failure with
com.allen_sauer.gwt.log.client.RemoteLoggerService_Proxy at
http://localhost:8080/myModuleContext/myModule/gwt-log
        at com.allen_sauer.gwt.log.client.RemoteLogger$1.onFailure
(RemoteLogger.java:45)
        at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived
(RequestCallbackAdapter.java:217)
        at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
(Request.java:254)
        at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
(Request.java:226)
        at com.google.gwt.http.client.Request.fireOnResponseReceived
(Request.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
        at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
        at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)
Caused by: com.google.gwt.user.client.rpc.StatusCodeException: 404
        at
com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived
(RequestCallbackAdapter.java:192)
        at com.google.gwt.http.client.Request.fireOnResponseReceivedImpl
(Request.java:254)
        at com.google.gwt.http.client.Request.fireOnResponseReceivedAndCatch
(Request.java:226)
        at com.google.gwt.http.client.Request.fireOnResponseReceived
(Request.java:217)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:
103)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.callMethod
(IDispatchImpl.java:126)
        at com.google.gwt.dev.shell.ie.IDispatchProxy.invoke
(IDispatchProxy.java:155)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.Invoke
(IDispatchImpl.java:294)
        at com.google.gwt.dev.shell.ie.IDispatchImpl.method6
(IDispatchImpl.java:194)
        at org.eclipse.swt.internal.ole.win32.COMObject.callback6
(COMObject.java:117)
        at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
        at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1925)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2966)
        at com.google.gwt.dev.GWTShell.pumpEventLoop(GWTShell.java:720)
        at com.google.gwt.dev.GWTShell.run(GWTShell.java:593)
        at com.google.gwt.dev.GWTShell.main(GWTShell.java:357)

In myModule.gwt.xml desciption I have :
    <inherits name="com.allen_sauer.gwt.log.gwt-log" />
    <extend-property name="log_level" values="DEBUG,INFO,WARN,ERROR" /
>
    <set-property name="log_DivLogger" value="ENABLED" ></set-
property>
    <set-property name="log_FirebugLogger" value="ENABLED" />
    <set-property name="log_GWTLogger" value="ENABLED" />
    <set-property name="log_SystemLogger" value="ENABLED" />
    <set-property name="log_RemoteLogger" value="ENABLED" />

In web.xml description I have :
    <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>


What is missing ?

Thanks.
--~--~---------~--~----~------------~-------~--~----~
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