• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tomcat installation problem in Linux

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed Jdk and tomcat under /usr/java/jdk1.3.1_02 and /usr/tomcat/jakarta-tomcat-4.0 directories and set up JAVA_HOME and CATALINA_HOME env vars in the profile file under /etc. I am running Mandrake8.1 distr. After I ran the startup.sh command, here is what I got on the screen:
Using CLASSPATH: /usr/tomcat/jakarta-tomcat-4.0/bin/bootstrap.jar:/usr/java/jdk1.3.1_02/lib/tools.jar
Using CATALINA_BASE: /usr/tomcat/jakarta-tomcat-4.0
Using CATALINA_HOME: /usr/tomcat/jakarta-tomcat-4.0
Using CATALINA_TMPDIR: /usr/tomcat/jakarta-tomcat-4.0/temp
Using JAVA_HOME: /usr/java/jdk1.3.1_02
and I can not bring up the "localhost:8080". I do have apache installed on this machine. I also looked at tomcat's log file (catalina.out). Here is what's in it:
Bootstrap: Class loader creation threw exception
java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:110)
at java.util.jar.JarFile.<init>(JarFile.java:115)
at java.util.jar.JarFile.<init>(JarFile.java:82)
at org.apache.catalina.startup.ClassLoaderFactory.validateJarFile(Unknown Source)
at org.apache.catalina.startup.ClassLoaderFactory.createClassLoader(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Unknown Source)

I'd really appreciate any help on this. Thanks in advance.
 
Sheriff
Posts: 13510
223
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adam,
I'm moving this to the Apache/Tomcat Forum.
Junilu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!