tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 1destroy...@gmx.de
Subject Fwd: Re: RE: Unable to start Tomcat 6 on Windows Server 2003
Date Sun, 27 Jun 2010 21:09:44 GMT
hi,

i already tried this, but here the output:

D:\ttest>set CLASSPATH=%CATALINA_HOME%\bin\tomcat-juli.jar;%CLASSPATH%

D:\ttest>cd bin

D:\ttest\bin>catalina.bat run
Using CATALINA_BASE:   "D:\ttest"
Using CATALINA_HOME:   "D:\ttest"
Using CATALINA_TMPDIR: "D:\ttest\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_11"
Using CLASSPATH:       "D:\ttest\bin\bootstrap.jar"
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi
ng/LogFactory
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 1 more
Could not find the main class: org.apache.catalina.startup.Bootstrap.  Program w
ill exit.

D:\ttest\bin>set
...
CLASSPATH=%CATALINA_HOME%\bin\tomcat-juli.jar;%CLASSPATH%
...
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11
...

D:\ttest\bin>set CLASSPATH=D:\ttest\bin\tomcat-juli.jar;%CLASSPATH%

D:\ttest\bin>set
...
CLASSPATH=D:\ttest\bin\tomcat-juli.jar;%CATALINA_HOME%\bin\tomcat-juli.jar;%CLAS
SPATH%
...
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_11
...

D:\ttest\bin>catalina.bat run
Using CATALINA_BASE:   "D:\ttest"
Using CATALINA_HOME:   "D:\ttest"
Using CATALINA_TMPDIR: "D:\ttest\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_11"
Using CLASSPATH:       "D:\ttest\bin\bootstrap.jar"
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi
ng/LogFactory
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 1 more
Could not find the main class: org.apache.catalina.startup.Bootstrap.  Program w
ill exit.

D:\ttest\bin>dir
 Volume in drive D is DataDrive
 Volume Serial Number is 78F8-015F

 Directory of D:\ttest\bin

06/27/2010  08:41 AM    <DIR>          .
06/27/2010  08:41 AM    <DIR>          ..
06/25/2010  07:54 PM            22,110 bootstrap.jar
06/25/2010  07:54 PM             2,374 catalina-tasks.xml
06/25/2010  08:27 PM            11,399 catalina.bat
06/25/2010  08:14 PM            11,399 catalina.bat.org.txt
06/25/2010  07:54 PM            15,582 catalina.sh
06/25/2010  07:54 PM             9,341 commons-daemon.jar
06/25/2010  07:54 PM             1,342 cpappend.bat
06/25/2010  07:54 PM             2,108 digest.bat
06/25/2010  07:54 PM             1,624 digest.sh
06/25/2010  07:54 PM            74,398 jsvc.tar.gz
06/25/2010  06:56 PM           348,160 msvcr71.dll
06/25/2010  07:54 PM             5,062 service.bat
06/25/2010  07:54 PM             3,150 setclasspath.bat
06/25/2010  07:54 PM             4,114 setclasspath.sh
06/25/2010  07:54 PM             2,108 shutdown.bat
06/25/2010  07:54 PM             1,563 shutdown.sh
06/25/2010  07:54 PM             2,109 startup.bat
06/25/2010  07:54 PM             1,956 startup.sh
06/25/2010  07:54 PM           868,352 tcnative-1.dll
06/25/2010  07:54 PM            26,484 tomcat-juli.jar
06/25/2010  07:54 PM           241,274 tomcat-native.tar.gz
06/25/2010  07:54 PM            61,440 tomcat6.exe
06/25/2010  07:54 PM            98,304 tomcat6w.exe
06/25/2010  08:36 PM             3,476 tool-wrapper.bat
06/25/2010  07:54 PM             3,459 tool-wrapper.sh
06/25/2010  07:54 PM             2,113 version.bat
06/25/2010  07:54 PM             1,567 version.sh
              27 File(s)      1,826,368 bytes
               2 Dir(s)  119,924,555,776 bytes free

D:\ttest\bin>

when using startup.bat this is shown in my command box:


D:\ttest\bin>startup.bat
Using CATALINA_BASE:   "D:\ttest"
Using CATALINA_HOME:   "D:\ttest"
Using CATALINA_TMPDIR: "D:\ttest\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.6.0_11"
Using CLASSPATH:       "D:\ttest\bin\bootstrap.jar"

and as written before a second box shortly appear and immediatly disappear. i now could catch
the error from this box:

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi
ng/LogFactory
        at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
        ... 1 more
Could not find the main class: org.apache.catalina.startup.Bootstrap.  Program w
ill exit.

--> same failure

