I have the exact same issue. Did you ever get around this problem?
Thanks,
Ingo
On Friday, April 22, 2011 9:58:17 AM UTC-4, Baloe wrote:
-- On Friday, April 22, 2011 9:58:17 AM UTC-4, Baloe wrote:
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 unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment