Problems getting GMap to run [message #85002] |
Fri, 25 April 2008 19:54 |
Eclipse User |
|
|
|
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 #85269 is a reply to message #85017] |
Mon, 28 April 2008 17:45 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02797 seconds