Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Problems getting GMap to run
Problems getting GMap to run [message #85002] Fri, 25 April 2008 19:54 Go to next message
Eclipse UserFriend
Originally posted by: vaughan.richard.siemens.com

I'm having some difficulty working through the GMap demo construction
found at:

http://help.eclipse.org/help33/topic/org.eclipse.rap.help/he lp/html/advanced/custom-widget.html

(let me say that I am fairly new to the RAP technology and am still
getting my feet wet)

We have an application that we are moving to the RAP environment and are
looking at potentially creating custom widgets for some of our display
requirements. I was hoping to be able to start with the GMap demo to
provide a simple custom widget that could be built upon.

I haven't seen anyone log this particular problem, so here it is. When I
try to run the GMapDemo, I get the following error.

HTTP ERROR: 404
ProxyServlet: /rap
RequestURI=/rap

Powered by Jetty://

I've set breakpoints in GMapDemo and in GMap constructors and am not
getting there. My GMap.js file is syntactically correct and pretty much
matches what is in the eclipse cvs repository. I also downloaded and
diffed all of the other files and could not see any glaring difference
which may have caused this error.

Any help/guidance would be appreciated.

Thanks,
Rick
Re: Problems getting GMap to run [message #85017 is a reply to message #85002] Fri, 25 April 2008 20:05 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin MuskallaFriend
Messages: 237
Registered: July 2009
Senior Member
Hi Rick,

this looks more than a problem with the deployment then with the custom
widget itself.
Did you include all plugins in the launch configurations you need? Which
RAP version are you using?

When you start the launch config with -console you can type "ss" in the
osgi console to see if all bundles are ACTIVE.

There are many posts in the newsgroup how to find out what's going wrong
while starting up the application

Greets
Benny

Rick Vaughan wrote:
> I'm having some difficulty working through the GMap demo construction
> found at:
> http://help.eclipse.org/help33/topic/org.eclipse.rap.help/he lp/html/advanced/custom-widget.html
>
>
> (let me say that I am fairly new to the RAP technology and am still
> getting my feet wet)
>
> We have an application that we are moving to the RAP environment and are
> looking at potentially creating custom widgets for some of our display
> requirements. I was hoping to be able to start with the GMap demo to
> provide a simple custom widget that could be built upon.
>
> I haven't seen anyone log this particular problem, so here it is. When
> I try to run the GMapDemo, I get the following error.
>
> HTTP ERROR: 404
> ProxyServlet: /rap
> RequestURI=/rap
>
> Powered by Jetty://
>
> I've set breakpoints in GMapDemo and in GMap constructors and am not
> getting there. My GMap.js file is syntactically correct and pretty much
> matches what is in the eclipse cvs repository. I also downloaded and
> diffed all of the other files and could not see any glaring difference
> which may have caused this error.
> Any help/guidance would be appreciated.
>
> Thanks,
> Rick
>
Re: Problems getting GMap to run [message #85269 is a reply to message #85017] Mon, 28 April 2008 17:45 Go to previous message
Eclipse UserFriend
Originally posted by: vaughan.richard.siemens.com

Hi Benny,

In answer to your questions:

Did you include all plugins in the launch configurations you need?

Apparently I had - on the launch configuration page, I selected "Validate
Bundles" - and it reported no errors. I unselected a couple of items just
to make sure validation failed when they were not selected, just as a test.

But, apparently I had too many - I had checked the org.eclipse.rap.demo
bundle at some point - unchecking it again got me further. This was the
main source of the initial error I reported.

My RAP Version is 1.1.0.20080407-1124.

As far as typing "ss" in the console, When I typed ss in the console view,
that is what I saw two s's, nothing else. Didn't matter when I typed it
(before or during execution). Is there something special I need to
configure for this to work?

I was still not out of the woods at that point. I worked through this a
little further and found that I did not have the GMapResource and
GMapAPIResource extension point set up correctly. Once done, the
application did initialize and come up. I had to manually set localhost
in my browser, as my site was coming up 127.0.0.1 and it wouldn't connect
correctly. It is working at this point.

Thanks for getting me pointed in the right direction.

Rick
Previous Topic:Wizard
Next Topic:Preferences
Goto Forum:
  


Current Time: Sun Jun 30 08:49:52 GMT 2024

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

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

Back to the top