Hi, Keith.

Yes, i was wondering if that was the case.  I hope that the plugin
just includes the -noserver configuration as part of it.

The UIBinder error makes it seem like the xml code is not being
recognized by OOPHM when it's trying to run.

Thanks for getting back to me.  I hope someone can give me some help
with this.  In the meantime, I've been using the plugin in a separate
project (no Maven or special config) and running it out of jetty and
it seems to work pretty well.

Another option I have is to get things running in jetty -- are there
any tips on configuring the embedded jetty instance to support a
server -- or should I shy away from that?

I'm looking for the fastest way to get up and running and it seemed
like it was to have my app running in tomcat and run the OOPHM using
jetty with -noserver.  Any advice would be appreciated.

Brian

On Mar 11, 2:41 pm, Keith Platfoot <[email protected]> wrote:
> Brian,
>
> I think the issues you were having with adding the -noserver argument to
> your launch configuration were probably the result of a known issue with the
> Eclipse plugin 1.3 preview (check the 1.3 announcement email for details).
>  This has since been fixed, so once 1.3 final is released (probably next
> week), this particular problem should be resolved.
>
> Regarding the NoSuchFieldError exception: I have hit this same bug when
> using GWT with a Tomcat server in Eclipse for Java EE.  My solution was the
> same: moving the GWT dependencies to the top of the project's build
> classpath.  I'll investigate to see if there is something we can do to help
> prevent this problem.
>
> As for the UiBinder errors, I probably would not be of much help there.
>  I'll forward this email to someone who's more knowledgeable about the
> subject.
>
> Keith
>
> On Wed, Mar 10, 2010 at 11:39 AM, bkbonner <[email protected]>wrote:
>
> > OK, it looks like the -noserver doesn't get injected into the debug
> > configuration based on any of the GWT Toolkit settings.   I don't have
> > it working yet, but I've tried:
>
> > -remoteUI ${gwt_remote_ui_server_port}:${unique_id} -startupUrl
> >http://localhost:8080:/testproject/loganalyzer.html-logLevel INFO -
> > noserver -war C:\work\workspace-galileo\testproject\src\main\webapp
> > com.test.gwt.Application
>
> > I get:
>
> > 11:38:22.194 [ERROR] [Application] Failed to load module 'Application'
> > from user agent 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:
> > 1.9.1.8) Gecko/20100202 Firefox/3.5.8' at localhost:4767
> > java.lang.NoSuchFieldError:
> > reportUnusedDeclaredThrownExceptionIncludeDocCommentReference
> >    at
> > com.google.gwt.dev.javac.JdtCompiler.getCompilerOptions(JdtCompiler.java:
> > 310)
> >    at com.google.gwt.dev.javac.JdtCompiler
> > $CompilerImpl.<init>(JdtCompiler.java:148)
> >    at com.google.gwt.dev.javac.JdtCompiler.doCompile(JdtCompiler.java:
> > 466)
> >    at com.google.gwt.dev.javac.CompilationStateBuilder
> > $CompileMoreLater.compile(CompilationStateBuilder.java:142)
> >    at
>
> > com.google.gwt.dev.javac.CompilationStateBuilder.doBuildFrom(CompilationStateBuilder.java:
> > 281)
> >    at
>
> > com.google.gwt.dev.javac.CompilationStateBuilder.buildFrom(CompilationStateBuilder.java:
> > 182)
> >    at
> > com.google.gwt.dev.cfg.ModuleDef.getCompilationState(ModuleDef.java:
> > 280)
> >     at com.google.gwt.dev.DevModeBase
> > $UiBrowserWidgetHostImpl.createModuleSpaceHost(DevModeBase.java:99)
> >     at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
> > 180)
> >     at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> > 380)
> >    at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> > 222)
> >    at java.lang.Thread.run(Thread.java:595)
>
> > It would be nice to have an option to use existing server (which would
> > inject the -noserver option)
>
> > Also, the performance of the DebugConfiguration screen while I'm
> > typing is really slow... I suspect there is parsing going on?   I saw
> > that you have to click apply before running debug, but is there
> > anything else?
>
> > Any suggestions would be appreciated.
>
> > On Mar 10, 10:49 am, bkbonner <[email protected]> wrote:
> > > Keith,
>
> > > I'm trying to run our app using the eclipse beta plugin.   I'm not
> > > sure if I have things configured correctly.
>
> > > The tree for our app is like:
>
> > > src\main\java\com\test\gwt\App.gwt.xml
> > > src\main\java\com\test\gwt\client\Application.java
> > > ...
> > > src\main\webapp\
> > > src\main\webapp\WEB-INF
> > > src\main\webapp\WEB-INF\classes
> > > src\main\webapp\WEB-INF\lib
> > > ...
> > > src\test\java\
>
> > > The setup for the google web toolkit is:
>
> > > Web Application
> > >   X This project has a WAR directory  (checked)
> > >      WAR Directory:  src/main/webapp
> > >      [ ] Launch and deploy from this directory  (unchecked)  I've
> > > tried it checked as well
>
> > > Web Toolkit
> > >    GWT 2.0.3
>
> > > In the Debug Configuration:
>
> > > Main
> > >      Project
> > >          testproject
> > >      Main class
> > >          com.google.gwt.dev.DevMode
> > > Server
> > >      [  ] Run built-in server  (unchecked)
>
> > > GWT  (defaults)
> > >      Available Modules
> > >           Application - com.test.gwt
>
> > > Arguments
> > >     Program Arguments
> > >          -war C:\work\workspace\testproject\src\main\webapp -remoteUI $
> > > {gwt_remote_ui_server_port}:${unique_id} -logLevel INFO -noserver -
> > > startupUrlhttp://localhost:8080/testproject/index.html
> > > com.test.gwt.Application
>
> > > When I set a breakpoint in my client code... it doesn't recognize that
> > > the code is loaded.  I get this in the error console:
>
> > > Exception in thread "Code server for Application from Mozilla/5.0
> > > (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100202 Firefox/
> > > 3.5.8
> > onhttp://localhost:8080/testproject/index.html?gwt.codesvr=localhost:9997
> > > @ ;bm'fwKmW~\.LHz1" java.lang.RuntimeException:
> > > java.util.concurrent.ExecutionException:
> > > com.google.gwt.dev.shell.remoteui.MessageTransport$RequestException:
> > > java.lang.NullPointerException
> > >         at
>
> > com.google.gwt.dev.shell.remoteui.ViewerServiceClient.waitForResponse(ViewerServiceClient.java:
> > > 309)
> > >         at
>
> > com.google.gwt.dev.shell.remoteui.ViewerServiceClient.createLogger(ViewerServiceClient.java:
> > > 268)
> > >         at
>
> > com.google.gwt.dev.shell.remoteui.ViewerServiceClient.addModuleLog(ViewerServiceClient.java:
> > > 167)
> > >         at
> > > com.google.gwt.dev.shell.remoteui.RemoteUI.getModuleLogger(RemoteUI.java:
> > > 75)
> > >         at com.google.gwt.dev.DevModeBase
> > > $UiBrowserWidgetHostImpl.createModuleLogger(DevModeBase.java:85)
> > >         at
>
> > com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
> > > 173)
> > >         at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
> > > 380)
> > >         at
>
> > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
> > > 222)
> > >         at java.lang.Thread.run(Thread.java:595)
> > > Caused by: java.util.concurrent.ExecutionException:
> > > com.google.gwt.dev.shell.remoteui.MessageTransport$RequestException:
> > > java.lang.NullPointerException
> > >         at
> > java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205)
> > >         at java.util.concurrent.FutureTask.get(FutureTask.java:80)
> > >         at
>
> > com.google.gwt.dev.shell.remoteui.ViewerServiceClient.waitForResponse(ViewerServiceClient.java:
> > > 307)
> > >         ... 8 more
> > > Caused by: com.google.gwt.dev.shell.remoteui.MessageTransport
> > > $RequestException: java.lang.NullPointerException
> > >         at
>
> > com.google.gwt.dev.shell.remoteui.MessageTransport.processFailure(MessageTransport.java:
> > > 371)
> > >         at
>
> > com.google.gwt.dev.shell.remoteui.MessageTransport.processMessage(MessageTransport.java:
> > > 389)
> > >         at com.google.gwt.dev.shell.remoteui.MessageTransport.access
> > > $400(MessageTransport.java:45)
> > >         at com.google.gwt.dev.shell.remoteui.MessageTransport
> > > $2.run(MessageTransport.java:309)
> > >         ... 1 more
>
> > > I'm not sure what I'm missing here.
>
> > > Also, what does this parameter (-remoteUI ${gwt_remote_ui_server_port}:
> > > ${unique_id})  do?
>
> > > Brian
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<google-web-toolkit%[email protected]>
> > .
> > 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to