ObjectWeb Consortium
Search ObjectWeb Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | shark List | May 2005 Index

<--  Date Index     <--  Thread Index    

HistoryRelatedAssignmentManager with cache disabled problem


Hi All
I am having a problem using
HistoryRelatedAssignmentManager with cache disabled.

When I try to use StandardAssignmentManager
implementation with cache disabled:

AssignmentManagerClassName=org.enhydra.shark.assignment.StandardAssignmentManager

#AssignmentManagerClassName=org.enhydra.shark.assignment.HistoryRelatedAssignmentManager
#HistoryRelatedAssignmentManager.username=admin
#HistoryRelatedAssignmentManager.password=enhydra
#HistoryRelatedAssignmentManager.extAttrReassignToOriginalPerformer=ReassignToOriginalPerformer
#HistoryRelatedAssignmentManager.extAttrAssignToPerformerOfActivity=AssignToPerformerOfActivity
#HistoryRelatedAssignmentManager.extAttrDoNotAssignToPerformerOfActivity=DoNotAssignToPerformerOfActivity

#CacheManagerClassName=org.enhydra.shark.caching.LRUCacheMgr

DatabaseManager.defaults.cache.maxCacheSize=0
DatabaseManager.defaults.cache.maxSimpleCacheSize=0
DatabaseManager.defaults.cache.maxComplexCacheSize=0

It works like a charm.


When I try to use HistoryRelatedAssignmentManager with
cache enabled:
#AssignmentManagerClassName=org.enhydra.shark.assignment.StandardAssignmentManager

AssignmentManagerClassName=org.enhydra.shark.assignment.HistoryRelatedAssignmentManager
HistoryRelatedAssignmentManager.username=admin
HistoryRelatedAssignmentManager.password=enhydra
HistoryRelatedAssignmentManager.extAttrReassignToOriginalPerformer=ReassignToOriginalPerformer
HistoryRelatedAssignmentManager.extAttrAssignToPerformerOfActivity=AssignToPerformerOfActivity
HistoryRelatedAssignmentManager.extAttrDoNotAssignToPerformerOfActivity=DoNotAssignToPerformerOfActivity

CacheManagerClassName=org.enhydra.shark.caching.LRUCacheMgr

DatabaseManager.defaults.cache.maxCacheSize=100
DatabaseManager.defaults.cache.maxSimpleCacheSize=50
DatabaseManager.defaults.cache.maxComplexCacheSize=25

It works fine too.


But when i try to use HistoryRelatedAssignmentManager
with cache disabled:

#AssignmentManagerClassName=org.enhydra.shark.assignment.StandardAssignmentManager

AssignmentManagerClassName=org.enhydra.shark.assignment.HistoryRelatedAssignmentManager
HistoryRelatedAssignmentManager.username=admin
HistoryRelatedAssignmentManager.password=enhydra
HistoryRelatedAssignmentManager.extAttrReassignToOriginalPerformer=ReassignToOriginalPerformer
HistoryRelatedAssignmentManager.extAttrAssignToPerformerOfActivity=AssignToPerformerOfActivity
HistoryRelatedAssignmentManager.extAttrDoNotAssignToPerformerOfActivity=DoNotAssignToPerformerOfActivity

#CacheManagerClassName=org.enhydra.shark.caching.LRUCacheMgr

DatabaseManager.defaults.cache.maxCacheSize=0
DatabaseManager.defaults.cache.maxSimpleCacheSize=0
DatabaseManager.defaults.cache.maxComplexCacheSize=0

I get the following error when I will start some
process:

java.lang.NullPointerException
        at
org.enhydra.shark.SharkUtilities.getActivitiesExtendedAttributes(SharkUtilities.java:1330)
        at
org.enhydra.shark.AdminMiscImpl.getActivitiesExtendedAttributes(AdminMiscImpl.java:219)
        at
org.enhydra.shark.assignment.HistoryRelatedAssignmentManager.getAssignments(HistoryRelatedAssignmentManager.java:107)
        at
org.enhydra.shark.SharkUtilities.getAssignments(SharkUtilities.java:870)
        at
org.enhydra.shark.WfActivityImpl.createAssignments(WfActivityImpl.java:862)
        at
org.enhydra.shark.WfActivityImpl.activate(WfActivityImpl.java:995)
        at
org.enhydra.shark.WfProcessImpl.startActivity(WfProcessImpl.java:711)
        at
org.enhydra.shark.WfProcessImpl.run(WfProcessImpl.java:588)
        at
org.enhydra.shark.WfProcessImpl.start(WfProcessImpl.java:282)
        at
org.enhydra.shark.WfProcessWrapper.start(WfProcessWrapper.java:445)

Is this a bug? Thanks in advantage.

Jean O Angelo


__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger 
http://br.download.yahoo.com/messenger/ 



<--  Date Index     <--  Thread Index    

Reply via email to:

Powered by MHonArc.

Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.