当前位置: 技术问答>java相关
jdk1.3+tomcat4.0.3+win2000 server family下的问题?100分快来拿
来源: 互联网 发布时间:2015-11-17
本文导语: 我先安装的是jdk1.3,然后在环境变量中设置了java_home=d:Jdk1.3 接着安装了tomcat4.0.3,装好后又设置了 变量名:Tomcat_home 变量值:d:tomcat; 变量名:Classpath 变量值:d:jdk1.3libtools.jar; d:jdk1.3libdt.jar;d:Tomcatlib; 变量名:Path 变量...
我先安装的是jdk1.3,然后在环境变量中设置了java_home=d:Jdk1.3
接着安装了tomcat4.0.3,装好后又设置了
变量名:Tomcat_home 变量值:d:tomcat;
变量名:Classpath 变量值:d:jdk1.3libtools.jar;
d:jdk1.3libdt.jar;d:Tomcatlib;
变量名:Path 变量值:d:jdk1.3bin;
接着就启动tomcat 结果出现了下面的信息。
Catalina.start: LifecycleException: null.open: java.net.BindException: Address
in use: JVM_Bind:8080
LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bin
d:8080
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1130)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address in use: JVM_Bind:8080
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava:950)
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1128)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
请问是什么原因啊?
接着安装了tomcat4.0.3,装好后又设置了
变量名:Tomcat_home 变量值:d:tomcat;
变量名:Classpath 变量值:d:jdk1.3libtools.jar;
d:jdk1.3libdt.jar;d:Tomcatlib;
变量名:Path 变量值:d:jdk1.3bin;
接着就启动tomcat 结果出现了下面的信息。
Catalina.start: LifecycleException: null.open: java.net.BindException: Address
in use: JVM_Bind:8080
LifecycleException: null.open: java.net.BindException: Address in use: JVM_Bin
d:8080
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1130)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address in use: JVM_Bind:8080
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava:950)
at org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1128)
at org.apache.catalina.core.StandardService.initialize(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize(StandardServer.jav
a:553)
at org.apache.catalina.startup.Catalina.start(Catalina.java:780)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
请问是什么原因啊?
|
我明白了,你安装的时候 选择了 作为服务启动,所以你一启动奇迹,自动的就已经启动了
你在浏览器输入http://127.0.0.1:8080看看
你在浏览器输入http://127.0.0.1:8080看看