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"/>