Jboss-4.2.2.GA, jboss-4.2.3.GA modify Port

Source: Internet
Author: User
Tags jboss

Today, my boss asked me to take a look at the content of EJB. I have posted some documents and examples on the Internet and want to follow them. When running jboss, it is found that the default port is port 8080, which has already been occupied by iis. So I want to change the port, but I cannot find the location of the configuration file. The directory % JBOSS_HOME %/server/default/deploy/jbossweb-tomcat55.sar/server. xml was found online, but the jbossweb-tomcat55.sar was not found in my file. But you know the directory, found below: \ jboss-4.2.2.GA \ server \ default \ deploy \ jbossjca-service.xml is in this file.

Under a jboss-4.2.3.GA, it is found that the configuration file path is different. In \ jboss-4.2.3.GA \ server \ default \ deploy \ jboss-web.deployer \ server. xml

But are in \ jboss-4.2.3.GA \ server \ default \ deploy below, as long as you look for good, dependency is not difficult to find.

Below is the port Node

<Connector port = "8089" address = "$ {jboss. bind. address }"
MaxThreads = "250" maxHttpHeaderSize = "8192"
EmptySessionPath = "true" protocol = "HTTP/1.1"
EnableLookups = "false" redirectPort = "8443" acceptCount = "100"
ConnectionTimeout = "20000" disableUploadTimeout = "true"/>

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.