Run GWT 1.6.4 in hosted mode in external server

GWT Designer allows you to quickly create the modules, composites, panels, remote services and other elements that comprise Google Web Tookit applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Run GWT 1.6.4 in hosted mode in external server

Postby eoriou » Mon Jul 20, 2009 6:03 am

Hi,
I want to run GWT 1.6 application in hosted mode in external server IBM WebSphere Community Edition(Eclipse 3.4, WAS CE 2.1 and IBM JRE 1.5.0 ).
So I created this configuration for my GWT Application :
gwtdesigner.JPG
gwtdesigner.JPG (98.93 KiB) Viewed 1159 times

When I launch the application, this following error shows up : "[ERROR] Invalid module name: 'http://localhost:8080/blank2Web/HelloWorld.html'"
But If I click on "Hosted Browser" button and put directly the URL "http://localhost:8080/blank2Web/HelloWorld.html" on URL field, and it works fine ! I see the home page of the application.
What's wrong in my configuration ? I don't understand.
eoriou
 
Posts: 19
Joined: Thu May 07, 2009 7:43 am

Re: Run GWT 1.6.4 in hosted mode in external server

Postby mwarne » Wed Jul 22, 2009 5:31 pm

Hi,

I have the exact same issue.
Anyone else successfully using the -noserver option with GWT 1.6. or 1.7?

Thanks,
Mike.
mwarne
 
Posts: 4
Joined: Fri Sep 19, 2008 3:29 pm

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Thu Jul 23, 2009 6:17 am

Give this a try using the latest v7.1 build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Run GWT 1.6.4 in hosted mode in external server

Postby mwarne » Fri Jul 24, 2009 11:04 am

v7.1 -noserver works great!

Thanks Eric and all for a great tool!
Mike.
mwarne
 
Posts: 4
Joined: Fri Sep 19, 2008 3:29 pm

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Fri Jul 24, 2009 11:07 am

Glad that worked for you.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Run GWT 1.6.4 in hosted mode in external server

Postby eoriou » Mon Jul 27, 2009 1:02 am

Now, it works for me too. Thank you.
eoriou
 
Posts: 19
Joined: Thu May 07, 2009 7:43 am

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Mon Jul 27, 2009 4:59 am

Glad that worked for you too.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Run GWT 1.6.4 in hosted mode in external server

Postby rualatngua » Thu Aug 13, 2009 5:10 am

Hi all,

I have created a ImageViewer example. I run Debug mode and click to "Click me" button, window popup message show "Hello world!". Then I change code to show "Hello Rualatngua". But I click "Click me" button the message "Hello world!" still display. I must click Refresh to new message apply. What wrong with this?

There are IDE information:
1. Eclipse 3.5
2. GWT Designer 7.1
3. GWT 1.6.4
4. OS: Window

Please help me!!!
rualatngua
 
Posts: 4
Joined: Thu Aug 13, 2009 4:56 am

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Thu Aug 13, 2009 5:43 am

Do you have Eclipse Auto Build turned on?
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Run GWT 1.6.4 in hosted mode in external server

Postby rualatngua » Thu Aug 13, 2009 8:08 am

Yes I have. Ah, I miss that Java is JRE 1.6
rualatngua
 
Posts: 4
Joined: Thu Aug 13, 2009 4:56 am

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Thu Aug 13, 2009 8:39 am

I doubt that the JRE, Eclipse or GWT version would make any difference.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Run GWT 1.6.4 in hosted mode in external server

Postby rualatngua » Thu Aug 13, 2009 8:45 am

I just downgrade to GWT 1.5 and use GWT Design 6.6, that work fine!!!

I found that GWT 1.5 compile ImageView.html to com.myproject.ImageView folder. But GWT 1.6.4 compile to out of folder.
rualatngua
 
Posts: 4
Joined: Thu Aug 13, 2009 4:56 am

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Thu Aug 13, 2009 10:29 am

Where the classes are compiled to is determined by your project settings.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA

Re: Run GWT 1.6.4 in hosted mode in external server

Postby rualatngua » Sat Aug 15, 2009 4:03 pm

Eric Clayberg wrote:Where the classes are compiled to is determined by your project settings.


Sorry Eric, you are right. I miss that Build Auto is not check. Now GWT can hot deploy code. But now I have same problem "Invalid module name: 'http://localhost:8080/blank2Web/HelloWorld.html". But if I copy and patse "http://localhost:8080/blank2Web/HelloWorld.html" to hosted mode browser, the code work well.
rualatngua
 
Posts: 4
Joined: Thu Aug 13, 2009 4:56 am

Re: Run GWT 1.6.4 in hosted mode in external server

Postby Eric Clayberg » Mon Aug 17, 2009 11:30 am

Works fine for us on our end.

I just deploy the module to the server and change the launch configuration to use the "-noserver" flag and the URL that points to ModuleName.html on the server.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to GWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest