1、导入etcdeploymentjdbc目录下mysql.sql(DB名字我定为osworkflow)
2、我的webapps下的目录名为oswfexmysql,则我在tomcat的confCatalinalocalhost目录下新建文件oswfexmysql.xml即可
3、修改WEB-INF/classes目录下osworkflow.xml为:
<!--
-->
4、修改osuer.xml为:
<!--
Authenticators can take properties just like providers.
This smart authenticator should work for "most" cases - it dynamically looks up
the most appropriate authenticator for the current server.
-->
5、在classes目录下加一文件propertyset.xml
6、确认自己的mysql驱动
7、run tomcat
8、over啦!!哈哈~~~
配置起来一路比较顺利,参考了几个大哥网上的例子。GOOD LUCK
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/374079/viewspace-131077/ ,如需转载,请注明出处,否则将追究法律责任。