提交 b8b7c47c 编写于 作者: 武汉红喜's avatar 武汉红喜

完善

上级 41e950ea
##ҵ
whatsmars.jdbc.mysql.url=jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
##��ҵ����
bjxizhan.quartz.cluster.mysql.url=jdbc:mysql://255.254.253.252:3306/quartz
bjxizhan.quartz.cluster.mysql.username=root
bjxizhan.quartz.cluster.mysql.password=xxxxxxx
##activemq
bjxizhan.activemq.broker.url=tcp://255.254.253.252:61616
##
##����
bjxizhan.activemq.queue.withdraw=_bjxizhan_MQ_WITHDRAW.QUEUE
\ No newline at end of file
##ҵ
whatsmars.jdbc.mysql.url=jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
##��ҵ����
bjxizhan.quartz.cluster.mysql.url=jdbc:mysql://255.254.253.252:3306/quartz
bjxizhan.quartz.cluster.mysql.username=root
bjxizhan.quartz.cluster.mysql.password=xxxxxxx
##activemq
bjxizhan.activemq.broker.url=tcp://255.254.253.252:61616
##
##����
bjxizhan.activemq.queue.withdraw=_bjxizhan_MQ_WITHDRAW.QUEUE
\ No newline at end of file
whatsmars.log4j.logger.path=/data/logs
whatsmars.log4j.logger.level=debug
whatsmars.jdbc.mysql.url=jdbc:mysql://0.0.0.0:3306/test
whatsmars.jdbc.mysql.url=jdbc:mysql://localhost:3306/test
whatsmars.jdbc.mysql.username=root
whatsmars.jdbc.mysql.password=root
......
......@@ -36,6 +36,22 @@
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
......@@ -48,15 +64,22 @@
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-tools</artifactId>
<exclusions>
<exclusion>
<groupId>org.apache.struts</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
</dependency>
<!-- jackson -->
......
......@@ -5,10 +5,10 @@
http://www.springframework.org/schema/beans/spring-beans-3.2.xsd"
default-autowire="byName">
<!--<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value="classpath:dbcp-config.properties" />
</bean>
<import resource="spring-datasource-jdbc.xml" />-->
<import resource="spring-datasource-jdbc.xml" />
<import resource="spring-dao.xml" />
<import resource="spring-service.xml" />
</beans>
\ No newline at end of file
......@@ -26,7 +26,6 @@
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource" />
<property name="configLocation" value="classpath:sqlmap-config.xml"></property>
<!-- <property name="dataSource" ref="dataSource" /> -->
</bean>
<bean name="jdbcTransactionManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
<property name="dataSource" ref="dataSource"/>
......@@ -38,7 +37,6 @@
<property name="timeout" value="30"/>
</bean>
<!-- core api -->
<bean id="sqlSession" class="org.mybatis.spring.SqlSessionTemplate">
<constructor-arg index="0" ref="sqlSessionFactory" />
</bean>
......
......@@ -72,16 +72,16 @@
</map>
</property>
</bean>
<!--<mvc:interceptors>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/**" />
<bean class="LoginInterceptor" />
<bean class="com.whatsmars.earth.web.interceptor.LoginInterceptor" />
</mvc:interceptor>
<mvc:interceptor>
<mvc:mapping path="/account/**" />
<mvc:exclude-mapping path="/lender/recharge_callback.jhtml"/>
<bean class="SecurityInterceptor" />
<bean class="com.whatsmars.earth.web.interceptor.SecurityInterceptor" />
</mvc:interceptor>
</mvc:interceptors>-->
</mvc:interceptors>
</beans>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册