In myeclipse, the unauthorized

Source: Internet
Author: User
<Doctype HTML public-wcdtd XHTML stricten httpwwwworgtrxhtmldtdxhtml-strictdtd>

I believe that both orcal and myeclipse have encountered such a problem. When myeclipse runs a web project, this XDB prompts you to enter your username and password.

The unauthorized will appear three times later no matter how you enter it.

In fact, this is an orcal service that occupies Tomcat port 8080. This service is called oracleserviceicss,

Right-click my computer> Manage> services and applications> services.

 

You only need to stop this service, but if you stop it, it seems that people in other local networks will not be able to access your database. When we were working on a project, because the database is installed on my machine, I have opened all these services.

Another way to solve this unauthorized problem is to modify the Tomcat port. I mean to modify the Tomcat port built in myeclipse and change it to 8089. I like the number 9. If it is not a built-in tomcat, you can directly change it during installation. Okay. Let me talk about how to change the built-in file. First, go to your myeclipse file and search for the server. xml file.

 

This is the file in the Tomcat file directory.

 

Right-click server. xml and select the folder to open, as shown in figure

 

After entering this page, you can find the tomcat-base.zip compressed file icon in your folder,

 

Then, extract the tomcat-base.zip file, find the Tomcat \ conf directory, and Open Server. xml,

 

Modify a parameter in this file

<Connector Port = "8080" protocol = "HTTP/1.1"

Connectiontimeout = "20000"

Redirectport = "8443" type = "regxph" text = "yourobjectname"/>

Change 8080. Of the first line to 8089. Maybe because of different myeclipse versions, some parameters in this section are different. You just need to remember to change 8080 to 8089.

Oh, by the way, didn't the zip package of Tomcat be decompressed just now, and then we changed something. Therefore, we need to compress the changed items now. The names must be the same, and then delete the original package and replace it with this package.

Well, we have done it here, but we have not re-set the port in myeclipse. It is not enough to change it here.

In myeclipse, choose Window> preferences> myeclipse> servers> integrated sandbox> myeclipse Tomcat 6 in the toolbar,

 

If you see that 8080, you can change it to 8089. Of course, if you change other numbers in Tomcat, you can change it to the same one here, as long as it is not occupied.

 

# Myeclipse # port problems

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.