Resolving Oracle Tomcat 8080 port conflicts under Linux

Source: Internet
Author: User
Tags tomcat

When you start Tomcat, you are prompted to use 8080 ports, and then find the following findings:

A 8080 port-occupied error occurs when you install Oracle with Tomcat, JBoss, and other 8080-port-consuming servers on a single machine

First, check the use of port 8080

[Root@olivenan root]# lsof-i: 8080-n

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME

Tnslsnr 1031 Oracle 12u IPV4 2013 TCP *:webcache (LISTEN)

[Root@olivenan root]# lsof-i Tcp:8080-n

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME

Tnslsnr 1031 Oracle 12u IPV4 2013 TCP *:webcache (LISTEN)

8080 ports were found to be used by Oracle, noting the use of lsof command parameters.

[Root@olivenan root]# lsof-i Udp:8080-n

[Root@olivenan root]# lsof-i|grep 8080

[Root@olivenan root]# netstat-tln|grep 8080

TCP 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN

[Root@olivenan root]#

Second, the search for solutions

Workaround One,

Will *.dispatchers= ' (protocol=tcp) (SERVICE=ORCLXDB) '

Modified to #*.dispatchers= ' (protocol=tcp) (SERVICE=ORCLXDB) '

[Oracle@olivenan dbs]$ sqlplus "/as sysdba"

Sql*plus:release 9.2.0.4.0-production on Fri June 6 10:37:32 2007

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

Connected to:

Oracle9i Enterprise Edition Release 9.2.0.4.0-production

With the partitioning, OLAP and Oracle Data Mining options

Jserver Release 9.2.0.4.0-production



Related Article

Alibaba Cloud 10 Year Anniversary

With You, We are Shaping a Digital World, 2009-2019

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

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.