Use new constructor of XWork class UrlSet to specify ClassLoader protocols. 
(Allows WebLogic deployment)
--------------------------------------------------------------------------------------------------------

                 Key: WW-3110
                 URL: https://issues.apache.org/struts/browse/WW-3110
             Project: Struts 2
          Issue Type: Improvement
          Components: Plugin - Convention
    Affects Versions: 2.1.7
         Environment: WebLogic 10
            Reporter: Jordi Albert
            Assignee: Musachy Barroso
         Attachments: conventionPackageBasedActionBuilder.patch

Use new constructor of XWork class UrlSet with protocols parameter in the 
function buildUrlSet()

This new parameter indicates the allowed ClassLoader protocols to search for. 
And its value must be the property "struts.convention.action.fileProtocols".

This is necessary to deploy struts applications in WebLogic, because this 
server packages the WEB-INF/classes of the WAR in a JAR, and then move it to 
WEB-INF/lib. And in WebLogic all JARs in WEB-INF/lib are read using the zip 
protocol.

This improvement depends on JIRA task XW-693:
http://jira.opensymphony.com/browse/XW-693

-- 
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