Iniciando o erro do tomcat


0
  • Iniciando o mecanismo do servlet Tomcat tomcat7 [falha]

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 inicio o tomcat, mas por que diz [falhar] quando realmente funciona?

Respostas:


0

A falha é uma falha ao registrar um recurso no JMX. Isso não é fatal. Significa apenas que o recurso não estará visível ao examinar os MBeans disponíveis, por exemplo, 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.

Ao utilizar nosso site, você reconhece que leu e compreendeu nossa Política de Cookies e nossa Política de Privacidade.
Licensed under cc by-sa 3.0 with attribution required.