Chuck,
I install again the tomcat 6 and now I'm using other user to running tomcat, as
you sugest. But, the error persists...
Look at this line: "Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar". I
perform a search on tomcat files looking for any bootstrap and here the result:
gust...@suse-server:/opt/tomcat6> find . -iname bootstrap*
./res/META-INF/bootstrap.jar.manifest
./res/META-INF/bootstrap.jar
./java/org/apache/catalina/startup/Bootstrap.java
There are no bootstrap.jar on tomcat6/bin/. Is this normal?
The same error again:
Using CATALINA_BASE: /opt/tomcat6
Using CATALINA_HOME: /opt/tomcat6
Using CATALINA_TMPDIR: /opt/tomcat6/temp
Using JRE_HOME: /usr/lib/jvm/jdk1.6
Using CLASSPATH: /opt/tomcat6/bin/bootstrap.jar
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/catalina/startup/Bootstrap
Caused by: java.lang.ClassNotFoundException:
org.apache.catalina.startup.Bootstrap
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: org.apache.catalina.startup.Bootstrap. Program
will exit.
Thank's
Gustavo.
________________________________________
De: Caldarale, Charles R [[email protected]]
Enviado: quarta-feira, 10 de março de 2010 17:46
Para: Tomcat Users List
Assunto: RE: TOMCAT 6 Error: Exception in thread "main"
java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
> From: Gustavo A. Daud [mailto:[email protected]]
> Subject: RES: TOMCAT 6 Error: Exception in thread "main"
> java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
>
> But as you can see, bootstrap.jar, is not in there
So you have a corrupted Tomcat installation; start over.
> I'm running Tomcat as a root user!
Not a good idea. If you're not using ports less than 1024, you can run as a
normal user with no other considerations. If you do need ports below 1024, use
jsvc or iptables, as described in the Tomcat doc and FAQ.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you received
this in error, please contact the sender and delete the e-mail and its
attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
"Esta mensagem é emitida exclusivamente com fins informativos, não devendo ser
entendida ou utilizada como uma oferta, requerimento para a compra ou venda de
qualquer instrumento financeiro ou confirmação de qualquer transação ou
negócio. No caso desta mensagem conter dados ou outras informações utilizadas
pelo mercado financeiro deverão estes ser considerados como meras
estimativas, não lhes sendo outorgadas qualquer garantia quanto a sua
correção, estando sujeitos a mudanças sem prévio aviso. Qualquer(Quaisquer)
comentário(s) ou declaração(ões) aqui enunciadas não reflete(m),
necessariamente, o posicionamento do Banco Sofisa S/A, suas coligadas,
subsidiárias ou filiais."
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]