You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Harsh Choudhay (JIRA)" <ji...@apache.org> on 2008/07/11 15:49:05 UTC

[jira] Created: (WW-2719) Struts action gives 404 in websphere with file serving disabled

Struts action gives 404 in websphere with file serving disabled
---------------------------------------------------------------

                 Key: WW-2719
                 URL: https://issues.apache.org/struts/browse/WW-2719
             Project: Struts 2
          Issue Type: Bug
          Components: Dispatch Filter
         Environment: Websphere 6.1 
            Reporter: Harsh Choudhay


Hi,
Here is the situation. We are developing application in struts 2.0 on WAS 6.1. I have tried deploying application with below two settings

File Serving Enabled Setting :

1) Everything works fine when I hit following URL in the browser
https://192.168.1.35/xy zzz/jsp/login/welcome.jsp(Welcome.jsp just redirects to .action after doing some javascript processing)

2) The above jsp redirects me to https://192.168.1.35/x yzzz/welcome_success.action . and the page comes up just fine

File Serving Disabled Setting:

1) On hitting https://192.168.1.35/db4/ jsp/login/welcome.jsp

2) I am redirected to https://192.168.1.35/db 4/welcome_success.action, I get page cannot be displayed error,

for file serving disabled I have put all the html,images, js & CSS in the apache webserver. I think problem is that neither webserver nor app server knows which one should serve .action urls. Also when I look at the plug-in config file there is no URL mapping for .action.

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


[jira] Commented: (WW-2719) Struts action gives 404 in websphere with file serving disabled

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45128#action_45128 ] 

James Holmes commented on WW-2719:
----------------------------------

What is the "File Serving Enabled Setting"? Is that something in WebSphere?

Are you proposing something that needs to be fixed in Struts or do you just need help configuring WebSphere?

> Struts action gives 404 in websphere with file serving disabled
> ---------------------------------------------------------------
>
>                 Key: WW-2719
>                 URL: https://issues.apache.org/struts/browse/WW-2719
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>         Environment: Websphere 6.1 
>            Reporter: Harsh Choudhay
>
> Hi,
> Here is the situation. We are developing application in struts 2.0 on WAS 6.1. I have tried deploying application with below two settings
> File Serving Enabled Setting :
> 1) Everything works fine when I hit following URL in the browser
> https://192.168.1.35/xy zzz/jsp/login/welcome.jsp(Welcome.jsp just redirects to .action after doing some javascript processing)
> 2) The above jsp redirects me to https://192.168.1.35/x yzzz/welcome_success.action . and the page comes up just fine
> File Serving Disabled Setting:
> 1) On hitting https://192.168.1.35/db4/ jsp/login/welcome.jsp
> 2) I am redirected to https://192.168.1.35/db 4/welcome_success.action, I get page cannot be displayed error,
> for file serving disabled I have put all the html,images, js & CSS in the apache webserver. I think problem is that neither webserver nor app server knows which one should serve .action urls. Also when I look at the plug-in config file there is no URL mapping for .action.

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


[jira] Commented: (WW-2719) Struts action gives 404 in websphere with file serving disabled

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45132#action_45132 ] 

Wes Wannemacher commented on WW-2719:
-------------------------------------

Harsh,

Since we are a set of volunteers, I doubt that anyone would have the time to jump into a conf. call. I will say though that we are aware of WebSphere issues and I have personally been trying to find the right people at IBM who can help to get me licenses for 6.0, 6.1 & 7.0. I am going to set up WebSphere so that we can do integration tests before we release since WebSphere tends to be a problem for us, yet we can't do regular testing since we don't have copies of the software. If you do talk to them, ask if there is some sort of developers' license that we could sign onto that would allow us to test Struts releases against WebSphere. If you want to give IBM my email address it is - wesw@wantii.com. 

> Struts action gives 404 in websphere with file serving disabled
> ---------------------------------------------------------------
>
>                 Key: WW-2719
>                 URL: https://issues.apache.org/struts/browse/WW-2719
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>         Environment: Websphere 6.1 
>            Reporter: Harsh Choudhay
>
> Hi,
> Here is the situation. We are developing application in struts 2.0 on WAS 6.1. I have tried deploying application with below two settings
> File Serving Enabled Setting :
> 1) Everything works fine when I hit following URL in the browser
> https://192.168.1.35/xy zzz/jsp/login/welcome.jsp(Welcome.jsp just redirects to .action after doing some javascript processing)
> 2) The above jsp redirects me to https://192.168.1.35/x yzzz/welcome_success.action . and the page comes up just fine
> File Serving Disabled Setting:
> 1) On hitting https://192.168.1.35/db4/ jsp/login/welcome.jsp
> 2) I am redirected to https://192.168.1.35/db 4/welcome_success.action, I get page cannot be displayed error,
> for file serving disabled I have put all the html,images, js & CSS in the apache webserver. I think problem is that neither webserver nor app server knows which one should serve .action urls. Also when I look at the plug-in config file there is no URL mapping for .action.

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


