tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Schöffel <>
Subject Re: Problem with
Date Mon, 13 Nov 2006 14:53:33 GMT
i tried running the build file. not very familiar with build files i got 
the following error message after downloading a lot of common libs:

      [get] Getting:
      [get] To: F:\usr\share\java\
      [get] Error opening connection 
      [get] Error opening connection 
      [get] Error opening connection 
      [get] Can't get
/drops/R-3.1.2-200601181600/ to 

F:\test\apache-tomcat-5.5.20-src\build.xml:48: The following error 
occurred whil
e executing this line:
F:\test\apache-tomcat-5.5.20-src\build\build.xml:1981: The following 
error occur
red while executing this line:
F:\test\apache-tomcat-5.5.20-src\build\build.xml:672: The following 
error occurr
ed while executing this line:
F:\test\apache-tomcat-5.5.20-src\build\build.xml:2015: Can't get 
http://sunsite. to \usr\share\java\

instead i retried exporting with eclipse (since unsing the tomcat build 
script did not work) with the manifest from the source, which looks like 

Manifest-Version: 1.0
Main-Class: org.apache.catalina.startup.Bootstrap
Class-Path: jmx.jar commons-daemon.jar commons-logging-api.jar 
Specification-Title: Catalina
Specification-Version: 1.0

sadly, this led to a different error:

E:\Programme\Apache\apache-tomcat-5.5.20\bin>catalina run
Using CATALINA_BASE:   E:\Programme\Apache\apache-tomcat-5.5.20
Using CATALINA_HOME:   E:\Programme\Apache\apache-tomcat-5.5.20
Using CATALINA_TMPDIR: E:\Programme\Apache\apache-tomcat-5.5.20\temp
Using JRE_HOME:        C:\Programme\Java\jre1.5.0_09
13.11.2006 15:49:15 org.apache.catalina.startup.Bootstrap initClassLoaders
SCHWERWIEGEND: Class loader creation threw exception
        at org.apache.catalina.startup.Bootstrap.init(
        at org.apache.catalina.startup.Bootstrap.main(

yet i inluded catalina.jar (which contains StandardClassLoader) in my 

Rainer Jung wrote:

> Inside the jar. Google for jar manifest will give you a link like:
> Jars and manifest are a general notation with java, they are not 
> special for tomcat.
> Stephan Schöffel wrote:
>> where can i find the manifest of bootstrap.jar?
>>> It's looking for LogFactory in main of Bootstrap. Have a look to 
>>> learn at the manifest of the bootstrap.jar to learn about the 
>>> dependencies.
>>> Regards,
>>> Rainer
>>> Stephan Schöffel wrote:
>>>> hi there
>>>> i'm trying to alter the class to fit my needs. i got 
>>>> the source of 5.5.20. now i altered the source in eclipse and 
>>>> exported all files that belong to it to "bootstrap.jar" and copy it 
>>>> to my tomcat/bin dir.
>>>> unfortunately i get the following error-message while trying to run 
>>>> it:
>>>> Exception in thread "main" java.lang.NoClassDefFoundError: 
>>>> org/apache/commons/lo
>>>> gging/LogFactory
>>>>        at 
>>>> org.apache.catalina.startup.Bootstrap.<clinit>(
>>>> i searched the LogFactory but could not find a main class there. 
>>>> anyone got an idea?
>>>> --stephan
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message