我目前正在设置两个在两台独立的 Linux 机器上运行的 Geoserver。其中一台 Geoserver 正在运行版本 2.20.2。另一种是2.19.5版本。
我正在尝试安装 Native Jai 和 Native JAI ImageIO 以提高图像处理性能。
两台机器都运行 Ubuntu 20.04.4 LTS。
java-版本
openjdk 版本“11.0.14”2022-01-18
OpenJDK 运行时环境(内部版本 11.0.14+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64位服务器虚拟机(build 11.0.14+9-Ubuntu-0ubuntu2.20.04,混合模式,共享)
到目前为止,我已遵循以下说明: https://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html
具体来说这部分:我遵循的说明
仍然不起作用。
回显$JAIHOME
/var/lib/JAI/jai-1_1_3/lib
回显$CLASSPATH
/var/lib/JAI/jai-1_1_3/lib/jai_core.jar:/var/lib/JAI/jai-1_1_3/lib/jai_codec.jar:/var/lib/JAI/jai-1_1_3/lib/mlibwrapper_jai.jar
回显 $LD_LIBRARY_PATH
.:/var/lib/JAI/jai-1_1_3/lib:/var/lib/JAI/jai-1_1_3/lib/jai_core.jar:/var/lib/JAI/jai-1_1_3/lib/jai_codec.jar:/ var/lib/JAI/jai-1_1_3/lib/mlibwrapper_jai.jar
这是 Geoserver 状态页面,以防有任何相关的情况信息: 地理服务器状态
任何帮助将不胜感激。
I'm currently setting up two Geoservers running on two separate Linux machines. One of the Geoservers is running version 2.20.2. and the other one is version 2.19.5.
I'm trying to install Native Jai and Native JAI ImageIO in order to increase the image handling performance.
Both machines are running Ubuntu 20.04.4 LTS.
java -version
openjdk version "11.0.14" 2022-01-18
OpenJDK Runtime Environment (build 11.0.14+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.14+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)
So far I've followed these instructions: https://download.java.net/media/jai/builds/release/1_1_3/INSTALL.html
Specifically this part: The instructions I followed
It's still not working.
echo $JAIHOME
/var/lib/JAI/jai-1_1_3/lib
echo $CLASSPATH
/var/lib/JAI/jai-1_1_3/lib/jai_core.jar:/var/lib/JAI/jai-1_1_3/lib/jai_codec.jar:/var/lib/JAI/jai-1_1_3/lib/mlibwrapper_jai.jar
echo $LD_LIBRARY_PATH
.:/var/lib/JAI/jai-1_1_3/lib:/var/lib/JAI/jai-1_1_3/lib/jai_core.jar:/var/lib/JAI/jai-1_1_3/lib/jai_codec.jar:/var/lib/JAI/jai-1_1_3/lib/mlibwrapper_jai.jar
This is the Geoserver status page in case there is any relevant information: Geoserver status
Any help would be greatly appreciated.
发布评论
评论(1)
我不知道为什么 部分仍然出现在手册中 - 不再需要或推荐它,但明确标记为过时。
I'm not sure why that section still appears in the manual - it is no longer needed or recommended, but is clearly marked as outdated.