You don't need to specify the noserver argument (unchecking the "Run
built-in server" checkbox is enough).

Would you mind posting
your workspace/.metadata/.plugins/org.eclipse.debug.core/.launches/<your
app>.launch file?

On Sun, Jan 3, 2010 at 9:51 PM, markww <mar...@gmail.com> wrote:

> Hi,
>
> I just started using gwt 2.0 with eclipse 3.5, and am also having
> trouble getting -noserver to work now (had it working ok in previous
> gwt versions).
>
> I compiled my app once, put all my files on my remote web server,
> example:
>
>  http://www.mywebsite.com/test/MyProject.html
>  .. etc ..
>
> in eclipse, under run configurations, I set the following for my
> project:
>
>  Main:
>     embedded server (un-checked "run embedded server").
>  Arguments
>     -noserver -startupUrl "http://www.mywebsite.com/test/
> MyProject.html"
>
> I then run the app - it looks like two instances of the app are
> launched:
>
>  http://www.mywebsite.com/test/MyProject.html?gwt.codesvr=192.168.1.2:9997
>  http://www.mywebsite.com/test/MyProject.html?gwt.codesvr=192.168.1.2:-1
>
> the first address appears to work ok, but looks like gwt tries to
> immediately launch a second instance, resulting in an exception
> explaining that port 9997 is already in use - which it is - from the
> first instance it launched.
>
> so the second url is unusable, it does not load any javascript. The
> first url at port 9997 works ok. I can get by with this, but am
> wondering if I messed something else up along the way to make gwt try
> launching two instances like this? This is on a brand new machine with
> a fresh eclipse / gwt install from January 2, 2010,
>
> Thanks
>
> On Dec 14 2009, 9:29 am, Christian Goudreau
> <goudreau.christ...@gmail.com> wrote:
> > Thanks a lot ! Didn't know the arguments I needed, except for -noserver,
> but
> > I knew it was the way ! I'll try this tonight
> >
> > Regards
> >
> > Christian
> >
> > On Mon, Dec 14, 2009 at 1:31 AM, Jan Ehrhardt
> > <jan.ehrha...@googlemail.com>wrote:
> >
> > > If you're using the Google Plugin, create a Web Application launch
> > > configuration and add the following to parameters to the 'program
> > > arguments':
> >
> > > -noserver
> > > -startupUrlhttp://localhost:8080/test/go<
> http://www.google.com/url?sa=D&q=http://localhost:8080/test/go&usg=AF...>
> >
> > > Regards
> > > Jan Ehrhardt
> >
> > > On Mon, Dec 14, 2009 at 5:55 AM, Christian Goudreau <
> > > goudreau.christ...@gmail.com> wrote:
> >
> > >> Hello,
> >
> > >> I'm using PHP server side. I was used to GWT 1.7 and it was easy to
> use
> > >> another server than the built in server. Now how do I set up Eclipse
> to use
> > >> my PHP server instead of the default jetty ?
> >
> > >> Thanks !
> >
> > >> Christian
> >
> > >> --
> > >> 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-tool...@googlegroups.com.
> > >> To unsubscribe from this group, send email to
> > >> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com>
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-web-toolkit?hl=en.
> >
> > >  --
> > > 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-tool...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com><google-web-toolkit%2Bunsubs
> cr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
>
> 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-tool...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>

--

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-tool...@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.


Reply via email to