Well, after some "heads in the wall", I resolved the problem... :(
Jboss AS 7 supports unzipped war, but we need to move the
drools-guvnor.war from /deployments folder and unzip it as
deployments/drools-guvnor.war, not deployments/drools-guvnor as I did
before.
The strange fact is Jboss Console shows a green light when deploying the
unzipped war using drools-guvnor folder name.
regards
On 21/12/11 20:43, Cristiano Gavião wrote:
Hi,
I've downloaded the JBPM installer 5.2.Final. It is running ok.
I'm trying do enable role based authentication for Guvnor and I'm not
having success.
So, I found some links at google and I follow this:
1) modified the standalone.xml:
> <security-domain name="other" cache-type="default">
> <authentication>
> <login-module code="UsersRoles" flag="required">
> <module-option name="usersProperties"
value="guvnor-users.properties"/>
> <module-option name="rolesProperties"
value="guvnor-roles.properties"/>
> </login-module>
> </authentication>
> </security-domain>
2) unzip the drools-guvnor.war to drools-guvnor dir and removed the war
- enabled the jaas
> <security:identity authenticate-method="#{authenticator.authenticate}"
> jaas-config-name="other"/>
- and set role based to true
> <component
name="org.jboss.seam.security.roleBasedPermissionResolver">
> <property name="enableRoleBasedAuthorization">true</property>
> </component>
3) created the guvnor-roles.properties and guvnor-users.properties
files at <Guvnor>/WEB-INF/classes
Strangely, there is no error in main log... at least I couldn't find
any. It seems to be ok because at the Jboss Admin Console page all is
running green.
> 0:09:11,152 INFO [org.jboss.as.server.controller]
> (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console.war"
> 20:09:11,152 INFO [org.jboss.as.server.controller]
> (DeploymentScanner-threads - 2) Deployed "jbpm-gwt-console-server.war"
> 20:09:11,170 INFO [org.jboss.as.server.controller]
> (DeploymentScanner-threads - 2) Deployed "drools-guvnor"
> 20:09:11,171 INFO [org.jboss.as.server.controller]
> (DeploymentScanner-threads - 2) Deployed "designer.war"
But I'm getting 404 (The requested resource (/drools-guvnor/) is not
available.) when trying to reach guvnor address
http://localhost:8080/drools-guvnor/
:(
What am I missing ? could anyone help me?
thanks
Cristiano