Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Absolutly no luck trying out RAP.
Absolutly no luck trying out RAP. [message #1042697] Tue, 16 April 2013 19:24 Go to next message
Linuxhippy Mising name is currently offline Linuxhippy Mising nameFriend
Messages: 71
Registered: July 2009
Member
Hi,

I've tried several hours getting started with some RAP samples, however without any luck.

Here is what I did:
- Downloaded Juno SR2 "for RCP and RAP developers" (linux, x86)
- Installed target platform (tried both, latest as well as latest stable)

And then:
- New -> Plugin-Project -> Next -> Next -> "RAP Application with View":
-> Run as -> "RAP Application":

Problem accessing /rap. Reason:
ProxyServlet: /rap

Caused by: org.osgi.service.http.NamespaceException: The alias '/rwt-resources' is already in use.
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:164)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerResources(ProxyServlet.java:194)
at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerResources(HttpServiceImpl.java:78)
at org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerResourceDirectory(ApplicationReferenceImpl.java:190)
... 52 more


I sisn't get this "'/rwt-resources' is already in use." Excetion right from the beginning, in the first place it complained about some entry point not being found.

Any ideas whats going wrong here?

Thank you in advance, Clemens
Re: Absolutly no luck trying out RAP. [message #1042993 is a reply to message #1042697] Wed, 17 April 2013 06:08 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
the Eclipse for RCP and RAP developers (Juno SR2) includes RAP Tools
v1.5, which are not compatible with RAP 2.0+. In order to get the RAP
2.0+ version to work you need RAP Tools v2.0. Get it from download page [1].

[1] http://www.eclipse.org/rap/downloads/
Best,
Ivan

On 4/16/2013 11:05 PM, Linuxhippy Mising name wrote:
> Hi,
> I've tried several hours getting started with some RAP samples,
> however without any luck.
>
> Here is what I did:
> - Downloaded Juno SR2 "for RCP and RAP developers" (linux, x86)
> - Installed target platform (tried both, latest as well as latest stable)
>
> And then:
> - New -> Plugin-Project -> Next -> Next -> "RAP Application with View":
> -> Run as -> "RAP Application":
>
> Problem accessing /rap. Reason:
> ProxyServlet: /rap
>
> Caused by: org.osgi.service.http.NamespaceException: The alias
> '/rwt-resources' is already in use.
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:164)
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerResources(ProxyServlet.java:194)
> at
> org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerResources(HttpServiceImpl.java:78)
> at
> org.eclipse.rap.rwt.osgi.internal.ApplicationReferenceImpl.registerResourceDirectory(ApplicationReferenceImpl.java:190)
> ... 52 more
>
>
> I sisn't get this "'/rwt-resources' is already in use." Excetion right
> from the beginning, in the first place it complained about some entry
> point not being found.
>
> Any ideas whats going wrong here?
>
> Thank you in advance, Clemens

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Absolutly no luck trying out RAP. [message #1043221 is a reply to message #1042993] Wed, 17 April 2013 12:43 Go to previous message
Linuxhippy Mising name is currently offline Linuxhippy Mising nameFriend
Messages: 71
Registered: July 2009
Member
Hi Ivan,

Quote:

the Eclipse for RCP and RAP developers (Juno SR2) includes RAP Tools
v1.5, which are not compatible with RAP 2.0+. In order to get the RAP
2.0+ version to work you need RAP Tools v2.0. Get it from download page [1].


Thanks a lot - with the updated RAP-Tools version everything works as expected.
At a first glance, rap seems to be amazing =)

Thanks, Clemens
Previous Topic:Browser Context Menu and Selectable Content
Next Topic:RAP Client Service Lifecycle
Goto Forum:
  


Current Time: Wed Apr 24 18:02:56 GMT 2024

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

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

Back to the top