Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Configure to call JSP in embedded Jetty 7.2.2

Hi ,

After adding all the required dependency like 

1)  org.apache.jasper.glassfish_2.1.0.v201007080150
2) org.eclipse.jetty.osgi.boot.jsp_7.2.2.v20101205
3) org.eclipse.jetty.jsp-2.1_7.2.2.v20101205
4) javax.servlet.jsp_2.1.0.v201004190952 

i am still not able to access the jsp . While starting embedded jetty it says .

2011-02-22 21:03:10.881:INFO::NO JSP Support for /lmauto, did not find org.apache.jasper.servlet.JspServlet

While accessing the url http://localhost:50099/lmauto/index.jsp it prints following information 

2011-02-22 21:03:47.076:INFO:/lmauto:No JSP support.  Check that JSP jars are in lib/jsp and that the JSP option has been specified to start.jar

Best Regards,
Mitul

On Tue, Feb 22, 2011 at 8:54 PM, Mitul Adhia <mituladhia19@xxxxxxxxx> wrote:
Hi Huges,

I tried to access the bundles from the below link 
http://ftp.kaist.ac.kr/eclipse/jetty/updates/jetty-bundles-7.x/7.2.2.v20101205/ . and from this i am able to start the jetty 7.2.2 . I am also able to register the servlet . Below are the status of the bundles on the console .

Bundle org.eclipse.jetty.jsp-2.1_7.2.2.v20101205 : is started using host org.apache.jasper.glassfish
& bundle org.eclipse.jetty.osgi.boot.jsp_7.2.2.v20101205 is started using host  org.eclipse.jetty.osgi.boot.



58 ACTIVE      org.eclipse.jetty.continuation_7.2.2.v20101205
59 ACTIVE      org.eclipse.jetty.servlet_7.2.2.v20101205
60 ACTIVE      org.eclipse.jetty.util_7.2.2.v20101205
61 ACTIVE      org.eclipse.jetty.xml_7.2.2.v20101205
62 ACTIVE      org.eclipse.jetty.io_7.2.2.v20101205
63 ACTIVE      org.eclipse.jetty.http_7.2.2.v20101205
64 ACTIVE      org.eclipse.jetty.security_7.2.2.v20101205
65 ACTIVE      org.eclipse.jetty.webapp_7.2.2.v20101205
66 ACTIVE      org.eclipse.jetty.deploy_7.2.2.v20101205

68 ACTIVE      org.eclipse.jetty.osgi.boot_7.2.2.v20101205
           Fragments=67

69 INSTALLED   org.eclipse.jetty.osgi.boot.jsp_7.2.2.v20101205

70 INSTALLED   org.eclipse.jetty.jsp-2.1_7.2.2.v20101205

72 ACTIVE      javax.servlet.jsp_2.0.0.v200806031607


But still i am not able to access the jsp via ur l . Can you help me on this . 

Best Regards,
mitul


On Tue, Feb 22, 2011 at 8:11 PM, Hugues Malphettes <hmalphettes@xxxxxxxxxxx> wrote:
Hi Mitul,
Make sure that org.eclise.jetty.osgi.boot.jsp is installed and running
You did point us to the bundle repository for jety 7.2.2 but I am not
sure how you installed jetty itself.
From our previous conversations, maybe you are downloading the bundles
one by one.
You will find the dependencies required for jsp here:
http://ftp.kaist.ac.kr/eclipse/jetty/updates/jetty-rt-3.7milestones/S-3.7.M4-201101210140/plugins/

As an alternative you could download the EclipseRT Web Starter Kit
where all these bundles are already packaged.
We are working on a new project for the packaging of eclipse projects here:
http://eclipse.org/rtp

I hope this helps,
Hugues

On Tue, Feb 22, 2011 at 3:32 PM, Mitul Adhia <mituladhia19@xxxxxxxxx> wrote:
> Hi All,
> I wanted to call index.jsp file using the following url
> http://localhost:8080/mytestcontext/index.jsp .  Also jetty 7.2.2 is
> embedded in eclipse based equinox container . When i start the jetty i get
> the following INFO message on osgi console
> 2011-02-22 12:46:32.537:INFO::NO JSP Support for /lmauto, did not find
> org.apache.jasper.servlet.JspServlet
> I used following url to add jetty bundle dependeny in my application
>  http://ftp.kaist.ac.kr/eclipse/jetty/updates/jetty-bundles-7.x/7.2.2.v20101205/ .
> My Open question :
> 1) Is there any dependency which is missing to lanch jsp file ? If yes then
> which osgified bundle i have to add.
> 2) The web.xml entry is shown below . Is there any extra stuff i have to add
> to xml file .
>          <welcome-file-list>
>   <!--  <welcome-file>LMAutomation.html</welcome-file>-->
> <welcome-file>index.jsp</welcome-file>
> </welcome-file-list>
> Best Regards,
> Mitul
>
>
>
>
> _______________________________________________
> jetty-users mailing list
> jetty-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
>
_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users



Back to the top