Reputation: 91
This is the error I get when I try to run tomcat server "the server localhost:8080 requires a username and a password. the server says: XD". I hav researched and found that it is due to Oracle. Since Oracle has hijacked that portnumber. So I changed my oracle portnumber from 8080 to 3010. But i still get the same error! Installing tomcat again also has not solved the problem!
Upvotes: 9
Views: 12218
Reputation: 228
Oracle XDB services uses the port number 8080. So I suggest you to change the port of tomcat by Editing server.xml. for that go into the {tomcat-installation-dir}/conf and edit following line in server.xml.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
Just change the Connector port to 8081(or something else other than 8080) and restart tomcat. It should work then.
Upvotes: 12
Reputation: 4042
I had the same problem. I realized that another service has been run on port 8080. I stopped the service and restarted the tomcat. The issue was resolved.
Upvotes: 3