Could be, but why would it route to that URL.

I've tried leaving of the /ProjectName in my web.xml, but still it
tries to go to /ProjectName/ProjectName/gwt-log.

On 31 mrt, 19:37, Fred Sauer <[email protected]> wrote:
> I noticed that the error page said:
>   HTTP Status 404 - /ProjectName/ProjectName/gwt-log
>
> and not:
>   HTTP Status 404 - /ProjectName/gwt-log
>
> Could this be the cause?
>
>
>
> On Wed, Mar 31, 2010 at 12:44 AM, Bert <[email protected]> wrote:
> > I'm not sure what you're getting at but when trying to access this
> > servlet witch is a gwt rpc service
>
> >        <servlet-mapping>
> >                <servlet-name>loginServlet</servlet-name>
> >                <url-pattern>/ProjectName/login</url-pattern>
> >        </servlet-mapping>
>
> > I have no problems.
>
> > this is my gwt-log set-up
>
> >        <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>/ProjectName/gwt-log</url-pattern>
> >        </servlet-mapping>
>
> > On 30 mrt, 22:38, Fred Sauer <[email protected]> wrote:
> > > It seems the configuration of your web.xml is not working w.r.t this
> > > servlet:
> > >   /ProjectName/gwt-log
>
> > > You'll want to fix this in your web server
>
> > > On Tue, Mar 30, 2010 at 7:15 AM, Bert <[email protected]> wrote:
> > > > I'm unable to use logging because of this exception:
>
> > > >  Remote Logger encountered possibly transient communication failure
> > > > with servlet at  http://127.0.0.1:8080/ProjectName/ProjectName/gwt-log
>
> > > > com.google.gwt.user.client.rpc.StatusCodeException:
> > > > <html><head><title>Apache Tomcat/6.0.26 - Error report</
> > > > title><style><!--H1 {font-family:Tahoma,Arial,sans-
> > > > serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-
> > > > family:Tahoma,Arial,sans-serif;color:white;background-
> > > > color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-
> > > > serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-
> > > > family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
> > > > {font-family:Tahoma,Arial,sans-serif;color:white;background-
> > > > color:#525D76;} P {font-family:Tahoma,Arial,sans-
> > > > serif;background:white;color:black;font-size:12px;}A {color : black;}
> > > > A.name {color : black;}HR {color : #525D76;}--></style> </
> > > > head><body><h1>HTTP Status 404 - /ProjectName/ProjectName/gwt-log</
> > > > h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</
> > > > p><p><b>message</b> <u>/ProjectName/ProjectName/gwt-log</u></
> > > > p><p><b>description</b> <u>The requested resource (/ProjectName/
> > > > ProjectName/gwt-log) is not available.</u></p><HR size="1"
> > > > noshade="noshade"><h3>Apache Tomcat/6.0.26</h3></body></html>
> > > >    at
>
> > com.google.gwt.user.client.rpc.impl.RequestCallbackAdapter.onResponseReceived(RequestCallbackAdapter.java:
> > > > 192)
> > > >    at
> > > > com.google.gwt.http.client.Request.fireOnResponseReceived(Request.java:
> > > > 287)
> > > >    at com.google.gwt.http.client.RequestBuilder
> > > > $1.onReadyStateChange(RequestBuilder.java:393)
> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > > >    at java.lang.reflect.Method.invoke(Unknown Source)
> > > >    at
> > > > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> > > >    at
> > > > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
> > > >    at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
> > > > 157)
> > > >    at
>
> > com.google.gwt.dev.shell.BrowserChannel.reactToMessagesWhileWaitingForReturn(BrowserChannel.java:
> > > > 1713)
> > > >    at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:
> > > > 165)
> > > >    at
>
> > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:
> > > > 120)
> > > >    at
> > > > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:
> > > > 507)
> > > >    at
>
> > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:
> > > > 264)
> > > >    at
>
> > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:
> > > > 91)
> > > >    at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
> > > >    at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:188)
> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > >    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > >    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > > >    at java.lang.reflect.Method.invoke(Unknown Source)
> > > >    at
> > > > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
> > > >    at
> > > > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
> > > >    at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:
> > > > 157)
> > > >    at
>
> > com.google.gwt.dev.shell.BrowserChannel.reactToMessages(BrowserChannel.java:
> > > > 1668)
> > > >    at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> > > > 401)
> > > >    at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> > > > 222)
> > > >    at java.lang.Thread.run(Unknown Source)
>
> > > > My .gwt.xml properties:
>
> > > >           <!-- Add gwt-log support, default level `DEBUG` -->
> > > >        <inherits name="com.allen_sauer.gwt.log.gwt-log-DEBUG"/>
> > > >        <!-- Turn on the `RemoteLogger` -->
> > > >        <set-property name="log_RemoteLogger" value="ENABLED"/>
> > > >        <!-- Turn off the divLogger -->
> > > >        <set-property name="log_DivLogger" value="DISABLED"/>
>
> > > > I am using gwt 2.0.3 and gwt-log 3.0.1
>
> > > > 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>/ProjectName/gwt-log</url-pattern>
> > > >        </servlet-mapping>
>
> > > > Log4j properties:
>
> > > >    <appender name="R" class="org.apache.log4j.RollingFileAppender">
> > > >    <!-- DEV -->
> > > >        <param name="file" value="C:/temp.log"/>
> > > >            <param name="MaxFileSize" value="2MB"/>
> > > >            <param name="MaxBackupIndex" value="2"/>
> > > >            <layout class="org.apache.log4j.PatternLayout">
> > > >              <param name="ConversionPattern" value="%d{ISO8601} %-5p
> > %c{2}
> > > > %x - %m%n"/>
> > > >        </layout>
> > > >    </appender>
>
> > > >    <logger name="gwt-log">
> > > >        <level value="debug" />
> > > >        <appender-ref ref="R"/>
> > > >    </logger>
>
> > > > Thanks in advance!
>
> > > > --
> > > > 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]<gwt-log%[email protected]>
> > <gwt-log%[email protected]<gwt-log%[email protected]>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/gwt-log?hl=en.
>
> > > --
> > > 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]<gwt-log%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/gwt-log?hl=en.
>
> --
> 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