[jira] Commented: (WW-2719) Struts action gives 404 in websphere with file serving disabled

Posted by "Harsh Choudhay (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45131#action_45131 ] 

Harsh Choudhay commented on WW-2719:
------------------------------------

Hi James,

	Thanks for responding back to me. File Serving Enabled Setting allows you to serve your static content from the web server outside of App server. I am proposing that Struts2 with File Serving enabled is not compatible with the deployment procedures of Websphere. I am not proposing change to struts2, as I think it's more of an issue with Websphere, which makes struts2 incompatible with the Websphere above topology settings. 

	What I am not sure is this could be a global problem with other App servers in the above mentioned topology. I haven't tested it myself on other severs(jboss, weblogic etc). I am more inclined to say that it could be a potential for a global problem because Struts 2 has changed its base implementation from ActionServlet to ActionFilter and app server's deployment procedure really don't read the Filter mappings. I have an email from IBM support and they agreed that Filters are not read at the time of deployment only servlets are. If you would want to have a conference for this we could really set up some time to nail down it. Let me know.

Thanks 
Harsh





> Struts action gives 404 in websphere with file serving disabled
> ---------------------------------------------------------------
>
>                 Key: WW-2719
>                 URL: https://issues.apache.org/struts/browse/WW-2719
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>         Environment: Websphere 6.1 
>            Reporter: Harsh Choudhay
>
> Hi,
> Here is the situation. We are developing application in struts 2.0 on WAS 6.1. I have tried deploying application with below two settings
> File Serving Enabled Setting :
> 1) Everything works fine when I hit following URL in the browser
> https://192.168.1.35/xy zzz/jsp/login/welcome.jsp(Welcome.jsp just redirects to .action after doing some javascript processing)
> 2) The above jsp redirects me to https://192.168.1.35/x yzzz/welcome_success.action . and the page comes up just fine
> File Serving Disabled Setting:
> 1) On hitting https://192.168.1.35/db4/ jsp/login/welcome.jsp
> 2) I am redirected to https://192.168.1.35/db 4/welcome_success.action, I get page cannot be displayed error,
> for file serving disabled I have put all the html,images, js & CSS in the apache webserver. I think problem is that neither webserver nor app server knows which one should serve .action urls. Also when I look at the plug-in config file there is no URL mapping for .action.

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


[jira] Commented: (WW-2719) Struts action gives 404 in websphere with file serving disabled

Posted by "Harsh Choudhay (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2719?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45130#action_45130 ] 

Harsh Choudhay commented on WW-2719:
------------------------------------

Hi James,

	Thanks for responding back to me. File Serving Enabled Setting allows you to serve your static content from the web server outside of App server. I am proposing that Struts2 with File Serving enabled is not compatible with the deployment procedures of Websphere. I am not proposing change to struts2, as I think it's more of an issue with Websphere, which makes struts2 incompatible with the Websphere above topology settings. 

	What I am not sure is this could be a global problem with other App servers in the above mentioned topology. I haven't tested it myself on other severs(jboss, weblogic etc). I am more inclined to say that it could be a potential for a global problem because Struts 2 has changed its base implementation from ActionServlet to ActionFilter and app server's deployment procedure really don't read the Filter mappings. I have an email from IBM support and they agreed that Filters are not read at the time of deployment only servlets are. If you would want to have a conference for this we could really set up some time to nail down it. Let me know.

Thanks 
Harsh


> Struts action gives 404 in websphere with file serving disabled
> ---------------------------------------------------------------
>
>                 Key: WW-2719
>                 URL: https://issues.apache.org/struts/browse/WW-2719
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>         Environment: Websphere 6.1 
>            Reporter: Harsh Choudhay
>
> Hi,
> Here is the situation. We are developing application in struts 2.0 on WAS 6.1. I have tried deploying application with below two settings
> File Serving Enabled Setting :
> 1) Everything works fine when I hit following URL in the browser
> https://192.168.1.35/xy zzz/jsp/login/welcome.jsp(Welcome.jsp just redirects to .action after doing some javascript processing)
> 2) The above jsp redirects me to https://192.168.1.35/x yzzz/welcome_success.action . and the page comes up just fine
> File Serving Disabled Setting:
> 1) On hitting https://192.168.1.35/db4/ jsp/login/welcome.jsp
> 2) I am redirected to https://192.168.1.35/db 4/welcome_success.action, I get page cannot be displayed error,
> for file serving disabled I have put all the html,images, js & CSS in the apache webserver. I think problem is that neither webserver nor app server knows which one should serve .action urls. Also when I look at the plug-in config file there is no URL mapping for .action.

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