同时开了Jboss5.0和tomcat6.0,jboss启动没问题,但tomcat启动报错
错误如下:
2010-7-25 16:52:11 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 8.0\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
2010-7-25 16:52:11 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8888
2010-7-25 16:52:11 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 375 ms
2010-7-25 16:52:11 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-7-25 16:52:11 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2010-7-25 16:52:12 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2010-7-25 16:52:12 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2010-7-25 16:52:12 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
2010-7-25 16:52:13 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
2010-7-25 16:52:13 org.apache.jk.common.ChannelSocket init
信息: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
2010-7-25 16:52:13 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8010
2010-7-25 16:52:13 org.apache.jk.server.JkMain start
信息: Jk running ID=1 time=0/16 config=null
2010-7-25 16:52:13 org.apache.catalina.startup.Catalina start
信息: Server startup in 1707 ms
错误如下:
2010-7-25 16:52:11 org.apache.catalina.core.AprLifecycleListener init
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\MyEclipse 8.0\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\bin;D:\Program Files\Apache Software Foundation\Tomcat 6.0\bin
2010-7-25 16:52:11 org.apache.coyote.http11.Http11Protocol init
信息: Initializing Coyote HTTP/1.1 on http-8888
2010-7-25 16:52:11 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 375 ms
2010-7-25 16:52:11 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2010-7-25 16:52:11 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.18
2010-7-25 16:52:12 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-default.xml]
2010-7-25 16:52:12 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts-plugin.xml]
2010-7-25 16:52:12 com.opensymphony.xwork2.util.logging.commons.CommonsLogger info
信息: Parsing configuration file [struts.xml]
2010-7-25 16:52:13 org.apache.coyote.http11.Http11Protocol start
信息: Starting Coyote HTTP/1.1 on http-8888
2010-7-25 16:52:13 org.apache.jk.common.ChannelSocket init
信息: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind
2010-7-25 16:52:13 org.apache.jk.common.ChannelSocket init
信息: JK: ajp13 listening on /0.0.0.0:8010
2010-7-25 16:52:13 org.apache.jk.server.JkMain start
信息: Jk running ID=1 time=0/16 config=null
2010-7-25 16:52:13 org.apache.catalina.startup.Catalina start
信息: Server startup in 1707 ms
解决方案 »
- GlassFish等应用服务器上的web应用怎么从外网访问?
- 新手求教hibernate annotation的查询方法
- webservice 与 EJB的区别
- 有用JAVA开发过权限管理模块的吗?
- java连接oracle的问题
- Java calendar 时区的问题
- weblogic 9.0 下首页优化,提高多人访问性能的办法
- 急!!!请问JBuilder工程如何移到Eclipse中去呢!!!!在线等待啊!!!!!!!!!!!!
- [200分]关于spring:bind的问题?急等!!!!!!!!!!!!!!!!
- 奇怪的问题 在线等待 急
- struts2这报的是啥错啊,蛋疼。
- 请教:Struts 2 引用资源文件资源,在页面中显示乱码的问题
解决方法就是修改jboss的端口或者tomcat的端口。
tomcat为例
找conf 目录中的server.xml 寻找报错的端口 ,你目前例子是8009 因为
“信息: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind”
改成其他的比如9009好了