GWT 2.4.0 uses different serialization policies in maven-hosted-mode and eclipse-hosted-mode?

2014-01-10 Thread Christian Senk
Heyo, It seems that I encountered a strange behaviour but before I start here the prerequisites: GWT 2.4.0 Maven 3.0.3 gwt-maven-plugin 2.4.0 eclipse Kepler Service Release 1 GPE 3.4.2.v201310081834-rel-r43 The application is hosted in an external tomcat and I'm trying to debug. If I'm

Re: GWT v2.4.0 Welcome Page in Hosted Mode AsyncCallback throws ClientSerializationStreamReader

2013-12-10 Thread Deepak Kumar Mallapu
Thanks Jerry. It really helped me to resolve my issue. - Deepak On Wednesday, 7 November 2012 06:37:52 UTC+5:30, Jerry George wrote: I checked the libraries in build path, I had two versions of GWT on it. That was the reason for the error. The pom was coded right. Library Stack: GXT 2.2.5

Re: Problems using JavaMail within hosted mode in Eclipse

2013-10-09 Thread Fatheranderson Ffather
Hello i faced with problem: javax.mail.NoSuchProviderException: smtp at javax.mail.Session.getService(Session.java:798) under running application in hosted mode. Can you give advise to me on fix this issue? but I cant understand how to add special

Re: Problems using JavaMail within hosted mode in Eclipse

2013-10-09 Thread Ari Luoma
Sorry, but I haven't used Maven and can't help you with that. -- 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

Re: GWT Hosted Mode With Sub Projects

2012-12-03 Thread Callist
So I added the source for the sub project and I am still receiving the same error - any ideas? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: GWT Hosted Mode With Sub Projects

2012-12-03 Thread Jens
I have - app (inherits common) - common and the run configuration for running App's DevMode contains the following User Entries: - src - /app/ - src - /common/ - app (the eclipse project) If you have super-source folders and/or generated-source folders (e.g. result of annotation processing)

Re: GWT Hosted Mode With Sub Projects

2012-12-03 Thread Callist
Ah, I thought I was adding the src to the right location.. however upon seeing your diagram it became more apparent. I finally have it working - thank you very much! On Monday, 3 December 2012 09:42:07 UTC, Jens wrote: I have - app (inherits common) - common and the run configuration for

Re: GWT Hosted Mode With Sub Projects

2012-11-30 Thread Callist
How would I do this in eclipse? On Wednesday, 28 November 2012 17:17:12 UTC, Jens wrote: Your sub project contains GWT modules that you inherit in your main app so the GWT compiler can actually see the source of your sub project? Is your classpath for hosted mode correct? It should contain

GWT Hosted Mode With Sub Projects

2012-11-28 Thread Callist
Hi, How do I run GWT in hosted mode in a project which inherits from another project? I get errors saying that the classes in the second project cannot be found and may need to be inherited. It works perfectly fine our of hosted mode though - any ideas? P.S - I am not using maven. Thanks

Re: GWT Hosted Mode With Sub Projects

2012-11-28 Thread Jens
Your sub project contains GWT modules that you inherit in your main app so the GWT compiler can actually see the source of your sub project? Is your classpath for hosted mode correct? It should contain classes and sources (and resources like *.gwt.xml if you have them in a separate folder

Re: How to tell if a servlet is running in hosted mode?

2012-11-16 Thread Jens
As the server has no idea in which mode the client runs, the client has to tell it the server. The default RpcRequestBuilder adds the header x-gwt-permutation to server requests to prevent CSRF attacks. It contains the permutation name in production mode and HostedMode when running DevMode. So

How to tell if a servlet is running in hosted mode?

2012-11-15 Thread Nano Elefant
Hello, Is there a reliable way to determine if a servlet is running in hosted mode or on a production server (for example from compiled code)? GWT.isScript() and GWT.isProdMode() can't be used on the server side. So there must be an other way... -- You received this message because you

GWT v2.4.0 Welcome Page in Hosted Mode AsyncCallback throws ClientSerializationStreamReader

2012-11-06 Thread Jerry George
Hi, I get the following error, com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.eval(Ljava/lang/String;)Lcom/google/gwt/core/client/JavaScriptObject; I am not sure how to trace this error. I am pretty new to GWT. *POM Dependency * dependency groupIdcom.google.gwt/groupId

Re: GWT v2.4.0 Welcome Page in Hosted Mode AsyncCallback throws ClientSerializationStreamReader

2012-11-06 Thread Jerry George
I checked the libraries in build path, I had two versions of GWT on it. That was the reason for the error. The pom was coded right. Library Stack: GXT 2.2.5 with GWT 2.5.0. Works perfect .. till now ;) *Solution:* Changed ${gwtVersion} = 2.5.0 and removed unnecessary libraries from build

