When I try to start Tomcat 4.0 I am getting the following error messages: 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 at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) at java.net.ServerSocket.<init>(Unknown Source) 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 java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243) I am using Win 2000(prof) and my PC is connected to LAN. but I am installing Tomcat on my own PC as stand alone. I have set up all the parms as: CATALINA_HOME : D:\Tomcat4 JAVA_HOME: D:\jdk1.3 CLASSPATH: D:\Tomcat4\common\lib\servlet.jar What I am missing ?
What I didn't mention in that earlier post was that if it's not Tomcat, then something else on your system is already using the port. Change the port to something else in Tomcat's configuration file.
Wasim Ahmed
Ranch Hand
Joined: Jan 31, 2001
Posts: 90
posted
0
Thanks MIKE..... that did it. I went in Control Panel -> Adimn Tools -> Services and there it was Tomcat set to automatic startup. I changed the properties to manual and it worked. Thanks again.
Wasim Ahmed
Ranch Hand
Joined: Jan 31, 2001
Posts: 90
posted
0
Hello again, Now when I type localhost/Hello.jsp I get the following error: in the root cause java.lang.NoClassDefFoundError: sun/tools/javac/Main I have added all the Paths and classes now what I am missing? Any help
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
By any chance is your jsp called hello.jsp and not Hello.jsp?
Muhammad Farooq
Ranch Hand
Joined: May 08, 2001
Posts: 356
posted
0
When I try to start Tomcat 4.0, I got the following error. -- You must set JAVA_HOME to point at your Java Development Kit installation -- Then I issue the following command at DOS-Prompt set JAVA_HOME=c:\j2sdk1.4.0 but still the same problem, Can somebody help... TIA
Muhammad Farooq<br />Sun Certified Programmer for Java 2 Platform<br />Oracle8i Certified Professional Database Administrator
Wasim Ahmed
Ranch Hand
Joined: Jan 31, 2001
Posts: 90
posted
0
Hi Bodie, No file called Hello.jsp I am trying to run marty hall's example.
Hi there, I believe you need to have the tools.jar in your classpath. I have a problem too. I am trying to run the tomcat 4.x on a RHL7.2 m/c. Everything is fine (i have the necessary regxp/servletapi/xerces libs in place, or Atleast I guess so). whenever I start the tomcat It starts without any issues. But I am not able to get anything in my browser? any light on this part? thanks in advance cheers and regards Ravee.
Wasim Ahmed
Ranch Hand
Joined: Jan 31, 2001
Posts: 90
posted
0
Problem is Solved. How? I re-install Tomcat 4. I have upgraded the JDSk from 1.3 to 1.4 and since then it was a problem. I think Tomcat put the hooks in the JSDK and once you upgrade it doesn't recognize the new libraries (eventhough i chnaged them all the Parms). Anyway thanks guys.