It's not a secret anymore!*
The moose likes Servlets and the fly likes Tomcat Installation - jar files in class path for Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Tomcat Installation - jar files in class path for " Watch "Tomcat Installation - jar files in class path for " New topic
Author

Tomcat Installation - jar files in class path for

Happy Singh
Greenhorn

Joined: May 02, 2001
Posts: 5
Hi Everybody
I'm unable to install tomcat as it dishes out seom error messgaes after opening up the new command prompt window for Catalina. Can it be because i've some .jar files in my classpath (these files r used by anothe application).
Any help on this will be highly appreciated.
thanks and regards.
p.s.: The error i get is as follows :
A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t
arget' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b1
A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t
arget' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cgi
Catalina.start: LifecycleException: HttpConnector[80].open: java.net.BindExcep
tion: Address in use: bind
LifecycleException: HttpConnector[80].open: java.net.BindException: Address in
use: bind
at org.apache.catalina.connector.http.HttpConnector.start(HttpConnector.
java, Compiled Code)
at org.apache.catalina.core.StandardService.start(StandardService.java,
Compiled Code)
at org.apache.catalina.core.StandardServer.start(StandardServer.java, Co
mpiled Code)
at org.apache.catalina.startup.Catalina.start(Catalina.java:654)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
ode)
----- Root Cause -----
java.net.BindException: Address in use: bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
at java.net.ServerSocket.<init>(ServerSocket.java:173)
at java.net.ServerSocket.<init>(ServerSocket.java:124)
at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava, Compiled Code)
at org.apache.catalina.connector.http.HttpConnector.start(HttpConnector.
java, Compiled Code)
at org.apache.catalina.core.StandardService.start(StandardService.java,
Compiled Code)
at org.apache.catalina.core.StandardServer.start(StandardServer.java, Co
mpiled Code)
at org.apache.catalina.startup.Catalina.start(Catalina.java:654)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
ode)
[This message has been edited by Happy Singh (edited May 02, 2001).]
Mark Simms
Ranch Hand

Joined: Jul 20, 2000
Posts: 36
Try restarting Tomcat with the -classic option to eliminate any problems with the buggy JIT compiler.

Mark
Happy Singh
Greenhorn

Joined: May 02, 2001
Posts: 5
Hi Mark
I used startup -classic but it still dishes out following error
usage: java org.apache.catalina.startup.Catalina [ -config {pathname} ] [ -debug
] [ -nonaming ] { start | stop }
A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t
arget' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
Starting service Tomcat-Standalone
Apache Tomcat/4.0-b1
A nonfatal internal JIT (3.10.107(x)) error 'Relocation error: NULL relocation t
arget' has occurred in :
'org/apache/crimson/parser/Parser2.maybeComment (Z)Z': Interpreting method.
Please report this error in detail to http://java.sun.com/cgi-bin/bugreport.cg
i
Catalina.start: LifecycleException: HttpConnector[80].open: java.net.BindExcep
tion: Address in use: bind
LifecycleException: HttpConnector[80].open: java.net.BindException: Address in
use: bind
at org.apache.catalina.connector.http.HttpConnector.start(HttpConnector.
java, Compiled Code)
at org.apache.catalina.core.StandardService.start(StandardService.java,
Compiled Code)
at org.apache.catalina.core.StandardServer.start(StandardServer.java, Co
mpiled Code)
at org.apache.catalina.startup.Catalina.start(Catalina.java:654)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
ode)
----- Root Cause -----
java.net.BindException: Address in use: bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:390)
at java.net.ServerSocket.<init>(ServerSocket.java:173)
at java.net.ServerSocket.<init>(ServerSocket.java:124)
at org.apache.catalina.net.DefaultServerSocketFactory.createSocket(Defau
ltServerSocketFactory.java:118)
at org.apache.catalina.connector.http.HttpConnector.open(HttpConnector.j
ava, Compiled Code)
at org.apache.catalina.connector.http.HttpConnector.start(HttpConnector.
java, Compiled Code)
at org.apache.catalina.core.StandardService.start(StandardService.java,
Compiled Code)
at org.apache.catalina.core.StandardServer.start(StandardServer.java, Co
mpiled Code)
at org.apache.catalina.startup.Catalina.start(Catalina.java:654)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:595)
at org.apache.catalina.startup.Catalina.process(Catalina.java:176)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java, Compiled C
ode)
in my tomcat installation, I haven't made any entry to my calss path but i've some other jar files in my classpath. Can this cause a problem. Plz help..
Thanks..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Installation - jar files in class path for
 
Similar Threads
Getting runtime error while running program using JAXP
error when running SAX program
Fatal Error
Not able to start with Tomcat
Tomcat is *almost* running