java - tomcat started but application not loading in browser -
tomcat started. getting page cant find error in browser.
using catalina_base: /opt/tomcat8 using catalina_home: /opt/tomcat8 using catalina_tmpdir: /opt/tomcat8/temp using jre_home: /usr/java/jdk1.8.0_74 using classpath: /opt/tomcat8/bin/bootstrap.jar:/opt/tomcat8/bin/tomcat-juli.jar tomcat started.
browser
this page can’t displayed
•make sure web address http://172.22.68.60:8083 correct. •look page search engine. •refresh page in few minutes.
server.xml
<?xml version='1.0' encoding='utf-8'?> <!-- licensed apache software foundation (asf) under 1 or more contributor license agreements. see notice file distributed work additional information regarding copyright ownership. asf licenses file under apache license, version 2.0 (the "license"); may not use file except in compliance license. may obtain copy of license @ http://www.apache.org/licenses/license-2.0 unless required applicable law or agreed in writing, software distributed under license distributed on "as is" basis, without warranties or conditions of kind, either express or implied. see license specific language governing permissions , limitations under license. --> <!-- note: "server" not "container", may not define subcomponents such "valves" @ level. documentation @ /docs/config/server.html --> <server port="8006" shutdown="shutdown"> <listener classname="org.apache.catalina.startup.versionloggerlistener" /> <!-- security listener. documentation @ /docs/config/listeners.html <listener classname="org.apache.catalina.security.securitylistener" /> --> <!--apr library loader. documentation @ /docs/apr.html --> <listener classname="org.apache.catalina.core.aprlifecyclelistener" sslengine="on" /> <!-- prevent memory leaks due use of particular java/javax apis--> <listener classname="org.apache.catalina.core.jrememoryleakpreventionlistener" /> <listener classname="org.apache.catalina.mbeans.globalresourceslifecyclelistener" /> <listener classname="org.apache.catalina.core.threadlocalleakpreventionlistener" /> <!-- enable jmx --> <listener classname="org.apache.catalina.mbeans.jmxremotelifecyclelistener" rmiregistryportplatform="10001" rmiserverportplatform="10002" /> <!-- global jndi resources documentation @ /docs/jndi-resources-howto.html --> <globalnamingresources> <!-- editable user database can used userdatabaserealm authenticate users --> <resource name="userdatabase" auth="container" type="org.apache.catalina.userdatabase" description="user database can updated , saved" factory="org.apache.catalina.users.memoryuserdatabasefactory" pathname="conf/tomcat-users.xml" /> </globalnamingresources> <!-- "service" collection of 1 or more "connectors" share single "container" note: "service" not "container", may not define subcomponents such "valves" @ level. documentation @ /docs/config/service.html --> <service name="catalina"> <!--the connectors can use shared executor, can define 1 or more named thread pools--> <!-- <executor name="tomcatthreadpool" nameprefix="catalina-exec-" maxthreads="150" minsparethreads="4"/> --> <!-- "connector" represents endpoint requests received , responses returned. documentation @ : java http connector: /docs/config/http.html (blocking & non-blocking) java ajp connector: /docs/config/ajp.html apr (http/ajp) connector: /docs/apr.html define non-ssl/tls http/1.1 connector on port 8080 --> <connector port="8083" protocol="http/1.1" connectiontimeout="100000" redirectport="8443" /> <!-- "connector" using shared thread pool--> <!-- <connector executor="tomcatthreadpool" port="8080" protocol="http/1.1" connectiontimeout="20000" redirectport="8443" /> --> <!-- define ssl/tls http/1.1 connector on port 8443 connector uses nio implementation requires jsse style configuration. when using apr/native implementation, openssl style configuration required described in apr/native documentation --> <!-- <connector port="8443" protocol="org.apache.coyote.http11.http11nioprotocol" maxthreads="150" sslenabled="true" scheme="https" secure="true" clientauth="false" sslprotocol="tls" /> --> <!-- define ajp 1.3 connector on port 8009 --> <connector port="8010" protocol="ajp/1.3" redirectport="8443" proxyname="nap11rh6as510"/> <!-- engine represents entry point (within catalina) processes every request. engine implementation tomcat stand alone analyzes http headers included request, , passes them on appropriate host (virtual host). documentation @ /docs/config/engine.html --> <!-- should set jvmroute support load-balancing via ajp ie : <engine name="catalina" defaulthost="localhost" jvmroute="jvm1"> --> <engine name="catalina" defaulthost="localhost"> <!--for clustering, please take @ documentation at: /docs/cluster-howto.html (simple how to) /docs/config/cluster.html (reference documentation) --> <!-- <cluster classname="org.apache.catalina.ha.tcp.simpletcpcluster"/> --> <!-- use lockoutrealm prevent attempts guess user passwords via brute-force attack --> <realm classname="org.apache.catalina.realm.lockoutrealm"> <!-- realm uses userdatabase configured in global jndi resources under key "userdatabase". edits performed against userdatabase available use realm. --> <realm classname="org.apache.catalina.realm.userdatabaserealm" resourcename="userdatabase"/> <realm classname="org.apache.catalina.realm.jndirealm" debug="99" connectionname="cn=tomcatdeploy,ou=services,ou=svcaccts,dc=regulusgroup,dc=net" connectionpassword="regulusgroup1" connectionurl="ldap://regulusgroup.net" userbase="dc=regulusgroup,dc=net" usersearch="(samaccountname={0})" usersubtree="true" rolebase="ou=processes,ou=svcaccts,dc=regulusgroup,dc=net" rolename="cn" rolesearch="(member={0})" rolesubtree="true" referrals="follow" /> </realm> <host name="localhost" appbase="webapps" unpackwars="true" autodeploy="true"> <!-- singlesignon valve, share authentication between web applications documentation at: /docs/config/valve.html --> <!-- <valve classname="org.apache.catalina.authenticator.singlesignon" /> --> <!-- access log processes example. documentation at: /docs/config/valve.html note: pattern used equivalent using pattern="common" --> <valve classname="org.apache.catalina.valves.accesslogvalve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> </host> </engine> </service> </server>
catalina.out:
25-jul-2017 23:27:53.112 warning [main] org.apache.tomcat.util.digester.setpropertiesrule.begin [setpropertiesrule]{server/service/engine/realm/realm} setting property 'debug' '99' did not find matching property. 25-jul-2017 23:27:53.265 info [main] org.apache.catalina.startup.versionloggerlistener.log server version: apache tomcat/8.0.32 25-jul-2017 23:27:53.266 info [main] org.apache.catalina.startup.versionloggerlistener.log server built: feb 2 2016 19:34:53 utc 25-jul-2017 23:27:53.266 info [main] org.apache.catalina.startup.versionloggerlistener.log server number: 8.0.32.0 25-jul-2017 23:27:53.267 info [main] org.apache.catalina.startup.versionloggerlistener.log os name: linux 25-jul-2017 23:27:53.267 info [main] org.apache.catalina.startup.versionloggerlistener.log os version: 2.6.32-696.3.1.el6.x86_64 25-jul-2017 23:27:53.268 info [main] org.apache.catalina.startup.versionloggerlistener.log architecture: amd64 25-jul-2017 23:27:53.268 info [main] org.apache.catalina.startup.versionloggerlistener.log java home: /usr/java/jdk1.8.0_74/jre 25-jul-2017 23:27:53.268 info [main] org.apache.catalina.startup.versionloggerlistener.log jvm version: 1.8.0_74-b02 25-jul-2017 23:27:53.268 info [main] org.apache.catalina.startup.versionloggerlistener.log jvm vendor: oracle corporation 25-jul-2017 23:27:53.269 info [main] org.apache.catalina.startup.versionloggerlistener.log catalina_base: /opt/tomcat8 25-jul-2017 23:27:53.269 info [main] org.apache.catalina.startup.versionloggerlistener.log catalina_home: /opt/tomcat8 25-jul-2017 23:27:53.269 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -djava.util.logging.config.file=/opt/tomcat8/conf/logging.properties 25-jul-2017 23:27:53.270 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -djava.util.logging.manager=org.apache.juli.classloaderlogmanager 25-jul-2017 23:27:53.270 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -djava.awt.headless=true 25-jul-2017 23:27:53.270 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -xms1024m 25-jul-2017 23:27:53.270 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -xmx2048m 25-jul-2017 23:27:53.271 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -xss240k 25-jul-2017 23:27:53.271 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dwebapp.logdir=/opt/tomcat8/logs 25-jul-2017 23:27:53.271 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dwebapp.conf=file:/opt/tomcat8/conf 25-jul-2017 23:27:53.271 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dview2.configuration=file:/opt/tomcat8/conf/view2.properties 25-jul-2017 23:27:53.272 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dview2.log.configuration=file:/opt/tomcat8/conf/view2-logback.xml 25-jul-2017 23:27:53.272 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dt2services.log.configuration=file:/opt/tomcat8/conf/t2services-logback.xml 25-jul-2017 23:27:53.272 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dt2backgroundservices.log.configuration=file:/opt/tomcat8/conf/t2backgroundservices-logback.xml 25-jul-2017 23:27:53.279 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dtrackit.log.configuration=file:/opt/tomcat8/conf/trackit-logback.xml 25-jul-2017 23:27:53.280 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -djavax.net.ssl.truststore=/opt/tomcat8/conf/devtruststore.jks 25-jul-2017 23:27:53.280 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcom.sun.management.jmxremote 25-jul-2017 23:27:53.280 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcom.sun.management.jmxremote.ssl=false 25-jul-2017 23:27:53.281 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcom.sun.management.jmxremote.authenticate=true 25-jul-2017 23:27:53.281 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcom.sun.management.jmxremote.password.file=/opt/tomcat8/conf/jmxremote.password 25-jul-2017 23:27:53.281 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcom.sun.management.jmxremote.access.file=/opt/tomcat8/conf/jmxremote.access 25-jul-2017 23:27:53.281 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -djava.endorsed.dirs=/opt/tomcat8/endorsed 25-jul-2017 23:27:53.282 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcatalina.base=/opt/tomcat8 25-jul-2017 23:27:53.282 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -dcatalina.home=/opt/tomcat8 25-jul-2017 23:27:53.282 info [main] org.apache.catalina.startup.versionloggerlistener.log command line argument: -djava.io.tmpdir=/opt/tomcat8/temp 25-jul-2017 23:27:53.282 info [main] org.apache.catalina.core.aprlifecyclelistener.lifecycleevent apr based apache tomcat native library allows optimal performance in production environments not found on java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib 25-jul-2017 23:27:55.755 info [main] org.apache.coyote.abstractprotocol.init initializing protocolhandler ["http-nio-8083"] 25-jul-2017 23:27:56.052 severe [main] org.apache.coyote.abstractprotocol.init failed initialize end point associated protocolhandler ["http-nio-8083"] java.net.bindexception: address in use @ sun.nio.ch.net.bind0(native method) @ sun.nio.ch.net.bind(net.java:433) @ sun.nio.ch.net.bind(net.java:425) @ sun.nio.ch.serversocketchannelimpl.bind(serversocketchannelimpl.java:223) @ sun.nio.ch.serversocketadaptor.bind(serversocketadaptor.java:74) @ org.apache.tomcat.util.net.nioendpoint.bind(nioendpoint.java:340) @ org.apache.tomcat.util.net.abstractendpoint.init(abstractendpoint.java:742) @ org.apache.coyote.abstractprotocol.init(abstractprotocol.java:458) @ org.apache.coyote.http11.abstracthttp11jsseprotocol.init(abstracthttp11jsseprotocol.java:120) @ org.apache.catalina.connector.connector.initinternal(connector.java:960) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardservice.initinternal(standardservice.java:568) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardserver.initinternal(standardserver.java:851) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.startup.catalina.load(catalina.java:580) @ org.apache.catalina.startup.catalina.load(catalina.java:603) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:310) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:484) 25-jul-2017 23:27:56.086 severe [main] org.apache.catalina.core.standardservice.initinternal failed initialize connector [connector[http/1.1-8083]] org.apache.catalina.lifecycleexception: failed initialize component [connector[http/1.1-8083]] @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:106) @ org.apache.catalina.core.standardservice.initinternal(standardservice.java:568) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardserver.initinternal(standardserver.java:851) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.startup.catalina.load(catalina.java:580) @ org.apache.catalina.startup.catalina.load(catalina.java:603) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:310) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:484) caused by: org.apache.catalina.lifecycleexception: protocol handler initialization failed @ org.apache.catalina.connector.connector.initinternal(connector.java:962) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) ... 12 more caused by: java.net.bindexception: address in use @ sun.nio.ch.net.bind0(native method) @ sun.nio.ch.net.bind(net.java:433) @ sun.nio.ch.net.bind(net.java:425) @ sun.nio.ch.serversocketchannelimpl.bind(serversocketchannelimpl.java:223) @ sun.nio.ch.serversocketadaptor.bind(serversocketadaptor.java:74) @ org.apache.tomcat.util.net.nioendpoint.bind(nioendpoint.java:340) @ org.apache.tomcat.util.net.abstractendpoint.init(abstractendpoint.java:742) @ org.apache.coyote.abstractprotocol.init(abstractprotocol.java:458) @ org.apache.coyote.http11.abstracthttp11jsseprotocol.init(abstracthttp11jsseprotocol.java:120) @ org.apache.catalina.connector.connector.initinternal(connector.java:960) ... 13 more 25-jul-2017 23:27:56.087 info [main] org.apache.coyote.abstractprotocol.init initializing protocolhandler ["ajp-nio-8010"] 25-jul-2017 23:27:56.093 severe [main] org.apache.coyote.abstractprotocol.init failed initialize end point associated protocolhandler ["ajp-nio-8010"] java.net.bindexception: address in use @ sun.nio.ch.net.bind0(native method) @ sun.nio.ch.net.bind(net.java:433) @ sun.nio.ch.net.bind(net.java:425) @ sun.nio.ch.serversocketchannelimpl.bind(serversocketchannelimpl.java:223) @ sun.nio.ch.serversocketadaptor.bind(serversocketadaptor.java:74) @ org.apache.tomcat.util.net.nioendpoint.bind(nioendpoint.java:340) @ org.apache.tomcat.util.net.abstractendpoint.init(abstractendpoint.java:742) @ org.apache.coyote.abstractprotocol.init(abstractprotocol.java:458) @ org.apache.catalina.connector.connector.initinternal(connector.java:960) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardservice.initinternal(standardservice.java:568) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardserver.initinternal(standardserver.java:851) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.startup.catalina.load(catalina.java:580) @ org.apache.catalina.startup.catalina.load(catalina.java:603) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:310) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:484) 25-jul-2017 23:27:56.098 severe [main] org.apache.catalina.core.standardservice.initinternal failed initialize connector [connector[ajp/1.3-8010]] org.apache.catalina.lifecycleexception: failed initialize component [connector[ajp/1.3-8010]] @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:106) @ org.apache.catalina.core.standardservice.initinternal(standardservice.java:568) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.core.standardserver.initinternal(standardserver.java:851) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) @ org.apache.catalina.startup.catalina.load(catalina.java:580) @ org.apache.catalina.startup.catalina.load(catalina.java:603) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.catalina.startup.bootstrap.load(bootstrap.java:310) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:484) caused by: org.apache.catalina.lifecycleexception: protocol handler initialization failed @ org.apache.catalina.connector.connector.initinternal(connector.java:962) @ org.apache.catalina.util.lifecyclebase.init(lifecyclebase.java:102) ... 12 more caused by: java.net.bindexception: address in use @ sun.nio.ch.net.bind0(native method) @ sun.nio.ch.net.bind(net.java:433) @ sun.nio.ch.net.bind(net.java:425) @ sun.nio.ch.serversocketchannelimpl.bind(serversocketchannelimpl.java:223) @ sun.nio.ch.serversocketadaptor.bind(serversocketadaptor.java:74) @ org.apache.tomcat.util.net.nioendpoint.bind(nioendpoint.java:340) @ org.apache.tomcat.util.net.abstractendpoint.init(abstractendpoint.java:742) @ org.apache.coyote.abstractprotocol.init(abstractprotocol.java:458) @ org.apache.catalina.connector.connector.initinternal(connector.java:960) ... 13 more 25-jul-2017 23:27:56.103 info [main] org.apache.catalina.startup.catalina.load initialization processed in 4809 ms 25-jul-2017 23:27:56.249 severe [main] org.apache.catalina.mbeans.jmxremotelifecyclelistener.createserver unable create rmi registry platform server using port 10001 java.rmi.server.exportexception: port in use: 10001; nested exception is: java.net.bindexception: address in use @ sun.rmi.transport.tcp.tcptransport.listen(tcptransport.java:341) @ sun.rmi.transport.tcp.tcptransport.exportobject(tcptransport.java:249) @ sun.rmi.transport.tcp.tcpendpoint.exportobject(tcpendpoint.java:411) @ sun.rmi.transport.liveref.exportobject(liveref.java:147) @ sun.rmi.server.unicastserverref.exportobject(unicastserverref.java:208) @ sun.rmi.registry.registryimpl.setup(registryimpl.java:152) @ sun.rmi.registry.registryimpl.<init>(registryimpl.java:112) @ java.rmi.registry.locateregistry.createregistry(locateregistry.java:239) @ org.apache.catalina.mbeans.jmxremotelifecyclelistener.createserver(jmxremotelifecyclelistener.java:302) @ org.apache.catalina.mbeans.jmxremotelifecyclelistener.lifecycleevent(jmxremotelifecyclelistener.java:284) @ org.apache.catalina.util.lifecyclesupport.firelifecycleevent(lifecyclesupport.java:95) @ org.apache.catalina.util.lifecyclebase.firelifecycleevent(lifecyclebase.java:90) @ org.apache.catalina.util.lifecyclebase.setstateinternal(lifecyclebase.java:394) @ org.apache.catalina.util.lifecyclebase.setstate(lifecyclebase.java:339) @ org.apache.catalina.core.standardserver.startinternal(standardserver.java:762) @ org.apache.catalina.util.lifecyclebase.start(lifecyclebase.java:147) @ org.apache.catalina.startup.catalina.start(catalina.java:629) @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:62) @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) @ java.lang.reflect.method.invoke(method.java:498) @ org.apache.catalina.startup.bootstrap.start(bootstrap.java:351) @ org.apache.catalina.startup.bootstrap.main(bootstrap.java:485) caused by: java.net.bindexception: address in use @ java.net.plainsocketimpl.socketbind(native method) @ java.net.abstractplainsocketimpl.bind(abstractplainsocketimpl.java:387) @ java.net.serversocket.bind(serversocket.java:375) @ java.net.serversocket.<init>(serversocket.java:237) @ java.net.serversocket.<init>(serversocket.java:128) @ sun.rmi.transport.proxy.rmidirectsocketfactory.createserversocket(rmidirectsocketfactory.java:45) @ sun.rmi.transport.proxy.rmimastersocketfactory.createserversocket(rmimastersocketfactory.java:345) @ sun.rmi.transport.tcp.tcpendpoint.newserversocket(tcpendpoint.java:666) @ sun.rmi.transport.tcp.tcptransport.listen(tcptransport.java:330) ... 22 more
generally, tomcat uses default port of 8080 show http content, url http://172.22.68.60:8010 wrong. have tried http://172.22.68.60:8080 ?
Comments
Post a Comment