Replace Jetty with Resin in Eclipse hosted mode

2012-10-18 Thread Carl Whalley
Anyone had success with this? I can add the resin server, but when I try to add the gwt project to it I just get There are no resources that can be added to the server. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

Re: Replace Jetty with Resin in Eclipse hosted mode

2012-10-18 Thread Senyuan, Wang
you could run the GWT project with external server; On Friday, October 19, 2012 4:56:19 AM UTC+8, Carl Whalley wrote: Anyone had success with this? I can add the resin server, but when I try to add the gwt project to it I just get There are no resources that can be added to the server. --

Re: Problems using JavaMail within hosted mode in Eclipse

2012-09-25 Thread Ari Luoma
Hi, I am running to the same issue. Have you found solution for this? -Ari -- 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/-/O9etU2hkeNMJ. To

Re: java.lang.NoClassDefFoundError: com/google/gwt/core/client/JavaScriptObject in hosted mode (only)

2012-09-25 Thread Arturs Elksnis
. On Monday, February 13, 2012 2:58:16 AM UTC, Mark wrote: I have been developing an app of several thousand lines that has worked great for weeks.All of a sudden yesterday it stopped loading in hosted mode (eclipse Indigo, chrome 16.0.912.77, GWT 2.4.0, Google plugin 3.7) . As described below

Re: Hibernate ClassCastException in GWT hosted mode only

2012-09-25 Thread Meng
You helped me .thanks so muck. 在 2012年5月25日星期五UTC+8下午9时44分02秒,federevo写道: Hi all, here the procedure to apply the patch while 4.1.4 is not relased. 1. create a source folder (ie: src_patch) in your eclipse project 2. create the package org.hibernate.service.classloading.internal; 3.

Re: Problems using JavaMail within hosted mode in Eclipse

2012-09-25 Thread Ari Luoma
Hi, I was having the same problem and found solution. 1. Go to Run configurations. 2. Classpath 3. Add mail.jar from your WEB-INF\lib to the Bootstrap entries 4. Make it first. Thats it. If that doesn't help, also try to add activation.jar. -Ari Luoma torstai, 21. kesäkuuta 2012 13.39.39

Loading applet in GWT 1.5.3 hosted mode

2012-07-10 Thread niconic
I would like to load an applet in GWT 1.5.3 hosted mode, i.e. the applet must be loaded by the shell. Is it possible? -- 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

GWT works fine in hosted mode but fails to deploy

2012-07-10 Thread David Courté
Hi everybody, I'am actually working in an GWT 2.3 application with GWT-Ext 2.2.5. The application works fine in hosted mode, the compilation is okay but when I deploy it on a Tomcat server, there ares loads of problems : - An error message appears : Should only call onDetach when the widget

Problems using JavaMail within hosted mode in Eclipse

2012-06-21 Thread Ryan McFall
In trying to configure an SMTPAppender for use with log4j so that error reports on the server can be emailed out, I ran into difficulties getting JavaMail to work correctly. I found many posts indicating that the problem is either: 1. multiple copies of the JavaMail classes in the

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-25 Thread norandom
Hi all, here the procedure to apply the patch while 4.1.4 is not relased. 1. create a source folder (ie: src_patch) in your eclipse project 2. create the package org.hibernate.service.classloading.internal; 3. copy the patched source file ClassLoaderServiceImpl.java (attached) in the package

NullPointerException in generated PlaceHistoryMapperImpl (with factory)- how/when to setFactory (Problem only in hosted mode)

