Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Use of org.eclipse.equinox.http.registry using RCP Platform(Missing Schema in RCP distribution)
Use of org.eclipse.equinox.http.registry using RCP Platform [message #836362] Wed, 04 April 2012 11:51 Go to next message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 311
Registered: February 2012
Location: Düsseldorf
Senior Member
Hi,
I have a client/server application based on RCP and Tomcat/Servlet. I would like to port the server implementation to Equinox. In addition to the RCP client the RAP platform should be supported in the future. I have successfully done some tests using the RAP platform and Spring DM to establish a web-service connection between two bundles. For the server bundle I have installed a Spring DispatcherServlet using the org.eclipse.equinox.http.registry.servlets extension.
After I have gained somed insight into the problem I would like to port my server. So I wrapped my server and model projects into bundles and added Spring DM. Trying to implement org.eclipse.equinox.http.registry.servlets in the RCP platform I am now facing the problem that the org.eclipse.equinox.http.registry is lacking the schema definition for the extensions. I have double checked with the respective org.eclipse.equinox.http.registry bundle in the RAP platform which does contain the schema for the extensions.

Now the questions is: Is there a purpose for this? Or has it simply be forgotten to add the schema directory to the RCP distribution.

I think it should be possible to run the server on both RAP and RCP targetplatform.

I am using Eclipse 3.7.2

Any thoughts would be appreciated.
Regards Thorsten
Re: Use of org.eclipse.equinox.http.registry using RCP Platform [message #836377 is a reply to message #836362] Wed, 04 April 2012 12:12 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
I downloaded org.eclipse.equinox.http.registry_1.1.100.v20110502.jar and it contains the following declaration of the extension point.

<plugin>
<extension-point id="servlets" name="%servletsName" schema="schema/servlets.exsd"/>
<extension-point id="filters" name="%filtersName" schema="schema/filters.exsd"/>
<extension-point id="resources" name="%resourcesName" schema="schema/resources.exsd"/>
<extension-point id="httpcontexts" name="%httpcontextsName" schema="schema/httpcontexts.exsd"/>
</plugin>
Re: Use of org.eclipse.equinox.http.registry using RCP Platform [message #836378 is a reply to message #836362] Wed, 04 April 2012 12:13 Go to previous messageGo to next message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 311
Registered: February 2012
Location: Düsseldorf
Senior Member
Ups I have missed this message:

http://www.eclipse.org/forums/index.php/m/811546/#msg_811546

But I think the solution to copy the schema by myself is error-prone. Now I read that the schema is only distributed with the sources but I am not sure which components I do have to install.

Any hints?
Re: Use of org.eclipse.equinox.http.registry using RCP Platform [message #836382 is a reply to message #836377] Wed, 04 April 2012 12:16 Go to previous messageGo to next message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 311
Registered: February 2012
Location: Düsseldorf
Senior Member
Thanks for replying and yes, that's what the plugin.xml contains. Same for me. What is missing are the schema definitions:

schema/servlets.exsd
schema/filters.exsd
schema/resources.exsd
schema/httpcontexts.exsd
Re: Use of org.eclipse.equinox.http.registry using RCP Platform [message #836426 is a reply to message #836382] Wed, 04 April 2012 13:32 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
You should be able to obtain it from the equinox download page - http://www.eclipse.org/downloads/download.php?file=/equinox/drops/R-3.7.2-201202080800/equinox-SDK-3.7.2.zip
Re: Use of org.eclipse.equinox.http.registry using RCP Platform [message #836750 is a reply to message #836426] Wed, 04 April 2012 21:49 Go to previous message
Thorsten Schlathölter is currently offline Thorsten SchlathölterFriend
Messages: 311
Registered: February 2012
Location: Düsseldorf
Senior Member
Thank you Pascal,
I have installed "Equinox Server-side SDK" via the Indigo update site:

http://download.eclipse.org/releases/indigo

That gives me the required source bundle und schema definitions.

Previous Topic:Download page legend
Next Topic:How to locate installed feature's full version?
Goto Forum:
  


Current Time: Mon Oct 25 11:44:03 GMT 2021

Powered by FUDForum. Page generated in 0.02599 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top