my suggestion is still that there is a domain policy which is causing this, but i really have
no clue which one could causing this :(

tommorrow i will ask the OS guys if they could disable them...

kind regards, dessi


-------- Original-Nachricht --------
> Datum: Sun, 27 Jun 2010 11:25:08 -0400
> Von: Martin Gainty <mgainty@hotmail.com>
> An: 1destroyer1@gmx.de
> Betreff: RE: Unable to start Tomcat 6 on Windows Server 2003

> 
> put %CATALINA_HOME%\bin\tomcat-juli.jar on CLASSPATH e.g.
> 
> SET CLASSPATH=%CATALINA_HOME%\bin\tomcat-juli.jar;%CLASSPATH%
> 
> 
> FYI: if you executed startup<.sh/.bat> as earlier mentioned the CLASSPATH
> would be automatically configured to include the necessary jars to
> initialise CATALINA
> 
> 
> *gruss*
> 
> Martin 
> ______________________________________________ 
> Verzicht und Vertraulichkeitanmerkung
> 
> 
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient
> lediglich dem Austausch von Informationen und entfaltet keine rechtliche
> Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen
> wir keine Haftung fuer den Inhalt uebernehmen.
> 
> 
> 
>  
> 
> > Date: Sun, 27 Jun 2010 08:49:17 +0200
> > From: 1destroyer1@gmx.de
> > Subject: Re: Unable to start Tomcat 6 on Windows Server 2003
> > To: users@tomcat.apache.org
> > 
> > hi,
> > 
> > here is the whole output from the command box:
> > 
> > D:\ttest\bin>dir
> > Volume in drive D is DataDrive
> > Volume Serial Number is 78F8-015F
> > 
> > Directory of D:\ttest\bin
> > 
> > 06/27/2010 08:41 AM <DIR> .
> > 06/27/2010 08:41 AM <DIR> ..
> > 06/25/2010 07:54 PM 22,110 bootstrap.jar
> > 06/25/2010 07:54 PM 2,374 catalina-tasks.xml
> > 06/25/2010 08:27 PM 11,399 catalina.bat
> > 06/25/2010 08:14 PM 11,399 catalina.bat.org.txt
> > 06/25/2010 07:54 PM 15,582 catalina.sh
> > 06/25/2010 07:54 PM 9,341 commons-daemon.jar
> > 06/25/2010 07:54 PM 1,342 cpappend.bat
> > 06/25/2010 07:54 PM 2,108 digest.bat
> > 06/25/2010 07:54 PM 1,624 digest.sh
> > 06/25/2010 07:54 PM 74,398 jsvc.tar.gz
> > 06/25/2010 06:56 PM 348,160 msvcr71.dll
> > 06/25/2010 07:54 PM 5,062 service.bat
> > 06/25/2010 07:54 PM 3,150 setclasspath.bat
> > 06/25/2010 07:54 PM 4,114 setclasspath.sh
> > 06/25/2010 07:54 PM 2,108 shutdown.bat
> > 06/25/2010 07:54 PM 1,563 shutdown.sh
> > 06/25/2010 07:54 PM 2,109 startup.bat
> > 06/25/2010 07:54 PM 1,956 startup.sh
> > 06/25/2010 07:54 PM 868,352 tcnative-1.dll
> > 06/25/2010 07:54 PM 26,484 tomcat-juli.jar
> > 06/25/2010 07:54 PM 241,274 tomcat-native.tar.gz
> > 06/25/2010 07:54 PM 61,440 tomcat6.exe
> > 06/25/2010 07:54 PM 98,304 tomcat6w.exe
> > 06/25/2010 08:36 PM 3,476 tool-wrapper.bat
> > 06/25/2010 07:54 PM 3,459 tool-wrapper.sh
> > 06/25/2010 07:54 PM 2,113 version.bat
> > 06/25/2010 07:54 PM 1,567 version.sh
> > 27 File(s) 1,826,368 bytes
> > 2 Dir(s) 119,924,559,872 bytes free
> > 
> > D:\ttest\bin>catalina.bat run
> > Using CATALINA_BASE: "D:\ttest"
> > Using CATALINA_HOME: "D:\ttest"
> > Using CATALINA_TMPDIR: "D:\ttest\temp"
> > Using JRE_HOME: "C:\Program Files\Java\jdk1.6.0_11"
> > Using CLASSPATH: "D:\ttest\bin\bootstrap.jar"
> > Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/juli/loggi
> > ng/LogFactory
> > at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
> > Caused by: java.lang.ClassNotFoundException:
> org.apache.juli.logging.LogFactory
> > at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> > at java.security.AccessController.doPrivileged(Native Method)
> > at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> > at sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> > ... 1 more
> > Could not find the main class: org.apache.catalina.startup.Bootstrap.
> Program w
> > ill exit.
> > 
> > D:\ttest\bin>
> > 
> > kind regards, dessi
> > -- 
> > GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> > 
>  		 	   		  
> _________________________________________________________________
> Hotmail has tools for the New Busy. Search, chat and e-mail from your
> inbox.
> http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1

-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01


-- 
GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message