[AJUDA] Spring + JSF - JpaDaoSuport BAcking Beans - Message boundle

4 respostas
edusi001

raf4ever,

Já que funcionou o Spring eu tô utilizando JpaDaoSuport e no JSF os backing beans dependem deles e tão sendo gerenciados pelo Spring com o JSF reconhecendo os nomes dos managers beans. Daí na tela de cadastro de hospede que utiliza esse backbean gerenciado pelo spring que injeta um JpaDaoSuport , quando dou o post no formulario me dá um problema com o Message Boundle dou JSF,

javax.servlet.ServletException: Can't find bundle for base name messages, locale pt_BR

O JSF não encontra o bundle de mensagens , tô usando os backing beans gerenciados @Controller("hospedeGerenciador"), e o ELResolver <el-resolver>org.springframework.web.jsf.el.SpringBeanFacesELResolver</el-resolver>

vê aí a situação que que pode ser:

faces-config.xml
&lt;application&gt;
        &lt;message-bundle&gt;Messages&lt;/message-bundle&gt;
        &lt;locale-config&gt;
                &lt;default-locale&gt;pt_BR&lt;/default-locale&gt;
        &lt;/locale-config&gt;
        &lt;resource-bundle&gt;
            &lt;base-name&gt;Messages&lt;/base-name&gt;
            &lt;var&gt;msgs&lt;/var&gt;
        &lt;/resource-bundle&gt;
        &lt;el-resolver&gt;org.springframework.web.jsf.el.SpringBeanFacesELResolver&lt;/el-resolver&gt;
    &lt;/application&gt;
Interface DaoJpa
public interface JpaHospedeDAOInterface {
    
    Hospede pegaHospede(long id);
    void salvaHospede(Hospede h);
    void deletaHospede(long id);
    List&lt;Hospede&gt; listarHospedes();
    Hospede deletaHospedeNome(String nome);
    Hospede pesquisaHospedeIdentidade(String nome);
    Hospede pesquisaHospedePassaporte(String p);
}
Implem DaoJpa
public class JpaHospedeDAO extends JpaDaoSupport 
        implements JpaHospedeDAOInterface{

    @Override
    public Hospede pegaHospede(long id) {
       return getJpaTemplate().find(Hospede.class, id);
    }

    @Override
    public void salvaHospede(Hospede h) {
        getJpaTemplate().persist(h);
    }
BackingBean
@Controller("gerenciadorHospede")
@Scope("request")
public class cadastrarHospedeBean {
    
    @Resource
    private JpaHospedeDAOInterface managerHospede;
    private FacesContext context;
    private Hospede hospede;
    
    
    public cadastrarHospedeBean(){
           hospede = new Hospede();
    }
    
      
    public void inserir(){        
        managerHospede.salvaHospede(getHospede());
        FacesContext ctx = FacesContext.getCurrentInstance(); 
        FacesMessage message = new FacesMessage("Hospede incluido com sucesso.");  
        ctx.addMessage(null, message);
    }

application-context.xml

&lt;bean id="hospedeDAO" class="com.eduardo.hotel.spring.JpaHospedeDAO"&gt;
        &lt;property name="entityManagerFactory" ref="entityManagerFactory"/&gt;
    &lt;/bean&gt;

cadastrarHospede.xhtml

&lt;ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.prime.com.tr/ui"
                template="/WEB-INF/template.xhtml"&gt;


    &lt;ui:define name="corpo"&gt;

        &lt;p:panel header="Cadastro de Hospedes" style="margin-top:  5px; font-size: xx-small;" &gt;
            &lt;h:form id="formHosp"&gt;
                &lt;h:panelGrid columns="2" style="font-family: verdana; text-align: left; font-size: medium;"&gt;

                    &lt;h:outputText value="Nome:"/&gt;
                    &lt;h:inputText size="55" value="#{gerenciadorHospede.hospede.nome}"/&gt;

                    &lt;h:outputText value="Telefone:"/&gt;
                    &lt;h:inputText value="#{gerenciadorHospede.hospede.telefone}"/&gt;

                    &lt;h:outputText value="Profissao:"/&gt;
                    &lt;h:inputText value="#{gerenciadorHospede.hospede.profissao}"/&gt;

                    &lt;h:outputText value="Cidade:"/&gt;
                    &lt;h:inputText  value="#{gerenciadorHospede.hospede.cidade}" size="55"/&gt;

                    &lt;h:outputText value="Cpf:"/&gt;
                    &lt;h:inputText value="#{gerenciadorHospede.hospede.cpf}"/&gt;

                    &lt;h:outputText value="Identidade:"/&gt;
                    &lt;h:inputText value="#{gerenciadorHospede.hospede.identidade}"/&gt;

                    &lt;h:outputText value="Passaporte:"/&gt;
                    &lt;h:inputText value="#{gerenciadorHospede.hospede.passaporte}" size="55"/&gt;

                &lt;/h:panelGrid&gt;
                <br/>
                &lt;p:commandButton value="Cadastrar"
                                 action="#{gerenciadorHospede.inserir()}" 
                                 ajax="false"&gt;
                &lt;/p:commandButton&gt;
            &lt;/h:form&gt;

        &lt;/p:panel&gt;



    &lt;/ui:define&gt;


&lt;/ui:composition&gt;

Quando envio este formulario dá esse problema com o JSF:

exception

javax.servlet.ServletException: Can't find bundle for base name messages, locale pt_BR
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:325)

root cause

java.util.MissingResourceException: Can't find bundle for base name messages, locale pt_BR
	java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)
	java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1250)
	java.util.ResourceBundle.getBundle(ResourceBundle.java:952)
	javax.faces.convert.MessageFactory.getMessage(MessageFactory.java:159)
	javax.faces.convert.MessageFactory.getMessage(MessageFactory.java:249)
	javax.faces.convert.IntegerConverter.getAsObject(IntegerConverter.java:118)
	com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:171)
	javax.faces.component.UIInput.getConvertedValue(UIInput.java:1028)
	javax.faces.component.UIInput.validate(UIInput.java:958)
	javax.faces.component.UIInput.executeValidate(UIInput.java:1209)
	javax.faces.component.UIInput.processValidators(UIInput.java:698)
	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
	javax.faces.component.UIForm.processValidators(UIForm.java:244)
	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
	javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1085)
	javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1165)
	com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
	com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
	com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
	javax.faces.webapp.FacesServlet.service(FacesServlet.java:312)

