Problem running with RWT source code [message #115337] |
Thu, 11 December 2008 14:00 |
|
Hi,
On 1.1.1-SR1 when running my RAP application with org.eclipse.rap.rwt &
org.eclipse.rap.rwt.q07 source code on Eclipse project, it throws the
following exception :
WARNING: EXCEPTION
javax.servlet.ServletException: Failed to load Browser Survey HTML Page
(Reason: Failed to load Browser Survey HTML Page. Resource
org/eclipse/rwt/internal/service/rwt-index.html could not be found.)
at
org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:57)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:180)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:168)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:133)
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:45 )
at
org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:33)
at
org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:140)
at
org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:100)
at org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
at
org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at
org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:269)
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)
but with their binaries it runs fine.
Please help.
Regards,
Setya
|
|
|
Re: Problem running with RWT source code [message #115415 is a reply to message #115337] |
Fri, 12 December 2008 08:58 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Are you experiencing what is described in this bug?
247804: [releng] Fragment org.eclipse.rap.rwt.q07 broken
when Imported As Source
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247804
Setya wrote:
> Hi,
>
> On 1.1.1-SR1 when running my RAP application with org.eclipse.rap.rwt &
> org.eclipse.rap.rwt.q07 source code on Eclipse project, it throws the
> following exception :
>
> WARNING: EXCEPTION javax.servlet.ServletException: Failed to load
> Browser Survey HTML Page (Reason: Failed to load Browser Survey HTML
> Page. Resource org/eclipse/rwt/internal/service/rwt-index.html could not
> be found.)
> at
> org.eclipse.rwt.internal.service.BrowserSurvey.sendBrowserSu rvey(BrowserSurvey.java:57)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.int ernalService(LifeCycleServiceHandler.java:180)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.acc ess$1(LifeCycleServiceHandler.java:168)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler$Lif eCycleServiceHandlerSync.doService(LifeCycleServiceHandler.j ava:133)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.serviceInternal(RWTLifeCycleServiceHandlerSync.java:45 )
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycleServiceHandle rSync.service(RWTLifeCycleServiceHandlerSync.java:33)
>
> at
> org.eclipse.rwt.internal.service.LifeCycleServiceHandler.ser vice(LifeCycleServiceHandler.java:140)
>
> at
> org.eclipse.rwt.internal.service.ServiceManager$HandlerDispa tcher.service(ServiceManager.java:100)
>
> at
> org.eclipse.rwt.internal.engine.RWTDelegate.doPost(RWTDelega te.java:63)
> at
> org.eclipse.ui.internal.servlet.RequestHandler.service(Reque stHandler.java:51)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.servlet.internal.ServletRegistratio n.handleRequest(ServletRegistration.java:90)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.proce ssAlias(ProxyServlet.java:111)
>
> at
> org.eclipse.equinox.http.servlet.internal.ProxyServlet.servi ce(ProxyServlet.java:59)
>
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at
> org.eclipse.equinox.http.jetty.internal.HttpServerManager$In ternalHttpServiceServlet.service(HttpServerManager.java:269)
>
> 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)
>
> but with their binaries it runs fine.
>
> Please help.
>
> Regards,
>
> Setya
>
>
|
|
|
Re: Problem running with RWT source code [message #115477 is a reply to message #115415] |
Fri, 12 December 2008 12:29 |
|
Hi,
Yes, initially I also experienced the bug, but then I overcame it by
adding 'org.eclipse.jdt.core.javanature' manually to the .project file.
I also experience other problem. I work with DateTime widget source code
recently, but it seems that changing anything on the client side js
doesn't take effect when application runs.
Is there any extra step that I should do after importing source code ?
Regards,
Setya
|
|
|
Re: Problem running with RWT source code [message #115512 is a reply to message #115477] |
Fri, 12 December 2008 14:29 |
Eclipse User |
|
|
|
Originally posted by: rherrmann.innoopract.com
Setya wrote:
> Hi,
>
> Yes, initially I also experienced the bug, but then I overcame it by
> adding 'org.eclipse.jdt.core.javanature' manually to the .project file.
>
> I also experience other problem. I work with DateTime widget source code
> recently, but it seems that changing anything on the client side js
> doesn't take effect when application runs.
>
> Is there any extra step that I should do after importing source code ?
There is no extra step necessary. You are probably using the "wrong"
(the one from the target) bundle in your launch configuration.
>
> Regards,
>
> Setya
>
>
|
|
|
Re: Problem running with RWT source code [message #115525 is a reply to message #115512] |
Fri, 12 December 2008 15:29 |
|
Rüdiger Herrmann wrote:
> There is no extra step necessary. You are probably using the "wrong"
> (the one from the target) bundle in your launch configuration.
This is my initial suspect, so I check & re-check.
On launch configuration I only checked org.eclipse.rap.rwt.q07 under
workspace and unchecked the one under Target Platform though I believe
this is not necessary since the one from workspace will always have higher
priority.
But the problem persists.
Regards,
Setya
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03289 seconds