You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Böszörményi Péter (JIRA)" <ji...@apache.org> on 2010/08/24 21:26:16 UTC

[jira] Created: (WW-3487) The plugin can't find the actions if the war embeded in an ear.

The plugin can't find the actions if the war embeded in an ear.
---------------------------------------------------------------

                 Key: WW-3487
                 URL: https://issues.apache.org/jira/browse/WW-3487
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Convention
    Affects Versions: 2.2.1
         Environment: JBoss 5.1
            Reporter: Böszörményi Péter


If I deploy an ear that contains a war, the plugin can't find the actions under JBoss 5.1. If I only deploy the war everything is fine. Tha actions defined in struts.xml works perfectly in both cases. I did some investigation, and i think the problem is in the method org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions.

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


[jira] Updated: (WW-3487) The plugin can't find the actions if the war embeded in an ear.

Posted by "Böszörményi Péter (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WW-3487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Böszörményi Péter updated WW-3487:
----------------------------------

    Attachment: struts2.ear
                struts2-src.tar.gz

Simple testcase that show the problem.

Deploy it into a JBoss 5.1, then open http://localhost:8080/struts2/simple.action. 
Expected result: "Simple" string both in the browser, and the JBoss's log.
Actual result: "Simple" string in the browser, and nothing in the log.

> The plugin can't find the actions if the war embeded in an ear.
> ---------------------------------------------------------------
>
>                 Key: WW-3487
>                 URL: https://issues.apache.org/jira/browse/WW-3487
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Plugin - Convention
>    Affects Versions: 2.2.1
>         Environment: JBoss 5.1
>            Reporter: Böszörményi Péter
>         Attachments: struts2-src.tar.gz, struts2.ear
>
>
> If I deploy an ear that contains a war, the plugin can't find the actions under JBoss 5.1. If I only deploy the war everything is fine. Tha actions defined in struts.xml works perfectly in both cases. I did some investigation, and i think the problem is in the method org.apache.struts2.convention.PackageBasedActionConfigBuilder.findActions.

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