What's wrong with the URL pattern?
Fred Sauer
[EMAIL PROTECTED]

On Mon, Oct 20, 2008 at 12:06 PM, cmr <[EMAIL PROTECTED]> wrote:

>
> That fixed it and messages do get logged in JBoss server log. I missed
> it too in the Getting Started page.
>
> However in Intellij IDEA there is a warning on /gwt-log in web.xml
> saying "Incorrect URL pattern for remote service RemoteLoggerService"
> even though it runs and logs the messages correctly.
> Also in my class where I use Log there is a warning - Class
> 'com.allen_sauer.gwt.log.client.Log' is defined in module
> com.allen_sauer.gwt.log.gwt-log-INFO which is not inherited in 'my
> module name'.
>
> Thanks,
> cmr
>
> On Oct 18, 5:25 am, [EMAIL PROTECTED] wrote:
> > In hosted mode the /gwt-log servlet is automatically setup. In your
> > case (JBoss) you need to define the servlet in your web.xml. The key
> > is the HTTP 404 error that the client end of the remote logger is
> > running into.
> >
> > Fred
> > On 10/17/08, cmr <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >
> > > My .gwt.xml file entry:
> >
> > > <set-property name="log_RemoteLogger" value="ENABLED" />
> > > <extend-property name="log_level" values="DEBUG,WARN"/>
> >
> > > My GWT code has the following line in a LayoutContainer class'
> > > onRender()
> >
> > > Log.debug("Entering onRender");
> >
> > > I have packaged gwt-log.jar in my .ear file. But I don't see the log
> > > message in my JBoss server log or any exceptions in GUI. But if I
> > > interactively change the log level to INFO I see the following
> > > exception.
> >
> > > [gwt-log] Temporarily setting the current (runtime) log level filter
> > > to 'INFO'
> > > 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/dWeb/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:597)
> > >    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:
> >
> > > HTTP Status 404 - /dWeb/gwt-log
> >
> > >
> --------------------------------------------------------------------------------
> >
> > > type Status report
> >
> > > message /dWeb/gwt-log
> >
> > > description The requested resource (/dWeb/gwt-log) is not available.
> >
> > > Thanks for any help.
> > > cmr
> >
> > --
> > Fred Sauer
> > [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