Iniciando o erro do tomcat

0
  • Iniciando o mecanismo de servlet do Tomcat tomcat7 [fail]

CATALINA.LOG

> Nov 26, 2013 9:02:09 AM org.apache.catalina.core.AprLifecycleListener
> init INFO: The APR based Apache Tomcat Native library which allows
> optimal performance in production environments was not found on the
> java.library.path:
> /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/li Nov 26,
> 2013 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule
> begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:09 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting
> property 'debug' to '0' did not find a matching property. Nov 26, 2013
> 9:02:10 AM org.apache.coyote.AbstractProtocol init INFO: Initializing
> ProtocolHandler ["http-bio-8080"] Nov 26, 2013 9:02:10 AM
> org.apache.coyote.AbstractProtocol init INFO: Initializing
> ProtocolHandler ["ajp-bio-8009"] Nov 26, 2013 9:02:10 AM
> org.apache.catalina.startup.Catalina load INFO: Initialization
> processed in 1148 ms Nov 26, 2013 9:02:10 AM
> org.apache.catalina.core.StandardService startInternal INFO: Starting
> service Catalina Nov 26, 2013 9:02:10 AM
> org.apache.catalina.core.StandardEngine startInternal INFO: Starting
> Servlet Engine: Apache Tomcat/7.0.26 ... Nov 26, 2013 9:02:25 AM
> org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web
> application archive
> /ingress/www/firstfx.ro/docs/test#ContactForm#contactpageTest2.war Nov
> 26, 2013 9:02:25 AM org.apache.catalina.startup.HostConfig deployWAR
> INFO: Deploying web application archive
> /ingress/www/firstfx.ro/docs/maria1_store.war Nov 26, 2013 9:02:25 AM
> org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web
> application archive /ingress/www/firstfx.ro/docs/test#newaccount.war
> Nov 26, 2013 9:02:26 AM org.apache.catalina.startup.HostConfig
> deployWAR INFO: Deploying web application archive
> /ingress/www/firstfx.ro/docs/test#ContactForm.war Nov 26, 2013 9:02:26
> AM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying
> web application archive
> /ingress/www/firstfx.ro/docs/test#ImageViewer.war Nov 26, 2013 9:02:26
> AM org.apache.catalina.startup.HostConfig deployDirectory INFO:
> Deploying web application directory
> /ingress/www/firstfx.ro/docs/workdesk Nov 26, 2013 9:02:26 AM
> org.apache.catalina.startup.SetContextPropertiesRule begin WARNING:
> [SetContextPropertiesRule]{Context} Setting property 'debug' to '100'
> did not find a matching property. Nov 26, 2013 9:02:28 AM
> org.apache.catalina.core.NamingContextListener addResource WARNING:
> Failed to register in JMX: javax.naming.NamingException: Could not
> load resource factory class [Root exception is
> java.lang.ClassNotFoundException:
> org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory] Nov 26, 2013
> 9:02:28 AM org.apache.catalina.startup.HostConfig deployWAR

Não há erro no arquivo de log quando eu inicio o tomcat, mas por que ele diz [falha] quando realmente funciona?

    
por user2361682 26.11.2013 / 10:34

1 resposta

0

A falha é uma falha ao registrar um recurso no JMX. Isso não é fatal. Significa apenas que o recurso não será visível quando se olha para os MBeans disponíveis, por ex. via JConsole. O Tomcat não acessa recursos via JMX, portanto, não importa para o Tomcat (ou o aplicativo) se o recurso não estiver registrado no JMX.

    
por 27.11.2013 / 10:38

Tags