Announcement Announcement Module
Collapse
No announcement yet.
JTATransactionManager problem with deploy in Jboss 3.2.6 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JTATransactionManager problem with deploy in Jboss 3.2.6

    Hi all,

    Sorry, but my english is poor.

    I have an error when I deploy my application in Jboss 3.2.6.

    In my application I need use a global transaction.
    I read in the spring-reference.pdf: "If you are using global transactions, you must use the Spring
    org.springframework.transaction.jta.JtaTransaction Manager for all your for all your transactional
    operations" in page 84.

    So, I wired in my applicationContext.xml the transactionManager with JTATransactionManager, but I get this error when I deploy the application.

    "ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'transactionManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyAccessExceptions Exception: PropertyAccessExceptionsException (1 errors);
    nested propertyAccessExceptions are: [org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.springframework.transaction.jta.JtaTransaction Manager] to required type [javax.transaction.TransactionManager] for property 'transactionManager']
    PropertyAccessExceptionsException (1 errors)
    org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.springframework.transaction.jta.JtaTransaction Manager] to required type [javax.transaction.TransactionManager] for property 'transactionManager'"

    I tried to find in google and others sites, but nobody know this error.

    And when I'm using the HibernateTransactionManager works!!! but in a local context, not in a global.

    I'm losing my hair because this error!!!!!!!!!

    My applicationContext.xml is:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
        "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
    
    <beans default-autowire="byName">
    
    	<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    		<property name="location">
    			<value>/WEB-INF/connection.properties</value>
    		</property>
    	</bean>
    
        <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
            <property name="driverClassName">
                <value>$&#123;database.driver&#125;</value>
            </property>
            <property name="url">
                <value>$&#123;database.url&#125;</value>
            </property>
            <property name="username">
                <value>$&#123;database.user&#125;</value>
            </property>
            <property name="password">
                <value>$&#123;database.password&#125;</value>
            </property>
        </bean>
        
            <!-- Hibernate SessionFactory -->
            
        <bean id="sessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean"  >
            <property name="dataSource">
                <ref local="dataSource"/>
            </property>
     
            <property name="mappingResources">
                <list>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/AvaliacaoDocumentoPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/RelatorioDocumentoPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/RelatorioPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/UsuarioGrMonitoramentoPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/UsuarioGrRelacaoManutencaoPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/UsuarioGrRelacaoPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/UsuarioGrTermoAltPojo.hbm.xml</value>
                    <value>br/gov/projetoGR/identificacaoRiscos/buscaMidia/pojo/UsuarioGrTermoDominioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AlertaDocumentoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AlertaFontePojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AlertaGrupoUsuariosPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AlertaPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AlertaUsuarioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AtributoOperDominioDadosPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AtributoOperacionalGrupoUsuariosPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AtributoOperacionalPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/AtributoOperacionalUsuarioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/ColetaAgendaPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/ColetaErroPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/ColetaPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/DocumentoDominioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/DocumentoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/DominioDeDadosPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/DominioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/FontePojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/FonteTipoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/GrupoGrupoUsuariosPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/GrupoUsuariosDocPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/GrupoUsuariosDominioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/GrupoUsuariosPermissaoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/GrupoUsuariosPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/GrupoUsuariosUsuarioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/MonitoramentoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/MonitoramentoFontePojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/PalavraDocumentoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/PalavraPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/PermissaoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/RelacaoManutencaoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/RelacaoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/TermoAlteracaoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/TermoDocumentoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/TermoDominioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/TermoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/UsuarioDominioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/UsuarioPermissaoPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/UsuarioPojo.hbm.xml</value>
                    <value>br/com/wbsa/kmai/util/pojo/UsuarioDocumentoPojo.hbm.xml</value>
                </list>
            </property>
            <property name="hibernateProperties">
                <props>
                    <prop key="hibernate.dialect">$&#123;hibernate.dialect&#125;</prop>
                    <prop key="hibernate.hbm2ddl.auto">auto</prop>
                    <prop key="hibernate.show_sql">$&#123;hibernate.show_sql&#125;</prop>                
                    <prop key="hibernate.cache.use_query_cache">$&#123;hibernate.cache.use_query_cache&#125;</prop>                                
                </props>
            </property>
        </bean>
        
        <!-- Here is the problem -->
        <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"/>    
        
        <!-- if I use this... the local transaction works -->
        <!--bean id="transactionManager" class="org.springframework.orm.hibernate.HibernateTransactionManager">    
    		<property name="sessionFactory">
    			<ref bean="sessionFactory"/>
    		</property>
        </bean-->
        
        <bean id="hibernateInterceptor" class="org.springframework.orm.hibernate.HibernateInterceptor">
             <property name="sessionFactory">
               <ref bean="sessionFactory"/>
             </property>
        </bean>
    	
    	<!-- Acima é padrao   -->   	
    	
    	<!-- Declaração do ponto de corte para o interceptador dos Logs -->   
    	
    	<bean id="pointcutManterTermoDAO" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>insereTermo</value>
    			<value>relacionaTermoDominio</value>
    			<value>insereTermoAlteracao</value>
    			<value>excluiTermoDominio</value>
    			<value>confirmaTermoDominio</value>
    			<value>confirmaTermoAlteracao</value>
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logManterTermoAOP"/>
    		</property>
    	</bean>
    	
    	<bean id="pointcutManterDominioDAO" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>insereDominio</value>
    			<value>alteraDominio</value>
    			<value>excluirDominio</value>			
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logManterDominioAOP"/>
    		</property>
    	</bean>
    	
    	<bean id="pointcutManterRelacaoDAO" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>insereRelacaoManutencao</value>
    			<value>confirmaRelacaoManutencao</value>
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logManterRelacaoAOP"/>
    		</property>
    	</bean>
    
    	<bean id="pointcutRelatorioDocumentoDAO" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>insereRelatorio</value>
    			<value>insereRelatorioDocumento</value>
    			<value>excluiRelatorio</value>			
    			<value>excluiRelatorioDocumento</value>			
    			<value>atualizaRelatorio</value>						
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logRelatorioNoticiaAOP"/>
    		</property>
    	</bean>
    		
    	<bean id="pointcutManterMonitoramentoDAO" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>inserirMonitoramento</value>
    			<value>atualizaMonitoramento</value>
    			<value>excluirMonitoramento</value>			
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logManterMonitoramentoAOP"/>
    		</property>
    	</bean>
    	
    	<bean id="pointcutRecuperador" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>pesquisa</value>
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logAnaliseAOP"/>
    		</property>
    	</bean>
    	
    	<bean id="pointcutManterAvaliacaoDocumentoDAO" class="org.springframework.aop.support.NameMatchMethodPointcutAdvisor">
    		<property name="mappedNames">
    		<list>
    			<value>insereAvaliacaoDocumento</value>
    			<value>alteraAvaliacaoDocumento</value>
    			<value>insereAlteraAvaliacaoDocumento</value>			
    		</list>
    		</property>
    		<property name="advice">
    			<ref bean="logAvaliacaoNoticiaAOP"/>
    		</property>
    	</bean>
    		
    	<!-- Fim da Declaração do ponto de corte para o interceptador dos Logs -->   
        
    	<!-- Declaração do interceptador das exceções -->   
    	
    	<bean id="wbsaInterceptador" class="br.com.wbsa.interceptador.WbsaInterceptador" />
    	
    	<!-- Fim da Declaração do intercepatador das exceções -->   
    	
    	<!-- Declaração do interceptador para os Logs -->   
    	
    	<bean id="logManterTermoAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogManterTermoAOP" singleton="true" />  
    	
    	<bean id="logManterDominioAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogManterDominioAOP" singleton="true" />  
    	
    	<bean id="logManterRelacaoAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogManterRelacaoAOP" singleton="true" /> 	
    	
    	<bean id="logManterMonitoramentoAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogManterMonitoramentoAOP" singleton="true" />  
    	
    	<bean id="logAnaliseAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogAnaliseAOP" singleton="true" />  
    
    	<bean id="logRelatorioNoticiaAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogRelatorioNoticiaAOP" singleton="true" />  
    	
    	<bean id="logAvaliacaoNoticiaAOP" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.log.LogAvaliacaoNoticiaAOP" singleton="true" />  
    				
    	<!-- Fim da Declaração do interceptador para os Logs -->   
    
    	<!-- Inicio do Mapeamento dos Delegates -->
    	
        <bean id="objAManterDominioDelegate" class="br.com.wbsa.kmai.editor.business.delegate.ManterDominioDelegate" singleton = "false"/>    
    
        <bean id="objLRecuperadorDelegate" class="br.com.wbsa.kmai.recuperador.business.delegate.RecuperadorDelegate" singleton = "false"/>       	
    
     	<bean id="objLManterTermoDelegate" class="br.com.wbsa.kmai.editor.business.delegate.ManterTermoDelegate" singleton = "false"/>    
    
    	<bean id="objLManterRelacaoDelegate" class="br.com.wbsa.kmai.editor.business.delegate.ManterRelacaoDelegate" singleton = "false"/>    
    
    	<bean id="objAPesquisaFonteDelegate" class="br.com.wbsa.kmai.pesquisa.business.fonte.delegate.PesquisaFonteDelegate" singleton="false"/>	
    	
    	<bean id="objAPesquisaRecuperacaoDelegate" class="br.com.wbsa.kmai.pesquisa.business.recuperacao.delegate.PesquisaRecuperacaoDelegate" singleton="false"/>	     
    
    	<bean id="objANoticiasAvaliadasDelegate" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.business.avaliacao.delegate.NoticiasAvaliadasDelegate" singleton="false"/>	          
    
    	<bean id="objAColetaDelegate" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.business.coleta.delegate.ColetaDelegate" singleton="false"/>	          
    
    	<bean id="objLMonitoramentoDelegate" class="br.com.wbsa.kmai.monitoramento.business.delegate.MonitoramentoDelegate" singleton = "false"/>    
    	
        <bean id="objLEmitirRelatorioDelegate" class="br.com.wbsa.kmai.editor.business.delegate.EmitirRelatorioDelegate" singleton = "false"/>    
    
        <bean id="objLRelatorioNoticiaDelegate" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.business.relatorio.delegate.RelatorioNoticiaDelegate" singleton = "false"/>    
    
    
    	<!-- Fim do Mapeamento dos Delegates -->
       
        <!-- Inicio do Mapeamento das Classes de Negocio -->
        
        <bean id="objAManterDominio" class="br.com.wbsa.kmai.editor.business.ManterDominio" singleton="false"/>
       
        <bean id="objAEmitirRelatorio" class="br.com.wbsa.kmai.editor.business.EmitirRelatorio" singleton="false"/>
         
        <bean id="objAMonitoramento" class="br.com.wbsa.kmai.monitoramento.business.Monitoramento" singleton="false"/>
    
    	<bean id="objARecuperador" class="org.springframework.aop.framework.ProxyFactoryBean">
        	<property name="target">
         		<ref bean="objARecuperadorTarget"/>
    	    </property>
        	<property name="proxyInterfaces">
    		    <value>br.com.wbsa.kmai.recuperador.business.interfaces.IRecuperador</value>
         	</property>
         	<property name="interceptorNames">
    			<list>
    				<value>pointcutRecuperador</value>
    			</list>
         	</property>
    	</bean> 
            
        <bean id="objARecuperadorTarget" class="br.com.wbsa.kmai.recuperador.business.Recuperador" singleton = "false"/>    
       
    	<bean id="objAmanterTermo" class="br.com.wbsa.kmai.editor.business.ManterTermo" singleton = "false"/>    
    	
    	<bean id="objAManterRelacao" class="br.com.wbsa.kmai.editor.business.ManterRelacao" singleton = "false"/>    
    
    	<bean id="objAEditorServico" class="br.com.wbsa.kmai.editor.business.servico.EditorServico" singleton = "false"/>    	
         
    	<bean id="objAPesquisaFonte" class="br.com.wbsa.kmai.pesquisa.business.fonte.PesquisaFonte" singleton="false"/>	          
    	
    	<bean id="objAPesquisaRecuperacao" class="br.com.wbsa.kmai.pesquisa.business.recuperacao.PesquisaRecuperacao" singleton="false"/>	          
    	 
    	<bean id="objANoticiasAvaliadas" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.business.avaliacao.NoticiasAvaliadas" singleton="false"/>	               
    
    	<bean id="objAColeta" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.business.coleta.Coleta" singleton="false"/>	               
    
    	<bean id="objARelatorioNoticia" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.business.relatorio.RelatorioNoticia" singleton="false"/>	               
    
    	<!-- Fim do Mapeamento das Classes de Negocio -->
    
    	<!-- Inicio do Mapeamento dos DAO's -->
    	
     	<bean id="objAManterAvaliacaoDocumentoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterAvaliacaoDocumentoDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IManterAvaliacaoDocumentoDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    				<value>pointcutManterAvaliacaoDocumentoDAO</value>
    			</list>
             </property>
         </bean> 
         
    	<bean id="manterAvaliacaoDocumentoDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.ManterAvaliacaoDocumentoDAO" singleton="false"/>	
    
     	<bean id="objAManterFonteDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterFonteDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterFonteDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterFonteDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterFonteDAO" singleton="false"/>	
         
         <bean id="manterDominioDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterDominioDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterDominioDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    				<value>pointcutManterDominioDAO</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterDominioDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterDominioDAO" singleton="false"/>
         
         <bean id="objAMonitorDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterMonitoramentoDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterMonitoramentoDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    				<value>pointcutManterMonitoramentoDAO</value>								
    			</list>
             </property>
         </bean> 
         
         <bean id="manterMonitoramentoDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterMonitoramentoDAO" singleton="false"/>
    
        <bean id="objARecuperadorDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="recuperadorDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IRecuperadorDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="recuperadorDAOTarget" class="br.com.wbsa.kmai.persistence.dao.RecuperadorDAO" singleton="false"/>
    
         
         <bean id="objAManterPalavraDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterPalavraDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterPalavraDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterPalavraDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterPalavraDAO" singleton="false"/>
         
         <bean id="objAManterRelacaoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterRelacaoDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterRelacaoDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    				<value>pointcutManterRelacaoDAO</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterRelacaoDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterRelacaoDAO" singleton="false"/>
         
         <bean id="objAManterTermoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterTermoDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterTermoDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    				<value>pointcutManterTermoDAO</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterTermoDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterTermoDAO" singleton="false"/>
         
         <bean id="objAManterRelatorioDocumentoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterRelatorioDocumentoDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IManterRelatorioDocumentoDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    				<value>pointcutRelatorioDocumentoDAO</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterRelatorioDocumentoDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.ManterRelatorioDocumentoDAO" singleton="false"/>     
    
         <bean id="objAManterFonteTipoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterFonteTipoDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterFonteTipoDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterFonteTipoDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterFonteTipoDAO" singleton="false"/>     
         
         <bean id="objAManterColetaAgendaDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterColetaAgendaDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterColetaAgendaDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterColetaAgendaDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterColetaAgendaDAO" singleton="false"/>     
         
         <bean id="objAManterColetaDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
             <property name="target">
             	<ref bean="manterColetaDAOTarget"/>
             </property>
             <property name="proxyInterfaces">
               <value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterColetaDAO</value>
             </property>
             <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
             </property>
         </bean> 
         
         <bean id="manterColetaDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterColetaDAO" singleton="false"/>     
         
    	<bean id="objAManterColetaErroDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
    			<ref bean="manterColetaErroDAOTarget"/>
    		</property>
    		<property name="proxyInterfaces">
    			<value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterColetaErroDAO</value>
    		</property>
    		<property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
    		</property>
        </bean> 
         
    	<bean id="manterColetaErroDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterColetaErroDAO" singleton="false"/>     
         
    	<bean id="objAManterDocumentoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
    			<ref bean="manterDocumentoDAOTarget"/>
            </property>
            <property name="proxyInterfaces">
            	<value>br.com.wbsa.kmai.persistence.dao.interfaces.IManterDocumentoDAO</value>
            </property>
            <property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
            </property>
        </bean> 
         
        <bean id="manterDocumentoDAOTarget" class="br.com.wbsa.kmai.persistence.dao.ManterDocumentoDAO" singleton="false"/>     
        
    	<bean id="objAUsuarioGrMonitoramentoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
         		<ref bean="usuarioGrMonitoramentoDAOTarget"/>
    		</property>
    		<property name="proxyInterfaces">
    			<value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IUsuarioGrMonitoramentoDAO</value>
    		</property>
    		<property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
    		</property>
    	</bean> 
         
    	<bean id="usuarioGrMonitoramentoDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.UsuarioGrMonitoramentoDAO" singleton="false"/>     
         
    	<bean id="objAUsuarioGrTermoDominioDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
         		<ref bean="usuarioGrTermoDominioDAOTarget"/>
    		</property>
    		<property name="proxyInterfaces">
    			<value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IUsuarioGrTermoDominioDAO</value>
    		</property>
    		<property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
    		</property>
    	</bean> 
         
    	<bean id="usuarioGrTermoDominioDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.UsuarioGrTermoDominioDAO" singleton="false"/>     
    
    	<bean id="objAUsuarioGrTermoAltDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
         		<ref bean="usuarioGrTermoAltDAOTarget"/>
    		</property>
    		<property name="proxyInterfaces">
    			<value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IUsuarioGrTermoAltDAO</value>
    		</property>
    		<property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
    		</property>
    	</bean> 
         
    	<bean id="usuarioGrTermoAltDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.UsuarioGrTermoAltDAO" singleton="false"/>          
    
    	<bean id="objAUsuarioGrRelacaoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
         		<ref bean="usuarioGrRelacaoDAOTarget"/>
    		</property>
    		<property name="proxyInterfaces">
    			<value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IUsuarioGrRelacaoDAO</value>
    		</property>
    		<property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
    		</property>
    	</bean> 
         
    	<bean id="usuarioGrRelacaoDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.UsuarioGrRelacaoDAO" singleton="false"/>          
    
    	<bean id="objAUsuarioGrRelacaoManutencaoDAO" class="org.springframework.aop.framework.ProxyFactoryBean">
    		<property name="target">
         		<ref bean="usuarioGrRelacaoManutencaoDAOTarget"/>
    		</property>
    		<property name="proxyInterfaces">
    			<value>br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.interfaces.IUsuarioGrRelacaoManutencaoDAO</value>
    		</property>
    		<property name="interceptorNames">
    			<list>
    				<value>hibernateInterceptor</value>
    			</list>
    		</property>
    	</bean> 
         
    	<bean id="usuarioGrRelacaoManutencaoDAOTarget" class="br.gov.projetoGR.identificacaoRiscos.buscaMidia.persistence.dao.UsuarioGrRelacaoManutencaoDAO" singleton="false"/>          
     	<!-- Fim do Mapeamento dos DAO's -->
    </beans>
    My action-servlet.xml is:
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
        "http&#58;//www.springframework.org/dtd/spring-beans.dtd">
    
    <beans>
    	<!-- Declaração do gerenciador de Transação -->
    	
    	<bean id="txProxyTemplate" abstract="true" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
            <property name="preInterceptors">
    			<list>
    				<ref bean="wbsaInterceptador"/>
    			</list>
            </property>
            
    		<property name="transactionManager">
    			<ref local="transactionManager"/>
    		</property>
    		
    		<property name="transactionAttributes">
    			<props>
    				<prop key="*">PROPAGATION_REQUIRED</prop>
    			</props>
    		</property>
    	</bean>
    	
    	<!-- Fim da declaração do gerenciador de Transação -->
    	
    	<!-- Declaração dos mapeamentos do Editor de Ontologias -->
    	
    	<bean name="/manterDominio" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.ManterDominioAction"/>
    		</property>
    	</bean>
    
    	<bean name="/incluirRelacao" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.IncluirRelacaoAction"/>
    		</property>
    	</bean>
    	
    	<bean name="/alterarRelacao" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.AlterarRelacaoAction"/>
    		</property>
    	</bean>
    	
    	<bean name="/manutencaoRelacao" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.ConfirmarManutRelacaoAction"/>
    		</property>
    	</bean>
    
    	<bean name="/manutencaoTermo" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.ConfirmarManutTermoAction"/>
    		</property>
    	</bean>
    	
    	<bean name="/emitirRelatorio" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.EmitirRelatorioAction"/>
    		</property>
    	</bean>
    	
    	<bean name="/incluirTermo" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.IncluirTermoAction"/>
    		</property>
    	</bean>
    
    	<bean name="/alterarTermo" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.AlterarTermoAction"/>
    		</property>
    	</bean>
    
    	<bean name="/excluirTermo" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.editor.action.ExcluirTermoAction"/>
    		</property>
    	</bean>
    
    	<!-- Fim da declaração dos mapeamentos do Editor de Ontologias -->
    
    	<!-- Declaração dos mapeamentos do BuscaMidia -->
    
    	<bean name="/ManterMonitoramento" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.monitoramento.action.ManterMonitoramentoAction"/>
    		</property>
    	</bean>
    
    	<bean name="/Analise" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.com.wbsa.analise.action.AnaliseAction"/>
    		</property>
    	</bean>
    
    	<bean name="/NoticiasAvaliadas" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.NoticiasAvaliadasAction"/>
    		</property>
    	</bean>
    
    	<bean name="/NoticiaIntegra" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.NoticiaIntegraAction"/>
    		</property>
    	</bean>
    
    	<bean name="/ManterRelatorioNoticia" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.ManterRelatorioNoticiaAction"/>
    		</property>
    	</bean>
    
    	<bean name="/GraficoColeta" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.GraficoColetaAction"/>
    		</property>
    	</bean>
    	
    	<bean name="/ExcluirNoticiaRelatorio" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.ExcluirNoticiaRelatorioAction"/>
    		</property>
    	</bean>
    
    	<bean name="/AdicionarNoticiaRelatorio" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.AdicionarNoticiaRelatorioAction"/>
    		</property>
    	</bean>
    
    	<bean name="/VisualizarRelatorioNoticia" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.VisualizarRelatorioNoticiaAction"/>
    		</property>
    	</bean>
    	
    	<bean name="/IndicioVulnerabilidade" parent="txProxyTemplate">
    		<property name="target">
    			<bean class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.IndicioVulnerabilidadeAction"/>
    		</property>
    	</bean>
    
    	<!-- Fim da declaração dos mapeamentos do BuscaMidia -->
    	
    	<!--bean name="/manterDominio" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
    			<list>
    				<ref bean="wbsaInterceptador"/>
    			</list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="manterDominioAction"/>
            </property>
            
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>  
        
        <bean name="manterDominioAction" class="br.com.wbsa.editor.action.ManterDominioAction"/>
    
    	<bean name="/incluirRelacao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
    			<list>
    				<ref bean="wbsaInterceptador"/>
    			</list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="incluirRelacaoAction"/>
            </property>
            
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>  
        
        <bean name="incluirRelacaoAction" class="br.com.wbsa.editor.action.IncluirRelacaoAction"/>
    
    	<bean name="/manutencaoRelacao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
    			<list>
    				<ref bean="wbsaInterceptador"/>
    			</list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="confirmarManutRelacaoAction"/>
            </property>
            
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>  
        
        <bean name="confirmarManutRelacaoAction" class="br.com.wbsa.editor.action.ConfirmarManutRelacaoAction"/>
        
        
    	<bean name="/manutencaoTermo" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
    			<list>
    				<ref bean="wbsaInterceptador"/>
    			</list>
            </property>
               
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="confirmarManutTermoAction"/>
            </property>
            
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>  
        
        <bean name="confirmarManutTermoAction" class="br.com.wbsa.editor.action.ConfirmarManutTermoAction"/>
        
        
    	<bean name="/emitirRelatorio" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="emitirRelatorioAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="emitirRelatorioAction" class="br.com.wbsa.editor.action.EmitirRelatorioAction"/>
        
        <bean name="/ManterMonitoramento" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="manterMonitoramentoAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="manterMonitoramentoAction" class="br.gov.projetoGr.indentificacaoRiscos.buscaMidia.web.action.ManterMonitoramentoAction"/>
        
        <bean name="/incluirTermo" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="incluirTermoAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="incluirTermoAction" class="br.com.wbsa.editor.action.IncluirTermoAction"/>
        
        <bean name="/alterarTermo" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="alterarTermoAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="alterarTermoAction" class="br.com.wbsa.editor.action.AlterarTermoAction"/>
        
        <bean name="/excluirTermo" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="excluirTermoAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="excluirTermoAction" class="br.com.wbsa.editor.action.ExcluirTermoAction"/>
    
        <bean name="/Analise" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="analiseAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="analiseAction" class="br.gov.projetoGr.indentificacaoRiscos.buscaMidia.web.action.AnaliseAction"/>
        
        <bean name="/NoticiasAvaliadas" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="noticiasAvaliadasAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="noticiasAvaliadasAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.NoticiasAvaliadasAction"/>   
        
        <bean name="/NoticiaIntegra" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="noticiaIntegraAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="noticiaIntegraAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.NoticiaIntegraAction"/>   
        
        <bean name="/ManterRelatorioNoticia" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="manterRelatorioNoticiaAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="manterRelatorioNoticiaAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.ManterRelatorioNoticiaAction"/> 
        
        <bean name="/GraficoColeta" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="graficoColetaAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="graficoColetaAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.GraficoColetaAction"/> 
        
        
        <bean name="/ExcluirNoticiaRelatorio" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="excluirNoticiaRelatorioAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="excluirNoticiaRelatorioAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.ExcluirNoticiaRelatorioAction"/> 
        
        <bean name="/AdicionarNoticiaRelatorio" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="adicionarNoticiaRelatorioAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="adicionarNoticiaRelatorioAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.AdicionarNoticiaRelatorioAction"/>     
        
        <bean name="/VisualizarRelatorioNoticia" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="visualizarRelatorioNoticiaAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="visualizarRelatorioNoticiaAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.VisualizarRelatorioNoticiaAction"/>     
    
        <bean name="/IndicioVulnerabilidade" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="indicioVulnerabilidadeAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="indicioVulnerabilidadeAction" class="br.gov.projetoGr.identificacaoRiscos.buscaMidia.web.action.IndicioVulnerabilidadeAction"/>   
    
        <bean name="/alterarRelacao" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">         
            <property name="preInterceptors">
               <list>
                  <ref bean="wbsaInterceptador"/>
               </list>
            </property>
                    
            <property name="transactionManager">
                <ref local="transactionManager"/>
            </property> 
            
            <property name="target">
                <ref local="alterarRelacaoAction"/>
            </property>
            <property name="transactionAttributes">
                <props>
                    <prop key="*">PROPAGATION_REQUIRED</prop>
                </props>
            </property>
        </bean>
        
        <bean name="alterarRelacaoAction" class="br.com.wbsa.editor.action.AlterarRelacaoAction"/-->       
    </beans>
    I hope it helps to you help me!!!!!

    Thanks in advance,

    Murilo Henrique Marecki Foltran

  • #2
    The transactionManager bean definition looks OK, but you should definitely not be using DriverManagerDataSource in a JTA environment. You need to configure a JNDI datasource and access it using a JndiObjectFactoryBean.

    Also, you can save a huge amount of duplication in your transactional proxy definitions by using the parent/child mechanism. The abstract parent bean definition can set the common interceptors and transactionManager property.

    HTH,
    Rod

    Comment

    Working...
    X