标签:webbuilder linux mysql tomcat
1,改目录权限
chmod -R 777 wb
2,放mysql驱动jar到/usr/share/tomcat/lib
3,context.xml内容:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Context> <Context reloadable="true" crossContext="true"> <WatchedResource>WEB-INF/web.xml</WatchedResource> <Resource name="jdbc/wb_mysql" auth="Container" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver" url="jdbc:mysql://127.0.0.1:3306/webBuilder?autoReconnect=true&allowMultiQueries=true&useUnicode=true&characterEncoding=utf-8&mysqlEncoding=utf8" username="root" password="0000" factory="org.apache.commons.dbcp.BasicDataSourceFactory" maxActive="20" maxIdle="10" maxWait="-1" /> </Context>
本文出自 “zl1030的记录” 博客,请务必保留此出处http://zl1030.blog.51cto.com/274507/1747557
WebBuilder7 在Linux、Tomcat、MySQL下配置注意事项
标签:webbuilder linux mysql tomcat
原文地址:http://zl1030.blog.51cto.com/274507/1747557