o log do servidor:
Using CATALINA_BASE: "C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base"
Using CATALINA_HOME: "C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 7.0.11"
Using CATALINA_TMPDIR: "C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\temp"
Using JRE_HOME: "C:\Program Files (x86)\Java\jdk1.6.0_25"
Using CLASSPATH: "C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 7.0.11\bin\bootstrap.jar;C:\Program Files (x86)\Apache Software Foundation\Apache Tomcat 7.0.11\bin\tomcat-juli.jar"
Listening for transport dt_shmem at address: tomcat_shared_memory_id
02/07/2011 19:32:43 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: C:\Program Files (x86)\Java\jdk1.6.0_25\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\MySQL\MySQL Server 5.1\bin
02/07/2011 19:32:45 org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-8084"]
02/07/2011 19:32:45 org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
02/07/2011 19:32:45 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4483 ms
02/07/2011 19:32:46 org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
02/07/2011 19:32:46 org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.11
02/07/2011 19:32:46 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor HOTEL.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:32:51 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
02/07/2011 19:32:51 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@577c5e: display name [Root WebApplicationContext]; startup date [Sat Jul 02 19:32:51 BRT 2011]; root of context hierarchy
02/07/2011 19:32:51 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/application-context.xml]
02/07/2011 19:32:53 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@577c5e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@123baa0
02/07/2011 19:32:54 org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
02/07/2011 19:32:54 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:32:55 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org.springframework.orm.jpa.vendor.HibernateJpaDialect#1de152f' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:32:55 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#140d415' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:32:55 org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean createNativeEntityManagerFactory
INFO: Building JPA container EntityManagerFactory for persistence unit 'teste'
02/07/2011 19:32:55 org.hibernate.ejb.Version <clinit>
INFO: Hibernate EntityManager 3.2.0.GA
02/07/2011 19:32:55 org.hibernate.cfg.annotations.Version <clinit>
INFO: Hibernate Annotations 3.2.0.GA
02/07/2011 19:32:55 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
02/07/2011 19:32:55 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
02/07/2011 19:32:55 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
02/07/2011 19:32:55 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
02/07/2011 19:32:55 org.hibernate.ejb.Ejb3Configuration configure
INFO: Processing PersistenceUnitInfo [
name: teste
...]
02/07/2011 19:32:56 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Estadia
02/07/2011 19:32:56 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Hospede
02/07/2011 19:32:56 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Reserva
02/07/2011 19:32:56 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Servico
02/07/2011 19:32:56 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : META-INF/orm.xml
02/07/2011 19:32:56 org.hibernate.ejb.Ejb3Configuration addClassesToSessionFactory
INFO: [PersistenceUnit: teste] no META-INF/orm.xml found
02/07/2011 19:32:56 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Estadia
02/07/2011 19:32:56 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Estadia on table estadias
02/07/2011 19:32:56 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Hospede
02/07/2011 19:32:56 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Hospede on table hospedes
02/07/2011 19:32:56 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Reserva
02/07/2011 19:32:56 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Reserva on table reservas
02/07/2011 19:32:56 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Servico
02/07/2011 19:32:56 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Servico on table servicos
02/07/2011 19:32:57 org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: com.eduardo.hotel.modelo.Estadia.servicos -> servicos
02/07/2011 19:32:57 org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
INFO: Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
02/07/2011 19:32:57 org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider configure
INFO: Using provided datasource
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: MySQL, version: 5.1.53-community-log
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.13 ( Revision: ${bzr.revision-id} )
02/07/2011 19:33:00 org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.MySQLDialect
02/07/2011 19:33:00 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
02/07/2011 19:33:00 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 2
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
02/07/2011 19:33:00 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: enabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
02/07/2011 19:33:00 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
02/07/2011 19:33:01 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
02/07/2011 19:33:01 org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
02/07/2011 19:33:02 org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
02/07/2011 19:33:02 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:33:02 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@123baa0: defining beans [gerenciadorHospede,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,dataSource,entityManagerFactory,hospedeDAO]; root of factory hierarchy
02/07/2011 19:33:02 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 10956 ms
02/07/2011 19:33:02 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.0.4 (FCS b09) para o contexto '/HOTEL'
02/07/2011 19:33:05 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
02/07/2011 19:33:07 org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces 3.0.M1
02/07/2011 19:33:08 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor HOTELL_POUSADA_DOMAR.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:33:11 org.apache.catalina.core.StandardContext startInternal
GRAVE: Error listenerStart
02/07/2011 19:33:11 org.apache.catalina.core.StandardContext startInternal
GRAVE: Context [/HOTELL_POUSADA_DOMAR] startup failed due to previous errors
02/07/2011 19:33:13 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor HOTEL_RELEASE.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:33:51 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
02/07/2011 19:33:51 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing Root WebApplicationContext: startup date [Sat Jul 02 19:33:51 BRT 2011]; root of context hierarchy
02/07/2011 19:33:51 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
02/07/2011 19:33:51 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@9ef1ce: defining beans []; root of factory hierarchy
02/07/2011 19:33:51 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 200 ms
02/07/2011 19:33:51 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.0.4 (FCS b09) para o contexto '/HOTEL_RELEASE'
02/07/2011 19:33:52 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
02/07/2011 19:33:53 org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'dispatcher': initialization started
02/07/2011 19:33:53 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing WebApplicationContext for namespace 'dispatcher-servlet': startup date [Sat Jul 02 19:33:53 BRT 2011]; parent: Root WebApplicationContext
02/07/2011 19:33:53 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/dispatcher-servlet.xml]
02/07/2011 19:33:53 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@e5ab41: defining beans [org.springframework.web.servlet.mvc.support.ControllerClassNameHandlerMapping#0,urlMapping,viewResolver,indexController]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@9ef1ce
02/07/2011 19:33:53 org.springframework.web.servlet.handler.AbstractUrlHandlerMapping registerHandler
INFO: Mapped URL path [/index.htm] onto handler [org.springframework.web.servlet.mvc.ParameterizableViewController@e6d453]
02/07/2011 19:33:54 org.springframework.web.servlet.FrameworkServlet initServletBean
INFO: FrameworkServlet 'dispatcher': initialization completed in 1003 ms
02/07/2011 19:33:54 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor JSF_HELLO.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:33:58 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.0.4 (FCS b09) para o contexto '/JSF_HELLO'
02/07/2011 19:33:59 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
02/07/2011 19:33:59 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:33:59 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor ROOT.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:34:00 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor Testes.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:34:00 org.apache.catalina.core.StandardContext resourcesStart
GRAVE: Error starting static Resources
INFO: Server startup in 74441 ms
02/07/2011 19:34:15 org.springframework.context.support.AbstractApplicationContext doClose
INFO: Closing org.springframework.web.context.support.XmlWebApplicationContext@577c5e: display name [Root WebApplicationContext]; startup date [Sat Jul 02 19:32:51 BRT 2011]; root of context hierarchy
02/07/2011 19:34:15 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@123baa0: defining beans [gerenciadorHospede,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,dataSource,entityManagerFactory,hospedeDAO]; root of factory hierarchy
02/07/2011 19:34:15 org.springframework.orm.jpa.AbstractEntityManagerFactoryBean destroy
INFO: Closing JPA EntityManagerFactory for persistence unit 'teste'
02/07/2011 19:34:15 org.hibernate.impl.SessionFactoryImpl close
INFO: closing
02/07/2011 19:34:15 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: The web application [/HOTEL] registered the JDBC driver [org.apache.derby.jdbc.ClientDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
02/07/2011 19:34:15 org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
GRAVE: The web application [/HOTEL] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
02/07/2011 19:34:21 org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/HOTEL]
02/07/2011 19:34:21 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor HOTEL.xml from C:\Users\Eduardo\.netbeans\7.0\apache-tomcat-7.0.11_base\conf\Catalina\localhost
02/07/2011 19:34:28 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
02/07/2011 19:34:28 org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@1a226eb: display name [Root WebApplicationContext]; startup date [Sat Jul 02 19:34:28 BRT 2011]; root of context hierarchy
02/07/2011 19:34:28 org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/application-context.xml]
02/07/2011 19:34:29 org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@1a226eb]: org.springframework.beans.factory.support.DefaultListableBeanFactory@440cbe
02/07/2011 19:34:29 org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
02/07/2011 19:34:29 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'dataSource' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:34:29 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org.springframework.orm.jpa.vendor.HibernateJpaDialect#c30aea' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:34:29 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter#101c175' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:34:29 org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean createNativeEntityManagerFactory
INFO: Building JPA container EntityManagerFactory for persistence unit 'teste'
02/07/2011 19:34:29 org.hibernate.ejb.Version <clinit>
INFO: Hibernate EntityManager 3.2.0.GA
02/07/2011 19:34:29 org.hibernate.cfg.annotations.Version <clinit>
INFO: Hibernate Annotations 3.2.0.GA
02/07/2011 19:34:29 org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.5
02/07/2011 19:34:29 org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
02/07/2011 19:34:29 org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
02/07/2011 19:34:29 org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
02/07/2011 19:34:30 org.hibernate.ejb.Ejb3Configuration configure
INFO: Processing PersistenceUnitInfo [
name: teste
...]
02/07/2011 19:34:30 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Estadia
02/07/2011 19:34:30 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Hospede
02/07/2011 19:34:30 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Reserva
02/07/2011 19:34:30 org.hibernate.ejb.Ejb3Configuration scanForClasses
INFO: found EJB3 Entity bean: com.eduardo.hotel.modelo.Servico
02/07/2011 19:34:30 org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : META-INF/orm.xml
02/07/2011 19:34:30 org.hibernate.ejb.Ejb3Configuration addClassesToSessionFactory
INFO: [PersistenceUnit: teste] no META-INF/orm.xml found
02/07/2011 19:34:30 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Estadia
02/07/2011 19:34:31 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Estadia on table estadias
02/07/2011 19:34:31 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Hospede
02/07/2011 19:34:31 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Hospede on table hospedes
02/07/2011 19:34:31 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Reserva
02/07/2011 19:34:31 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Reserva on table reservas
02/07/2011 19:34:31 org.hibernate.cfg.AnnotationBinder bindClass
INFO: Binding entity from annotated class: com.eduardo.hotel.modelo.Servico
02/07/2011 19:34:31 org.hibernate.cfg.annotations.EntityBinder bindTable
INFO: Bind entity com.eduardo.hotel.modelo.Servico on table servicos
02/07/2011 19:34:31 org.hibernate.cfg.annotations.CollectionBinder bindOneToManySecondPass
INFO: Mapping collection: com.eduardo.hotel.modelo.Estadia.servicos -> servicos
02/07/2011 19:34:31 org.hibernate.connection.ConnectionProviderFactory newConnectionProvider
INFO: Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
02/07/2011 19:34:31 org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider configure
INFO: Using provided datasource
02/07/2011 19:34:33 org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: MySQL, version: 5.1.53-community-log
02/07/2011 19:34:33 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.13 ( Revision: ${bzr.revision-id} )
02/07/2011 19:34:34 org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.MySQLDialect
02/07/2011 19:34:34 org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Transaction strategy: org.hibernate.transaction.JDBCTransactionFactory
02/07/2011 19:34:34 org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): enabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Maximum outer join fetch depth: 2
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL inserts for batching: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
02/07/2011 19:34:35 org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: enabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
02/07/2011 19:34:35 org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
02/07/2011 19:34:35 org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
02/07/2011 19:34:36 org.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: Not binding factory to JNDI, no JNDI name configured
02/07/2011 19:34:36 org.springframework.context.support.AbstractApplicationContext$BeanPostProcessorChecker postProcessAfterInitialization
INFO: Bean 'entityManagerFactory' is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
02/07/2011 19:34:36 org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@440cbe: defining beans [gerenciadorHospede,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,dataSource,entityManagerFactory,hospedeDAO]; root of factory hierarchy
02/07/2011 19:34:36 org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 7884 ms
02/07/2011 19:34:36 com.sun.faces.config.ConfigureListener contextInitialized
INFO: Inicializando Mojarra 2.0.4 (FCS b09) para o contexto '/HOTEL'
02/07/2011 19:34:37 com.sun.faces.spi.InjectionProviderFactory createInstance
INFO: JSF1048: Anotações PostConstruct/PreDestroy presentes. Os métodos ManagedBeans marcados com essas anotações informarão as anotações processadas.
02/07/2011 19:34:39 org.primefaces.webapp.PostConstructApplicationEventListener processEvent
INFO: Running on PrimeFaces 3.0.M1
02/07/2011 19:34:39 org.apache.catalina.util.LifecycleBase start
INFO: The start() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/HOTEL]] after start() had already been called. The second call will be ignored.