tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Error on startup catalina
Date Fri, 04 Jun 2010 20:37:12 GMT
On 04/06/2010 20:41, Sandro Gallo wrote:
> Hi,
> In a previous mail, i sent detailed description of the error that gives me
> on startup; but, put the mail back.

Please post the output of the command "env".
(Ideally without the extra * characters)


p


> ------
> Hi,
> thanks for the help but still wrong!
> Again, I downloaded and installed tomcat in my personal folder, but same
> error.
> I do not understand what can be! I've seen that in tests done by you work.
> Further, other information that might be useful (sorry if there are many):
> 
> *macmac:Java sandro$ pwd*
> 
> */Library/Java*
> 
> *macmac:Java sandro$ ls -l*
> 
> *total 8*
> 
> *drwxrwxr-x 2 root admin 68 3 Dic 2009 Extensions*
> 
> *lrwxr-xr-x 1 root admin 48 28 Mar 07:29 Home ->
> /System/Library/Frameworks/JavaVM.framework/Home*
> 
> *macmac:Java sandro$ cd Home*
> 
> *macmac:Home sandro$ cd bin/*
> 
> *macmac:bin sandro$ pwd*
> 
> */Library/Java/Home/bin*
> 
> *macmac:bin sandro$ ls -l*
> 
> *total 3216*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 appletviewer*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 apt*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 extcheck*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 idlj*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jar*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jarsigner*
> 
> *-rwxr-xr-x 1 root wheel 100672 17 Mar 23:57 java*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 javac*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 javadoc*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 javah*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 javap*
> 
> *lrwxr-xr-x 1 root wheel 92 28 Mar 07:29 javaws ->
> /System/Library/Frameworks/JavaVM.framework/Resources/Deploy.bundle/Contents/Home/bin/javaws
> *
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jconsole*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jdb*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jhat*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jinfo*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jmap*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jps*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jrunscript*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jsadebugd*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jstack*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jstat*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 jstatd*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 keytool*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 native2ascii*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 orbd*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 pack200*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 policytool*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 rmic*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 rmid*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 rmiregistry*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 schemagen*
> 
> *-rwxr-xr-x 1 root wheel 104784 17 Mar 23:57 serialver*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 servertool*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 tnameserv*
> 
> *-rwxr-xr-x 1 root wheel 253744 17 Mar 23:57 unpack200*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 wsgen*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 wsimport*
> 
> *-rwxr-xr-x 1 root wheel 104704 17 Mar 23:57 xjc*
> 
> *macmac:apache-tomcat-6.0.26 sandro$ pwd*
> 
> */Users/sandro/apache-tomcat-6.0.26*
> 
> *macmac:apache-tomcat-6.0.26 sandro$ ls -l*
> 
> *total 128*
> 
> *-rw-r--r-- 1 sandro staff 37950 9 Mar 18:09 LICENSE*
> 
> *-rw-r--r-- 1 sandro staff 557 9 Mar 18:09 NOTICE*
> 
> *-rw-r--r-- 1 sandro staff 8669 9 Mar 18:06 RELEASE-NOTES*
> 
> *-rw-r--r-- 1 sandro staff 6670 9 Mar 18:09 RUNNING.txt*
> 
> *drwxr-xr-x 23 sandro staff 782 4 Giu 18:46 bin*
> 
> *drwxr-xr-x 9 sandro staff 306 9 Mar 18:09 conf*
> 
> *drwxr-xr-x 18 sandro staff 612 9 Mar 18:06 lib*
> 
> *drwxr-xr-x 2 sandro staff 68 9 Mar 18:06 logs*
> 
> *drwxr-xr-x 3 sandro staff 102 9 Mar 18:06 temp*
> 
> *drwxr-xr-x 7 sandro staff 238 9 Mar 18:06 webapps*
> 
> *drwxr-xr-x 2 sandro staff 68 9 Mar 18:06 work*
> 
> *macmac:apache-tomcat-6.0.26 sandro$ ./bin/catalina.sh debug*
> 
> *Using CATALINA_BASE: /Users/sandro/apache-tomcat-6.0.26*
> 
> *Using CATALINA_HOME: /Users/sandro/apache-tomcat-6.0.26*
> 
> *Using CATALINA_TMPDIR: /Users/sandro/apache-tomcat-6.0.26/temp*
> 
> *Using JAVA_HOME: /Library/Java/Home*
> 
> *Using CLASSPATH: /Users/sandro/apache-tomcat-6.0.26/bin/bootstrap.jar*
> 
> *Initializing jdb …*
> 
> *> run*
> 
> *run org.apache.catalina.startup.Bootstrap start*
> 
> *Set uncaught java.lang.Throwable*
> 
> *Set deferred uncaught java.lang.Throwable*
> 
> *> *
> 
> *VM Started: *
> 
> *Exception occurred: java.lang.ClassNotFoundException
> (uncaught)"thread=main", java.lang.ClassLoader.loadClass(), line=346 bci=416
> *
> 
> *
> *
> 
> *main[1] list*
> 
> *Source file not found: ClassLoader.java*
> 
> *main[1] stepi*
> 
> *> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/juli/logging/LogFactory*
> 
> * at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)*
> 
> *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:244)*
> 
> * at java.lang.ClassLoader.loadClass(ClassLoader.java:315)*
> 
> * at java.lang.ClassLoader.loadClass(ClassLoader.java:250)*
> 
> * at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)*
> 
> * ... 1 more*
> 
> *
> *
> 
> *The application exited*
> 
> *macmac:apache-tomcat-6.0.26 sandro$ *
> 
> 
> I did an additional experiment ( dont know if it is normal):
> 
> *macmac:apache-tomcat-6.0.26 sandro$ pwd*
> 
> */Users/sandro/apache-tomcat-6.0.26*
> 
> *macmac:apache-tomcat-6.0.26 sandro$ ./bin/catalina.sh run*
> 
> *Using CATALINA_BASE: /Users/sandro/apache-tomcat-6.0.26*
> 
> *Using CATALINA_HOME: /Users/sandro/apache-tomcat-6.0.26*
> 
> *Using CATALINA_TMPDIR: /Users/sandro/apache-tomcat-6.0.26/temp*
> 
> *Using JRE_HOME: /Library/Java/Home*
> 
> *Using CLASSPATH: /Users/sandro/apache-tomcat-6.0.26/bin/bootstrap.jar*
> 
> *Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/juli/logging/LogFactory*
> 
> * at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:55)*
> 
> *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:244)*
> 
> * at java.lang.ClassLoader.loadClass(ClassLoader.java:315)*
> 
> * at java.lang.ClassLoader.loadClass(ClassLoader.java:250)*
> 
> * at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:398)*
> 
> * ... 1 more*
> 
> *macmac:apache-tomcat-6.0.26 sandro$ ./bin/catalina.sh debug*
> 
> *Using CATALINA_BASE: /Users/sandro/apache-tomcat-6.0.26*
> 
> *Using CATALINA_HOME: /Users/sandro/apache-tomcat-6.0.26*
> 
> *Using CATALINA_TMPDIR: /Users/sandro/apache-tomcat-6.0.26/temp*
> 
> *Using JAVA_HOME: /Library/Java/Home*
> 
> *Using CLASSPATH: /Users/sandro/apache-tomcat-6.0.26/bin/bootstrap.jar*
> 
> *Initializing jdb ...*
> 
> *> run*
> 
> *run org.apache.catalina.startup.Bootstrap start*
> 
> *Set uncaught java.lang.Throwable*
> 
> *Set deferred uncaught java.lang.Throwable*
> *
> *
> Thanks again.
> 
> 
> 
> 
> 
> 
> 
> 2010/6/4 Mark Thomas <markt@apache.org>
> 
>> On 04/06/2010 19:59, Sandro Gallo wrote:
>>> Hi,
>>> I tested.
>>> In any case, ./catalina start does not work.
>>
>> Does not work isn't a very helpful description.
>>
>> Mark
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 



Mime
View raw message