GwT app behing Apache httpd ProxyPass
Am trying to provide public access to a back end GwT app running on back end private cloud server going through an Apache httpd server as front end proxy. I can ProxyPass via AJP or HTTP, but when I try to load the app, I get an XSRF error on the first call as the module path requested is not in the same web application as for the servlet. Tried few variations using ProxyPass / ProxyPassReverse and Substitute but no resolution yet. Has anyone configured as similar setup? Any suggestion would be appreciated. best *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Suppress [WARN] Checking all subtypes of Object which qualify for serialization?
Hi: Is there any way to suppress the long stack of [INFO] entreis that shows up in the GwT log for the [WARN] Checking all subtypes of Object which qualify for serialization We understand where this is coming from but givne our use of generics in our beans, we have no way to prevent this. best *P Verifying instantiability [INFO] com.google.common.collect.RegularImmutableMultiset? extends java.lang.Object [INFO] [WARN] Checking all subtypes of Object which qualify for serialization -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
Unrecognized history token
Hi: started to use Activities and PLace is all our GwT apps and my understanding is that it not onlymanages history but also makes all the different states ('pages') bookmarkable. However, if I copy/paste or manually enter a place URL in a browser like http://127.0.0.1:/CmsGwtShowcase.html?gwt.codesvr=127.0.0.1:9997#ClassificationPlace:id=4783 I get a: WARNING: Unrecognized history token: ClassificationPlace:id=4783 and the app navigates to the default activity. This is the URL that is displayed and woks when I interact normally with the MVP application. Did I miss a step somewhere along the way? How can this be activated or managed automatically? best *P -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Re: Unrecognized history token
Wayne: Thanks for confirming that this should work and for the tips. WIll investigate accordingly. Much appreciated your feedback. best *P On Saturday, October 5, 2013 3:21:37 PM UTC+2, wayne rasmuss wrote: Perhaps your = sign in your string version of your place is messing it up? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
Setting TreeItem userObject with uiBinder?
Is there any way to set a TreeItem user object in the UI Binder XML? Something like g:TreeItem text='Foo' userObject=FooKeyValue/ thanks *P -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/groups/opt_out.
GWT Maven plugin: how to?
All: I use Maven for all our Java project and would like to do the same for our GWT apps (using Eclipse 3.7). Unfortunately, each time I attempt to use the GWT Maven plugin, I find myself frustrated and facing several of issues such as: - m2e reports a lifecycle exception for the non-standard goals (I know the workaround for this one) - Unclear whether I should use the archetype outside Eclipse and import or if I should use the project wizard - Should the generated-source/gwt folder be on the JRE path? Under Eclipse, performing a Maven-Update Configuration does not include this. - The archetype application does not compile or run properly out of the box - The building workspace process is often very slow even on a high performance machine (can take minutes) - Can't use the Run As--Web Application without tweaking the Run Configuration - ... Do others experience similar difficulties and is there a comprehensive guide somewhere to make this work out of the box, without having to tweak settings or spending lots of time looking for work around on Google? Would upgrading to the latest Eclipse help? Any help suggestion would be appreciated. thanks *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To post to this group, send email to google-web-toolkit@googlegroups.com. Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
AdSense without iframe
I've been looking for an easy way to include an AdSense DIV in my GWT app without using an iframe and my current approach is as follows: (1) In the application host page (i.e. application.html), I include the standard adsense boiler code and put a @id on the wrapping div like: div id=adsense script type=text/javascript!-- google_ad_client = xx-xxx-; /* OpenDDI 468x60 */ google_ad_slot = xx; google_ad_width = 468; google_ad_height = 60; //-- /script script type=text/javascript src= http://pagead2.googlesyndication.com/pagead/show_ads.js; /script /div (2) To integrate this as a Widget in the GWT application (for example in the header), I rewrap it in an HTML widget that I can then position/control at will: Element adsense = RootPanel.get(adsense).getElement(); HTML adsenseWrapper = HTML.wrap(adsense); Can someone feedback on - whether this complies with Google policies (as it is not wrapped in an iframe and essentially loads when the application page loads)? - would there be any way to rotate the app by calling the embedded javascript (likewise in compliance with policies)? thanks *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/OxnNegvVBFkJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Apache Proxy 500 error or RPC serialization
I'm trying to proxy a GWT app running on my local Tomcat server through Apache use AJP but am getting 500 errors during RPC calls. I simply have a standard entry in my httpd.conf file: Location /user/ ProxyPass ajp://localhost:9009/openmetadata-www-user-gwt/ /Location When I run the app directly on http://localhost:9090/openmetadata-www-user-gwt/ I have no problem, but when I go through the proxy, I can see the RPC call go through but then getting serialization errors while returning objects: SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'org.openmetadata.www.user.client.UserServiceException' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized.: instance = org.openmetadata.www.user.client.UserServiceException: User not found Tried with http proxy (and on standard ports) but same issue. Seem like an RPC serialization policy problem but not sure what to do. Any suggestion would be appreciated. best *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/Riz4QVHEzDoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: Apache Proxy 500 error or RPC serialization
The source of the problem seem to come from the fact that the proxy site URL is different from the GWT app URL. This is discussed and nicely documented in https://groups.google.com/forum/?fromgroups#!searchin/google-web-toolkit/proxypass$20serialization/google-web-toolkit/3wE9yWLMJo4/Mebd0XgW1EIJ (thanks to the authors for this!) The following proxy setting works properly as the URL are the same: Location /openmetadata-www-user-gwt/ ProxyPass ajp://localhost:9009/openmetadata-www-user-gwt/ /Location In my case, I can rename the underlying GWT app on tomcat so that should solved the issue. The post above provide excellent alternate solutions. best *K On Wednesday, 2 May 2012 03:56:10 UTC-4, Kulnor wrote: I'm trying to proxy a GWT app running on my local Tomcat server through Apache use AJP but am getting 500 errors during RPC calls. I simply have a standard entry in my httpd.conf file: Location /user/ ProxyPass ajp://localhost:9009/openmetadata-www-user-gwt/ /Location When I run the app directly on http://localhost:9090/openmetadata-www-user-gwt/ I have no problem, but when I go through the proxy, I can see the RPC call go through but then getting serialization errors while returning objects: SEVERE: Exception while dispatching incoming RPC call com.google.gwt.user.client.rpc.SerializationException: Type 'org.openmetadata.www.user.client.UserServiceException' was not assignable to 'com.google.gwt.user.client.rpc.IsSerializable' and did not have a custom field serializer.For security purposes, this type will not be serialized.: instance = org.openmetadata.www.user.client.UserServiceException: User not found Tried with http proxy (and on standard ports) but same issue. Seem like an RPC serialization policy problem but not sure what to do. Any suggestion would be appreciated. best *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/x4UkyaMTieQJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
LoadTimeWeaver using embedded jetty
Trying to run a GWT application that uses Spring Data JPA server side and therefore needs a loadTimeWeaver. I'm adding the following to my Eclipse Run Configuration for the Web Application -javaagent:/Library/Java/spring-framework-3.0.5.RELEASE/dist/org.springframework.instrument-3.0.5.RELEASE.jar org.openmetadata.www.user.User but this somehow always gets deleted/removed Any suggestion as how to enable loadTimeWeaver with the embedded Jetty server? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/ZA9giWwgjdoJ. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Tree item height?
Been struggling for a few hours trying to change the Tree item row heights. I can alter the TreeItem height using Java or CSS but the children level never offset properly. See for example a tree with item height set to 20px and first node expanded: http://screencast.com/t/rX1t8RO0Lst5 Any suggestion would be appreciated *K -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.