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
500 Error when accessing assets files on JBoss only #301
Comments
Any visible errors on JBoss EAP ? |
This is another problem I am having that I am not being able to enable any type of logging in JBoss with play application. Well anyway I tried to print the stack trace on the page itself and got the following message: java.lang.NoClassDefFoundError: sun/net/www/protocol/file/FileURLConnection |
This is complete stack trace:
Caused by: java.lang.NoClassDefFoundError: sun/net/www/protocol/file/FileURLConnection |
I managed to fix this problem by making some JBoss configuration changes based on this blog: http://planet.jboss.org/post/dealing_with_sun_jdk_related_noclassdeffounderror_under_jboss |
Great, thank you ! |
I have created a simple app using Play 2.4.6 and packaged it using 1.4-beta1 version of play-2-war plugin and deployed on JBoss 7 (Enterprise 6.4.0.GA). Pages and requests load correctly however I cannot access any files from assets folder and it gives 500 Internal Error.
I deployed the same war on Tomcat 7 and it worked perfectly fine even all files from assets folder.
Then I recreated the same app in Play 2.2.4 and packaged it using 1.21 version of play-2-war plugin, deployed on JBoss 7 and then it works fine.
Issue with assets files with 1.4-beta1 version on JBoss 7.
The text was updated successfully, but these errors were encountered: