You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "CRANFORD, CHRIS" <Ch...@setech.com> on 2010/03/10 17:47:06 UTC

Upgrade 2.1.6 to 2.1.8.1

When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some
reason my application isn't actually loading struts.  Did anyone
experience this problem when they upgraded?  Is there something specific
I should check or be aware of?

It is as if the framework just isn't being loaded via web.xml.

Thoughts?
Chris 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Upgrade 2.1.6 to 2.1.8.1

Posted by "CRANFORD, CHRIS" <Ch...@setech.com>.
I did have my filters defined as:

struts2-cleanup
 org.apache.struts2.dispatcher.ActionContextCleanUp
struts2-prepare
 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter
struts2-execute
 org.apache.struts2.dispatcher.ng.filter.StrutsExecuteFilter

I had used this before as I had a technote that this was required for another filter we had enabled a while back which is no longer used. 

I changed the 2.1.8.1 upgrade copy to use 

struts2
 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter

When I did this, it all started to work.  

I need to see if using the prepare/execute/cleanup classes with 2.1.8.1 were changed so that you cannot break them out like I had them prior with 2.1.6 in the event we must go back and break these out again.

Chris


> -----Original Message-----
> From: Lukasz Lenart [mailto:lukasz.lenart@googlemail.com]
> Sent: Wednesday, March 10, 2010 10:55 AM
> To: Struts Users Mailing List
> Subject: Re: Upgrade 2.1.6 to 2.1.8.1
> 
> 2010/3/10 CRANFORD, CHRIS <Ch...@setech.com>
> >
> > When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some
> > reason my application isn't actually loading struts.  Did anyone
> > experience this problem when they upgraded?  Is there something specific
> > I should check or be aware of?
> >
> > It is as if the framework just isn't being loaded via web.xml.
> 
> Did you use a new filter? Do you have any exceptions?
> 
> 
> Regards
> --
> Łukasz
> http://www.lenart.org.pl/
> Kapituła Javarsovia 2010
> http://javarsovia.pl
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Upgrade 2.1.6 to 2.1.8.1

Posted by Lukasz Lenart <lu...@googlemail.com>.
2010/3/10 CRANFORD, CHRIS <Ch...@setech.com>
>
> When upgrading Struts from 2.1.6 to 2.1.8.1; I found that for some
> reason my application isn't actually loading struts.  Did anyone
> experience this problem when they upgraded?  Is there something specific
> I should check or be aware of?
>
> It is as if the framework just isn't being loaded via web.xml.

Did you use a new filter? Do you have any exceptions?


Regards
--
Łukasz
http://www.lenart.org.pl/
Kapituła Javarsovia 2010
http://javarsovia.pl

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org