Re: [appengine-java] Re: java.lang.ClassNotFoundException: com.google.appengine.tools.appstats.AppstatsFilter

2010-04-02 Thread Prashant Gupta
Thanks a lot, it worked.

I guess there was some problem with Google Plugin, it didn't replace the
jars when I updated my sdk version.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.lang.ClassNotFoundException: com.google.appengine.tools.appstats.AppstatsFilter

2010-04-01 Thread Prashant Gupta
someone please help me out


following is the code I added to my web.xml file :

filter
   filter-nameappstats/filter-name
   filter-
classcom.google.appengine.tools.appstats.AppstatsFilter/filter-
class
   init-param
   param-namelogMessage/param-name
   param-valueAppstats available: /appstats/details?time={ID}
/param-value
/init-param
   /filter
   filter-mapping
   filter-nameappstats/filter-name
   url-pattern/*/url-pattern
   /filter-mapping

   servlet
   servlet-nameappstats/servlet-name
   servlet-
classcom.google.appengine.tools.appstats.AppstatsServlet/servlet-
class
   /servlet
   servlet-mapping
   servlet-nameappstats/servlet-name
   url-pattern/appstats/*/url-pattern
   /servlet-mapping

   security-constraint
   web-resource-collection
   url-pattern/appstats/*/url-pattern
   /web-resource-collection
   auth-constraint
   role-nameadmin/role-name
   /auth-constraint
   /security-constraint

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: java.lang.ClassNotFoundException: com.google.appengine.tools.appstats.AppstatsFilter

2010-04-01 Thread KarthikR
Hi

In my 1.3.2 installation, the missing class
com.google.appengine.tools.appstats.AppstatsFilter is part of
'appengine-api-labs-1.3.2.jar'. The jar is found in the following
directories: lib\impl\ , lib\user and demos\guestbook\war\WEB-INF
\lib .

Can you check if your install has the labs api jar? And if so, check
the build script to see if the jar file is being copied to app's WEB-
INF.

Regards,
KarthikR

On Apr 1, 6:18 am, Prashant Gupta nextprash...@gmail.com wrote:
 someone please help me out

 following is the code I added to my web.xml file :

 filter
        filter-nameappstats/filter-name
        filter-
 classcom.google.appengine.tools.appstats.AppstatsFilter/filter-
 class
        init-param
            param-namelogMessage/param-name
            param-valueAppstats available: /appstats/details?time={ID}
 /param-value
         /init-param
    /filter
    filter-mapping
        filter-nameappstats/filter-name
        url-pattern/*/url-pattern
    /filter-mapping

    servlet
        servlet-nameappstats/servlet-name
        servlet-
 classcom.google.appengine.tools.appstats.AppstatsServlet/servlet-
 class
    /servlet
    servlet-mapping
        servlet-nameappstats/servlet-name
        url-pattern/appstats/*/url-pattern
    /servlet-mapping

    security-constraint
        web-resource-collection
            url-pattern/appstats/*/url-pattern
        /web-resource-collection
        auth-constraint
            role-nameadmin/role-name
        /auth-constraint
    /security-constraint

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.