|Hey Simon , Ian ...|
Thanks for pointing out that ..the problem got solved , when I installed jetty .. I was under impression that org.eclipse.equinox.http and org.eclipse.equinox.http.jetty provide the same functionality ...
Thanks again ..I could able to access the jsp pages now ...
--- On Thu, 2/19/09, Simon Kaegi <Simon_Kaegi@xxxxxxxxxx> wrote:
From: Simon Kaegi <Simon_Kaegi@xxxxxxxxxx>
Subject: Re: [equinox-dev] Reg : Help need in running Jsp files from OSGI
To: "Equinox development mailing list" <equinox-dev@xxxxxxxxxxx>
Date: Thursday, February 19, 2009, 12:07 AM
Yep. What Ian says is right your problem is with the bundle "org.eclipse.equinox.http".
The HTTP Service provided by org.eclipse.equinox.http is "very" basic and generally used only in resource constrained environments. In particular it does not fully support Servlet 2.4 which is required for JSP 2.0
You should instead use the Jetty based Http Service implementation "org.eclipse.equinox.http.jetty" (and its dependency org.mortbay.jetty (v5.1))
Ian Bull ---02/18/2009 12:26:22 PM---I don't know for sure, but I've always done this with the embedded Jetty server. I don't see Jetty in your list of bundles. che
Ian Bull <irbull@xxxxxxxxxxxxxxxxx>
itmpras@xxxxxxxxx, Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
02/18/2009 12:26 PM
Re: [equinox-dev] Reg : Help need in running Jsp files from OSGI
I don't know for sure, but I've always done this with the embedded Jetty server. I don't see Jetty in your list of bundles.
On Wed, Feb 18, 2009 at 8:26 AM, prasanna Venkatesh <itmpras@xxxxxxxxx> wrote:
|Hi all ,|
I am relatively new to OSGI , In our project we are trying to use Application server embeded inside OSGI.
As a first step , I tried executing the example project given in JSP support site (http://www.eclipse.org/equinox/server/jsp_support.php) .
I could able to start the bundle , an http demon is listening on the port 80 . I am able to view the Static files , but when tried to access the jsp file , it simply downloads the file. It looks like there is some problem in compiling the jsp file .
Please find the list of bundles , that are active in the OSGI environment
0 ACTIVE org.eclipse.osgi_3.3.2.R33x_v20080105
50 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605
262 ACTIVE org.eclipse.equinox.http.registry_1.0.1.R33x_v20071231
1994 ACTIVE javax.servlet_2.4.0.v200706111738
2002 ACTIVE org.apache.commons.logging_1.0.4.v200706111724
2835 ACTIVE org.eclipse.equinox.common_3.3.0.v20070426
2838 ACTIVE org.eclipse.equinox.registry_3.3.1.R33x_v20070802
2841 ACTIVE org.eclipse.equinox.jsp.jasper_1.0.1.R33x_v20070816
2844 ACTIVE org.eclipse.equinox.jsp.jasper.registry_1.0.0.v20070607
2845 ACTIVE org.apache.jasper_5.5.17.v200706111724
2847 ACTIVE javax.servlet.jsp_2.0.0.v200706191603
2851 ACTIVE org.apache.jasper.source_5.5.17.v200706111724
2853 ACTIVE org.apache.commons.el_1.0.0.v200706111724
2858 ACTIVE org.eclipse.equinox.http.servlet_1.0.1.R33x_v20070816
2864 ACTIVE org.eclipse.equinox.http_1.0.101.R33x_v20071016
2869 ACTIVE org.eclipse.equinox.http.helper_126.96.36.199902181552
2870 ACTIVE org.eclipse.equinox.http.helper_1.0.0.qualifier
2872 ACTIVE jspexamples_1.0.0
I am not able to find where the error is . Infact I am not getting any error , but not able to
execute Jsp files .
Please let me know , if I am missing some thing . If this is not the right forum to seek this kind of help , really sorry .
Thanks and regards
R. Ian Bull | EclipseSource Victoria | +1 250 477 7484
http://twitter.com/irbull | http://twitter.com/eclipsesource_______________________________________________
equinox-dev mailing list
equinox-dev mailing list