Only in the myeclipse of the use of Tomcat one afternoon encountered a variety of problems, I do not want to complain about their hands cheap, can only spit groove it is too ungrounded gas, now will be a number of solutions to the summary, only to this text dedicated to the same as me. I don't talk about > people who meet these problems. (This article is linked to the previous article)
Error Content:
severalports (8005, 8080, 8009) required by Myeclip
Recently encountered a problem, downloaded a tomcat7.0.23 version of the software (not the official website to download), the environment variable settings are correct but are not able to access http:localhost:8080. Here are my solutions:
(1): Determine my environment variable settings are correct (I set the following):
System Variable Configuration: (To resolve Tomcat startup Startup.bat when it flashed)Java_homeC:\Program Files (x86) \java\jdk1.7.0_
Error: "Connect timed out. Verify the connection properties and check that the instance of SQL Server is running on the host, accept TCP/IP connections on this port, and make sure that the firewall does not block TCP connections to this port. "The problem with this connection error.The problem of error. Now, the small part to share the solution to this problem, hope to be useful to everyone.Workaround: From "All Programs" in "Start", open the SQL Server Configuration Manager (configuration Manag
Obviously, the above prompt shows that the port 8080 has been occupied, so it is enough to kill the process that occupies the port. The following question is how to know which process occupies the port number. Google get the followingArticle: Http://www.cnblogs.com/yanchaochao/archive/2009/03/30/netstat.html. Note:
To view all the connection and listening ports, you can add the-a parameter to display the process ID of each connection. You can add the
1, info:maximum number of threads ($) created for connector with address null and port 8091Description: The maximum number of threads is wrongSolution:Using a thread pool to handle more access with fewer threads can improve the ability of Tomcat to process requests. How to use:First of all. Open/conf/server.xml, add
Executor name="Tomcatthreadpool" nameprefix="catalina-exec- "
maxthreads= "minsparethreads=" maxidletime= " 60000" />
Maximum thread 500 (general server suf
When the above error occurs, you need to configure the policy file and write a crossdomain. put the XML file in the root directory of the site, that is, http: // localhost: 8080/crossdomain. where XML can be accessed,
The content of crossdomain. XML is as follows:
Write "*" of the domain attribute to the IP address that can be accessed. In to-ports, "*" is written to the port. The problem can be solved according to the above description!
I. Problems Found
Info: Maximum number of threads (200) created for connector with address null and port 8080
The maximum number of threads is incorrect.Solution: Use a thread pool to process more requests with fewer threads, which can improve Tomcat's ability to process requests.
Ii. Usage
Open/CONF/server. xml and add
Maxthreads = "500" minsparethreads = "20" maxidletime = "60000"/>
The maximum number of threads is 500 (generally enough on the serve
Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are. The server may already is running in another process, or a system process may is using the port. To start this server you'll need to stop the other process or change the port number (s).
This error occurs when Eclipse runs the Web because you have already opened Tomcat on the outside through Starup.bat, while running in eclipse once again opens Tomcat through the se
The iptables configuration file is located in the/etc/sysconfig/directory, which reads as follows:
# Firewall configuration written by System-config-securitylevel # Manual customization of ' This ' file is ' not recommended.*filter: INPUT ACCEPT [0:0]: FORWARD ACCEPT [0:0]: OUTPUT ACCEPT [0:0]: Rh-firewall-1-input-[0:0]-A input-j Rh-firewall-1-input-A forward-j Rh-firewall-1-input-A rh-firewall-1-input-i lo-j ACCEPT-A rh-firewall-1-input-p ICMP--icmp-type any-j ACCEPT-A rh-firewall-1-input-p 50
1. Modify the Web.xml file under Tomcat/webapps/root/web-inf as follows: "Xmlversion= 1.0" encoding= "Iso-8859-1"?> PUBLIC "-//sunmicrosystems,inc.//dtdweb application2.3//en " " Http://java.sun.com/dtd/web-app_2_3.dtd "> nbsp;
2. Create index.html file in Tomcat/webapps/root, write code as follows:
3. Modify the Server.xml file under tomcat/conf to change 8080 port to: MaxThreads = "Minsparethreads" = "maxsparethreads" = "75"Enabl
1. Log in to the database with the SYS accountSQL Plus Enter the command below: Conn SYS as DBA; Enter the password after the return.Tip: The connection succeeds with the second step.2. Modify the port number bitSQL Plus Enter the command below: Call Dbms_xdb.cfg_update (Updatexml (), Dbms_xdb.cfg_get (),2 '/xdbconfig/sysconfig/protocolconfig/httpconfig/http-port/text () ', 8081))3/Tip: Call Complete3. SubmitSQL Plus ENTER commands below: CommitTip: Commit CompleteOracle modifies
Tomcat found in boot MyEclipse has an error indicating that port 8080 is occupiedThe first step: window+r the Command window with the key combination.Step two: Output command: netstat-ano|findstr 8080, enter, note the last number is PID, here is 4Step three: Open Task Manager, Ctrl+shift+esc, to see that the PID of 4 corresponds to a process is a system, but it does not occupy
Start Tomcat Server error:
Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are. The server may already is running in another process, or a system process may is using the port. To start this server you'll need to stop the other process or change the port number (s).
Cause: Port 8005, 8080, 8009 are occupied. It is possible that eclipse was turned off with Tomcat turned on, or th
Start Tomcat Server error:
Several ports (8005, 8080, 8009) required by Tomcat v5.5 Server at localhost are. The server may already is running in another process, or a system process may is using the port. To start this server you'll need to stop the other process or change the port number (s).
Cause: Port 8005, 8080, 8009 are occupied. It is possible that eclipse was turned off with Tomcat turned on, or th
From Oracle9i, oracle Installation includes XDB by default. After the database, the http service of Oracle XDB automatically occupies port 8080, which makes it a lot of trouble to use java web development or JBoss or Tomcat. Here we will introduce three methods to modify the http and ftp service ports of XDB:
1. Use the dbms_xdb package to modify port settings
Use sys to log on to sqlplusSqlplus sys/syspassword as sysdbaThen execute the following scri
After study, it is found that the cause of the problem may be:1. The default 80 port is occupied;2. Service-->apache Tomcat is not open;3. There is information that the device is 64 or 32 bits, and the software does not match;4. (There is also information about the JRE JDK two configuration error);Modify the process:1.conf--Server.xml Modify port 8080 to 8088, unsuccessful, after modification to 8081 is still unsuccessful;2. Open the service and disco
Apache was deployed under Linux, for Security we started with a non-root user, but the 80 port number could not be accessed directly during domain binding. As we all know, under Unix, non-root users can not listen to the port number under 1024, this Apache server can not be bound to 80 port. So we need to use the port forwarding mechanism of Linux, and transfer the service request to port 80 to port 8080.Run the command below the root account:-t-A-p--
Solution to port 80 occupation after Oracle Installation: Modify two files in the oracleApacheApacheconf Directory: httpd. conf and httpd. conf. default.
After installing Oracle, you can solve port 80 occupation by modifying two files in the oracle \ Apache \ conf directory: httpd. conf and httpd. conf. default.
Solution to port 80 occupation after Oracle installation:
Modify two files in the oracle \ Apache \ conf directory: httpd. conf, httpd. conf. default: Change the port in the file
ACTION.C (4): error-27796:failed to connect to server ' 10.0.9.184:8080 ': [10060] Connection timed out (1) in Load Generator registry Hkey_lo Cal_machine/system/currentcontrolset/services/tcpip/parameters, there are two key values: TcpTimedWaitDelay and MaxUserPort1, Here the TcpTimedWaitDelay default value should be 30s, so here, turn this value to 5s (adjust as needed). 2, you can also turn the MaxUserPort (if this value is not the maximum value).
The following two errors occur when you reinstall Tomcat today: 1. it can be started successfully, but error 8080 is reported when accessing http: // localhost: 404/, 2. the selected server is enable, ....... Error 1: the root folder is missing in the webapp file under my tomcat installation file. Root is also a web project, but this is the built-in tomcat. The last "/" in the http: // localhost: 8080/path
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.