Skip to content

Mahout入门实例-基于 Apache Mahout 构建社会化推荐引擎-实战(参考IBM)

Notifications You must be signed in to change notification settings

v5tech/MovieSite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mahout入门实例-基于 Apache Mahout 构建社会化推荐引擎-实战(参考IBM)

在tomcat的server.xml中前添加以下内容

<Context path="MovieSite" docBase="D:\developer\eclipsework\MovieSite\movie" reloadable="true" >
  <Resource name="jdbc/movie"
            auth="Container"
            type="javax.sql.DataSource"
            factory="org.apache.tomcat.jdbc.pool.DataSourceFactory"
            testWhileIdle="true"
            testOnBorrow="true"
            testOnReturn="false"
            validationQuery="SELECT 1"
            validationInterval="30000"
            timeBetweenEvictionRunsMillis="30000"
            maxActive="100"
            minIdle="10"
            maxWait="10000"
            initialSize="10"
            removeAbandonedTimeout="60"
            removeAbandoned="true"
            logAbandoned="true"
            minEvictableIdleTimeMillis="30000"
            jmxEnabled="true"
            jdbcInterceptors="org.apache.tomcat.jdbc.pool.interceptor.ConnectionState;
            org.apache.tomcat.jdbc.pool.interceptor.StatementFinalizer"
            username="root"
            password=""
            driverClassName="com.mysql.jdbc.Driver"
            url="jdbc:mysql:https://localhost:3306/movie"/>
</Context>

参考链接

About

Mahout入门实例-基于 Apache Mahout 构建社会化推荐引擎-实战(参考IBM)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published