conf.works.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of j2mvc-framework-app Show documentation
Show all versions of j2mvc-framework-app Show documentation
强烈建议使用J2mvc 2.1以后的版本。
version 2.1.01
1.更换JSON依赖包.
version 2.1.02
1.移除com.j2mvc.StringUtils.getUtf8()方法调用.
更改为getCharset()
version 2.1.03
1.更新JNDI连接设置
version 2.1.04
1.修改works.xml配置url-pkg-prefixes改为pkg
<?xml version="1.0" encoding="UTF-8"?> <works> <DataSources> <DataSource name="jdbc/test1" driverClassName="com.mysql.jdbc.Driver" username="test1" password="test1@123" maxIdle="2" maxWait="5000" maxActive="100" initialSize="1" url="jdbc:mysql://127.0.0.1/test1" /> <DataSource name="jdbc/test2" driverClassName="com.mysql.jdbc.Driver" username="test2" password="test2@123" maxIdle="2" maxWait="5000" maxActive="100" initialSize="1" url="jdbc:mysql://127.0.0.1/test2" /> <DataSource name="jdbc/tanghaola_user" driverClassName="com.mysql.jdbc.Driver" username="tanghaola" password="tanghaola@20160905" maxIdle="2" maxWait="100000" maxActive="100" initialSize="1" url="jdbc:mysql://kikogo.com/tanghaola_user?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8" /> </DataSources> <init-params> <init-param> <name>sqlLog</name> <description>输入SQL日志</description> <value>true</value> </init-param> </init-params> </works>