|
From: Kleiderman, M. <Mat...@xe...> - 2008-01-14 23:08:27
|
Some progress - the "View" button on the space now briefly flashes the
monkey graphic before displaying an error message. From localhost.log:
=20
Jan 14, 2008 6:03:44 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Servlet.service() for servlet SimServlet threw exception
java.lang.IllegalArgumentException: Canvas3D: GraphicsConfiguration is
not compatible with Canvas3D
at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1187)
at com.ogoglio.viewer.j3d.J3DCanvas.<init>(J3DCanvas.java:24)
at
com.ogoglio.viewer.j3d.J3DRenderer.<init>(J3DRenderer.java:135)
at
com.ogoglio.sim.SpaceSimulator.<init>(SpaceSimulator.java:100)
at com.ogoglio.sim.Sim.getOrCreateSpaceSimulator(Sim.java:342)
at
com.ogoglio.sim.site.SimServlet$SpaceResource.doGet(SimServlet.java:227)
at
com.ogoglio.appdev.servlet.AbstractResourceServlet.service(AbstractResou
rceServlet.java:164)
at com.ogoglio.sim.site.SimServlet.service(SimServlet.java:164)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.ogoglio.sim.site.FilterByPort.doFilter(FilterByPort.java:29)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.j
ava:852)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.proce
ss(Http11AprProtocol.java:584)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Thread.java:595)
=20
- Matt
________________________________
From: Ian Smith [mailto:ia...@gm...] On Behalf Of Ian Smith
Sent: Monday, January 14, 2008 5:44 PM
To: Trevor F. Smith
Cc: Kleiderman, Matthew; ogo...@li...
Subject: Re: Ogoglio on EC2 question
Howdy, thanks for trying out ogoglio. I'm pretty sure that you can get
it going on EC2--that's where the transmutable.com cluster runs! :-)
I've seen that before...
It has a multi-part solution. First, you need to get library in
question. It's part of "mesa" I believe:
http://www.mesa3d.org/faq.html
You probably want to "yum" it or "apt-get" or whatever your particular
linux distribution does to install software. I think it pretty much
installs when you do a vanilla mesa install.
Also, you'll need to set the LD_PRELOAD environment variable so that
Xvfb links properly.... so, once you get /usr/lib/libGL.so.1 installed
properly try something like this in bash:
export LD_PRELOAD=3D"/usr/lib/libGL.so.1"
You can use "ldd" to make sure that all linkages get resolved (great for
debugging this problem). I'd guess that right now you have a problem
with libGL.so.1
[~/build] ldd /usr/bin/Xvfb
linux-gate.so.1 =3D> (0xbfffe000)
/usr/lib/libGL.so.1 (0xb7f41000)
libXfont.so.1 =3D> /usr/lib/libXfont.so.1 (0xb7eca000)
libXau.so.6 =3D> /usr/lib/libXau.so.6 (0xb7ec7000)
libfontenc.so.1 =3D> /usr/lib/libfontenc.so.1 (0xb7ec0000)
libXdmcp.so.6 =3D> /usr/lib/libXdmcp.so.6 (0xb7eb9000)
libselinux.so.1 =3D> /lib/libselinux.so.1 (0xb7ea2000)
libm.so.6 =3D> /lib/libm.so.6 (0xb7e7b000)
libc.so.6 =3D> /lib/libc.so.6 (0xb7d3e000)
libX11.so.6 =3D> /usr/lib/libX11.so.6 (0xb7c3c000)
libXext.so.6 =3D> /usr/lib/libXext.so.6 (0xb7c2c000)
libXxf86vm.so.1 =3D> /usr/lib/libXxf86vm.so.1 (0xb7c26000)
libpthread.so.0 =3D> /lib/libpthread.so.0 (0xb7c0f000)
libdl.so.2 =3D> /lib/libdl.so.2 (0xb7c0b000)
libdrm.so.2 =3D> /usr/lib/libdrm.so.2 (0xb7c00000)
libfreetype.so.6 =3D> /usr/lib/libfreetype.so.6 (0xb7b80000)
libz.so.1 =3D> /usr/lib/libz.so.1 (0xb7b6d000)
libsepol.so.1 =3D> /lib/libsepol.so.1 (0xb7b26000)
/lib/ld-linux.so.2 (0xb7fae000)
A caveat: For reasons I don't totally understand, I don't believe you
can run Xvfb correctly without running xfs (the X font server) also.
So, you'll need to "yum" or "apt-get" that as well if you don't have it.
The xfs process has be running before the Xvfb will boot up correctly.
You'd think that we were doing crazy things with fonts, but we
aren't....
Let me know how it goes,
ian
Trevor F. Smith wrote:=20
Hey, Matthew.
=09
I'm CC'ing Ian Smith on this because he has the most experience
with
EC2 and Ogoglio. He'll be able to give you the details of how
we're
using Xvfb.
=09
It's great to hear that you're giving Ogoglio a try,
=09
- Trevor
http://trevor.smith.name/
=09
On Jan 14, 2008 12:26 PM, Kleiderman, Matthew
<Mat...@xe...>
<mailto:Mat...@xe...> wrote:
=20
Trevor,
=09
I'm trying to get an image setup on EC2 with Ogoglio and
a few other things.
I think I'm about 95-odd% of the way there, but I'm
getting some
UnsatisfiedLinkErrors relating to libGL.s0.1 when I try
to view a space - Do
you have any material on the right way to use Xvfb? Or,
is there are
publicly useable image that I can clone to start working
with?
=09
Thanks a lot,
=09
Matthew Kleiderman
Xerox Global Services
Xerox Corporation
145 Federal St
Salem, MA 01970 USA
Phone: 978.979.8726
Fax: 585.422.0858
mat...@xe...
=09
XEROX GLOBAL SERVICES
Technology. Document Management. Consulting Services.
=09
www.xerox.com/globalservices
=09
=09
=20
=09
=20
--=20
/////////////////////////////////////////
Ian Smith, CTO, Transmutable Networks LLC
Emai: ian...@tr...
Mobi: +1.415.867.6532 =20
Blog: http://blog.iansmith.name
Phys: shores of puget sound
/////////////////////////////////////////
|