[jboss-as7-dev] resource bundle loading
William DeCoste
wdecoste at redhat.com
Wed Jan 4 19:03:31 EST 2012
Hi all,
I've got a war ( org.apache.sling.launchpad-6.war from
http://sling.apache.org/site/downloads.cgi) that deploys and functions
properly in EAP5, but fails in AS7. In AS7, the war deploys without
error but when accessing
http://localhost:8080/org.apache.sling.launchpad-6 the web app fails
with an NPE (stacktrace below). Looks like a resource bundle is not
being loaded in AS7. This issue originally came up with an Express user,
but is recreatable outside of Express.
Any ideas?
Do I need to explicitly list the resource bundle jar in AS7?
Thanks -Bill
17:13:07,607 INFO [org.jboss.as.server.controller]
(DeploymentScanner-threads - 2) Deployed "org.apache.sling.launchpad-6.war"
17:13:08,740 ERROR [stderr] (FelixStartLevel) 2012-01-02 22:13:08.739
GMT Thread[FelixStartLevel,5,main] java.io.FileNotFoundException:
derby.log (Permission denied)
I have noticed the error on the last line, but that should not, by my
experience, cause the app to fail completely. However, when attempting
to request http://appname-namespace.rhcloud.com, the following is logged:
17:15:26,654 ERROR [org.apache.catalina.connector.CoyoteAdapter]
(http--127.1.0.129-8080-1) An exception or error occurred in the
container during the request processing: java.lang.NullPointerException
at
org.apache.tomcat.util.res.StringManager.getString(StringManager.java:113)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.tomcat.util.http.HttpMessages.getMessage(HttpMessages.java:68) [jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.InternalOutputBuffer.getMessage(InternalOutputBuffer.java:463)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
at
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:430)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]
--
Bill DeCoste
Principal Software Engineer, Red Hat
978-204-0920
wdecoste at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20120104/f4ab4961/attachment.html
More information about the jboss-as7-dev
mailing list