现在的位置: 首页 > 综合 > 正文

jackrabbit 在jboss中missing users.properties (miss roles.properties) 解决方案

2013年07月26日 ⁄ 综合 ⁄ 共 1001字 ⁄ 字号 评论关闭

We've deployed jackrabbit both in a Model 1 deployment and now Model 2 via
JCA on JBoss 4.0.4GA. Note that we're using JcrTemplate from the
Springmodules project, which is configured with the actual user/password
auth. credentials. Upon on initial deployment to a clean JBoss install we
received a JBoss error regarding a missing users.properties. I posted a
question to this list (search the archives, back about 2 months) but quickly
found the resolution was to create users.properties roles.properties andin
the conf directory.

jackrabbit在tomcat5,6中测试均正常,在jboss4中就遇到了missing roles properties  错误

看了看apache mail list 发现有人还是遇到了问题,在conf文件夹下面建立users.properties 和 roles.properties文件,roles.properties不用理会,users.properties 中写上你的jackrabbit中login时候设置的账号密码,格式如下:

username=password

比如我的:

那么,document=document2009

 

抱歉!评论已关闭.