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!
Apache Tomcat requires Java: If you have multiple Java versions installed on your system, we recommend that you uninstall earlier Java versions and keep only the latest Java.
Out Of Memory Errors, or OOMEs, are one of the most common problems faced by Apache Tomcat users. Generally, these errors occur during development, but can even occur on production servers that are experiencing an unusually high spike of traffic.
Use a browser to check whether Tomcat is running on URL http://localhost:8080 , where 8080 is the Tomcat port specified in conf/server. xml. If Tomcat is running properly and you specified the correct port, the browser displays the Tomcat homepage.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With