我正在从 JBoss 站点阅读 EJB 3.0 教程,我遇到了第三个教程,即 Transactions and Security .
这里有一段说:
In this particular example, the "other" domain is used. The "other" domain corresponds to a users.properties and roles.properties files that contain cleartext user, password, and user/role associations. If you open the built tutorial.jar file you will see these two files in there.
所以我在 JBoss 6 目录中搜索了我从 zip 中提取的 tutorial.jar,但没有找到。
本教程指的是 JBoss 4.0,所以我在 JBoss 4.2 安装目录中搜索了相同的内容,但还是没有找到。
有人可以帮我找到 tutorial.jar 吗?
更新:
好的,我从 here 找到了教程中使用的属性文件, 但还是找不到 tutorial.jar
最佳答案
我找到了 tutorial.jar 文件,但没有找到,但希望这可以帮助你......
在您的 jboss 根文件夹中检查角色的以下路径
jboss-6.0.0.20100429-M3\server\default\conf\props\jbossws-roles.properties
和用户
jboss-6.0.0.20100429-M3\server\default\conf\props\jbossws-users.properties
关于JBoss 6 EJB教程.jar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15547184/