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

Mikko Apo commented on WW-1712:
-------------------------------

Thanks for the quick reply =)

I upgraded the components and now the WS version is WebSphere Platform 6.0 
[BASE 6.0.2.5 cf50549.21]  but that didn't help so apparently the bug(?) isn't 
fixed.

Adding a copy of Kevin Edgecomb's LaunchServlet didn't help.

I was already using FilterDispatcher.

The only way to get the HelloWorld running was replacing the PropertiesSettings 
with a patched version using the code above.

> 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
>            Priority: Blocker
>
> 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.

Reply via email to