Hi Alexander, Am Dienstag, den 08.01.2008, 17:26 +0100 schrieb Alexander Klimetschek: > One problem is the HTTP Service bundle that is used which did include > a Servlet API 1.3 implementation (Jetty) although Sling expects a 2.4 > API. That caused runtime errors of the JSPs in the sample app. It can > be solved when using the patched HTTP Service bundle from the felix > project [1] written by Felix (thanks to Carsten's help).
I am currently working of getting the http.jetty bundle to using the latest jetty 6.1 from the maven repository. This means Servlet API 2.5 ;-). In addition, I will probably include the Servlet API classes with the http.jetty bundle such that a separate Servlet API bundle is not required any more. And I also saw these content loading and node type registration issues. As Carsten has been working on these things lately, I assume, he may be more up to date in this respect. > 10. But during the compilation of the JSPs there are also lots of > exceptions in the log like: > > org.apache.felix.moduleloader.ResourceNotFoundException: org/apache/ > sling/scripting.class > org.apache.felix.moduleloader.ResourceNotFoundException: org/apache/ > sling/scripting/jsp.class > org.apache.felix.moduleloader.ResourceNotFoundException: org/apache/ > sling/scripting/jsp/jasper.class > org.apache.felix.moduleloader.ResourceNotFoundException: org/apache/ > sling/scripting/jsp/jasper/runtime.class > and so on... > > and this one: > java.lang.ClassNotFoundException: *** Class > 'org.apache.jsp.apps.sling.SampleContent.html_jsp' was not found. > Bundle 28 does not import package > 'org.apache.jsp.apps.sling.SampleContent', nor is the package exported > by any other bundle or available from the system class loader. > > All of these are WARN level, so maybe they are "normal" !? These are messages from the Felix framework. While I think, that is ok, that they are logged, they are not actually WARNINGS as in this context this is quite expected. So I hacked up the Sling class (not in trunk yet, but will do soon) to have the Felix framework only log at ERROR level... Regards Felix
