Avvio dell'errore di tomcat


0
  • Avvio di Tomcat servlet engine 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

Non c'è nessun errore nel file di registro quando avvio tomcat, ma perché dice [errore], quando funziona effettivamente?

Risposte:


0

L'errore è la mancata registrazione di una risorsa in JMX. Non è fatale. Significa semplicemente che la risorsa non sarà visibile quando si guardano gli MBean disponibili, ad es. via JConsole. Tomcat non accede alle risorse tramite JMX, quindi non importa a Tomcat (o all'applicazione) se la risorsa non è registrata con JMX.

Utilizzando il nostro sito, riconosci di aver letto e compreso le nostre Informativa sui cookie e Informativa sulla privacy.
Licensed under cc by-sa 3.0 with attribution required.