4 Respostas

edusi001

O arquivo de Mensagens-> Messagens_pt_BR.propeties está no diretório src/..., porém nem esto usando ele nem nada por enquanto, o <p:messages> ficá no template.xhtml,

&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot;?&gt;  
&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
&lt;f:view xmlns="http://www.w3.org/1999/xhtml"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:f="http://java.sun.com/jsf/core"
        xmlns:p="http://primefaces.prime.com.tr/ui"
        xmlns:h="http://java.sun.com/jsf/html"
        &gt;
    &lt;html&gt;
        &lt;h:head&gt;
            &lt;meta http-equiv="Content-Type" content="text/xhtml"/&gt;
            &lt;meta http-equiv="Cache-Control" content="no-store"/&gt;
            &lt;meta http-equiv="Pragma" content="no-cache"/&gt;
            &lt;meta http-equiv="Expires" content="0"/&gt;        

        &lt;/h:head&gt;        
        &lt;title&gt;HOTELL SISTEM WEB&lt;/title&gt;
    
       
        &lt;ui:insert name="menu"&gt;
            &lt;div align="left"&gt;
                &lt;ui:include src="/paginas/menu.xhtml"/&gt;
            &lt;/div&gt;
        &lt;/ui:insert&gt;
        &lt;div style="font-size: x-small;"&gt;
            &lt;p:messages/&gt;
        &lt;/div&gt;
        
        &lt;div align="left"&gt;
            &lt;ui:insert name="corpo"&gt;&lt;/ui:insert&gt;
        &lt;/div&gt;

    &lt;/html&gt;

&lt;/f:view&gt;

Este erro continua a me atrapalhar dizendo que n acha o Boundle...
Isso tem alguma coisa a ver com Spring estar gerenciando os Backbeans ? Acho que não né?
Aluguem já passou por isso? Nunca tive problemas com isso!!

edusi001

