[
https://issues.apache.org/struts/browse/WW-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Don Brown resolved WW-1712.
---------------------------
Resolution: Fixed
Assignee: Don Brown
Should be fixed by using a more robust properties file search algorithm that
includes looking at the class's classloader.
> PropertiesSettings fails to load properties on Websphere 6.0
> ------------------------------------------------------------
>
> Key: WW-1712
> URL: https://issues.apache.org/struts/browse/WW-1712
> Project: Struts 2
> Issue Type: Bug
> Components: Configuration
> Affects Versions: 2.0.5
> Environment: Websphere 6.0 running under Rational Application
> Developer 6.0
> Java version = J2RE 1.4.2 IBM J9 2.2 Windows XP x86-32 j9n142-20060120 (JIT
> enabled)
> struts2-core-j4-2.0.5.jar
> struts2-blank-2.0.5 app
> Reporter: Mikko Apo
> Assigned To: Don Brown
> Fix For: 2.0.8
>
>
> PropertiesSettings fails to load properties on Websphere 6.0 running under
> Rational Application Developer 6.0 (using struts2-core-j4-2.0.5.jar ).
> I was able to get the blank application running by adding the following
> snippet to PropertiesSettings(String name):
> if ( settingsUrl == null ) {
> settingsUrl = this.getClass().getClassLoader().getResource( name +
> ".properties" );
> }
> I'm using the struts2-blank-2.0.5 app and the files setup the same way as in
> the .war. PropertiesSettings was not able to load default.properties from the
> core.jar or struts.properties from WEB-INF\classes until the fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.