Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » RAP application won't run
RAP application won't run [message #1713432] Wed, 04 November 2015 06:35 Go to next message
Frank Czygan is currently offline Frank CzyganFriend
Messages: 4
Registered: November 2015
Junior Member
Hi there,

I'm trying to get a RAP application running on my machine - with Eclipse Mars I simply added an Eclipse 4 Project including sample data. Running it as eclipse app is no problem. However running it as RAP app doesn't work at all - which is really strange because I didn't do any coding etc. - it's all based on the default settings.

Currently I'm getting:
Die Seite kann nicht angezeigt werden. (~ the page cannot be shown)
•Vergewissern Sie sich, dass die Webadresse http://127.0.0.1:50340 stimmt.
•Suchen Sie die Seite mit Ihrer Suchmaschine.
•Aktualisieren Sie die Seite in ein paar Minuten.

The red part in the console is:
osgi> SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [bundleresource://538.fwk670951536:1/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [bundleresource://538.fwk670951536:2/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www slf4j.org codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]


Can anybody help me here? I also tried Kepler, but RAP won't run there neither. I get a different error msg though.

Thanks a lot!!! FRANK

Re: RAP application won't run [message #1713501 is a reply to message #1713432] Wed, 04 November 2015 16:24 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
did you set the correct RAP target platform? Did you create RAP launch
configuration? Some hints below.

[1]
https://eclipse.org/rap/developers-guide/devguide.php?topic=target-install.html&version=3.0
[2]
http://eclipsesource.com/blogs/2014/04/10/getting-started-with-eclipse4-applications-on-rap/
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP application won't run [message #1713553 is a reply to message #1713501] Thu, 05 November 2015 06:12 Go to previous messageGo to next message
Frank Czygan is currently offline Frank CzyganFriend
Messages: 4
Registered: November 2015
Junior Member
Hi Ivan,

thanks a lot for helping me.

When I set the RAP Runtime as target platform according to the instructions, somehow all the required plugins create errors (because they not attached anymore?!). Probably you'll laugh about this, but I don't see how to continue here! Smile I tried to add plugins in the Bundles tab of the RAP application settings, but without any success.

What I am doing wrong? I attached a screenshot to make it clear.

Thx, Frank
  • Attachment: problem.jpg
    (Size: 459.01KB, Downloaded 132 times)
Re: RAP application won't run [message #1713563 is a reply to message #1713553] Thu, 05 November 2015 08:09 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
which target platform are you using... the regular RAP Runtime from RAP
download page or the e4 one from the "Getting Started with e4" blog
post? You should adjust the dependencies to the RAP bundles - don't use
org.eclipse.swt, but org.eclipse.rap.rwt bundles for example.
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: RAP application won't run [message #1713612 is a reply to message #1713563] Thu, 05 November 2015 14:01 Go to previous messageGo to next message
Frank Czygan is currently offline Frank CzyganFriend
Messages: 4
Registered: November 2015
Junior Member
Hi Ivan - when I set the target platform via Overview -> Install RAP target platform and tried the RAP plugin demo afterwards, it showed up in the internal browser!

My "idea" is to develop one app / code and deploy it as client and web application. That sounds great, but Eclipse doesn't make it easy - at least not for beginners. Maybe I got the concept of switching the target platform for either solution - for launching an app as Eclipse app I might have to change the platform back to default.

Are there any instructions maybe for developing a one source solution with Mars? And what about the different plugins / dependencies supported by either solution (Eclipse/RAP)? Before I try to solve any detailed problems I might have to take a broader approach here to understand the underlying concepts.

Thanks, Frank
Re: RAP application won't run [message #1713615 is a reply to message #1713612] Thu, 05 November 2015 14:13 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2427
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi,
RAP Developers Guide is a good starting point [1].

[1] https://eclipse.org/rap/developers-guide/
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Does Nebula autoheight feature support grids with RowTemplates?
Next Topic:How do I launch a RAP application?
Goto Forum:
  


Current Time: Mon Sep 23 22:43:00 GMT 2024

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

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

Back to the top