Resolvido aqui já amigos. Meu problma aqui agora é outro, debugando aqui verifiquei que o EntityManager do JpaDAOSUport está null, por isso ao apssar pelo metodo de inserir() estava escrevendo a mensagem que foi cadasreado mas não gera nada no console de sql do Hibernate nem cadastra no banco de dados, vou colocar aqui a imagem do degub e as classes e codigos tão aqui já :

http://imageshack.us/photo/my-images/844/semttuloba.jpg/

edusi001
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xmlns:util="http://www.springframework.org/schema/util"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd          
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-2.5.xsd
           http://www.springframework.org/schema/tx
           http://www.springframework.org/schema/tx/spring-tx-2.5.xsd"&gt;
    
  &lt;!--Spring cria proxy e envolve metodos em transação com base em anotacoes
  &lt;tx:annotation-driven/&gt;   
  --&gt;
  &lt;!-- Habilitando que o Spring examine nos pacotes aqui definidos
        por @Component, @Service, @Controller, Autowired --&gt;
  &lt;context:component-scan base-package="com.eduardo.hotel" /&gt;
  
  &lt;bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" /&gt;
  &lt;bean class="org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor"/&gt;
  
  &lt;!-- Fonte de dados com base em Driver JBDC
        Não tem suporte a pool , em produção implantar com pool 
   --&gt;
    &lt;bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
        &lt;property name="driverClassName" value="com.mysql.jdbc.Driver"/&gt;
        &lt;property name="url" value="jdbc:mysql://127.0.0.1:3306/hotel"/&gt;
        &lt;property name="username" value="hotel"/&gt;
        &lt;property name="password" value="hotel"/&gt;        
        
    &lt;/bean&gt; 
   
    &lt;!--Fábrica de gerenciador de entidade
        Gerenciado pelo container, obtidos por injecao, 
        Spring tomará o cuidado de gerenciar os EntityManagers
  --&gt;
    &lt;bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"&gt;
       

        &lt;property name="dataSource" ref="dataSource" /&gt;

        &lt;property name="jpaDialect"&gt;
            &lt;bean class="org.springframework.orm.jpa.vendor.HibernateJpaDialect" /&gt;
        &lt;/property&gt;
        &lt;property name="jpaVendorAdapter"&gt;
            &lt;bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"&gt;
                &lt;property name="showSql" value="true" /&gt;
                &lt;property name="generateDdl" value="false" /&gt;
                &lt;property name="databasePlatform" value="org.hibernate.dialect.MySQLDialect" /&gt;
            &lt;/bean&gt;
        &lt;/property&gt;
    &lt;/bean&gt;

    
  &lt;!--
         Implementacao de um JpaDaoSuport
         Daos fazem referencia a Fabrica de Entity Manager
  --&gt;
  
  
    &lt;bean id="hospedeDAO" class="com.eduardo.hotel.spring.JpaHospedeDAO"&gt;
        &lt;property name="entityManagerFactory" ref="entityManagerFactory"/&gt;
    &lt;/bean&gt;
    
    
&lt;/beans&gt;
edusi001

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 &lt;clinit&gt; INFO: Hibernate EntityManager 3.2.0.GA 02/07/2011 19:32:55 org.hibernate.cfg.annotations.Version &lt;clinit&gt; INFO: Hibernate Annotations 3.2.0.GA 02/07/2011 19:32:55 org.hibernate.cfg.Environment &lt;clinit&gt; INFO: Hibernate 3.2.5 02/07/2011 19:32:55 org.hibernate.cfg.Environment &lt;clinit&gt; 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 &lt;clinit&gt; 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 -&gt; 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 &lt;init&gt; 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 &lt;init&gt; 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 &lt;init&gt; 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 &lt;clinit&gt; INFO: Hibernate EntityManager 3.2.0.GA 02/07/2011 19:34:29 org.hibernate.cfg.annotations.Version &lt;clinit&gt; INFO: Hibernate Annotations 3.2.0.GA 02/07/2011 19:34:29 org.hibernate.cfg.Environment &lt;clinit&gt; INFO: Hibernate 3.2.5 02/07/2011 19:34:29 org.hibernate.cfg.Environment &lt;clinit&gt; 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 &lt;clinit&gt; 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 -&gt; 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 &lt;init&gt; 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 &lt;init&gt; 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 &lt;init&gt; 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.

Criado 1 de julho de 2011
Ultima resposta 2 de jul. de 2011
Respostas 4
Participantes 1