Tomcat installation fails. -- Linux general technology-Linux technology and application information. For details, refer to the following section. Tomcat installation fails.
I have installed tomcat and started it successfully. But I cannot open http: // localhost: 8080, prompting that the host cannot be connected.
When shoutdown tomcat, the following error occurs:
Using CATALINA_BASE:/server/tomcat-4.1
Using CATALINA_HOME:/server/tomcat-4.1
Using CATALINA_TMPDIR:/server/tomcat-4.1/temp
Using JAVA_HOME:/opt/jdk
Catalina. stop: java.net. ConnectException: Connection refused
Java.net. ConnectException: Connection refused
At java.net. PlainSocketImpl. socketConnect (Native Method)
At java.net. PlainSocketImpl. doConnect (PlainSocketImpl. java: 333)
At java.net. PlainSocketImpl. connectToAddress (PlainSocketImpl. java: 195)
At java.net. PlainSocketImpl. connect (PlainSocketImpl. java: 182)
At java.net. SocksSocketImpl. connect (SocksSocketImpl. java: 366)
At java.net. Socket. connect (Socket. java: 507)
At java.net. Socket. connect (Socket. java: 457)
At java.net. Socket. (Socket. java: 365)
At java.net. Socket. (Socket. java: 178)
At org. apache. catalina. startup. Catalina. stop (Catalina. java: 532)
At org.apache.catalina.startup.Catalina.exe cute (Catalina. java: 352)
At org. apache. catalina. startup. Catalina. process (Catalina. java: 129)
At sun. reflect. NativeMethodAccessorImpl. invoke0 (Native Method)
At sun. reflect. NativeMethodAccessorImpl. invoke (NativeMethodAccessorImpl. java: 39)
At sun. reflect. DelegatingMethodAccessorImpl. invoke (DelegatingMethodAccessorImpl. java: 25)
At java. lang. reflect. Method. invoke (Method. java: 585)
At org. apache. catalina. startup. Bootstrap. main (Bootstrap. java: 156)
--------------------------------------------------------------------
I am a newbie. Please give me some advice.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.