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:

downloadzip:
[get] Getting: http://sunsite.informatik.rwth-aachen.de/eclipse/downloads/
drops/R-3.1.2-200601181600/eclipse-JDT-3.1.2.zip
     [get] To: F:\usr\share\java\file.zip
[get] Error opening connection java.io.FileNotFoundException: http://sunsi
te.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.2-200601181600/eclips
e-JDT-3.1.2.zip
[get] Error opening connection java.io.FileNotFoundException: http://sunsi
te.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.2-200601181600/eclips
e-JDT-3.1.2.zip
[get] Error opening connection java.io.FileNotFoundException: http://sunsi
te.informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.2-200601181600/eclips
e-JDT-3.1.2.zip
[get] Can't get http://sunsite.informatik.rwth-aachen.de/eclipse/downloads /drops/R-3.1.2-200601181600/eclipse-JDT-3.1.2.zip to \usr\share\java\file.zip

BUILD FAILED
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.
informatik.rwth-aachen.de/eclipse/downloads/drops/R-3.1.2-200601181600/eclipse-J
DT-3.1.2.zip to \usr\share\java\file.zip


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

Manifest-Version: 1.0
Main-Class: org.apache.catalina.startup.Bootstrap
Class-Path: jmx.jar commons-daemon.jar commons-logging-api.jar tomcat-juli.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
java.lang.NoClassDefFoundError: org/apache/catalina/loader/StandardClassLoader at org.apache.catalina.startup.Bootstrap.createClassLoader(Bootstrap.jav
a:172)
at org.apache.catalina.startup.Bootstrap.initClassLoaders(Bootstrap.java
:97)
       at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:212)
       at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)

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








Rainer Jung wrote:

Inside the jar. Google for jar manifest will give you a link like:

http://java.sun.com/j2se/1.4.2/docs/guide/jar/jar.html

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 bootstrap.java 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>(Bootstrap.java:53)

i searched the LogFactory but could not find a main class there. anyone got an idea?

--stephan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to