Tomcat 部署地理服务器 WAR 后未在浏览器上加载 - Ubuntu
Tomcat is not loading on browser after deploying geoserver WAR - Ubuntu
我在 ubuntu 18.04 系统上安装了 tomcat 8。后来我从 geoserver 页面下载了 geoserver web archive,并在 /var/lib/tomcat8/webapps 上部署了 war 文件。 Tomcat 在部署 war 文件之前工作正常。[ localhost:8080] 工作正常。但我遇到的问题是在 webapps 目录 tomcat 中部署地理服务器 war 后未在浏览器上加载。
我已经使用命令 sudo service tomcat8 start 和 sudo service tomca8 restart 多次启动和重新启动 tomcat 服务器。但是在部署 war 文件后它不起作用。
我想在 tomcat 服务器上安装地理服务器。我想将地理服务器网页加载为 localhost:8080/geoserver.
我们将不胜感激。
检查日志文件后我发现了这些错误。
16-Aug-2019 21:31:30.011 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.opimage.ColorConvertCRIF
16-Aug-2019 21:31:30.012 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.mlib.MlibXorRIF
16-Aug-2019 21:31:30.012 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.opimage.XorCRIF
16-Aug-2019 21:31:30.013 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.mlib.MlibAbsoluteRIF
16-Aug-2019 21:31:30.013 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.opimage.AbsoluteCRIF
此问题是由于某些权限问题造成的。
sudo chown -R user:user /var/lib/tomcat8.
为了在 tomcat8 上部署任何网络应用程序,tomcat 本身应该是所有者。通过将目录权限更改为 tomcat 本身,它起作用了!。
我在 ubuntu 18.04 系统上安装了 tomcat 8。后来我从 geoserver 页面下载了 geoserver web archive,并在 /var/lib/tomcat8/webapps 上部署了 war 文件。 Tomcat 在部署 war 文件之前工作正常。[ localhost:8080] 工作正常。但我遇到的问题是在 webapps 目录 tomcat 中部署地理服务器 war 后未在浏览器上加载。
我已经使用命令 sudo service tomcat8 start 和 sudo service tomca8 restart 多次启动和重新启动 tomcat 服务器。但是在部署 war 文件后它不起作用。
我想在 tomcat 服务器上安装地理服务器。我想将地理服务器网页加载为 localhost:8080/geoserver.
我们将不胜感激。
检查日志文件后我发现了这些错误。
16-Aug-2019 21:31:30.011 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.opimage.ColorConvertCRIF
16-Aug-2019 21:31:30.012 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.mlib.MlibXorRIF
16-Aug-2019 21:31:30.012 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.opimage.XorCRIF
16-Aug-2019 21:31:30.013 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.mlib.MlibAbsoluteRIF
16-Aug-2019 21:31:30.013 INFO [localhost-startStop-1] org.geoserver.GeoserverInitStartupListener.contextDestroyed Unregistering JAI factory class com.sun.media.jai.opimage.AbsoluteCRIF
此问题是由于某些权限问题造成的。 sudo chown -R user:user /var/lib/tomcat8.
为了在 tomcat8 上部署任何网络应用程序,tomcat 本身应该是所有者。通过将目录权限更改为 tomcat 本身,它起作用了!。