HTTP JSP Bundle [message #71191] |
Tue, 01 August 2006 09:42  |
Eclipse User |
|
|
|
Originally posted by: krishna.dantam.mro.com
Hi,
I am trying to get the JSP Examples work on the OSGi Equinox Platfrom going
through the HTTP Servlet bridge after looking at the following issue and
following the guidelines provided by Simon.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=140430
I am able to successfully run the helloworld servlet and JSP examples in
BEA
WebLogic 9.2 environment. I am trying to run now on IBM WebSphere 6.1
release and running into an issue.
I deployed and ran the sample helloworld servlet successfully. I can
access JSP examples index.html page successfully through the servlet
bridge. When I click on to execute the JSP pages, I see all the
JspServlet code getting executed etc and I also noticed that the Jasper
code is generating the compiled version of the JSP file (both the java and
class files), but then the code fails with ClassFormatError. I just want
to know whether anyone ran across the
same issue or not with WebSphere 6.1
I tried deploying the Web Application to use Parent-Last class loader
also, but no luck.
Thanks
Krishna
|
|
|
|
Re: HTTP JSP Bundle [message #72024 is a reply to message #71581] |
Fri, 11 August 2006 17:11  |
Eclipse User |
|
|
|
Originally posted by: krishna.dantam.mro.com
The issue has been resolved. It is a problem with the configuration. I have
changed the following to get the JSP examples work correctly. The
org.eclipse.equinox.servlet.bridge.extensionbundle_3.2.0 has the following
manifest information. Removed the equinox.servlet.api bundle from the
bundles.
Used the osgi.parentClassloader=boot setting in the launch.ini file.
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Servlet Bridge Extension Bundle
Bundle-SymbolicName: org.eclipse.equinox.servlet.bridge.extensionbundle
Fragment-Host: system.bundle; extension:=framework
Bundle-Version: 3.2.0
Export-Package: org.eclipse.equinox.servlet.bridge.launcher,
javax.servlet; version=2.4,
javax.servlet.http; version=2.4,
javax.servlet.jsp; version=2.0,
javax.servlet.jsp.el; version=2.0,
javax.servlet.jsp.resources; version=2.0,
javax.servlet.jsp.tagext; version=2.0,
javax.servlet.resources; version=2.4
The XML API jars need to be bundled, otherwise,
the bundles cannot find the XML DOM implementation classes. Temporarily I
got
things to work by bundling the xerces jar. I think this will eventually be
addressed
|
|
|
Powered by
FUDForum. Page generated in 0.26215 seconds