ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Reichenbach (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OFBIZ-4202) Distributed Cache Clear is broken in current versions of OFBiz
Date Wed, 02 Mar 2011 09:51:38 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-4202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13001355#comment-13001355
] 

Michael Reichenbach commented on OFBIZ-4202:
--------------------------------------------

Hi,

I also think that this issue duplicates [OFBIZ-3987|https://issues.apache.org/jira/browse/OFBIZ-3987],
which also provides a proper fix.

Anyway, here is a stack trace to see the loop:
{code:java}
...
DelegatorFactoryImpl.getInstance(String) line: 33	
DelegatorFactoryImpl.getInstance(Object) line: 25	
UtilObject.getObjectFromFactory(Class<Factory<R,A>>, A) line: 202	
DelegatorFactory.getDelegator(String) line: 47	
EntityExpr.checkRhsType(ModelEntity, Delegator) line: 218	
EntityExpr.makeWhereString(ModelEntity, List<EntityConditionParam>, DatasourceInfo)
line: 136	
EntityJoinOperator.addSqlValue(StringBuilder, ModelEntity, List<EntityConditionParam>,
List<EntityCondition>, DatasourceInfo) line: 75	
EntityConditionList<T>(EntityConditionListBase<T>).makeWhereString(ModelEntity,
List<EntityConditionParam>, DatasourceInfo) line: 98	
EntityJoinOperator.addSqlValue(StringBuilder, ModelEntity, List<EntityConditionParam>,
List<EntityCondition>, DatasourceInfo) line: 75	
EntityConditionList<T>(EntityConditionListBase<T>).makeWhereString(ModelEntity,
List<EntityConditionParam>, DatasourceInfo) line: 98	
GenericDAO.makeConditionWhereString(StringBuilder, String, ModelEntity, EntityCondition, List<EntityCondition>,
List<EntityConditionParam>) line: 790	
GenericDAO.selectListIteratorByCondition(ModelEntity, EntityCondition, EntityCondition, Collection<String>,
List<String>, EntityFindOptions) line: 697	
GenericHelperDAO.findListIteratorByCondition(ModelEntity, EntityCondition, EntityCondition,
Collection<String>, List<String>, EntityFindOptions) line: 139	
GenericDelegator.find(String, EntityCondition, EntityCondition, Set<String>, List<String>,
EntityFindOptions) line: 1742	
GenericDelegator.findList(String, EntityCondition, Set<String>, List<String>,
EntityFindOptions, boolean) line: 1777	
JobManager.reloadCrashedJobs() line: 217	
JobPoller.<init>(JobManager, boolean) line: 63	
JobManager.<init>(Delegator, boolean) line: 81	
JobManager.getInstance(Delegator, boolean) line: 89	
ServiceDispatcher.<init>(Delegator, boolean, boolean, boolean) line: 113	
ServiceDispatcher.<init>(Delegator) line: 130	
ServiceDispatcher.getInstance(String, DispatchContext, Delegator) line: 164	
ServiceDispatcher.getInstance(String, Delegator) line: 139	
GenericDispatcher.getLocalDispatcher(String, Delegator, Collection<URL>, ClassLoader,
ServiceDispatcher) line: 78	
GenericDispatcher.getLocalDispatcher(String, Delegator) line: 43	
EntityServiceFactory.getLocalDispatcher(Delegator) line: 34	
EntityCacheServices.setDelegator(Delegator, String) line: 53	
GenericDelegator.<init>(String) line: 293	
DelegatorFactoryImpl.getInstance(String) line: 33	
DelegatorFactoryImpl.getInstance(Object) line: 25	
UtilObject.getObjectFromFactory(Class<Factory<R,A>>, A) line: 202	
DelegatorFactory.getDelegator(String) line: 47	
CatalinaContainer.init(String[], String) line: 174	
ContainerLoader.loadContainer(ContainerConfig$Container, String[]) line: 188	
ContainerLoader.load(Start$Config, String[]) line: 65	
Start.initStartLoaders() line: 259	
Start.init(String[], boolean) line: 96	
Start.main(String[]) line: 410	
{code}

> Distributed Cache Clear is broken in current versions of OFBiz
> --------------------------------------------------------------
>
>                 Key: OFBIZ-4202
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4202
>             Project: OFBiz
>          Issue Type: Bug
>          Components: framework
>    Affects Versions: Release Branch 10.04, SVN trunk
>            Reporter: Martin Kreidenweis
>
> Setting distributed-cache-clear-enabled="true" for the delegator in entityengine.xml
doesn't work any more: OFBiz goes into an infinite loop during startup. (Only for regular
startup, not e.g. for {{ant run-install}} startup).
> I think I already tracked down where it broke: [Changeset 921990|https://fisheye6.atlassian.com/changelog/ofbiz?cs=921990]
on 2010-03-11 in OFBiz trunk. Before this change OFBiz still starts up, after this change
you get the infinite loop. This means Release 10.04 is already broken. 
> Unfortunately I don't have time currently to investigate further, maybe at a later time.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message