Thanks Oscar!!!

Geoserver has updated the java to Sun Microsystems Inc.: 1.6.0_24 (Java 
HotSpot(TM) Server VM) and Native JAI and JaI ImageIO is set to 
true.....Great!!!

What did it for me was this...

a) create a link in /usr/lib/jvm/default-java pointing to your Oracle
JDK installation.
b) edit /etc/default/tomcat6 and set there your JAVA_HOME var. 



But I have also changed lots of variables and scripts in the course of my 
search in the following....

 /etc/environment

 /home/username/.rcbash

 /tomcat6/CATALINA_HOME

 /etc/profile.d/java.sh

 /etc/profile

whether or not this is necessary I can´t say....but I think that if something 
works...I shouldn´t change it!

It is however nice to know that geoserver used the symbolik link to 
default-java instead of the JAVA_HOME path!!!...why is this??

thanks for all your help,


Rob



________________________________
 Von: Oscar Fonts <[email protected]>
An: Robert Buckley <[email protected]> 
CC: "[email protected]" 
<[email protected]> 
Gesendet: 9:10 Donnerstag, 20.September 2012
Betreff: Re: [Geoserver-users] JAI verwendeter Arbeitsspeicher
 
Hi Robert,

If you installed tomcat using 'apt-get', the problem is in how
/etc/init.d/tomcat6 looks for JDK locations in your system.

For Ubuntu 12.04, it searches in this order:

/usr/lib/jvm/default-java
/usr/lib/jvm/java-7-openjdk-*
/usr/lib/jvm/java-6-openjdk-*
/usr/lib/jvm/java-6-sun
/usr/lib/jvm/java-1.5.0-sun
/usr/lib/j2sdk1.5-sun
/usr/lib/j2sdk1.5-ibm

Instead of editing this script, you can do either:

a) create a link in /usr/lib/jvm/default-java pointing to your Oracle
JDK installation.
b) edit /etc/default/tomcat6 and set there your JAVA_HOME var.

Hope this helps.

Oscar.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to