If you explicitly add ehcache 1.3.0 to your pom.xml, it should fix this problem.
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>1.3.0</version>
</dependency>
Matt
On 7/23/07, stuman <[EMAIL PROTECTED]> wrote:
I'm new here.
I've successfully started the application from Jetty using Maven. I've
tried porting the the exploded application into Netbeans. Unfortunately,
the Maven Plug-In doesn't work properly for Netbeans or probably I did
something wrong. I would, however, like to use my IDE since I'm most
comfortable with it. After compiling the exploded war and deploying it into
the Tomcat 5.5 I get the following:
Yikes!
javax.servlet.ServletException: Failure when attempting to set
Content-Encoding: gzip
at
net.sf.ehcache.constructs.web.filter.Filter.logThrowable(Filter.java:147)
at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:102)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.appfuse.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:64)
at
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.opensymphony.clickstream.ClickstreamFilter.doFilter(ClickstreamFilter.java:42)
...
I've also tried manually deploying the snapshot war files into the webapps
directory. Still, the same issue. Where did I go wrong?
Thanks,
Stuart
cpnguyen wrote:
>
> Hi all. I'm new here and I'm trying to get AppFuse 2.0M5 Tapestry Basic
> to work on my Centos 5 box.
>
> I've been struggling with this for a few days now and I've been searching
> this forum for help. I am using Eclipse and ideally I would like to
> develop, test and deploy applications from Eclipse (via Maven) to a Tomcat
> (with mod_jk connection to HTTPD) webserver.
>
> I have everything configured enough that I pass the integration tests, but
> upon "deploying" the application I receive the following error:
>
> javax.servlet.ServletException: Failure when attempting to set
> Content-Encoding: gzip
> at
> net.sf.ehcache.constructs.web.filter.Filter.logThrowable(Filter.java:147)
> at net.sf.ehcache.constructs.web.filter.Filter.doFilter(Filter.java:102)
> at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
> at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
> at
> org.appfuse.webapp.filter.LocaleFilter.doFilterInternal(LocaleFilter.java:64)
> at
>
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)
> ....
>
> This happens with the default Cargo configuration (to download Tomcat
> 5.5.23 from maven) through Eclipse (mvn cargo:start). I am getting the
> same error when I configure Cargo to use my own installed Tomcat as well
> as copying the war file to my personal Tomcat installation
> ($TOMCAT_HOME/webapps) and having it autodeploy.
>
> I've been following tutorials on AppFuse and Cargo websites to no avail.
> I have also tried playing with filters in httpd.conf and web.xml. Any
> ideas?
>
>
> Other than that error above, I have also been experiencing this error
> message (from catalina.out):
> ERROR [main] velocity.logVelocityMessage(143) | ResourceManager : unable
> to find resource 'menuMacros.vm' in any resource loader.
>
> I'm not sure if the errors are related. Thanks.
>
--
View this message in context:
http://www.nabble.com/ehcache---Failure-when-attempting-to-set-Content-Encoding%3A-gzip-tf3848850s2369.html#a11747817
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]