struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Denis Cabasson <denis.cabas...@gmail.com>
Subject Re: Struts2 on Websphere 6.1 : 404 errors
Date Sat, 17 Oct 2009 04:02:25 GMT
I concur. We are using struts 2.1.8 with WAS 6.1.0.27 and there is no 
way around this variable. It is documented in our installation 
procedure, and you will never get any filter based framework to work 
unless you set this variable.

The default Websphere behaviour (without this variable that is) seems to 
first check for the target URL existence, before processing the filters. 
Or with Struts 2, there is no such target (as the filter answer the 
request).

So yes, you have to use this variable.

Denis.

Struts Two a écrit :
> Yes, it is. If you plan to turn on container security, you need another flag as well.
>
>
>
> --- On Fri, 10/16/09, Raghuveer.V <raghuveerv@infotechsw.com> wrote:
>
>   
>> From: Raghuveer.V <raghuveerv@infotechsw.com>
>> Subject: Struts2 on Websphere 6.1 : 404 errors
>> To: user@struts.apache.org
>> Received: Friday, October 16, 2009, 1:03 PM
>> Hi Struts2 Users,
>> I have problem when deploying application struts2.1.6
>> application on
>> Websphere6.1 which was succefully working on
>> apache-tomcat-5.5.23.
>> We have used configuration option to make it work as per
>> information
>> available in Websphere forums and Struts2 forums on my
>> local websphere.
>>  
>> Could you suggest is this the ONLY possible solution to
>> make struts2 work on
>> Websphere?.
>>  
>>  
>> Initially we have received 404 errors.
>> Servlet filter is not called for URL resources on WAS 6.1 ,
>> configuration
>> option has been set in server 
>>  
>>
>> The webcontainer custom property
>> com.ibm.ws.webcontainer.invokefilterscompatibility
>> was  set to true as per
>> below links.
>>
>> com.ibm.ws.webcontainer.invokefilterscompatibility=true
>>
>> Application Servers -> <server> -> Web
>> Container Settings -> Web Container
>> -> Custom Properties
>>
>>  
>>
>>  
>>
>> Goggle Refrence: 
>>
>>  
>>
>> struts2 +websphere +There is no Action mapped for namespace
>> / and action
>> name
>>
>> com.ibm.ws.webcontainer.invokefilterscompatibility+struts2+websphere
>>
>>  
>>
>> http://www.ibm.com/developerworks/forums/thread.jspa?threadID=264848
>>
>> http://www-01.ibm.com/support/docview.wss?rs=180
>> <http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg1PK27620>
>> &uid=swg1PK27620
>>
>> http://www.mail-archive.com/user@struts.apache.org/msg88798.html
>>
>> http://www.nabble.com/Struts2-on-Websphere-portal-6.1.0.0-td18761735.html
>>
>>  
>>
>>  
>>
>>  
>>
>> Regards,
>> Raghu
>>
>>  
>>
>>
>>     
>
>
>       __________________________________________________________________
> Connect with friends from any web browser - no download required. Try the new Yahoo!
Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message