Java3d on a headless system with xvfb

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Java3d on a headless system with xvfb

Simon
Hello Friends

I have a web application using java3d to render .stl and create images. It uses xvfb because it is a server.
After a distro upgrade i get a fatal error related with libgl.so as soon as java3d is used. Resp. it is able to render one image but after rendering it kills the whole java process.
After a lot of googling i found out that  java1.5.2 is not longer supported by oracle and you guys are maintaining java3d 1.6. So I started to see if this could be the solutions to my problem.

I tried to install java3d 1.6. Whereas I'm not sure if i did this right. Since I'm using Tomcat  i copied all the java3d 1.6  jars (as described here: https://gouessej.wordpress.com/2012/08/01/java-3d-est-de-retour-java-3d-is-back/) into the WEB-INF/lib.
Now it gives me a different fatal error related to libc.so

Any help or hint would be highly appreciated.

cheers
Simon
Reply | Threaded
Open this post in threaded view
|

Re: Java3d on a headless system with xvfb

Simon
Hello again

It works now!
It seems i had a mess with old jars. After deinstalling everything and install it from scratch i've got it working.

I'm very thank full!
Thank you for providing java3d!

Wish you guys all the best!

Simon
Reply | Threaded
Open this post in threaded view
|

Re: Java3d on a headless system with xvfb

gouessej
Administrator
Hi

Yes it's very important to clean up the mess before installing the latest version of Java3D in order to avoid any conflict.
Julien Gouesse | Personal blog | Website