2012-05-22 Thread tanteanni
factory is null What is going wrong here? One probably important thing: This problem is only (re)producible in hosted mode. If app is deployed it works fine! -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web

Re: NullPointerException in generated PlaceHistoryMapperImpl (with factory)- how/when to setFactory (Problem only in hosted mode)

2012-05-22 Thread Thomas Broyer
PrefixAndToken(ContentMenu, factory.contentMenuPlace().getToken(place)); because factory is null What is going wrong here? One probably important thing: This problem is only (re)producible in hosted mode. If app is deployed it works fine! Are you sure you're having the same AppPlaceHistoryMapper

Re: NullPointerException in generated PlaceHistoryMapperImpl (with factory)- how/when to setFactory (Problem only in hosted mode)

2012-05-22 Thread Thomas Broyer
On Tuesday, May 22, 2012 11:41:14 AM UTC+2, tanteanni wrote: thx thomas for fast reply, the problem is indeed that two instances are created one PlaceHistoryMapperWithFactoryTokenizerFactory instance and one instances where constructors inject AppPlaceHistoryMapper (this one has null

Re: NullPointerException in generated PlaceHistoryMapperImpl (with factory)- how/when to setFactory (Problem only in hosted mode)

2012-05-22 Thread tanteanni
thx! it works On Tuesday, 22 May 2012 11:58:39 UTC+2, Thomas Broyer wrote: On Tuesday, May 22, 2012 11:41:14 AM UTC+2, tanteanni wrote: thx thomas for fast reply, the problem is indeed that two instances are created one PlaceHistoryMapperWithFactoryTokenizerFactory instance and one

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-18 Thread Christopher Tarento
Has somebody found a way to try the patch described here https://hibernate.onjira.com/browse/HHH-7084 ? Le mardi 1 mai 2012 18:42:18 UTC+2, AK a écrit : Same question, as it has been almost 2 months. Any word on ways to get this to work without downgrading hibernate? -- You received this

Re: Hibernate ClassCastException in GWT hosted mode only

2012-05-02 Thread AK
Same question, as it has been almost 2 months. Any word on ways to get this to work without downgrading hibernate? -- 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

JSNI differences between hosted mode + production

2012-04-20 Thread marklar
Hi, I'm running into an issue with JSNI that I was hoping someone could help me with. I am using an external JS file to generate QR codes and it works great when running from the development server in Eclipse. When I push it to my 'production' server, however, it fails to find the function I

Re: JSNI differences between hosted mode + production

2012-04-20 Thread Alfredo Quiroga-Villamil
Hi Marklar: The first test I would do, to really validate The JS file is loading correctly is to go to the deployed instance and:d - Fire up the browser. - Open the console (firebug, chrome dev tools, etc..) - Go to the console, attempt to find the function (JS) you are trying to get to from

Re: JSNI differences between hosted mode + production

2012-04-20 Thread Qian Qiao
On Thu, Apr 12, 2012 at 21:06, marklar ddil...@gmail.com wrote: Hi, I'm running into an issue with JSNI that I was hoping someone could help me with. I am using an external JS file to generate QR codes and it works great when running from the development server in Eclipse. When I push it to

Re: GWT Hosted mode with SSL enabled

2012-03-29 Thread Peter Leong
Thanks, this was just what I needed although I added a property to the pom.xml... properties *gwt.server:ssl/gwt.server* /properties -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Defining a Jetty realm in hosted mode

2012-03-22 Thread TimD
Your jetty-web.xml is the same as mine, apart from missing the contextPath and war definitions. If I remove these I still get the same problem. On Wednesday, March 21, 2012 7:24:36 PM UTC, Paul Stockley wrote: Create a jetty-web.xml file under your war/WEB-INF folder Mine is defined as

Re: Defining a Jetty realm in hosted mode

2012-03-21 Thread Paul Stockley
Create a jetty-web.xml file under your war/WEB-INF folder Mine is defined as follows ?xml version=1.0? !DOCTYPE Configure PUBLIC -//Mort Bay Consulting//DTD Configure//EN http://jetty.mortbay.org/configure.dtd; Configure class=org.mortbay.jetty.webapp.WebAppContext Get

Re: Defining a Jetty realm in hosted mode

2012-03-18 Thread TimD
web.xml I get the following warning when I launch my app: Starting Jetty on port [WARN] Unknown realm: myRealm It would be nice to have basic authentication working in hosted mode. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group

Re: Defining a Jetty realm in hosted mode

2012-03-18 Thread TimD
Sorry, that Jetty warning should have read: Starting Jetty on port [WARN] Unknown realm: Default -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit

Re: Defining a Jetty realm in hosted mode

2012-03-18 Thread TimD
web.xml I get the following warning when I launch my app: Starting Jetty on port [WARN] Unknown realm: Default It would be nice to have basic authentication working in hosted mode. On Friday, March 16, 2012 1:38:43 PM UTC, TimD wrote: I am using GWT 2.5.1 in Eclipse Indigo. I am trying

Re: Defining a Jetty realm in hosted mode

2012-03-18 Thread TimD
the following warning when I launch my app: Starting Jetty on port [WARN] Unknown realm: Default It would be nice to have basic authentication working in hosted mode. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Defining a Jetty realm in hosted mode

2012-03-17 Thread Patrick Tucker
Did you tell it which files are protected? This also goes in the web.xml -- 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/-/0CJaUmgcDl0J. To post

Defining a Jetty realm in hosted mode

2012-03-16 Thread TimD
I am using GWT 2.5.1 in Eclipse Indigo. I am trying to configure basic authentication in hosted mode and I'm running into the following warning when I launch my app: Starting Jetty on port [WARN] Unknown realm: myRealm When I try to access the app URL I get: HTTP ERROR: 404 NOT_FOUND

Re: Hibernate ClassCastException in GWT hosted mode only

2012-03-08 Thread Lukasz Plotnicki
Does anybody know a workaround (other then rollback to and old hibernate version) for this issue? Am Montag, 20. Februar 2012 07:58:57 UTC+1 schrieb Artem V. Navrotskiy: This is Hibernate 4.0.0+ bug: https://hibernate.onjira.com/browse/HHH-7084 -- You received this message because you are

Re: Hibernate ClassCastException in GWT hosted mode only

2012-02-19 Thread Artem V . Navrotskiy
This is Hibernate 4.0.0+ bug: https://hibernate.onjira.com/browse/HHH-7084 -- 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

java.lang.NoClassDefFoundError: com/google/gwt/core/client/JavaScriptObject in hosted mode (only)

2012-02-13 Thread Mark
I have been developing an app of several thousand lines that has worked great for weeks.All of a sudden yesterday it stopped loading in hosted mode (eclipse Indigo, chrome 16.0.912.77, GWT 2.4.0, Google plugin 3.7) . As described below, the problem is inherits name

how to use JNDI datasource in gwt 2.4 hosted mode?

2012-02-08 Thread tong123123
I try to use JNDI datasource in gwt 2.4 hosted mode as follow; Context ctx = new InitialContext(); ctx.bind(jdbc/ALS, ds); but then javax.naming.NoInitialContextException is thrown. the error message is need to specify class name in environment or system property, or as an applet parameter

Re: how to use JNDI datasource in gwt 2.4 hosted mode?

2012-02-08 Thread Rob
Hi, This post might help: - http://groups.google.com/group/google-web-toolkit/browse_thread/thread/ca34b53713d1aa36 And try googling gwt jndi hosted mode. Cheers Rob http://code.google.com/p/gwt-cx/ On Feb 8, 9:37 pm, tong123123 tong123...@gmail.com wrote: I try to use JNDI datasource

Re: Automatic compiling in Hosted Mode

2012-01-29 Thread Thomas Broyer
On Friday, January 27, 2012 3:30:59 PM UTC+1, Janko Ulaga wrote: So, when i run my fully deployed app, everything works. DEV mode does not work. This is my debug config. arguments line: -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -logLevel INFO - codeServerPort 9997 -war

Re: Automatic compiling in Hosted Mode

2012-01-27 Thread Janko Ulaga
Adolfo Panizo Touzon adolfo.panizo@... writes: Hi everybody, I succeeded the step deploy my GWT app to an external server (in my case WebSphere). This step is easy (here). Now, I'm trying to compile automatically the app (on fly)  to avoid the slow process of compilation (because

Automatic compiling in Hosted Mode

2012-01-04 Thread Adolfo Panizo Touzon
Hi everybody, I succeeded the step deploy my GWT app to an external server (in my case WebSphere). This step is easy (herehttp://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's ). Now, I'm trying to compile

Re: Automatic compiling in Hosted Mode

2012-01-04 Thread Galache
AFAIK, you can´t do that. For deploy your GWT app in an external server you need to compile it. GWT Dev mode doesn´t generate the permutations. On 4 ene, 12:06, Adolfo Panizo Touzon adolfo.pan...@gmail.com wrote: Hi everybody, I succeeded the step deploy my GWT app to an external server (in my

Re: GWT Hosted mode with SSL enabled

2011-12-22 Thread Nemanja Vukosavljevic
The second proposition worked as a charm. Thanks -- 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/-/mCaEgo0mBjoJ. To post to this group, send email

GWT Hosted mode with SSL enabled

2011-12-21 Thread Nemanja Vukosavljevic
Hi to all, I'm fairly a beginner in GWT and Maven and I did try to find the answer to the this problem in the archive but didn't succeed. So I have the following problem. I've developed a GWT (ver 2.4) application coupled with Spring Framework and Maven as a build tool and for the sake of

Re: GWT Hosted mode with SSL enabled

2011-12-21 Thread Thomas Broyer
Try server:ssl/server or -Dgwt.server=:ssl http://mojo.codehaus.org/gwt-maven-plugin/run-mojo.html#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

hosted mode with netbeans

2011-12-12 Thread András Csányi
Dear All, I'm struggling with these IDEs and I fed up a little bit with them, to be honest. I faced the linked issue with Netbeans. Does anybody have any idea what could be the problem and what should I do to solve it? http://forums.netbeans.org/post-121061.html Thank you very much for any help

Re: hosted mode with netbeans

2011-12-12 Thread kim young ill
use maven (mvn gwt:run) On Mon, Dec 12, 2011 at 10:18 AM, András Csányi sayusi.a...@gmail.comwrote: Dear All, I'm struggling with these IDEs and I fed up a little bit with them, to be honest. I faced the linked issue with Netbeans. Does anybody have any idea what could be the problem and

Re: hosted mode with netbeans

2011-12-12 Thread András Csányi
On 12 December 2011 13:40, kim young ill khi...@googlemail.com wrote: use maven (mvn gwt:run) The result is the same. But, I build a new project from scratch and that is working fine. After I finished my job I'm going to home and try to figure out what is the root cause. -- - - --  Csanyi

Re: hosted mode with netbeans

2011-12-12 Thread András Csányi
to home and try to figure out what is the root cause. Could be the issue that if my gwt application has dependencies to other projects? These dependencies are managed by maven. If I start gwt hosted mode by maven (mvn gwt:run) I get the same error I posted my first letter. If I start a project (created

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-21 Thread Alexander Lochschmied
Juan that was a big help. Finally it seems to work with downgraded Hibernate (3.6.3) and additional dependencies: dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId !--version1.0.0.GA/version-- version${javax-validation.version}/version scopeprovided/scope /dependency

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-21 Thread Juan Pablo Gardella
:) 2011/11/21 Alexander Lochschmied alexander.lochschm...@gmail.com Juan that was a big help. Finally it seems to work with downgraded Hibernate (3.6.3) and additional dependencies: dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId !--version1.0.0.GA/version--

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-19 Thread jett
I'm facing the same issue and was suspecting a class loading issue. I thought I was inviting trouble when I would place the same Hibernate annotated class in both the server side code and the GWT client side, but until upgrading GWT 2.0 to GWT 2.4, I did not experience this ClassCastException

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Alexander Lochschmied
It only becomes: Caused by: java.lang.ClassCastException: org.hibernate.dialect.MySQL5Dialect cannot be cast to org.hibernate.dialect.Dialect We haven playing with those JARs as there may be incompatibilities (JPA 1 vs 2) I think. Currently we do *not *reference them

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Alexander Lochschmied
Sorry for the typo; wanted to say: We have been playing ... -- 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/-/MDrIMjRfHUwJ. To post to this group,

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Juan Pablo Gardella
I have a sample that use hibernate 3.6.x and run inside jetty here: https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home Check the pom.xml. If you can't resolve the issue tell me. Juan 2011/11/18 Alexander Lochschmied alexander.lochschm...@gmail.com It only becomes: Caused by:

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread kebatshotse setimela
i cannot solve it On 11/18/11, Juan Pablo Gardella gardellajuanpa...@gmail.com wrote: I have a sample that use hibernate 3.6.x and run inside jetty here: https://bitbucket.org/gardellajuanpablo/gwt-sample/wiki/Home Check the pom.xml. If you can't resolve the issue tell me. Juan

Re: Hibernate ClassCastException in GWT hosted mode only

2011-11-18 Thread Thomas Broyer
On Friday, November 18, 2011 2:21:33 PM UTC+1, Alexander Lochschmied wrote: It only becomes: Caused by: java.lang.ClassCastException: org.hibernate.dialect.MySQL5Dialect cannot be cast to org.hibernate.dialect.Dialect We haven playing with those JARs as there may be incompatibilities

Hosted mode memory leaks - am I missing something?

2011-11-08 Thread Mark Allerton
Hi, I'm sure I'm not the only person who has ever thought that it might be possible to use Java-based heap profiling tools to look for memory leaks in GWT-based applications, but in practice this has turned out to be a little frustrating because at least based on my naive interpretation, Hosted

Hosted Mode Exception when returning an Object from Server to Client

2011-10-18 Thread coffeMan
I am reading in a file, parsing it on the server, then storing data into an object. I then pass the object back to the client, but i keep getting an error: com.google.gwt.dev.shell.HostedModeException: Something other than an int was returned from JSNI method

Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
view (login page) and the initial code is downloaded 2. The next piece of code is executed if login is successful. This is defined within the GWT.runAsyn(..) call. The issue is that it works perfectly in hosted mode. But when I launch it within the browser without hosted mode, the panel

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Jens
The only difference between hosted and web mode is that in hosted mode GWT.runAsync() acts synchronously. A code like: void onLoginSuccessful() { doBeforeAppStart(); GWT.runAsync( // load app and start app in onSuccess() ) doAfterAppStart(); } will behave differently in hosted and web

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Kevin Jordan
Yeah, in hosted mode it just goes directly into the onSuccess callback whereas in web mode it has to download the piece of javascript needed for that point and so that requires it to do it asynchronously which means anything else inside your function where you call runAsync will be executed while

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
Thanks guys, I am going to give that a shot tonight! On Oct 13, 2:59 pm, Kevin Jordan ke...@kjordan.net wrote: Yeah, in hosted mode it just goes directly into the onSuccess callback whereas in web mode it has to download the piece of javascript needed for that point and so that requires

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Salman Hemani
, Kevin Jordan ke...@kjordan.net wrote: Yeah, in hosted mode it just goes directly into the onSuccess callback whereas in web mode it has to download the piece of javascript needed for that point and so that requires it to do it asynchronously which means anything else inside your

Re: Code Splitting / GWT.runAsync (Web mode vs. Hosted Mode)

2011-10-13 Thread Yurgis
feature of the compiler. On 10/13/11, Salman Hemani salman.hem...@gmail.com wrote: Thanks guys, I am going to give that a shot tonight! On Oct 13, 2:59 pm, Kevin Jordan ke...@kjordan.net wrote: Yeah, in hosted mode it just goes directly into the onSuccess callback whereas in web mode it has

Re: Stange error with Chrome hosted mode

2011-10-05 Thread Jens
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError): Object [object Object] has no method 'push' and at com.gwtext.client.widgets.Container.addPreCreate(Container.java) at com.gwtext.client.widgets.Container.add(Container.java:202) at

Re: Stange error with Chrome hosted mode

2011-10-05 Thread mjfan80
Maybe, but the fact is that 1: GWT-EXT is an old library, not maintened anymore 2: with Firefox and IE, also in hosted mode, i don't have any problem... either with chrome in web mode. I have this error only with chrome and hosted mode -- You received this message because you are subscribed

Re: [gwt-contrib] Re: Hosted mode without plugin

2011-10-04 Thread Ray Cromwell
We've considered it, but all of the benefit of DevMode (avoiding recompile) goes out the window. If you change code, you have to recompile, so the whole edit-refresh cycle takes a lot longer. If you really just want source-level debugging of compiled GWT apps, this can be done with SourceMaps:

Re: [gwt-contrib] Hosted mode without plugin

2011-10-04 Thread Ray Cromwell
And doing continuation transformations for loop constructs is extra difficult. One possibility is to just use Rhino/HtmlUnit for everything and proxy all browser API calls, not to an emulated DOM, but do C++ DOM IDL bindings. This is sort of like Python-WebKit/Pyjamas. So we don't emulate the

Re: [gwt-contrib] Re: Hosted mode without plugin

2011-10-04 Thread Eric Ridge
Do you actually use DevMode? :) It's really slow as it is, especially if you make heavy use of RPC. Granted, it's orders of magnitude faster than doing even a -draftCompile, but the benefit starts to wear away the more frequently you have to hit F5. And the general plugin problem is pretty big

[gwt-contrib] Re: Hosted mode without plugin

2011-10-03 Thread Tomasz Gawel
Fresh idea. and what about implementing debugger in an applet? :) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

Re: [gwt-contrib] Re: Hosted mode without plugin

2011-10-03 Thread Eric Ridge
Not real fresh, but still edible... I send the below to the google-web-tool...@googlegroups.com list last week, but I can't find a link to it via groups.google.com. Maybe it got held for moderation? eric --- Anyways, I think it's entirely possible. Here's the solution -- ditch the

how to prevent hosted mode on external production servers?

2011-09-20 Thread Stevko
Could it be as simple as removing the hosted.html file from the deployment? -- 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

[gwt-contrib] Hosted mode without plugin

2011-09-15 Thread Marcin Wiśnicki
Would it be technically possible to implement hosted mode without using browser plugin ? I'm thinking about sending messages straight from JavaScript over XHR/ Comet/WebSocket to embedded Jetty server and interacting with JS engine using eval(). Is there something that would be impossible

Re: [gwt-contrib] Hosted mode without plugin

2011-09-15 Thread John Tamplin
On Tue, Sep 13, 2011 at 9:06 AM, Marcin Wiśnicki mwisni...@gmail.comwrote: Would it be technically possible to implement hosted mode without using browser plugin ? I'm thinking about sending messages straight from JavaScript over XHR/ Comet/WebSocket to embedded Jetty server and interacting

Re: [gwt-contrib] Hosted mode without plugin

2011-09-15 Thread Marcin Wiśnicki
On Thu, Sep 15, 2011 at 20:19, John Tamplin j...@google.com wrote: The problem is you have to block the executing JS while it makes a synchronous call to the Java code executing in the code server. As you can't allow execution to return to the browser event loop, I don't see how you could

Re: [gwt-contrib] Hosted mode without plugin

2011-09-15 Thread John Tamplin
On Thu, Sep 15, 2011 at 2:44 PM, Marcin Wiśnicki mwisni...@gmail.comwrote: Is this blocking strictly necessary or would it suffice to simulate it with continuation passing ? The problem is the original call site is written as a blocking call, and ultimately may have originated from Java. Ie:

Re: Hosted mode issues

2011-09-10 Thread Vrushali Patil
Hi, I went through the link but I am not able to resolve my issue. Can you give me a example. I am new with Java Programming. But following through the link also I am getting errors. I copied the war folder from workspace to C:\apache-tomcat\webapps\tutorialDemo1 and for arguments in Run

Re: Hosted mode issues

2011-09-10 Thread S3S团队-团长
I'm sorry, I am a Chinese, I'm not very English -- Original -- From: Vrushali Patilvrush.iit...@gmail.com; Date: Sat, Sep 10, 2011 11:45 PM To: google-web-toolkitgoogle-web-toolkit@googlegroups.com; Subject: Re: Hosted mode issues Hi, I went

Re: Hosted mode issues

2011-09-10 Thread Thomas Broyer
You can then open http://localhost:8080/tutorialDemo1/TutorialDemo1.html?gwt.codesvr=127.0.0.1:9997 in your browser to start running in DevMode. But if you change -startupUrl Tutorialdemo1.html to -startupUrl http://localhost:8080/tutorialDemo1/TutorialDemo1.html;, then DevMode will propose

Re: Hosted mode issues

2011-09-10 Thread Vrushali Patil
Thanks alot. My application is running properly in apache Tomcat. Vrushali On Sun, Sep 11, 2011 at 2:09 AM, Thomas Broyer t.bro...@gmail.com wrote: You can then open http://localhost:8080/tutorialDemo1/TutorialDemo1.html?gwt.codesvr=127.0.0.1:9997in your browser to start running in DevMode.

Hosted mode issues

2011-09-09 Thread Vrushali Patil
Hi I want to use GWT hostel mode so I can access other URL's using sendRequest() without any issues. I searched all the earlier posts and couldn't get the right solution for how to use hosted mode or edit the Program Arguments or VM arguments. Following code I have put in Program Arguments: -port

Re: Hosted mode issues

2011-09-09 Thread Thomas Broyer
Are you looking for this? http://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html#How_do_I_use_my_own_server_in_development_mode_instead_of_GWT's -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this

NoClassDefFoundError on Tomcat versus Hosted Mode with Jetty

2011-09-06 Thread Samuel
I have identical code that throws a NoClassDefFoundError when executing on Tomcat versus works fine with Hosted Mode with Jetty. The exception is: ERROR ajp-8009-3 org.apache.catalina.core.ContainerBase.[Catalina]. [localhost].[/GSSCalendar] - Exception while dispatching incoming RPC call

Hosted mode on Mac broken

2011-09-05 Thread Joe Schmoe
I have previously been able to use hosted mode perfectly for a long time. Then, a while ago I did some kind of update, maybe of Eclipse, and now it doesn't work any more. I keep getting the message Development Mode requires the Google Web Toolkit Developer Plugin No matter how many times I

Aw: Hosted mode on Mac broken

2011-09-05 Thread Jens
Currently there is no GWT Plugin for Safari 5.1. You have to use Safari 5.0.5 or some other browser. See: https://groups.google.com/d/topic/google-web-toolkit/uIJ5VqmxO_s/discussion -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view

Re: Hosted mode on Mac broken

2011-09-05 Thread Joe Schmoe
Thank you. That was easy. :-) Anybody know when this is expected? -- 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

Re: plugin failed to connect to hosted mode server at...

2011-08-31 Thread John Huss
You can try regenerating the jar index by running this command: jar i gwt-maps.jar -- 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/-/8_AvliNl8TcJ.

Can't read env-entry from web.xml in Hosted Mode (GWT 2.3)

2011-08-25 Thread Allen Holub
Has anyone managed to successfully read an env-entry from web.xml in Hosted Mode (using Jetty). I believe that it's actually possible, but I sure can't get it to work. If you've worked through this issue, and could provide step-by-step instructions for what I need to do, I'd be eternally

MAC OS Lion: Hosted mode compilation succeed when Service class was renamed to ServiceFoo

2011-08-18 Thread Miroslav Genov
Hello, I'm encountering strange issue when using GWT 2.4 RC1. When I compile my app (from Intellij IDEA) the code is compiled to JS and everything is working like a charm. The problem occurs when I try to use the hosted mode browser. Here is the error that is printed in the hosted mode console

Re: MAC OS Lion: Hosted mode compilation succeed when Service class was renamed to ServiceFoo

2011-08-18 Thread Miroslav Genov
ops, forgot to mention the distribution name - ubuntu -- 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/-/CKRHWeTeevkJ. To post to this group, send

  1   2   3   4   5   6   7   8   9   10   >