<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,<br>
<br>
I've got a war (
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
org.apache.sling.launchpad-6.war from
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a href="http://sling.apache.org/site/downloads.cgi">http://sling.apache.org/site/downloads.cgi</a>)
that deploys and functions properly in EAP5, but fails in AS7. In
AS7, the war deploys without error but when accessing
<a class="moz-txt-link-freetext" href="http://localhost:8080/org.apache.sling.launchpad-6">http://localhost:8080/org.apache.sling.launchpad-6</a> 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. <br>
<br>
Any ideas? <br>
<br>
Do I need to explicitly list the resource bundle jar in AS7?<br>
<br>
Thanks -Bill<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<p>17:13:07,607 INFO [org.jboss.as.server.controller]
(DeploymentScanner-threads - 2) Deployed
"org.apache.sling.launchpad-6.war"<br>
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)</p>
<p>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 <a
href="http://appname-namespace.rhcloud.com"
title="http://appname-namespace.rhcloud.com">http://appname-namespace.rhcloud.com</a>,
the following is logged:</p>
<p> </p>
<p>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<br>
at
org.apache.tomcat.util.res.StringManager.getString(StringManager.java:113)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.tomcat.util.http.HttpMessages.getMessage(HttpMessages.java:68)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.coyote.http11.InternalOutputBuffer.getMessage(InternalOutputBuffer.java:463)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]<br>
at
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java:430)
[jbossweb-7.0.1.Final.jar:7.0.2.Final]</p>
<br>
<pre class="moz-signature" cols="72">--
Bill DeCoste
Principal Software Engineer, Red Hat
978-204-0920
<a class="moz-txt-link-abbreviated" href="mailto:wdecoste@redhat.com">wdecoste@redhat.com</a>
</pre>
</body>
</html>