Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow i18n usage on weblogic (play 2.4) #5763

Merged
merged 1 commit into from Apr 5, 2016

Conversation

svalaskevicius
Copy link

Pull Request Checklist

Purpose

Allow I18n usage of play 2.4 apps on weblogic.

Background Context

Loading of I18n messages checks if items on the classpath are directories and breaks the application on unknown protocol e.g. "zip", which exists on weblogic installations.

References

Original commit introducing the breakage - 686a9b4

Fix for 2.3 branch - 422ca97 (PR #5728)

@svalaskevicius svalaskevicius changed the title add zip protocol to isDirectory allow i18n usage on weblogic Feb 27, 2016
@svalaskevicius svalaskevicius mentioned this pull request Feb 27, 2016
4 tasks
@svalaskevicius svalaskevicius changed the title allow i18n usage on weblogic allow i18n usage on weblogic (2.4 play) Feb 27, 2016
@svalaskevicius svalaskevicius changed the title allow i18n usage on weblogic (2.4 play) allow i18n usage on weblogic (play 2.4) Feb 27, 2016
@mkurz
Copy link
Member

mkurz commented Feb 29, 2016

@svalaskevicius
Copy link
Author

oh wow, it looks like everything has exploded.. but tests worked locally, and the same change is passing on master #5764..

I'll force push something to get it rebuilt and see if it helps

when a play app is deployed as a war on weblogic, it fails as the classpath
contains zip archives and isDirectory throws an Exception, rendering the
usage of I18n unusable.

Based on 422ca97.
@mkurz
Copy link
Member

mkurz commented Feb 29, 2016

@svalaskevicius Tests still fails with the same error. Please check the error here:
https://travis-ci.org/playframework/playframework/jobs/112711261

@svalaskevicius
Copy link
Author

yeah, saw it, checking locally again, this is a bit confusing given that the same change works well on 2.3 and 2.5 versions :)

@mkurz
Copy link
Member

mkurz commented Feb 29, 2016

OK - It looks like it is not your fault. #5612 just failed with the same error. Looks like the 2.4. branch is broken...

@svalaskevicius
Copy link
Author

Ok. Thanks for checking!

@wsargent
Copy link
Member

wsargent commented Mar 4, 2016

Re: the failing build -- I suspect something is up with Travis's CI environment. Restarting...

@mkurz
Copy link
Member

mkurz commented Apr 5, 2016

The 2.4.x branch seems to be stable again. Merging.

@mkurz mkurz merged commit 0c605a7 into playframework:2.4.x Apr 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants