[ 
https://issues.apache.org/struts/browse/WW-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40736
 ] 

Antony Stubbs commented on WW-1839:
-----------------------------------

Ok, after installing Websphere 6.1 update pack (6.1.0.5-WS-WAS-IFPK33090), I 
know get a worse result. It seems that the struts2 filter isn't even being run?

now *all* i get is "Error 404: SRVE0190E: File not found: /eventProfile.action"
printed to the screen, and *nothing* in the logs. ugh.

It appears as though Struts2 filter isn't even being invoked. 
I switched to Tapio's custom WebsphereFilterDispatcher and put some break 
points in there to catch execution, but it never breaks - it just very quickly 
puts up that msg.

struts1 within the same project still works fine though, running the servlet 
*.do mapping.

And just in case someone asks:
        <filter>
        <filter-name>struts2</filter-name><!--
                
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
        <init-param>
                <param-name>actionPackages</param-name>
                <param-value>com.fonterra.tams.actions.s2</param-value>
        </init-param>
        </filter>
        <filter-mapping>
                <filter-name>struts2</filter-name>
                <url-pattern>/*</url-pattern>
        </filter-mapping>



> Websphere 6.1: Ajax samples in struts2-showcase-2.0.6.war doesn't work
> ----------------------------------------------------------------------
>
>                 Key: WW-1839
>                 URL: https://issues.apache.org/struts/browse/WW-1839
>             Project: Struts 2
>          Issue Type: Bug
>          Components: API, Examples, Views
>    Affects Versions: 2.0.6
>         Environment: Websphere 6.1
>            Reporter: Tapio Holopainen
>         Assigned To: Musachy Barroso
>            Priority: Critical
>
> I deployed struts2-showcase-2.0.6.war to Tomcat 5.5. AJAX samples worked just 
> fine. Then I deployed the same .war to Websphere 6.1. None of the AJAX 
> samples worked. Other samples seems to work normally. Could it be that 
> Websphere doesn't handle baseRelativePath in djConfig the same way than 
> Tomcat does? There is no exceptions in Websphere log.
>  
> <script language="JavaScript" type="text/javascript">
>     // Dojo configuration
>     djConfig = {
>         baseRelativePath: "/S2Show/struts/dojo",
>         isDebug: false,
>         bindEncoding: "UTF-8",
>         debugAtAllCosts: true // not needed, but allows the Venkman debugger 
> to work with the includes
>     };
> </script>
> <script language="JavaScript" type="text/javascript"
>         src="/S2Show/struts/dojo/dojo.js"></script>
> <script language="JavaScript" type="text/javascript"
>         src="/S2Show/struts/simple/dojoRequire.js"></script>
> <script language="JavaScript" type="text/javascript"
>         src="/S2Show/struts/ajax/dojoRequire.js"></script>
> <script language="JavaScript" type="text/javascript"
>         src="/S2Show/struts/CommonFunctions.js"></script>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to