aspose file tools*
The moose likes Tomcat and the fly likes Tomcat Server Startup problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Server Startup problem" Watch "Tomcat Server Startup problem" New topic
Author

Tomcat Server Startup problem

SrinivasaRao Sanagapalli
Greenhorn

Joined: Dec 11, 2001
Posts: 10
I downloaded and configured the server as per the link which u sent. I do have some problems while starting up the server. Here I am giving the errors, pls look into that and help me if you can. I would greatly appreciate it.

C:\Tomcat403\bin>startup
Using CATALINA_BASE: C:\Tomcat403
Using CATALINA_HOME: C:\Tomcat403
Using CATALINA_TMPDIR: C:\Tomcat403\temp
Using JAVA_HOME: C:\j2sdk14
C:\Tomcat403\bin>
In the other window:
Catalina.start: LifecycleException: null.open: java.net.BindException: Address
already in use: JVM_Bind:80
LifecycleException: null.open: java.net.BindException: Address already in use:
JVM_Bind:80
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
----- Root Cause -----
java.net.BindException: Address already in use: JVM_Bind:80
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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
I couldn't understand why it is coming like this.
I am thinking that the port 80 is using other ones. Just a guess. What I need to use if 80 is used by other services.
Thanks
taash mg
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
Hi
The Running.txt file that u have in ur jakarta-tomcat4....whatevr folder tells u how and where u can change the port.. please refer to the documentation.
Cheers
Taash


Cheers<p>Taash<br />SCJP2
Gale Greaser
Greenhorn

Joined: Aug 05, 2002
Posts: 17
Sounds like there is another application is using port 80. FPort is a great free product that can tell you which applications are using what ports. Figure out whats using port 80 and kill it, or simply use a different port.
If you are running a Server OS like Windows 2000 Advanced Server...the IIS listens on port 80 by default. You can either uninstall that in add/remove programs or use a different port.
Much luck.
 
Consider Paul's rocket mass heater.
 
subject: Tomcat Server Startup problem