Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Deploying a RAP Application(Deploying a RAP Application)
Deploying a RAP Application [message #1218977] Fri, 29 November 2013 14:30 Go to next message
Roland Welker is currently offline Roland WelkerFriend
Messages: 13
Registered: October 2013
Junior Member
Hi

I have an RAP application that works fine in the IDE. Launches and runs as expected, however when I am attempting to deploy it, I can't get it work. In any combination I get:

HTTP ERROR: 404

Problem accessing /rap. Reason:

ProxyServlet: /rap

All my bundles seem to load fine:

0 ACTIVE org.eclipse.osgi_3.9.1.v20130814-1242
1 ACTIVE com.ibm.icu.base_50.1.1.v201304230130
2 ACTIVE com.switchedonsystems.shop.client.connection_1.0.0.201311291246
3 ACTIVE com.switchedonsystems.shop.client.launcher_1.0.0.201311291356
4 ACTIVE com.switchedonsystems.shop.client.ui_1.0.0.201311291423
5 ACTIVE com.switchedonsystems.shop.remote_1.0.0.201311291246
6 ACTIVE javax.xml_1.3.4.v201005080400
7 ACTIVE javax.servlet_3.0.0.v201112011016
8 ACTIVE org.apache.commons.fileupload_1.2.2.v20111214-1400
9 ACTIVE org.apache.commons.io_2.0.1.v201105210651
10 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
11 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
12 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
13 ACTIVE org.apache.openejb.client_1.0.0
14 ACTIVE org.apache.openejb.ejb.spec_1.0.0
15 ACTIVE org.eclipse.core.commands_3.6.100.v20130515-1857
16 ACTIVE org.eclipse.core.contenttype_3.4.200.v20130326-1255
17 ACTIVE org.eclipse.core.databinding_1.4.1.v20130515-1857
18 ACTIVE org.eclipse.core.databinding.observable_1.4.1.v20130515-1857
19 ACTIVE org.eclipse.core.databinding.property_1.4.200.v20130515-1857
20 ACTIVE org.eclipse.core.expressions_3.4.500.v20130515-1343
21 ACTIVE org.eclipse.core.jobs_3.5.300.v20130429-1813
22 ACTIVE org.eclipse.core.runtime_3.9.0.v20130326-1255
23 ACTIVE org.eclipse.equinox.app_1.3.100.v20130327-1442
24 ACTIVE org.eclipse.equinox.common_3.6.200.v20130402-1505
25 ACTIVE org.eclipse.equinox.console_1.0.100.v20130429-0953
26 ACTIVE org.eclipse.equinox.ds_1.4.101.v20130813-1853
27 ACTIVE org.eclipse.equinox.http.registry_1.1.300.v20130402-1529
28 ACTIVE org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354
29 ACTIVE org.eclipse.equinox.http.servletbridge_1.0.300.v20130327-1442
30 ACTIVE org.eclipse.equinox.preferences_3.5.100.v20130422-1538
31 ACTIVE org.eclipse.equinox.registry_3.5.301.v20130717-1549
32 ACTIVE org.eclipse.equinox.servletbridge_1.2.300.v20130508-1243
33 ACTIVE org.eclipse.equinox.util_1.0.500.v20130404-1337
34 ACTIVE org.eclipse.osgi.services_3.3.100.v20130513-1956
35 ACTIVE org.eclipse.help_3.6.0.v20130326-1254
36 ACTIVE org.eclipse.jetty.io_8.1.10.v20130312
37 ACTIVE org.eclipse.jetty.http_8.1.10.v20130312
38 ACTIVE org.eclipse.jetty.continuation_8.1.10.v20130312
39 ACTIVE org.eclipse.jetty.security_8.1.10.v20130312
40 ACTIVE org.eclipse.jetty.server_8.1.10.v20130312
41 ACTIVE org.eclipse.jetty.servlet_8.1.10.v20130312
42 ACTIVE org.eclipse.jetty.util_8.1.10.v20130312
43 ACTIVE org.eclipse.equinox.http.jetty_3.0.100.v20130327-1442
44 ACTIVE org.eclipse.rap.addons.ckeditor_0.1.0.201311291246
45 ACTIVE org.eclipse.rap.design.example_2.1.1.20130902-1345
46 ACTIVE org.eclipse.rap.jface_2.1.1.20130902-1345
47 ACTIVE org.eclipse.rap.jface.databinding_2.1.1.20130902-1345
48 ACTIVE org.eclipse.rap.rwt_2.1.1.20130902-1345
49 ACTIVE org.eclipse.rap.rwt.osgi_2.1.1.20130902-1345
50 ACTIVE org.eclipse.rap.rwt.supplemental.filedialog_2.0.0.20130302-1418
51 ACTIVE org.eclipse.rap.rwt.supplemental.fileupload_2.0.0.20130226-1002
52 ACTIVE org.eclipse.rap.ui_2.1.1.20130902-1345
53 ACTIVE org.eclipse.rap.ui.forms_2.1.1.20130902-1345
54 ACTIVE org.eclipse.rap.ui.workbench_2.1.1.20130902-1345
55 ACTIVE org.hamcrest.core_1.3.0.v201303031735

I have used a feature to deploy it.

The debug log output seems to produce no hints (the only exception being a missing favicon)

Any hints or ideas? Any way to figure out if my EntryPoint has been registered and on what location?

Thanks,
Roland

Re: Deploying a RAP Application [message #1219002 is a reply to message #1218977] Fri, 29 November 2013 14:46 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 Roland,
the URL for accessing your application is:
http://<host>:<port>/<context_path>/<servlet_path>
If you deploy your application as WAR the <context_path> is your WAR
file name.
The <servlet_path> is your entry point registration servlet path. As you
are using Workbench, the entry point is registered in your plugin.xml
(look at extension points).
Best,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Deploying a RAP Application [message #1219006 is a reply to message #1219002] Fri, 29 November 2013 14:54 Go to previous message
Roland Welker is currently offline Roland WelkerFriend
Messages: 13
Registered: October 2013
Junior Member
Hi Ivan,

Thanks for your response. I just figured it. Believe it or not, it was the favicon! I had specified a favicon in the branding extension but not added it to the binary build (so it was not deployed) and that caused the entry point not to be started!

Thanks again,
Roland
Previous Topic:[ANN] RAP 2.2 RC1 is available
Next Topic:Rap Export-Version
Goto Forum:
  


Current Time: Fri Apr 19 23:56:53 GMT 2024

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

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

Back to the top