cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in implementing CustomeIdentity session.

pavan_bukka_ait
Champ in-the-making
Champ in-the-making
Hi ,
    To plugin my own implementation of identitysession i  have created classes MyUserManager,MyGroupManager ,MyUserManagerFactory,MyGroupManagerFactory
    and configured SpringProcessEngineConfiguration bean in the following the following in dispatcher-servelet.xml

<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
      <property name="customSessionFactories">
         <list>
            <bean class="com.equalize.dms.service.MyUserManagerFactory">
               <constructor-arg ref="MyConnectionParams" />
            </bean>
            <bean class="com.equalize.dms.service.MyGroupManagerFactory">
               <constructor-arg ref="MyConnectionParams" />
            </bean>
         </list>
      </property>
      <property name="dataSource" ref="activitiDataSource" />
      <property name="transactionManager" ref="transactionManager" />
      <property name="databaseSchemaUpdate" value="true" />
      <property name="jobExecutorActivate" value="false" />
   </bean>
<bean id="MyConnectionParams"
      class="com.equalize.dms.model.MyConnectionParams">
   </bean>

but still activiti-explorer  application referring  its own users and groups table .

do i have to make any modification in the activiti-explorer web app in tomcat server to refer my applications user and groups table.

Please help me out , many thanks in advance.



Kind regards,
Bukka pavan kumar.
6 REPLIES 6

p4w3l
Champ in-the-making
Champ in-the-making
For me everything looks good. Try w/o <constructor-arg ref="MyConnectionParams" /> or double check if your factories are really initialized by some logging. I am not Spring user but my custom factories works with already three "processEngineConfiguration" : StandaloneProcessEngineConfiguration, SpringProcessEngineConfiguration and now even with ( my fav. ) CdiJtaProcessEngineConfiguration. The config is very strightforward and doesn't need anything else than you did.

pavan_bukka_ait
Champ in-the-making
Champ in-the-making
Hi,
   Thanks for the reply, I have actually deployed activiti-explorer project which i downloaded form activiti site  and myapplication which is developed in springs and hibernate on the same tomcat server, I have not made any configuration in the activiti-explorer project to refer our projects user and groups table, is it because of that it is not refering. If so how to make the configuration ,please let me know i have been struck here for a long time and also i am not finding any help to fix this issue.


Kind regards,
Bukka pavan kumar.

p4w3l
Champ in-the-making
Champ in-the-making
Hi, I have rather abandonned to run Activiti Explorer with own User/Group Manager. I use it for own JEE application with Activiti Engine only. I recommend to do the same. Writing own JSF pages that explores tasks and processes ir realtively easy thanks to Activiti API. Whats more it gives you freedom to compose forms independednt of Activiti forms.

pavan_bukka_ait
Champ in-the-making
Champ in-the-making
Hi,
   u really gave me a good information thank you so much ,u mean i have to create jsp pages for operations like claiming the task, uploading process definition ,starting the process instance ,deleting the process instance etc. using activiti api in my application named pdms , instead of using activiti-explorer for those operations, right?.


Kind regards,
Bukka pavan kumar.

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
I would not use plain jsp, but JSF (or Wicket or even Tapestry) but use it with CDI (or spring)

pavan_bukka_ait
Champ in-the-making
Champ in-the-making
Hi Ronald,
             Thanks for the reply ,can't i use jsp in spring and hibernate environment.
Thanks in advance,

Kind regards,
Bukka pavan kumar.