Hi all,

We're using the appstats for extra logging. Works fine as far as I've
looked at it, but not we get a classcast exception for most requests.
Looks like a java version conflict to me, but we only included the
library, so there is no point in fixing anything.


The error:

Reason:
<pre>    com.google.appengine.tools.appstats.RecordingFuture cannot be
cast to com.google.appengine.tools.appstats.RecordingFuture</pre></
p><h3>Caused by:</h3><pre>java.lang.ClassCastException:
com.google.appengine.tools.appstats.RecordingFuture cannot be cast to
com.google.appengine.tools.appstats.RecordingFuture



The only thing we did was add it to the web.xml:

        <filter>
        <filter-name>appstats</filter-name>
        <filter-
class>com.google.appengine.tools.appstats.AppstatsFilter</filter-
class>
        <init-param>
            <param-name>logMessage</param-name>
            <param-value>Appstats available: /appstats/details?
time={ID}</param-value>
        </init-param>
    </filter>
    <filter-mapping>
        <filter-name>appstats</filter-name>
        <url-pattern>/ourstuff/*</url-pattern>
    </filter-mapping>


         <servlet>
        <servlet-name>appstats</servlet-name>
        <servlet-
class>com.google.appengine.tools.appstats.AppstatsServlet</servlet-
class>
    </servlet>
    <servlet-mapping>
        <servlet-name>appstats</servlet-name>
        <url-pattern>/appstats/*</url-pattern>
    </servlet-mapping>

Thanks,
Niels

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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/google-web-toolkit?hl=en.

Reply via email to