You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/04/19 15:02:44 UTC

[jira] Updated: (WW-1712) PropertiesSettings fails to load properties on Websphere 6.0

     [ https://issues.apache.org/struts/browse/WW-1712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1712:
---------------------------

    Flags: [Patch]

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