JBOSS 5.0与tomcat 6.0端口设置
2011-10-26 14:39
465 查看
1.JBOSS 5.0端口设置
网上找到了许多关于JBOSS端口设置的,不过最后发现都是一些4.0的端口设置方法,JBOSS 5.0与4.0版本目录结构有很大变化,下面将JBOSS 5.0端口设置方法。找到目录D:\Program Files (x86)\JavaEE\jboss-5.0.1.GA\server\default\deploy\jbossweb.sar\server.xml,打开server.xml,将原来的
<!-- A HTTP/1.1 Connector on port 8080 --> <Connector protocol="HTTP/1.1" port="8080" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" /> <!-- Add this option to the connector to avoid problems with .NET clients that don't implement HTTP/1.1 correctly restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*{1}quot; --> <!-- A AJP 1.3 Connector on port 8009 --> <Connector protocol="AJP/1.3" port="8009" address="${jboss.bind.address}" redirectPort="8443" />修改为:
<!-- A HTTP/1.1 Connector on port 8180 --> <Connector protocol="HTTP/1.1" port="8180" address="${jboss.bind.address}" connectionTimeout="20000" redirectPort="8443" /> <!-- Add this option to the connector to avoid problems with .NET clients that don't implement HTTP/1.1 correctly restrictedUserAgents="^.*MS Web Services Client Protocol 1.1.4322.*{1}quot; --> <!-- A AJP 1.3 Connector on port 8109 --> <Connector protocol="AJP/1.3" port="8109" address="${jboss.bind.address}" redirectPort="8443" />修改完以后启动jboss服务器,http://localhost:8180/ 就是登陆地址。
2.Tomcat端口设置
Tomcat设置端口的配置文件在目录:D:\Program Files (x86)\JavaEE\apache-tomcat-6.0.33\conf\server.xml。修改方法跟jboss差不多,设置自己的端口即可。这里我tomcat的端口保持为原来的8080.
相关文章推荐
- JBOSS 5.0与tomcat 6.0端口设置
- 下载jboss-5.0.0.Beta4地址和设置端口
- 设置Tomcat监听80端口
- 如何设置Tomcat6.0默认主页
- Linux下设置监控tomcat端口脚本,优化版
- Tomcat5.0与Tomcat6.0目录结构详解
- JBoss JBPM 实践系列(一)--- 安装配置(Tomcat 6.0 + MySQL 5.1)
- Linux下设置监控tomcat端口脚本,优化版
- 如何设置Tomcat的默认端口(图文)
- Tech : 傻人配置Jboss4.04 + Tomcat5.0
- JSP+Tomcat 6.0 JDBC连接MySQL数据库设置
- Tomcat——端口设置
- Tomcat6.0的Mysql数据库连接池设置与举例(总结)
- tomcat6.0设置成windows服务启动与一台机器装多个tomcat
- tomcat6.0 配置不同端口访问不同项目
- windows mobile 5.0/6.0 PocketPC模拟器上网的设置
- 关于设置tomcat端口为80的事
- Tomcat6.0内存设置
- Tomcat域名映射和端口设置(转)
- spring-boot设置内置启动的tomcat端口