0
내 디지털 오션 우분투 14.04 물방울의 소프트웨어를 sudo apt-get update 및 sudo apt-get upgrade로 업그레이드했습니다. 불행히도 나는 제대로 질문을 읽지 않았다 - tomcat7과 java에 관한 것. 이 tomcat7은 포트 8080에서 응답하지 않으므로 결국 시간 초과됩니다.우분투에서 업그레이드 후 tomcat7이 포트 8080에 바인딩되지 않았습니다. 14.04
추신 -ef | 그렙 톰캣 :
tomcat7 1711 1 2 15:16 ? 00:00:53 /usr/lib/jvm/default-java/bin/java -Djava.util.logging.config.file=/var/lib/tomcat7/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.awt.headless=true -Xmx256m -Xms48m -XX:SoftRefLRUPolicyMSPerMB=36000 -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC -Djava.endorsed.dirs=/usr/share/tomcat7/endorsed -classpath /usr/share/tomcat7/bin/bootstrap.jar:/usr/share/tomcat7/bin/tomcat-juli.jar -Dcatalina.base=/var/lib/tomcat7 -Dcatalina.home=/usr/share/tomcat7 -Djava.io.tmpdir=/tmp/tomcat7-tomcat7-tmp org.apache.catalina.startup.Bootstrap start
tree-ma+ 2056 1596 0 15:53 pts/1 00:00:00 grep --color=auto tomcat
catalina.out 출력 :
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 657 ms
Apr 25, 2017 3:16:19 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Apr 25, 2017 3:16:19 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/geoserver.war
log4j:WARN File option not set for appender [geoserverlogfile].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
Apr 25, 2017 3:16:36 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup occured, but ApplicationContext is unset.
catalina.2017-04-25.log :
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common/classes], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/common], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server/classes], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/server], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared/classes], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.ClassLoaderFactory validateFile
WARNING: Problem with directory [/usr/share/tomcat7/shared], exists: [false], isDirectory: [false], canRead: [false]
Apr 25, 2017 3:16:19 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 657 ms
Apr 25, 2017 3:16:19 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Apr 25, 2017 3:16:19 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.52 (Ubuntu)
Apr 25, 2017 3:16:19 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /var/lib/tomcat7/webapps/geoserver.war
Apr 25, 2017 3:16:36 PM org.geoserver.platform.GeoServerExtensions checkContext
WARNING: Extension lookup occured, but ApplicationContext is unset.
에서 netstat -na | grep -e 8080은 다음을 제공합니다 :
tcp6 0 0 :::8080 :::* LISTEN
tcp6 510 0 95.85.22.89:8080 176.71.34.121:49840 CLOSE_WAIT
tcp6 510 0 95.85.22.89:8080 176.71.34.121:49837 CLOSE_WAIT
tcp6 380 0 95.85.22.89:8080 83.248.187.2:46220 CLOSE_WAIT
tcp6 510 0 95.85.22.89:8080 176.71.34.121:49841 CLOSE_WAIT
tcp6 510 0 95.85.22.89:8080 176.71.34.121:49836 CLOSE_WAIT
tcp6 379 0 95.85.22.89:8080 83.248.187.2:46355 ESTABLISHED
tcp6 510 0 95.85.22.89:8080 176.71.34.121:49839 CLOSE_WAIT
tcp6 510 0 95.85.22.89:8080 176.71.34.121:49838 CLOSE_WAIT
83.248.187.2는 My home입니다. 내 PC에서
nmap을 95.85.22.89을 보여줍니다 :
Starting Nmap 6.40 (http://nmap.org) at 2017-04-25 16:46 CEST
Nmap scan report for 95.85.22.89
Host is up (0.067s latency).
Not shown: 991 closed ports
PORT STATE SERVICE
25/tcp filtered smtp
80/tcp open http
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
443/tcp open https
445/tcp filtered microsoft-ds
1025/tcp filtered NFS-or-IIS
6129/tcp filtered unknown
8080/tcp open http-proxy
그래서 8080 열려 있습니다. 하나의 webapp - geoserver가 있습니다 (v2.5.5.8 생각했지만 지금은 그럴 수 없습니다!) 아이디어가 있습니까? ,
unzip geoserver.war.zip
mv geoserver.war /var/lib/tomcat7/webapps
조금 기다리 나는 2.8.3에 들어갑니다 (http://geoserver.org/release/2.8.3/) :
sudo service tomcat7 stop
cp -R /var/lib/tomcat7/webapps/geoserver/data ./safe_storage_location
sudo apt-get purge tomcat7 libtomcat7-java
sudo apt-get autoremove
sudo apt-get update
sudo apt-get install tomcat7
그런 다음, 다운로드 geoserver 전쟁 ZipFile를 :
Tomcat 홈 페이지 @ http : // hostname : 8080에 액세스 할 수 있습니까? – VivekRatanSinha
요청 제한 시간 초과 – minisaurus
$ {catalina.base} /conf/logging.properties 파일에 org.apache.catalina.level = FINEST를 추가하여 catalina의 FINEST 로깅을 사용하십시오. 이것은 원인을 밝힐 수 있습니다. – VivekRatanSinha