"villatore" wrote : And the solution, wasssss??????? for run jBPM under other
Java Aplication Server.
Hm solution - I think that it's not the simpliest way, but it works (almost):
Configure hibernate - easiest one :)
In deploy folder - ant customize.console.for.tomcat
In folder "target" You have to add some libraries - now I don't remember
which ones - but I think that, it was libraries similar like in tomcat/websphere.
In file web.xml - change authorization method:
| <login-config>
| <auth-method>FORM</auth-method>
| <realm-name>GlassFishRealmName</realm-name>
| <form-login-config>
| <form-login-page>/ua/login-example.jsf</form-login-page>
|
<form-error-page>/ua/login-example.jsf?error=true</form-error-page>
| </form-login-config>
| </login-config>
|
Now You have to configure in GlassFish JDBC Connection, Connection Pools and realms.
Realms - set jdbc realm, use connection pool configured earlier. User table: JPBM_ID_USER,
user column: USER_ passwd column: PASSWORD_. For group table You need create new view in
Your database : In this view You should have Name with user name, and Group with name of
group connected to him. (You should have in this view only secure-roles).
Then set username, password for database.
I think that's all...
/If everything works - You will have problems with jbpm-console forms - I still don't
know how to fix it - commenting bad lines is simpliest way to do it...
Regards
Jakub Naruszewicz
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164399#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...