Modify the Tomcat port to open the server under Tomcat directory --> Tomcat 5.5 --> conf -->. XML file. Modify the port. export <connector Port = "8080" maxhttpheadersize = "8192" maxthreads = "150" minsparethreads = "25" maxsparethreads = "75" enablelookups = "false" redirectport = "8443" acceptcount "100" connectiontimeout = "20000" disableuploadtimeout = "true"/> Publish ------------------------------------------------------------------------------------------------
2. Modify the jboss4.0.2 port because the JBoss port is 8080, which is in conflict with Oracle and tomcat. Therefore, I decided to modify its port number. Open the JBoss directory --> jboss-4.0.2 --> server --> default --> deploy --> server. xml file under the jbossweb-tomcat55.sar, modify the port. Export port = "8080" address = "$ {JBoss. BIND. address} "maxthreads =" 250 "strategy =" Ms "maxhttpheadersize =" 8192 "emptysessionpath =" true "enablelookups =" false "redirectport =" 8443 "acceptcount =" 100 "connectiontimeout = ""20000" disableuploadtimeout = "true"/> ------------------------------------------------------------------------- --- Change 8080 to another port that is not in use. I changed it to 8082.
Modify the port of three jboss-4.2.2.GA "Open JBoss directory --> jboss-4.2.2.GA --> server --> default --> deploy --> jboss-web.deployer --> server under. XML file. Modify the port. connector <connector Port = "8080" address = "$ {JBoss. BIND. address} "maxthreads =" 250 "maxhttpheadersize =" 8192 "emptysessionpath =" true "protocol =" HTTP/1.1 "enablelookups =" false "redirectport =" 8443" Acceptcount = "100" connectiontimeout = "20000" disableuploadtimeout = "true"/> modify 8080 to another unused port. I will change it to 8888 here. Note: There are three users under the server of the jboss-4.2.2.GA (all, default, minimal), I modified here is defaul user, because I often use the default user, the other two users are all I care about. You can change the port number of a user according to your own situation. Of course, the ports of the three users are the same, so that the port can be occupied again. But now the J2EE application development of the server with jboss-4.2.2.GA, jboss4.0.2 less. Change 8080 to another port that is not occupied. I will change it to 8008 here.
4. The remaining Oracle port is 8080. See the file in oraclehome/Network/admin/listener. ora content, # listener. ora network configuration file:/Oracle/Network/admin/listener. ora # generated by Oracle configuration tools. listener = (description_list = (description = (address_list = (address = (Protocol = TCP) (host = bmser) (Port = 1521) # This is the port number) (address_list = (address = (Protocol = IPC) (Key = EXTPROC) sid_list_listener = (sid_list = (sid_desc = (sid_name = plsextproc) (ORACLE_HOME =/Oracle) (program = EXTPROC) (sid_desc = (global_dbname = bmdb) (ORACLE_HOME =/Oracle) (sid_name = bmdb) after modification, restart LSNRCTL start