That error doesn't make a lot of sense... Check a few of the following - Which version of Glassfish are you using (2.x, 3)
Restart glassfish Make sure that you don't have servlet.jar or jsp-api.jar in your /WEB-INF/lib Deploy the app to another container (jetty or tomcat) to make sure that your app isn't the problem As you can see, I'm grasping straws... -Wes 2010/3/23 Hallgrímur Th. Björnsson <hallgrimur.bjorns...@skyrr.is>: > Hi, > > I found where to change the filter settings. > > I get the exact same errors with the different filters: > > java.lang.ClassCastException: > org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter cannot be cast to > javax.servlet.Filter > > For all 3 filters you suggested. > > Kveðja / Regards, > Hallgrímur > > > -----Original Message----- > From: Hallgrímur Th. Björnsson [mailto:hallgrimur.bjorns...@skyrr.is] > Sent: 23. mars 2010 11:54 > To: Struts Users Mailing List; lukasz.len...@gmail.com > Subject: RE: org.apache.struts2.dispatcher.FilterDispatcher cannot be cast to > javax.servlet.Filter > > Hi, > > Thanks for the reply. > > Where is this typically changed? In an XML file or in the code? > > Kveðja / Regards, > Hallgrímur > > > -----Original Message----- > From: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] > Sent: 23. mars 2010 11:49 > To: Struts Users Mailing List > Subject: Re: org.apache.struts2.dispatcher.FilterDispatcher cannot be cast to > javax.servlet.Filter > > 2010/3/23 Hallgrímur Th. Björnsson <hallgrimur.bjorns...@skyrr.is>: >> I am fairly new to Struts. I'm trying to get an application which uses >> Struts to work on Glassfish v3. I have made it work on JBoss and Tomcat. > > Try to use one of these > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter > > or (when you are using Sutemesh) > org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter > org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter > > > Regards > -- > Łukasz > http://www.lenart.org.pl/ > Kapituła Javarsovia 2010 > http://javarsovia.pl > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org