Home > Back-end >  Centos7 install tomcat7, start is normal, no error log, firewall also closed but just can not access
Centos7 install tomcat7, start is normal, no error log, firewall also closed but just can not access

Time:09-25

Structures, the internal test environment, the use of centos7, install tomcat7 and java1.7, to visit the tomcat this hard time, always can't access, check what error log didn't report, use Google browser to access has been in a state of response (circle), the 8080 is bound to the nginx, nginx can normal visit, suspected to be connected and the use of ipv6, but by the Internet information to "address='0.0.0.0" can't access after the restart, change to catalina. Sh file to join JAVA_OPTS="$JAVA_OPTS Djava.net.preferIPv4Stack=true - Djava.net.preferIPv4Addresses=true" configuration restart also invalid, really speechless, thoroughly collapse, the online expert help resolve my problem, thank you!

Tomcat startup log is as follows:
Using CATALINA_BASE:/home/soft/apache tomcat - 7.0.72
Using the CATALINA_HOME:/home/soft/apache tomcat - 7.0.72
Using CATALINA_TMPDIR:/home/soft/apache tomcat - 7.0.72/temp
Using JRE_HOME:/usr/Java/default
Using the CLASSPATH:/home/soft/apache tomcat - 7.0.72/bin/bootstrap jar:/home/soft/apache tomcat -- 7.0.72/bin/tomcat - juli. Jar
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Server version: Apache Tomcat/7.0.72
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Server built: Sep 14 2016 12:12:26 UTC
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Server number: 7.0.72.0
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Linux OS Name:
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the OS Version: 3.10.0-327. El7. X86_64
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: Architecture: amd64
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Java Home:/usr/Java/jdk1.7.0 _80/jre
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the JVM Version: 1.7.0 _80 - b15
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the JVM Vendor: Oracle Corporation
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: CATALINA_BASE:/home/soft/apache tomcat -- 7.0.72
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the CATALINA_HOME:/home/soft/apache tomcat - 7.0.72
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Djava. Util. Logging. Config. The file=/home/soft/apache tomcat -- 7.0.72/conf/logging properties
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Djava. Util. Logging. The manager=org. Apache. Juli. ClassLoaderLogManager
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Djdk. TLS. EphemeralDHKeySize=2048
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Djava. Endorsed inside. Dirs=/home/soft/apache tomcat - 7.0.72/endorsed inside
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Dcatalina. Base=/home/soft/apache tomcat -- 7.0.72
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Dcatalina. Home=/home/soft/apache tomcat -- 7.0.72
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. VersionLoggerListener log
Information: the Command line argument: - Djava. IO. Tmpdir=/home/soft/apache tomcat - 7.0.72/temp
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Core. AprLifecycleListener lifecycleEvent
Information: the Loaded APR -based Apache Tomcat Native library 1.2.8 using APR version 1.4.8.
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Core. AprLifecycleListener lifecycleEvent
Information: APR "capabilities: IPv6 [true], sendfile [true], the accept filters (false), the random [true].
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Core. AprLifecycleListener initializeSSL
Information: OpenSSL successfully initialized of e - 1.0.1 fips 11 Feb 2013)
October 06, 2016 afternoon 5:03:14 org. Apache. Coyote. AbstractProtocol init
Information: the Initializing ProtocolHandler [HTTP - apr - 8080 ""]
October 06, 2016 afternoon 5:03:14 org. Apache. Coyote. AbstractProtocol init
Information: the Initializing ProtocolHandler [ajp - apr - 8009 ""]
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. Catalina load
Information: Initialization processed in 550 ms
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Core. StandardService startInternal
Message: Starting the service Catalina
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Core. StandardEngine startInternal
Message: Starting the Servlet Engine: Apache Tomcat/7.0.72
October 06, 2016 afternoon 5:03:14 org. Apache. Catalina. Startup. HostConfig deployDirectory
Information: Deploying web application directory/home/soft/apache tomcat - 7.0.72/webapps/ROOT

CodePudding user response:

According to my blog reload time try: http://blog.csdn.net/wlwlwlwl015/article/details/51210347

CodePudding user response:

Java_home did

CodePudding user response:

I don't know the building Lord solved yet? nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related