Depois de instalar o tomcat6 no CentOS 6.3, não consigo iniciar o servidor tomcat6.
root@host [/var/log/tomcat6]# service tomcat6 start
Starting tomcat6: [ OK ]
Embora diga OK
, não consigo acessar http://mydomain.com:8080
.
catalina.out
Exception in thread "main" java.lang.NullPointerException
at java.lang.VMClassLoader.defineClass(libgcj.so.10)
at java.lang.ClassLoader.defineClass(libgcj.so.10)
at java.security.SecureClassLoader.defineClass(libgcj.so.10)
at java.net.URLClassLoader.findClass(libgcj.so.10)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at gnu.java.lang.MainThread.run(libgcj.so.10)
Tomcat6 foi instalado usando o yum:
yum -y install java tomcat6 tomcat6-webapps tomcat6-admin-webapps
Quando tentei encontrar a versão: tomcat6 version
:
Exception in thread "main" java.lang.NoClassDefFoundError: org.apache.catalina.util.ServerInfo
at gnu.java.lang.MainThread.run(libgcj.so.10)
Caused by: java.lang.ClassNotFoundException: org.apache.catalina.util.ServerInfo not found in gnu.gcj.runtime.SystemClassLoader{urls=[], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(libgcj.so.10)
at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at java.lang.ClassLoader.loadClass(libgcj.so.10)
at gnu.java.lang.MainThread.run(libgcj.so.10)
Alguma ideia do que devo fazer? Obrigado!