Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » EMF + RAP starts but does not show
EMF + RAP starts but does not show [message #1601865] Thu, 05 February 2015 06:52 Go to next message
Azat Sharipov is currently offline Azat SharipovFriend
Messages: 6
Registered: February 2015
Junior Member
Hi!
I'm trying to develop simple application based on modeled data structure. My application works fine when is generated for RCP platform. But my intention is making web app. Now I've genarated it for RAP platform, also created RAP target platform. Everything is ok during compiling and starting application with RAP run config. But browser can't open web page, I'm getting HTTP ERROR 404. There is no any errors in console log.

Eclipse Kepler Service Release 2
RAP Tools 3.0
EMF RAP target components from kepler repository

My console log:
2015-02-04 17:12:06.676:DBUG:oejuc.Container:Container org.eclipse.jetty.server.Server@154575ea + SelectChannelConnector@0.0.0.0:8080 as connector
2015-02-04 17:12:06.731:DBUG:oejs.ServletHandler:filterNameMap={}
2015-02-04 17:12:06.731:DBUG:oejs.ServletHandler:pathFilters=null
2015-02-04 17:12:06.731:DBUG:oejs.ServletHandler:servletFilterMap=null
2015-02-04 17:12:06.731:DBUG:oejs.ServletHandler:servletPathMap={/*=org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f}
2015-02-04 17:12:06.731:DBUG:oejs.ServletHandler:servletNameMap={org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f=org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f}
2015-02-04 17:12:06.731:DBUG:oejuc.Container:Container org.eclipse.jetty.server.Server@154575ea + o.e.j.s.ServletContextHandler{/,null} as handler
2015-02-04 17:12:06.731:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.jetty.server.Server@154575ea
2015-02-04 17:12:06.733:INFO:oejs.Server:jetty-8.1.14.v20131031
2015-02-04 17:12:06.742:DBUG:oejuc.Container:Container org.eclipse.jetty.server.Server@154575ea + qtp1154641966{8<=0<=0/254,-1} as threadpool
2015-02-04 17:12:06.742:DBUG:oejuc.AbstractLifeCycle:starting o.e.j.s.ServletContextHandler{/,null}
2015-02-04 17:12:06.742:DBUG:oejuc.Container:Container org.eclipse.jetty.servlet.ServletHandler@53c2ff4e + org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f as servlet
2015-02-04 17:12:06.742:DBUG:oejuc.Container:Container org.eclipse.jetty.servlet.ServletHandler@53c2ff4e + [/*]=>org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f as servletMapping
2015-02-04 17:12:06.742:DBUG:oejuc.Container:Container org.eclipse.jetty.server.session.SessionHandler@270784d8 + org.eclipse.jetty.servlet.ServletHandler@53c2ff4e as handler
2015-02-04 17:12:06.743:DBUG:oejuc.Container:Container org.eclipse.jetty.server.session.SessionHandler@270784d8 + org.eclipse.jetty.server.session.HashSessionManager@5ea294ec as sessionManager
2015-02-04 17:12:06.743:DBUG:oejuc.Container:Container o.e.j.s.ServletContextHandler{/,null} + org.eclipse.jetty.server.session.SessionHandler@270784d8 as handler
2015-02-04 17:12:06.743:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.jetty.server.session.SessionHandler@270784d8
2015-02-04 17:12:06.743:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.jetty.server.session.HashSessionManager@5ea294ec
2015-02-04 17:12:06.744:DBUG:oejuc.Container:Container org.eclipse.jetty.server.Server@154575ea + org.eclipse.jetty.server.session.HashSessionIdManager@736fd757 as sessionIdManager
2015-02-04 17:12:06.744:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.jetty.server.session.HashSessionIdManager@736fd757
2015-02-04 17:12:06.744:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.jetty.server.session.HashSessionIdManager@736fd757
2015-02-04 17:12:06.745:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.jetty.server.session.HashSessionManager@5ea294ec
2015-02-04 17:12:06.745:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.jetty.servlet.ServletHandler@53c2ff4e
2015-02-04 17:12:06.746:DBUG:oejs.ServletHandler:filterNameMap={}
2015-02-04 17:12:06.746:DBUG:oejs.ServletHandler:pathFilters=null
2015-02-04 17:12:06.746:DBUG:oejs.ServletHandler:servletFilterMap=null
2015-02-04 17:12:06.746:DBUG:oejs.ServletHandler:servletPathMap={/*=org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f}
2015-02-04 17:12:06.746:DBUG:oejs.ServletHandler:servletNameMap={org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f=org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f}
2015-02-04 17:12:06.746:DBUG:oejsh.AbstractHandler:starting org.eclipse.jetty.servlet.ServletHandler@53c2ff4e
2015-02-04 17:12:06.746:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.jetty.servlet.ServletHandler@53c2ff4e
2015-02-04 17:12:06.746:DBUG:oejsh.AbstractHandler:starting org.eclipse.jetty.server.session.SessionHandler@270784d8
2015-02-04 17:12:06.746:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.jetty.server.session.SessionHandler@270784d8
2015-02-04 17:12:06.746:DBUG:oejsh.AbstractHandler:starting o.e.j.s.ServletContextHandler{/,null}
2015-02-04 17:12:06.746:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f
2015-02-04 17:12:06.750:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f
2015-02-04 17:12:06.750:DBUG:oejuc.AbstractLifeCycle:STARTED o.e.j.s.ServletContextHandler{/,null}
2015-02-04 17:12:06.750:DBUG:oejsh.AbstractHandler:starting org.eclipse.jetty.server.Server@154575ea
2015-02-04 17:12:06.750:DBUG:oejuc.AbstractLifeCycle:starting qtp1154641966{8<=0<=0/254,-1}
2015-02-04 17:12:06.752:DBUG:oejuc.AbstractLifeCycle:STARTED qtp1154641966{8<=6<=8/254,0}
2015-02-04 17:12:06.752:DBUG:oejuc.AbstractLifeCycle:starting SelectChannelConnector@0.0.0.0:8080
2015-02-04 17:12:06.799:DBUG:oejuc.AbstractLifeCycle:starting null/null
2015-02-04 17:12:06.801:DBUG:oejuc.AbstractLifeCycle:STARTED PooledBuffers [0/1024@6144,0/1024@16384,0/1024@-]/PooledBuffers [0/1024@6144,0/1024@32768,0/1024@-]
2015-02-04 17:12:06.802:DBUG:oejuc.AbstractLifeCycle:starting org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@370875ae
2015-02-04 17:12:06.813:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.jetty.server.nio.SelectChannelConnector$ConnectorSelectorManager@370875ae
2015-02-04 17:12:06.813:DBUG:oeji.nio:Starting Thread[qtp1154641966-20 Selector0,5,main] on org.eclipse.jetty.io.nio.SelectorManager$1@7afa745c
2015-02-04 17:12:06.813:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:8080
2015-02-04 17:12:06.813:DBUG:oejuc.AbstractLifeCycle:STARTED SelectChannelConnector@0.0.0.0:8080
2015-02-04 17:12:06.814:DBUG:oejuc.AbstractLifeCycle:STARTED org.eclipse.jetty.server.Server@154575ea
2015-02-04 17:12:07.031:DBUG:oeji.nio:created SCEP@2e8d7a0{l(/127.0.0.1:21115)<->r(/127.0.0.1:8080),s=0,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@25e1e5e3,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
2015-02-04 17:12:07.034:DBUG:oejin.ChannelEndPoint:ishut SCEP@2e8d7a0{l(/127.0.0.1:21115)<->r(/127.0.0.1:8080),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0r}-{AsyncHttpConnection@25e1e5e3,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
2015-02-04 17:12:07.035:DBUG:oejh.HttpParser:filled -1/0
2015-02-04 17:12:07.036:DBUG:oejs.AsyncHttpConnection:Disabled read interest while writing response SCEP@2e8d7a0{l(/127.0.0.1:21115)<->r(/127.0.0.1:8080),s=1,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=0r}-{AsyncHttpConnection@25e1e5e3,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
2015-02-04 17:12:07.037:DBUG:oejin.ChannelEndPoint:close SCEP@2e8d7a0{l(/127.0.0.1:21115)<->r(/127.0.0.1:8080),s=1,open=true,ishut=true,oshut=false,rb=false,wb=false,w=true,i=0!}-{AsyncHttpConnection@25e1e5e3,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
2015-02-04 17:12:07.040:DBUG:oeji.nio:destroyEndPoint SCEP@2e8d7a0{l(null)<->r(0.0.0.0/0.0.0.0:8080),s=0,open=false,ishut=true,oshut=true,rb=false,wb=false,w=true,i=0!}-{AsyncHttpConnection@25e1e5e3,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0}
2015-02-04 17:12:07.041:DBUG:oejs.AbstractHttpConnection:closed AsyncHttpConnection@25e1e5e3,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=0,l=0,c=0},r=0
2015-02-04 17:12:07.849:DBUG:oeji.nio:created SCEP@68b7531e{l(/127.0.0.1:21116)<->r(/127.0.0.1:8080),s=0,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@744b508,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
2015-02-04 17:12:07.884:DBUG:oejh.HttpParser:filled 0/0
2015-02-04 17:12:07.884:DBUG:oeji.nio:created SCEP@35c1d286{l(/127.0.0.1:21117)<->r(/127.0.0.1:8080),s=0,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0}-{AsyncHttpConnection@3125fd2d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-14,l=0,c=0},r=0}
2015-02-04 17:12:07.962:DBUG:oejh.HttpParser:filled 251/251
2015-02-04 17:12:07.969:DBUG:oejs.Server:REQUEST /mo on AsyncHttpConnection@3125fd2d,g=HttpGenerator{s=0,h=-1,b=-1,c=-1},p=HttpParser{s=-5,l=10,c=0},r=1
2015-02-04 17:12:07.969:DBUG:oejsh.ContextHandler:scope null||/mo @ o.e.j.s.ServletContextHandler{/,null}
2015-02-04 17:12:07.970:DBUG:oejsh.ContextHandler:context=||/mo @ o.e.j.s.ServletContextHandler{/,null}
2015-02-04 17:12:07.972:DBUG:oejs.session:sessionManager=org.eclipse.jetty.server.session.HashSessionManager@5ea294ec
2015-02-04 17:12:07.972:DBUG:oejs.session:session=null
2015-02-04 17:12:07.972:DBUG:oejs.ServletHandler:servlet ||/mo -> org.eclipse.equinox.http.jetty.internal.HttpServerManager$InternalHttpServiceServlet-24cb9b8f
2015-02-04 17:12:07.972:DBUG:oejs.ServletHandler:chain=null
2015-02-04 17:12:07.982:DBUG:oejs.Server:RESPONSE /mo 404 handled=true
2015-02-04 17:12:07.982:DBUG:oejs.AsyncHttpConnection:Enabled read interest SCEP@35c1d286{l(/127.0.0.1:21117)<->r(/127.0.0.1:8080),s=1,open=true,ishut=false,oshut=false,rb=false,wb=false,w=true,i=0r}-{AsyncHttpConnection@3125fd2d,g=HttpGenerator{s=4,h=0,b=0,c=-1},p=HttpParser{s=0,l=10,c=0},r=1}
2015-02-04 17:12:07.986:DBUG:oejh.HttpParser:filled 0/0
osgi>
Re: EMF + RAP starts but does not show [message #1601872 is a reply to message #1601865] Thu, 05 February 2015 06:59 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,
please make sure that you are using the correct URL for your application
- servlet path associated with your entry point. Also use osgi "ss"
command in the osgi console to ensure that all bundles are active.
HTH,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: EMF + RAP starts but does not show [message #1601951 is a reply to message #1601872] Thu, 05 February 2015 08:10 Go to previous messageGo to next message
Azat Sharipov is currently offline Azat SharipovFriend
Messages: 6
Registered: February 2015
Junior Member
Servlet path is setted in run config to "/mo" value.

"ss" command log:
0 ACTIVE org.eclipse.osgi_3.9.1.v20140110-1610
1 ACTIVE org.eclipse.equinox.servletbridge_1.2.300.v20130508-1243
2 ACTIVE org.eclipse.rap.ui_2.1.2.20140121-1149
3 ACTIVE ru.iis-soft.core.edit_1.0.0.qualifier
4 ACTIVE org.eclipse.emf.ecore.xmi_2.9.1.v20131212-0545
5 ACTIVE org.eclipse.emf.edit_2.9.0.v20140203-1126
6 ACTIVE org.eclipse.core.databinding.observable_1.4.1.v20130515-1857
7 ACTIVE org.eclipse.emf.ecore_2.9.2.v20131212-0545
8 ACTIVE ru.iis-soft.core_1.0.0.qualifier
9 ACTIVE org.junit_4.11.0.v201303080030
10 ACTIVE org.eclipse.jetty.servlet_8.1.14.v20131031
11 ACTIVE org.eclipse.help_3.6.0.v20130326-1254
12 ACTIVE org.eclipse.core.expressions_3.4.501.v20131118-1915
13 ACTIVE org.eclipse.rap.rwt.osgi_2.1.2.20140129-0942
14 ACTIVE org.eclipse.jetty.continuation_8.1.14.v20131031
15 ACTIVE org.eclipse.equinox.registry_3.5.301.v20130717-1549
16 ACTIVE org.eclipse.rap.ui.forms_2.1.2.20140121-1149
17 ACTIVE org.eclipse.core.databinding.beans_1.2.200.v20130515-1857
18 ACTIVE org.eclipse.core.jobs_3.5.300.v20130429-1813
19 ACTIVE org.eclipse.equinox.http.servletbridge_1.0.300.v20130327-1442
20 ACTIVE org.eclipse.core.contenttype_3.4.200.v20130326-1255
21 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
22 ACTIVE org.eclipse.core.databinding.property_1.4.200.v20130515-1857
23 ACTIVE org.hamcrest.core_1.3.0.v201303031735
24 ACTIVE org.eclipse.jetty.security_8.1.14.v20131031
25 ACTIVE org.eclipse.jetty.server_8.1.14.v20131031
26 ACTIVE org.eclipse.equinox.ds_1.4.101.v20130813-1853
27 ACTIVE org.eclipse.rap.rwt_2.1.2.20140204-1458
28 ACTIVE org.eclipse.equinox.util_1.0.500.v20130404-1337
29 ACTIVE ru.iis-soft.core.editor_1.0.0.qualifier
30 ACTIVE org.eclipse.jetty.http_8.1.14.v20131031
31 ACTIVE org.eclipse.emf.rap.edit.ui_2.9.0.v20140203-1126
32 ACTIVE org.eclipse.equinox.preferences_3.5.100.v20130422-1538
33 ACTIVE org.eclipse.equinox.http.servlet_1.1.400.v20130418-1354
34 ACTIVE javax.servlet_3.0.0.v201112011016
35 ACTIVE org.eclipse.equinox.http.registry_1.1.300.v20130402-1529
36 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
37 ACTIVE org.eclipse.emf.common_2.9.2.v20131212-0545
38 ACTIVE org.eclipse.equinox.app_1.3.100.v20130327-1442
39 ACTIVE org.eclipse.core.databinding_1.4.1.v20130515-1857
40 ACTIVE org.eclipse.osgi.services_3.3.100.v20130513-1956
41 ACTIVE org.eclipse.rap.ui.workbench_2.1.2.20140121-1149
42 ACTIVE org.eclipse.rap.jface.databinding_2.1.2.20140121-1149
43 ACTIVE org.eclipse.emf.ecore.change.edit_2.5.0.v20140203-1126
44 ACTIVE org.eclipse.core.commands_3.6.100.v20130515-1857
45 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
46 ACTIVE org.eclipse.emf.rap_2.6.0.v20140203-1126
47 ACTIVE org.eclipse.core.runtime_3.9.100.v20131218-1515
48 ACTIVE org.eclipse.emf.ecore.change_2.9.0.v20131212-0545
49 ACTIVE org.eclipse.jdt.junit.runtime_3.4.400.v20130514-0733
50 ACTIVE org.eclipse.jetty.util_8.1.14.v20131031
52 ACTIVE org.eclipse.equinox.console_1.0.100.v20130429-0953
53 ACTIVE org.eclipse.jetty.io_8.1.14.v20131031
54 ACTIVE org.eclipse.emf.rap.common.ui_2.8.0.v20140203-1126
55 ACTIVE org.eclipse.rap.jface_2.1.2.20140129-1036
56 ACTIVE javax.xml_1.3.4.v201005080400
57 ACTIVE org.eclipse.rap.ui.views_2.1.2.20140121-1149
58 ACTIVE org.eclipse.equinox.http.jetty_3.0.100.v20130327-1442
59 ACTIVE org.eclipse.emf.ecore.edit_2.8.0.v20140203-1126
60 ACTIVE org.eclipse.rap.ui.cheatsheets_2.1.2.20140121-1149
61 ACTIVE org.eclipse.equinox.common_3.6.200.v20130402-1505
62 ACTIVE com.ibm.icu.base_50.1.1.v201304230130

[Updated on: Thu, 05 February 2015 10:25]

Report message to a moderator

Re: EMF + RAP starts but does not show [message #1602043 is a reply to message #1601951] Thu, 05 February 2015 09:32 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,
I don't see any RAP bundles (org.eclipse.rap.rwt,
org.eclipse.rap.rwt.osgi... ) listed there. Did you include RAP runtime
platform in your target?
Regards,
Ivan

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: EMF + RAP starts but does not show [message #1602110 is a reply to message #1602043] Thu, 05 February 2015 10:28 Go to previous messageGo to next message
Azat Sharipov is currently offline Azat SharipovFriend
Messages: 6
Registered: February 2015
Junior Member
Sorry, I forgot choose a rap target platform. I've updated ss log above.
Re: EMF + RAP starts but does not show [message #1602124 is a reply to message #1602110] Thu, 05 February 2015 10:37 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,
all bundles active... that's good. Do you really use RAP Tools 3.0 with
Kepler Service Release 2 and RAP 2.1.2? Please try with RAP Tools 2.1.2
from [1].

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

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: EMF + RAP starts but does not show [message #1602151 is a reply to message #1602124] Thu, 05 February 2015 10:59 Go to previous messageGo to next message
Azat Sharipov is currently offline Azat SharipovFriend
Messages: 6
Registered: February 2015
Junior Member
Ok, I've changed rap tools to 2.1.2. But my problem is not resolved (
Re: EMF + RAP starts but does not show [message #1607936 is a reply to message #1602151] Mon, 09 February 2015 06:50 Go to previous message
Azat Sharipov is currently offline Azat SharipovFriend
Messages: 6
Registered: February 2015
Junior Member
My project's code here: https://yadi.sk/d/H2Kg9IXjeYv9W
Previous Topic:Patching deployed plugin
Next Topic:Accelerator on IAction Push Button
Goto Forum:
  


Current Time: Tue Mar 19 11:52:16 GMT 2024

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

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

Back to the top