Problem accessing RAP demo [message #5845] |
Tue, 13 March 2007 11:01 |
|
Hi all,
I've just installed RAP plugins - rap_site_1.0.0.M2.zip and followed the
tutorial to run RAP demo application. But when I access the RAP demo from
Firefox by url http://localhost:10080/ra, the Eclipse console shows the
following exceptions:
java.lang.IllegalArgumentException: An entry point named 'default' does
not exist.
at
org.eclipse.rap.rwt.internal.lifecycle.EntryPointManager.cre ateUI(EntryPointManager.java:70)
at
org.eclipse.rap.rwt.internal.lifecycle.PrepareUIRoot.execute (PrepareUIRoot.java:32)
at
org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.execute( RWTLifeCycle.java:60)
at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
at
com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
at
com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
at
org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.Activator$InternalHt tpServiceServlet.service(Activator.java:182)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
at
org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
Mar 13, 2007 5:51:20 PM org.mortbay.jetty.servlet.ServletHandler handle
SEVERE: /rap:
If I change the url into http://localhost:10080/rap?w4t_startup=controls,
the Eclipse console shows the following exception:
java.lang.IllegalArgumentException: An entry point named 'controls' does
not exist.
at
org.eclipse.rap.rwt.internal.lifecycle.EntryPointManager.cre ateUI(EntryPointManager.java:70)
at
org.eclipse.rap.rwt.internal.lifecycle.PrepareUIRoot.execute (PrepareUIRoot.java:32)
at
org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.execute( RWTLifeCycle.java:60)
at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
at
com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
at
com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
at
org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:41)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.Activator$InternalHt tpServiceServlet.service(Activator.java:182)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
at
org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
at
org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
Mar 13, 2007 5:56:24 PM org.mortbay.jetty.servlet.ServletHandler handle
SEVERE: /rap:
Eclipse: v3.2.2.
Browser: Mozilla Firefox 2.0
OS: Linux OpenSuse 10.2
Any help would be greatly appreciated.
Best Regards,
Setya
|
|
|
Re: Problem accessing RAP demo [message #5863 is a reply to message #5845] |
Tue, 13 March 2007 11:25 |
Eclipse User |
|
|
|
Originally posted by: pedro.s.silva.criticalsoftware.com
Hi Setya,
Have you define an entry point in the project? Does it have the
parameter set to "default"?
If both answers are negative you have to open your manifest and define
an entrypoint in the extensions section. Add a new
org.eclipse.rap.ui.workbench.entrypoint and add it a new entrypoint as
it is done in the demo. Set its parameter to "default", after that you
should be able to see your sample.
Cheers,
Pedro Silva
Setya wrote:
> Hi all,
>
> I've just installed RAP plugins - rap_site_1.0.0.M2.zip and followed the
> tutorial to run RAP demo application. But when I access the RAP demo
> from Firefox by url http://localhost:10080/ra, the Eclipse console shows
> the following exceptions:
>
> java.lang.IllegalArgumentException: An entry point named 'default' does
> not exist.
> at
> org.eclipse.rap.rwt.internal.lifecycle.EntryPointManager.cre ateUI(EntryPointManager.java:70)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.PrepareUIRoot.execute (PrepareUIRoot.java:32)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.execute( RWTLifeCycle.java:60)
>
> at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
> at
> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
>
> at
> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
>
> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
> at
> org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:41)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.jetty.internal.Activator$InternalHt tpServiceServlet.service(Activator.java:182)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
> at
> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
> Mar 13, 2007 5:51:20 PM org.mortbay.jetty.servlet.ServletHandler handle
> SEVERE: /rap:
>
> If I change the url into
> http://localhost:10080/rap?w4t_startup=controls, the Eclipse console
> shows the following exception:
>
> java.lang.IllegalArgumentException: An entry point named 'controls' does
> not exist.
> at
> org.eclipse.rap.rwt.internal.lifecycle.EntryPointManager.cre ateUI(EntryPointManager.java:70)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.PrepareUIRoot.execute (PrepareUIRoot.java:32)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.execute( RWTLifeCycle.java:60)
>
> at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
> at
> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
>
> at
> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
>
> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
> at
> org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:41)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.jetty.internal.Activator$InternalHt tpServiceServlet.service(Activator.java:182)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
> at
> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
> Mar 13, 2007 5:56:24 PM org.mortbay.jetty.servlet.ServletHandler handle
> SEVERE: /rap:
> Eclipse: v3.2.2.
> Browser: Mozilla Firefox 2.0
> OS: Linux OpenSuse 10.2
>
>
> Any help would be greatly appreciated.
>
>
> Best Regards,
>
> Setya
>
|
|
|
Re: Problem accessing RAP demo [message #5881 is a reply to message #5863] |
Tue, 13 March 2007 11:40 |
|
Thanks for the response,
> Have you define an entry point in the project? Does it have the
> parameter set to "default"?
> If both answers are negative you have to open your manifest and define
> an entrypoint in the extensions section. Add a new
> org.eclipse.rap.ui.workbench.entrypoint and add it a new entrypoint as
> it is done in the demo. Set its parameter to "default", after that you
> should be able to see your sample.
I have checked the manifest and in Extensions tab I found the following
entry points:
class: org.eclipse.rap.demo.DemoWorkbench
parameter: default
class: org.eclipse.rap.demo.RWTDemo
parameter: rwtdemo
class: org.eclipse.rap.demo.controls.LayoutDemo
parameter: layout
class: org.eclipse.rap.demo.controls.ControlsDemo
parameter: controls
Regards,
Setya
|
|
|
Re: Problem accessing RAP demo [message #5915 is a reply to message #5881] |
Tue, 13 March 2007 12:38 |
Eclipse User |
|
|
|
Originally posted by: roberto.sanchez.autonomind.com
Hi Setya, I had the same problem, but I couldn't solve it, I think that
is a Dependency problem but I'm not sure. In any case there is another
way to see the example running, donwloading it directly from cvs into
Eclipse workspace, then all necessary projects are downloaded
automatically. You can see it in:
http://www.eclipse.org/rap/cvs.php
It worked fine for me
I hope this can help you.
Cheers.
Roberto.
Setya wrote:
> Thanks for the response,
>
>> Have you define an entry point in the project? Does it have the
>> parameter set to "default"?
>
>> If both answers are negative you have to open your manifest and define
>> an entrypoint in the extensions section. Add a new
>> org.eclipse.rap.ui.workbench.entrypoint and add it a new entrypoint as
>> it is done in the demo. Set its parameter to "default", after that you
>> should be able to see your sample.
>
> I have checked the manifest and in Extensions tab I found the following
> entry points:
>
> class: org.eclipse.rap.demo.DemoWorkbench
> parameter: default
>
> class: org.eclipse.rap.demo.RWTDemo
> parameter: rwtdemo
>
> class: org.eclipse.rap.demo.controls.LayoutDemo
> parameter: layout
>
> class: org.eclipse.rap.demo.controls.ControlsDemo
> parameter: controls
>
>
> Regards,
>
> Setya
>
>
|
|
|
Re: Problem accessing RAP demo [message #5932 is a reply to message #5881] |
Tue, 13 March 2007 17:52 |
Eclipse User |
|
|
|
Originally posted by: christian.franzel.convisual.com
Hi,
maybe that is related to my observation: I have no problems running the
"Hello World" sample but as soon as I add the demo to the dependecies (in
order to implement the createUI method by delegating to the
DemoWor(k)bench) the entry point will not get registered anymore and I get
the same message...
Regards,
Christian.
|
|
|
Re: Problem accessing RAP demo [message #7155 is a reply to message #5845] |
Wed, 14 March 2007 13:24 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Hi Setya,
in order for the demo to work You need to install the RAP SDK feature as
well (included in rap_site_1.0.0.M2.zip). May that be the reason why?
Cheers,
Rüdiger
Setya wrote:
> Hi all,
>
> I've just installed RAP plugins - rap_site_1.0.0.M2.zip and followed the
> tutorial to run RAP demo application. But when I access the RAP demo
> from Firefox by url http://localhost:10080/ra, the Eclipse console shows
> the following exceptions:
>
> java.lang.IllegalArgumentException: An entry point named 'default' does
> not exist.
> at
> org.eclipse.rap.rwt.internal.lifecycle.EntryPointManager.cre ateUI(EntryPointManager.java:70)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.PrepareUIRoot.execute (PrepareUIRoot.java:32)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.execute( RWTLifeCycle.java:60)
>
> at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
> at
> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
>
> at
> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
>
> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
> at
> org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:41)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.jetty.internal.Activator$InternalHt tpServiceServlet.service(Activator.java:182)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
> at
> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
> Mar 13, 2007 5:51:20 PM org.mortbay.jetty.servlet.ServletHandler handle
> SEVERE: /rap:
>
> If I change the url into
> http://localhost:10080/rap?w4t_startup=controls, the Eclipse console
> shows the following exception:
>
> java.lang.IllegalArgumentException: An entry point named 'controls' does
> not exist.
> at
> org.eclipse.rap.rwt.internal.lifecycle.EntryPointManager.cre ateUI(EntryPointManager.java:70)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.PrepareUIRoot.execute (PrepareUIRoot.java:32)
>
> at
> org.eclipse.rap.rwt.internal.lifecycle.RWTLifeCycle.execute( RWTLifeCycle.java:60)
>
> at com.w4t.engine.W4TModel$ServiceAdapter.execute(W4TModel.java :47)
> at
> com.w4t.engine.service.FormRequestServiceHandler.service(For mRequestServiceHandler.java:65)
>
> at
> com.w4t.engine.service.ServiceManager$HandlerDispatcher.serv ice(ServiceManager.java:90)
>
> at com.w4t.engine.W4TDelegate.doPost(W4TDelegate.java:75)
> at
> org.eclipse.rap.ui.internal.servlet.RequestHandler.service(R equestHandler.java:41)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.registry.internal.ServletManager$Se rvletWrapper.service(ServletManager.java:129)
>
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:91)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:110)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:60)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.jetty.internal.Activator$InternalHt tpServiceServlet.service(Activator.java:182)
>
> at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder .java:428)
> at
> org.mortbay.jetty.servlet.ServletHandler.dispatch(ServletHan dler.java:677)
> at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandl er.java:568)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
> at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
> at org.mortbay.http.HttpServer.service(HttpServer.java:909)
> at org.mortbay.http.HttpConnection.service(HttpConnection.java: 820)
> at org.mortbay.http.HttpConnection.handleNext(HttpConnection.ja va:986)
> at org.mortbay.http.HttpConnection.handle(HttpConnection.java:8 37)
> at
> org.mortbay.http.SocketListener.handleConnection(SocketListe ner.java:245)
> at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:3 57)
> at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:5 34)
> Mar 13, 2007 5:56:24 PM org.mortbay.jetty.servlet.ServletHandler handle
> SEVERE: /rap:
> Eclipse: v3.2.2.
> Browser: Mozilla Firefox 2.0
> OS: Linux OpenSuse 10.2
>
>
> Any help would be greatly appreciated.
>
>
> Best Regards,
>
> Setya
>
|
|
|
Re: Problem accessing RAP demo [message #8180 is a reply to message #7155] |
Thu, 15 March 2007 04:23 |
|
Rüdiger,
> in order for the demo to work You need to install the RAP SDK feature as
> well (included in rap_site_1.0.0.M2.zip). May that be the reason why?
This is in fact how I installed RAP. I just downloaded
rap_site_1.0.0.M2.zip then unzip it in Eclipse folder.
I also check Product Configuration through Help->Software Updates->Manage
Configuration and Rich Ajax Platform SDK (RAP) 1.0.0.200703021150 is
enlisted there.
But when I create new RAP application with the same configuration as the
demo. it works.
Regards,
Setya
|
|
|
Powered by
FUDForum. Page generated in 0.03847 seconds