Francisco, Do you have any Swing components in your app, Francisco? Does it run at all in DevMode (OOPHM)? I have what looks like the same problem here, but my app basically works; the effects are limited to those annoying NSConditionLock error messages, and some Swing components that we use for interactive debugging don't load. The issue is described here:
http://code.google.com/p/google-web-toolkit/issues/detail?id=4378 For now, I'm running DevMode from a Terminal console instead of from Eclipse. I did this: (1) After starting DevMode from Eclipse, find the full command line that it's using: ps -ef | grep startOnFirstThread > devmode.sh (2) Edit devmode.sh so that it just contains that command line: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/ java -Xmx512m ... etc ... The trick is to remove this option, which the Eclipse plugin currently inserts automatically: -XstartOnFirstThread That option conflicts with any Swing components in your app. (3) Make the script executable: chmod +x devmode.sh (4) And run it (after killing the one started from Eclipse, of course): ./devmode.sh On Jan 17, 12:07 am, Francisco Ceruti <[email protected]> wrote: > Hi, > > I'm having serious trouble running GWT hosted mode on OS X. The > compiler works fine, the problem is just the OOPHM. I've searched for > a solution but came back empty handed. > > OS: OS X 10.5.8 > java -version: 1.5.0_22 (I've tried updating java for mac on > connect.apple.com) > GWT: 2.0 > Eclipse: 3.5 > > The error the console gives me is: > > 2010-01-17 04:32:54.273 java[236:80f] [Java CocoaComponent > compatibility mode]: Enabled > 2010-01-17 04:32:54.274 java[236:80f] [Java CocoaComponent > compatibility mode]: Setting timeout for SWT to 0.100000 > Could not connect to remote UI listening at localhost:52228. Using > default UI instead. > 2010-01-17 04:32:54.937 java[236:16803] *** -[NSConditionLock unlock]: > lock (<NSConditionLock: 0x19a6e0> '(null)') unlocked when not locked > 2010-01-17 04:32:54.938 java[236:16803] *** Break on _NSLockError() to > debug. > 2010-01-17 04:32:55.042 java[236:16803] *** -[NSConditionLock unlock]: > lock (<NSConditionLock: 0x19b110> '(null)') unlocked when not locked > > /** goes on for several lines**/ > > The server is running athttp://localhost:8888/ > > /** some stuff as before **/ > > Please relieve from this endless pain :(
-- 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.
