WebBuilder7 在Linux、Tomcat、MySQL下配置注意事项

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&amp;allowMultiQueries=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8"
        username="root" password="0000"
        factory="org.apache.commons.dbcp.BasicDataSourceFactory" 
        maxActive="20" maxIdle="10" maxWait="-1" />
</Context>


你可能感兴趣的:(linux,mysql,Webbuilder)