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

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

Mine doesn't work either (WebSphere 6.1), but I'm not sure if it's the same 
issue. I get 
"Error 404: SRVE0190E: File not found: /struts/simple/dojoRequire.js " 
appended to the bottom of each js file (the file-name matches the file 
requested in each case) and 

[3/04/07 12:25:25:187 NZST] 00000025 SRTServletRes W   WARNING: Cannot set 
status. Response already committed.
[3/04/07 12:25:25:250 NZST] 00000025 SRTServletRes W   WARNING: Cannot set 
header. Response already committed.

output to the logs when requesting any struts 2 page. It's really frustrating 
and I can't figure it out. Am I getting to responses for each request?? I'd 
turned off all my other filters.

I made a struts2 thread about it here:
http://www.nabble.com/-S2--Websphere-6.1-Showcase-application%2C-Response-already-committed-warning-in-logs-tf3468980.html#a9793011

Apparently another guy had the same problem, and he fixed it with his patch to 
https://issues.apache.org/struts/browse/WW-1526?page=com.atlassian.jira.plugin.ext.subversion:subversion-commits-tabpanel
but it didn't work for me.

> 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