Problem with Eclipse and GWT

8 views
Skip to first unread message

Christoph Breidert

unread,
Nov 9, 2009, 3:39:46 PM11/9/09
to Google Web Toolkit
Hi everyone,

I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.

Since I updated Ubuntu to the latest version 9.10 I cannot start the
hosted mode browser any more. It just starts briefly and the closes
again. Also nothing responds onhttp:// localhost:8080. I tested this
with Eclipse 3.4 and 3.5 both give the same error.

The console log is this:

09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
INFO: jetty-6.1.x
09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
INFO: Filter EncodingFilter initializing...
09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
INFO: Using encoding: UTF-8
09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
INFO: Started SelectChann...@0.0.0.0:8080
The server is running at http://localhost:8080/
/usr/lib/jvm/java-6-openjdk/bin/java: symbol lookup error: /usr/lib/
xulrunner-1.9.1.4/libxul.so: undefined symbol:
PR_GetPhysicalMemorySize

The error tells me nothing, googling also does not bring anything that
makes sense to me. If anybody has an idea or hint it would be
appreciated, I have spent too much time and headbanging on this.

Cheers and thx, Christoph

Marco Massenzio

unread,
Nov 11, 2009, 10:11:24 PM11/11/09
to Google Web Toolkit
actually the error tells all you need to know :)

undefined symbol: PR_GetPhysicalMemorySize

clearly the upgrade to 9.10 has replaced the /usr/lib/
xulrunner-1.9.1.4/libxul.so
library, and the new one does not export that method/function

I'm having a similar error (one library has been upgraded to
whatever.so.5 to .6 -- don't have it here, can't quite recall what it
was)

It all stems from the fact that hosted mode is using Jetty and SWT,
which (in my uninformed opinion) are old, brittle and unmaintained --
thank God Hosted Mode is going away in 2.0, in favor of OOPHM, or,
easier on the tongue... Dev Mode

I honestly don't really think there is a workaround (if anyone knows
of one, short of re-installing Ubuntu 9.04... which may actually be a
good idea anyway... 9.10 was a complete mess of a release if I've ever
seen one), so it's nailbiting time for 2.0 to become publicly
available and HM going aways for good....

On Nov 9, 12:39 pm, Christoph Breidert <christ...@breidert.net> wrote:
> Hi everyone,
>
> I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.
>
> Since I updated Ubuntu to the latest version 9.10 I cannot start the
> hosted mode browser any more. It just starts briefly and the closes
> again. Also nothing responds onhttp:// localhost:8080. I tested this
> with Eclipse 3.4 and 3.5 both give the same error.
>
> The console log is this:
>
> 09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Filter EncodingFilter initializing...
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Using encoding: UTF-8
> 09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnec...@0.0.0.0:8080
> The server is running athttp://localhost:8080/

cmadsen_dk

unread,
Nov 11, 2009, 5:42:09 AM11/11/09
to Google Web Toolkit
I see this problem to under fedora 11 when trying to run the Mail
sample

uname -a
Linux localhost.localdomain 2.6.30.9-96.fc11.i686.PAE #1 SMP Tue Nov 3
23:41:33 EST 2009 i686 i686 i386 GNU/Linux
[com@localhost Mail]$ xulrunner -v
Mozilla XULRunner 1.9.1.5 - 20091105041559
[com@localhost Mail]$ ant hosted
Buildfile: build.xml

libs:

javac:

hosted:
[java] /opt/jdk1.6.0_16/jre/bin/java: symbol lookup error: /usr/
lib/xulrunner-1.9.1/libxul.so: undefined symbol:
PR_GetPhysicalMemorySize

BUILD FAILED
/opt/gwt-linux-1.7.1/samples/Mail/build.xml:63: Java returned: 127

Any hints?

Thanks
Carsten

On Nov 9, 9:39 pm, Christoph Breidert <christ...@breidert.net> wrote:
> Hi everyone,
>
> I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.
>
> Since I updated Ubuntu to the latest version 9.10 I cannot start the
> hosted mode browser any more. It just starts briefly and the closes
> again. Also nothing responds onhttp:// localhost:8080. I tested this
> with Eclipse 3.4 and 3.5 both give the same error.
>
> The console log is this:
>
> 09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Filter EncodingFilter initializing...
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Using encoding: UTF-8
> 09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnec...@0.0.0.0:8080
> The server is running athttp://localhost:8080/

