Questions tagged [gwt-hosted-mode]
28 questions
19
votes
1 answer
Something other than an int was returned from JSNI method
I am running a GWT application in hosted mode. Sporadically I get a strange HostedModeException complaining about the type of the JS value returned from JSNI. Sometimes it is during deserialization:
com.google.gwt.dev.shell.HostedModeException:…

Saintali
- 4,482
- 2
- 29
- 49
7
votes
1 answer
What is the GWT byte-cache file?
As a background, today, my GWT hosted mode runs just mysteriously slowed down to the extent that it is virtually not working. Whenever I pause the application the relevant threads (the main thread, the code server, etc.) are waiting on some file I/O…

Saintali
- 4,482
- 2
- 29
- 49
7
votes
2 answers
gwt serialization policy hosted mode out of sync
When running my GWT application (gwt 2.0.4) in hosted mode, calling RPC methods running on remote Tomcat, I get GWT serialization exception:
INFO: GwtRpcEventSrvc: ERROR: The serialization policy file '/84EC7BA65AF8175BAA99B47877FDE163.gwt.rpc' was…

padis
- 2,314
- 4
- 24
- 30
5
votes
2 answers
Need help debugging GWT - Jetty 'unknown realm'
I am trying to debug a GWT application, but it seems I can't do it with jetty. Whenever I try to run it in hosted mode for debugging I get an 'unknown realm' 500 error message (nothing loads). I am doing this via eclipse. It is very uncovenient to…

grasshopper
- 3,988
- 3
- 23
- 29
3
votes
3 answers
How to automatically append gwt.codesvr to page URL
When running a GWT application in hosted mode one usually needs to add the location of the code server in a query string parameter, for example instead of index.html one may need to open index.html?gwt.codesvr=127.0.0.1:9997. The problem is that…

Saintali
- 4,482
- 2
- 29
- 49
3
votes
1 answer
How do you setup JNDI for GWT (2.0) Hosted Mode?
How do you setup a JNDI server on GWT's hosted mode (they seem to use an embedded Jetty server)?

Stephane Grenier
- 15,527
- 38
- 117
- 192
2
votes
1 answer
Testing html 5 application cache in GWT hosted mode
I'm going to start writing a GWT app with offline capability. In order to use html 5's application cache function, the web server must return a "filetype: text/manifext" header with the manifest file. Does anyone know how I return this header in GWT…

phil-daniels
- 574
- 2
- 10
- 28
2
votes
1 answer
GWT + Spring hosted mode not working
I have a following problem, probably somebody can help me?
I had an Spring MVC application, quite basic one, with a few simple jsp pages.
Also I had an Spring Security integrated with it.
Now I need to add some GWT widget to one page. No problem so…

Alexander K
- 65
- 1
- 2
- 4
2
votes
1 answer
GeoTools with GWT (Development Mode Jetty)
Using GeoTools with GWT, I get the following stack trace when running my app in Development Mode:
WARNING: Can't load a service for category "CRSAuthorityFactory". Cause is "ServiceConfigurationError: org.opengis.referencing.crs.CRSAuthorityFactory:…

Daniel
- 10,115
- 3
- 44
- 62
2
votes
3 answers
How to apply css changes using IntelliJ with GWT without having to stop/restart program
When using IntelliJ to write a GWT application and testing in hosted mode is there any way to have a CSS change reflected in the execution of the program without having to stop and restart the application? Stopping and restarting is such a slow…

RVDowning
- 21
- 1
2
votes
1 answer
Should hosted.html be removed from GWT app's .war file? How?
We build a GWT app (using gwt-maven-plugin) resulting in a .war file. Currently this .war file contains a file called hosted.html, which is used to run in development (née hosted) mode, when query parameter gwt.codesvr=... is specified.
Is there a…

MarnixKlooster ReinstateMonica
- 9,640
- 14
- 54
- 108
1
vote
3 answers
Debugging a GWT app which needs access to an external resource (Same Origin Policy)
We have a GWT application which draws some resources from a separate servlet via async javascript. In production this poses no problems as both the producer servlet and the consumer GWT app will reside on the same server, however for development I…

Richter
- 627
- 6
- 13
1
vote
1 answer
GWT: development mode behaves different from server mode
this is a 10 million dollar question! I am developing with GWT 2.1.1, MVP framework, GIN and deploying on tomcat 6.
Never had any problem so far.
I added a regular expression (RE) client side to check an input text input. Well, it happens that the…

Christian Achilli
- 5,547
- 2
- 25
- 24
1
vote
2 answers
GWT 2.6.1 Error: Could not find or load main class com.google.gwt.dev.GWTShell
I am trying to execute a sample application built on GWT 2.6.1 and when I click on app.gwt.xml and say "Run as" -> "GWT Hosted Mode Application", immediately the console prints "Error: Could not find or load main class…

Thulasi
- 126
- 3
- 19
1
vote
1 answer
How does gwt hosted mode observe changes?
I am running gwt hosted mode through a proxy; debugging works, but it doesn't pick up changes to client code made in my IDE.
I am using the maven plugin to start hosted mode; configuration is as follows. The reason that webapp code is in /web is…

user717847
- 695
- 1
- 6
- 16