Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problem running with RWT source code
Problem running with RWT source code [message #115337] Thu, 11 December 2008 14:00 Go to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
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
Re: Problem running with RWT source code [message #115538 is a reply to message #115525] Fri, 12 December 2008 16:05 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Setya,

in doubt you may try to work against CVS.

Cheers,
Rüdiger

Setya wrote:
> 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
>
Re: Problem running with RWT source code [message #115563 is a reply to message #115538] Fri, 12 December 2008 16:36 Go to previous messageGo to next message
Setya Nugdjaja is currently offline Setya NugdjajaFriend
Messages: 567
Registered: July 2009
Senior Member
Rüdiger Herrmann wrote:

> in doubt you may try to work against CVS.

AFAIK, the one from CVS is based on 3.5 and I'm still using 3.4 now.
Should I also upgrade the IDE just to use the one from CVS ?


Setya
Re: Problem running with RWT source code [message #115685 is a reply to message #115563] Mon, 15 December 2008 08:38 Go to previous message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
Setya wrote:
> Rüdiger Herrmann wrote:
>
>> in doubt you may try to work against CVS.
>
> AFAIK, the one from CVS is based on 3.5 and I'm still using 3.4 now.
> Should I also upgrade the IDE just to use the one from CVS ?
Right, the current development is based on 3.5 but this does *not*
directly affect the required version of the IDE.

To use RAP from CVS,
* start your "preferred" IDE (min 3.3)
* if not yet done, install RAP Tooling
* download and unzip the latest RAP target platform
* remove all *.rap.* plug-ins from this target
* select it as the workspace target (Preferences -> Plug-in
Development -> Target Platform)
* use the RAP team project set (http://eclipse.org/rap/cvs.php) to
get all necessary projects

>
>
> Setya
>
Previous Topic:RAP Session
Next Topic:Strange behavoir with Text since last CVS update
Goto Forum:
  


Current Time: Fri Apr 26 09:49:53 GMT 2024

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

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

Back to the top