Jeff Chimene

unread,
Nov 12, 2009, 11:11:05 AM11/12/09
to google-we...@googlegroups.com
On Wed, Nov 11, 2009 at 8:11 PM, Marco Massenzio <m.mas...@googlemail.com> wrote:

actually the error tells all you need to know :)

undefined symbol: PR_GetPhysicalMemorySize

clearly the upgrade to 9.10 has replaced the /usr/lib/
xulrunner-1.9.1.4/libxul.so
library, and the new one does not export that method/function

I'm having a similar error (one library has been upgraded to
whatever.so.5 to .6 -- don't have it here, can't quite recall what it
was)

It all stems from the fact that hosted mode is using Jetty and SWT,
which (in my uninformed opinion) are old, brittle and unmaintained --
thank God Hosted Mode is going away in 2.0, in favor of OOPHM, or,
easier on the tongue... Dev Mode

I honestly don't really think there is a workaround (if anyone knows
of one, short of re-installing Ubuntu 9.04... which may actually be a
good idea anyway... 9.10 was a complete mess of a release if I've ever
seen one), so it's nailbiting time for 2.0 to become publicly
available and HM going aways for good....

Well, to be fair, 2,0ms2 is quite usable. I had tried 2.0trunk several months ago, and found the OOPHM wasn't ready; that's no longer the case.

Clearly, it's not available to you if you have some external constraints that prevent you from moving to a "development preview" release.

Installing 2.0 ms2 is as simple as downloading, copying to a separate directory, and pointing your environment to that directory. If it doesn't work, point back to 1.x


On Nov 9, 12:39 pm, Christoph Breidert <christ...@breidert.net> wrote:
> Hi everyone,
>
> I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.
>
> Since I updated Ubuntu to the latest version 9.10 I cannot start the
> hosted mode browser any more. It just starts briefly and the closes
> again. Also nothing responds onhttp:// localhost:8080. I tested this
> with Eclipse 3.4 and 3.5 both give the same error.
>
> The console log is this:
>
> 09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Filter EncodingFilter initializing...
> 09.11.2009 20:30:45 breidert.bse.server.EncodingFilter init
> INFO: Using encoding: UTF-8
> 09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnec...@0.0.0.0:8080
> The server is running athttp://localhost:8080/
> /usr/lib/jvm/java-6-openjdk/bin/java: symbol lookup error: /usr/lib/
> xulrunner-1.9.1.4/libxul.so: undefined symbol:
> PR_GetPhysicalMemorySize
>
> The error tells me nothing, googling also does not bring anything that
> makes sense to me. If anybody has an idea or hint it would be
> appreciated, I have spent too much time and headbanging on this.
>
> Cheers and thx, Christoph
--~--~---------~--~----~------------~-------~--~----~
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-we...@googlegroups.com
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---


Christoph Breidert

unread,
Nov 15, 2009, 1:05:08 PM11/15/09
to Google Web Toolkit
Thanks everyone for the replies. Great news group.

I fixed the problem by changing to Sun's JDK in eclipse's project
settings

Instead of /usr/lib/jvm/java-6-openjdk
I now use /usf/lib/jvm/java-6-sun-1.6.0.16

Now everything work's nice and smoothly just like before I upgraded
Ubuntu.

Cheers,

Christoph

On 9 Nov., 21:39, Christoph Breidert <christ...@breidert.net> wrote:
> Hi everyone,
>
> I had Eclipse 3.4 and GWT running perfectly under Ubuntu 9.04.
>
> Since I updated Ubuntu to the latest version 9.10 I cannot start the
> hosted mode browser any more. It just starts briefly and the closes
> again. Also nothing responds onhttp:// localhost:8080. I tested this
> with Eclipse 3.4 and 3.5 both give the same error.
>
> The console log is this:
>
> 09.11.2009 20:30:44 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: jetty-6.1.x
> 09.11.2009 20:30:45breidert.bse.server.EncodingFilter init
> INFO: Filter EncodingFilter initializing...
> 09.11.2009 20:30:45breidert.bse.server.EncodingFilter init
> INFO: Using encoding: UTF-8
> 09.11.2009 20:30:46 com.google.apphosting.utils.jetty.JettyLogger info
> INFO: Started SelectChannelConnec...@0.0.0.0:8080
> The server is running athttp://localhost:8080/
Reply all
Reply to author
Forward
0 new messages