Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Is there a org.eclipse.equinox.http.helper version that supports javax.servlet version 3.1

Hi Raymond,

I don't think equinox.http has much dependency on the JSP version. You should be able to use whichever JSP version (bundles) will work with the servlet version you use.

Also, I'm not really sure the JSP version of tomcat really applies in any case unless you are embedding tomcat. You shouldn't really share the JSP packages of tomcat down into an embedded osgi runtime anyhow (because of how JSP servlets are implemented).
I'm quite new to OSGi and embedded tomcat stuffs. So it would be really nice if you can explain this little bit.

I guess I should have asked straight up... are you embedding tomcat?
Yes I'm using embedded tomcat and using that as an OSGi bundle.

Thanks
Best Regards


On Tue, Mar 31, 2015 at 6:32 PM, Raymond Auge <raymond.auge@xxxxxxxxxxx> wrote:
I guess I should have asked straight up... are you embedding tomcat?

On Tue, Mar 31, 2015 at 9:01 AM, Raymond Auge <raymond.auge@xxxxxxxxxxx> wrote:
I don't think equinox.http has much dependency on the JSP version. You should be able to use whichever JSP version (bundles) will work with the servlet version you use.

Also, I'm not really sure the JSP version of tomcat really applies in any case unless you are embedding tomcat. You shouldn't really share the JSP packages of tomcat down into an embedded osgi runtime anyhow (because of how JSP servlets are implemented).

Sincerely,
- Ray

On Tue, Mar 31, 2015 at 8:48 AM, Thusitha Thilina Dayaratne <thusithad@xxxxxxxx> wrote:
Hi Tom, Ray.

Thanks again for quick response. I looked in the Manifest of org.eclipse.equinox.jsp.jasper_1.0.500.v20150119-1358 bundle in Mars M6 milestone as Ray suggested. It seems that in there still javax.servlet.jsp;version="[2.0, 2.3)"
I think latest jsp version is 2.3 with Tomcat 8.
Please correct me if I'm wrong.

Best Regards
/Thusitha

On Tue, Mar 31, 2015 at 6:12 PM, Thomas Watson <tjwatson@xxxxxxxxxx> wrote:
In Luna it appears only the org.eclipse.equinox.http.servlet bundle was updated to support servlet 3.1.  The jsp supporting bundles were not updated until post Luna for the Mars release.  So you will have to try out the Mars milestones as Raymond suggests.  If I recall correctly the org.eclipse.equinox.http.helper bundle is an incubator project that never graduated.  It is no longer maintained or built by the Equinox project.

Tom





From:        Raymond Auge <raymond.auge@xxxxxxxxxxx>
To:        Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
Date:        03/31/2015 06:50 AM
Subject:        Re: [equinox-dev] Is there a org.eclipse.equinox.http.helper version that supports javax.servlet version 3.1
Sent by:        equinox-dev-bounces@xxxxxxxxxxx






On Tue, Mar 31, 2015 at 2:04 AM, Thusitha Thilina Dayaratne <thusithad@xxxxxxxx> wrote:
Hi

Other than that org.eclipse.equinox.jsp.jasper_1.0.400.v20130327-1442 is also importing 
javax.servlet;version="[2.4, 3.1)"
javax.servlet.http;version="[2.4, 3.1)"
javax.servlet.jsp;version="[2.0, 2.3)"

But with Tomcat 8 servlet version is 3.1 and jsp is 2.3.

Is there a place that I can refer to latest equinox bundles which supports latest servlet and jsp versions.

You _could_ try these.

WARNING: These are milestone releases so use with caution.

WARNING: I'm not even sure that M6 has fully passed all milestone release hurdles yet (not largely related to http but still) so double caution.


http://download.eclipse.org/equinox/drops/S-MarsM6-201503200800/

- Ray

 


Thanks
Best Regards
/Thusitha 

On Tue, Mar 31, 2015 at 10:51 AM, Thusitha Thilina Dayaratne <thusithad@xxxxxxxx> wrote:
Hi,

Currently I'm using following dependency in a project which uses embedded tomcat version 7.0.59
 <dependency>
                <groupId>org.eclipse.equinox</groupId>
                <artifactId>org.eclipse.equinox.http.helper</artifactId>
                <version>1.1.0.wso2v1</version>
  </dependency>

I'm in the process of migrating the app to Tomcat 8.0.20. In the above dependency it imports javax.servlet;version="[2.6.0,3.0)" But since Tomcat 8 supports JSP 2.3 and servlet 3.1, is there a new version of this which supports javax.servlet version 3.1

I looked in latest Luna release at http://download.eclipse.org/equinox/drops/R-LunaSR2-201502041700/index.php. But I couldn't find it there 

Thanks
Best Regards

--
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina




--
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809
Blog      alokayasoya.blogspot.com
About    http://about.me/thusithathilina


_______________________________________________
equinox-dev mailing list

equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

https://dev.eclipse.org/mailman/listinfo/equinox-dev



--

Raymond Augé (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809


_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Raymond Augé (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)



--
Raymond Augé (@rotty3000)
Senior Software Architect Liferay, Inc. (@Liferay)
Board Member & EEG Co-Chair, OSGi Alliance (@OSGiAlliance)

_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev



--
Thusitha Dayaratne
Software Engineer
WSO2 Inc. - lean . enterprise . middleware |  wso2.com

Mobile  +94712756809


Back to the top