Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

how to comfigure TOM CAT 4.0 ?

  Asked By: Willie    Date: Aug 14    Category: Java    Views: 584
  

i'm having a problem with my TomCat 4.0 configuration
Inoder to configure TomCat do the steps as:

1) Set the JAVA_HOME environment variable to the Directory in
which i have installed my JDK1.4
say:

JAVA_HOME = E:\jdk1.4

2) Set the CLASS_PATH to the directory as

CLASS_PATH = E:\jdk1.4\bin.

3) Set the PATH variable to the value of the directory in which java
bin is residing .

PATH =... ;E:\jdk1.4\bin.

4) Then start the TomCat by clicking the startup.(BATCH file )

th eproblem is this that when i click the start up file it generate
an exception as
--------------------------------------------------------------------

Catalina.start:
LifecycleException: null.open: java.net.BindException: Address
already in use: JVM_Bind
LifecycleException: null.open: java.net.BindException: Address
already in use:
JVM_Bind
at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1116)
at org.apache.catalina.core.StandardService.initialize
(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize
(StandardServer.jav
a:552)
at org.apache.catalina.startup.Catalina.start
(Catalina.java:775)
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:30)
at sun.reflect.InflatableMethodAccessorImpl.invoke
(InflatableMethodAcces
sorImpl.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
at org.apache.catalina.startup.Bootstrap.main
(Bootstrap.java:218)
----- Root Cause -----
java.net.BindException: Address already in use: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:310)
at java.net.ServerSocket.bind(ServerSocket.java:305)
at java.net.ServerSocket.bind(ServerSocket.java:265)
at java.net.ServerSocket.<init>(ServerSocket.java:201)
at java.net.ServerSocket.<init>(ServerSocket.java:150)
at
org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at org.apache.catalina.connector.http.HttpConnector.open
(HttpConnector.j
ava:946)
at
org.apache.catalina.connector.http.HttpConnector.initialize(HttpConne
ctor.java:1114)
at org.apache.catalina.core.StandardService.initialize
(StandardService.j
ava:454)
at org.apache.catalina.core.StandardServer.initialize
(StandardServer.jav
a:552)
at org.apache.catalina.startup.Catalina.start
(Catalina.java:775)
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:30)
at sun.reflect.InflatableMethodAccessorImpl.invoke
(InflatableMethodAcces
sorImpl.java:48)
at java.lang.reflect.Method.invoke(Method.java:306)
at org.apache.catalina.startup.Bootstrap.main
(Bootstrap.java:218)

---------------------------------------------------------------------



I am not understanding what mistake i have made.
please any body tell me about it or have i made any mistake in
configuring it.??

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Lurline Fischer     Answered On: Aug 14

Another process is running on the port for which tomcat  is configured. Change
the Tomcat server port in the configuration files and start  the tomcat server.

 
Didn't find what you were looking for? Find more on how to comfigure TOM CAT 4.0 ? Or get search suggestion and latest updates.




Tagged: