>데이터 베이스 >MySQL 튜토리얼 >druid+Atomikos+mysql+tomcat启动无响应也不报错

druid+Atomikos+mysql+tomcat启动无响应也不报错

WBOY
WBOY원래의
2016-06-06 09:33:211704검색

mysqltomcat

日志停在这然后就没然后了

2016-03-22 21:55:00,850 [// - - ] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'formAuthenticationFilter' of type [class org.apache.shiro.web.filter.authc.FormAuthenticationFilter] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2016-03-22 21:55:01,136 [// - - ] INFO com.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited
2016-03-22 21:55:01,137 [// - - ] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'xaDataSource1' of type [class com.alibaba.druid.pool.xa.DruidXADataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

配置文件如下







































select 1

<code><bean id="sqlSessionFactory1" class="org.mybatis.spring.SqlSessionFactoryBean"></bean></code>







<code><bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"></bean></code>







<code><bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">      <property name="dataSource" ref="dataSourceOne"></property>  </bean> <bean id="atomikosTransactionManager" class="com.atomikos.icatch.jta.UserTransactionManager" init-method="init" destroy-method="close">    <property name="forceShutdown">        <value>true</value>    </property></bean><bean id="atomikosUserTransaction" class="com.atomikos.icatch.jta.UserTransactionImp">    <property name="transactionTimeout" value="300"></property></bean><bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">    <property name="transactionManager">        <ref bean="atomikosTransactionManager"></ref>    </property>    <property name="userTransaction">        <ref bean="atomikosUserTransaction"></ref>    </property>    <!-- 必须设置,否则程序出现异常 JtaTransactionManager does not support custom isolation levels by default -->    <property name="allowCustomIsolationLevels" value="true"></property></bean></code>

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.