xGoku
(usa Ubuntu)
Enviado em 27/03/2009 - 22:02h
Boa noite galera eu instalei aqui no meu ubuntu o tomcat 5.5 o tomcat 5.5 -admin ai eu adicionei ele no meu netbeans so que na hora de starta ele esta me dando o seguinte erro:
Using CATALINA_BASE: /usr/share/tomcat5.5
Using CATALINA_HOME: /usr/share/tomcat5.5
Using CATALINA_TMPDIR: /usr/share/tomcat5.5/temp
Using JRE_HOME: /usr/lib/jvm/java-6-sun
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/catalina.2009-03-27.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.juli.FileHandler.open(FileHandler.java:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:221)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:274)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/localhost.2009-03-27.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.juli.FileHandler.open(FileHandler.java:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:221)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:274)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/manager.2009-03-27.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.juli.FileHandler.open(FileHandler.java:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:221)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:274)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/admin.2009-03-27.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.juli.FileHandler.open(FileHandler.java:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:221)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:274)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
java.util.logging.ErrorManager: 4
java.io.FileNotFoundException: /usr/share/tomcat5.5/logs/host-manager.2009-03-27.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at java.io.FileWriter.<init>(FileWriter.java:61)
at org.apache.juli.FileHandler.open(FileHandler.java:259)
at org.apache.juli.FileHandler.<init>(FileHandler.java:59)
at org.apache.juli.FileHandler.<init>(FileHandler.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:397)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:341)
at org.apache.juli.ClassLoaderLogManager.readConfiguration(ClassLoaderLogManager.java:237)
at java.util.logging.LogManager$2.run(LogManager.java:258)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.readPrimordialConfiguration(LogManager.java:256)
at java.util.logging.LogManager.getLogManager(LogManager.java:239)
at java.util.logging.Logger.<init>(Logger.java:221)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:973)
at java.util.logging.LogManager$RootLogger.<init>(LogManager.java:970)
at java.util.logging.LogManager$1.run(LogManager.java:179)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.<clinit>(LogManager.java:156)
at java.util.logging.Logger.getLogger(Logger.java:274)
at org.apache.commons.logging.impl.Jdk14Logger.getLogger(Jdk14Logger.java:180)
at org.apache.commons.logging.impl.Jdk14Logger.<init>(Jdk14Logger.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1040)
at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:838)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:601)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:333)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:307)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
at org.apache.catalina.startup.Bootstrap.<clinit>(Bootstrap.java:54)
27/03/2009 21:49:07 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64/server:/usr/lib/jvm/java-6-sun-1.6.0.07/jre/lib/amd64:/usr/lib/jvm/java-6-sun-1.6.0.07/jre/../lib/amd64:/usr/java/packages/lib/amd64:/lib:/usr/lib
27/03/2009 21:49:07 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8185
27/03/2009 21:49:07 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1617 ms
27/03/2009 21:49:07 org.apache.catalina.users.MemoryUserDatabase save
WARNING: User database is not persistable - no write permissions on directory
27/03/2009 21:49:07 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
27/03/2009 21:49:07 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5
27/03/2009 21:49:07 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
27/03/2009 21:49:07 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8185
27/03/2009 21:49:08 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
27/03/2009 21:49:08 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/81 config=null
27/03/2009 21:49:08 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
27/03/2009 21:49:08 org.apache.catalina.startup.Catalina start
INFO: Server startup in 1059 ms
e quando eu tento visualizar o admin console admin ele abre uma pagina em branco... alguem sabe me dizer como arrumar isso?? ele estava abrindo normal antes... ai eu deletei sem quere o / da Aplicações WEB ai quando reiniciei ele parou de funcionar... e tambem quando tento dar um stop nele ele demora para parar e da um erro..
vlwwwwwww