Il 10/04/2010 23:18, M N ha scritto:
Hi Gaetano
Thank you for your response.
I don't know how "WEB_INF/classes" instead of "WEB-INF/classes" get to
my manifest file :), but anyway, it is not important as long I'm not
using java classes in my web app project. I have also removed all
imports/exports of packages from jstl.jar and standard.jar.
Now the bundle is working until I update the bundle in OSGi. After the
update I get the previously mentioned error.
Also I wanted to run JSF with PaxWeb and I get the following error:
The absolute uri: http://java.sun.com/jsf/core cannot be resolved in
either web.xml or the jar files deployed with this application
It seems to be similar error, but I don't see deep inside the
technology, so maybe I'm wrong.
I enclose both JSP and JSF projects manifest files. Do you any idea
what can cause this error ?
Thank you
Kind regards
Marek Novak
Hi Marek,
I don't know anything about JSF but I can assure you that JSPs and JSTLs
works well with PaxWeb. I'm enclosing the manifest file for a simple Web
application that I wrote some time ago to evaluate the Apache Felix OSGi
framework and PaxWeb; It worked. I hope it could be useful. You should
try to work on a clean application server, increasing the log level to
show traces or debug messages and inspect what it does while deploying
your Web application, paying attention on how it processes the
standard.jar file because it stores all JSTL .tld files referenced by
taglib imports in your JSPs.
If these suggestions doesn't helps, post the error stack trace (not only
the error message) or the entire application server log to see what
happens just before the exception is thrown.
Kind regards,
--
Gaetano Sferra
Interactive Media S.p.A.
Via Luca Gaurico, 9
00143 Roma (RM)
Italia
telefono +39 06 54642415
fax +39 06 54642515
e-mail [email protected] <mailto:[email protected]>
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 16.0-b13 (Sun Microsystems Inc.)
Bundle-ManifestVersion: 2
Bundle-SymbolicName: pax.web.jsp.example
Bundle-Name: PaxWeb JSPs and JSTLs Example
Bundle-Version: 1.0.0
Bundle-Activator: pax.web.jsp.example.Activator
Bundle-ClassPath:
.,WEB-INF/classes,WEB-INF/lib/jstl.jar,WEB-INF/lib/standard.jar
Import-Package:
org.osgi.framework,org.osgi.service.http,org.ops4j.pax.web.service,
org.apache.xerces.jaxp,org.apache.log4j,javax.el,javax.servlet,javax.servlet.http,
javax.servlet.jsp,javax.servlet.jsp.el,javax.servlet.jsp.tagext,javax.xml.parsers,
org.xml.sax,org.xml.sax.helpers
Webapp-Context: example
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general