[OFBiz] Users - creating delegator without a dispatcher

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - creating delegator without a dispatcher

Si Chen-2
Hi.

Is there anyway to create a delegator without a dispatcher?  When the
"test" delegator is created, it also causes a dispatcher named
"entity-test" to be created as well.

Si
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - creating delegator without a dispatcher

Andrew Zeneski
Si,

This is used for ECAs. Yes if no dispatcher is available the EE will still work without ECA support.

-Andy

-----Original Message-----
From: Si Chen <[hidden email]>
Date: Thu, 25 Aug 2005 12:38:51
To:OFBiz Users / Usage <[hidden email]>
Subject: [OFBiz] Users - creating delegator without a dispatcher

Hi.

Is there anyway to create a delegator without a dispatcher?  When the
"test" delegator is created, it also causes a dispatcher named
"entity-test" to be created as well.

Si
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - creating delegator without a dispatcher

Si Chen-2
Andy,

I'm trying to create new delegator to access another database which
doesn't need ECA.  Is there anyway to tell the delegator not to create a
dispatcher if I don't need to use EECA?

I've removed the model-eca-reader attribute from the delegator and the
model-eca-reader definition but I still get messages like this:

49229 (Thread-40) [   GenericDelegator.java:1825:ERROR]
---- exception report
----------------------------------------------------------
Failure in findByCondition operation for entity [JobSandbox]:
org.ofbiz.entity.GenericModelException: Could not find definition for
entity name JobSandbox. Rolling back transaction.
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find definition for entity name JobSandbox
---- stack trace
---------------------------------------------------------------
org.ofbiz.entity.GenericModelException: Could not find definition for
entity name JobSandbox
org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:442)
org.ofbiz.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1941)
org.ofbiz.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1915)
org.ofbiz.entity.GenericDelegator.findByCondition(GenericDelegator.java:1818)
org.ofbiz.entity.GenericDelegator.findByAnd(GenericDelegator.java:1763)
org.ofbiz.service.job.JobManager.reloadCrashedJobs(JobManager.java:206)
org.ofbiz.service.job.JobPoller.<init>(JobPoller.java:69)
org.ofbiz.service.job.JobManager.<init>(JobManager.java:80)
org.ofbiz.service.ServiceDispatcher.<init>(ServiceDispatcher.java:109)
org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:152)
org.ofbiz.service.GenericDispatcher.init(GenericDispatcher.java:81)
org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:58)
org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:46)
org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntityServiceFactory.java:54)
org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntityServiceFactory.java:63)
org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEcaHandler.java:64)
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:257)
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:139)


Thanks

Si

A. Zeneski wrote:

>Si,
>
>This is used for ECAs. Yes if no dispatcher is available the EE will still work without ECA support.
>
>-Andy
>
>-----Original Message-----
>From: Si Chen <[hidden email]>
>Date: Thu, 25 Aug 2005 12:38:51
>To:OFBiz Users / Usage <[hidden email]>
>Subject: [OFBiz] Users - creating delegator without a dispatcher
>
>Hi.
>
>Is there anyway to create a delegator without a dispatcher?  When the
>"test" delegator is created, it also causes a dispatcher named
>"entity-test" to be created as well.
>
>Si
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - creating delegator without a dispatcher

Andrew Zeneski
In reply to this post by Si Chen-2
There should be a setting in entityengine.xml to configure the entity eca. Just need to disable this, I think.

-----Original Message-----
From: Si Chen <[hidden email]>
Date: Thu, 25 Aug 2005 15:07:23
To:OFBiz Users / Usage Discussion <[hidden email]>
Subject: Re: [OFBiz] Users - creating delegator without a dispatcher

Andy,

I'm trying to create new delegator to access another database which
doesn't need ECA.  Is there anyway to tell the delegator not to create a
dispatcher if I don't need to use EECA?

I've removed the model-eca-reader attribute from the delegator and the
model-eca-reader definition but I still get messages like this:

49229 (Thread-40) [   GenericDelegator.java:1825:ERROR]
---- exception report
----------------------------------------------------------
Failure in findByCondition operation for entity [JobSandbox]:
org.ofbiz.entity.GenericModelException: Could not find definition for
entity name JobSandbox. Rolling back transaction.
Exception: org.ofbiz.entity.GenericModelException
Message: Could not find definition for entity name JobSandbox
---- stack trace
---------------------------------------------------------------
org.ofbiz.entity.GenericModelException: Could not find definition for
entity name JobSandbox
org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:442)
org.ofbiz.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1941)
org.ofbiz.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1915)
org.ofbiz.entity.GenericDelegator.findByCondition(GenericDelegator.java:1818)
org.ofbiz.entity.GenericDelegator.findByAnd(GenericDelegator.java:1763)
org.ofbiz.service.job.JobManager.reloadCrashedJobs(JobManager.java:206)
org.ofbiz.service.job.JobPoller.<init>(JobPoller.java:69)
org.ofbiz.service.job.JobManager.<init>(JobManager.java:80)
org.ofbiz.service.ServiceDispatcher.<init>(ServiceDispatcher.java:109)
org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:152)
org.ofbiz.service.GenericDispatcher.init(GenericDispatcher.java:81)
org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:58)
org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:46)
org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntityServiceFactory.java:54)
org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntityServiceFactory.java:63)
org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEcaHandler.java:64)
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:257)
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:139)


Thanks

Si

A. Zeneski wrote:

>Si,
>
>This is used for ECAs. Yes if no dispatcher is available the EE will still work without ECA support.
>
>-Andy
>
>-----Original Message-----
>From: Si Chen <[hidden email]>
>Date: Thu, 25 Aug 2005 12:38:51
>To:OFBiz Users / Usage <[hidden email]>
>Subject: [OFBiz] Users - creating delegator without a dispatcher
>
>Hi.
>
>Is there anyway to create a delegator without a dispatcher?  When the
>"test" delegator is created, it also causes a dispatcher named
>"entity-test" to be created as well.
>
>Si
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - creating delegator without a dispatcher

Si Chen-2
Ok.  Found it.  entity-eca-enabled="false"

Thanks a lot!

Si

A. Zeneski wrote:

>There should be a setting in entityengine.xml to configure the entity eca. Just need to disable this, I think.
>
>-----Original Message-----
>From: Si Chen <[hidden email]>
>Date: Thu, 25 Aug 2005 15:07:23
>To:OFBiz Users / Usage Discussion <[hidden email]>
>Subject: Re: [OFBiz] Users - creating delegator without a dispatcher
>
>Andy,
>
>I'm trying to create new delegator to access another database which
>doesn't need ECA.  Is there anyway to tell the delegator not to create a
>dispatcher if I don't need to use EECA?
>
>I've removed the model-eca-reader attribute from the delegator and the
>model-eca-reader definition but I still get messages like this:
>
>49229 (Thread-40) [   GenericDelegator.java:1825:ERROR]
>---- exception report
>----------------------------------------------------------
>Failure in findByCondition operation for entity [JobSandbox]:
>org.ofbiz.entity.GenericModelException: Could not find definition for
>entity name JobSandbox. Rolling back transaction.
>Exception: org.ofbiz.entity.GenericModelException
>Message: Could not find definition for entity name JobSandbox
>---- stack trace
>---------------------------------------------------------------
>org.ofbiz.entity.GenericModelException: Could not find definition for
>entity name JobSandbox
>org.ofbiz.entity.model.ModelReader.getModelEntity(ModelReader.java:442)
>org.ofbiz.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1941)
>org.ofbiz.entity.GenericDelegator.findListIteratorByCondition(GenericDelegator.java:1915)
>org.ofbiz.entity.GenericDelegator.findByCondition(GenericDelegator.java:1818)
>org.ofbiz.entity.GenericDelegator.findByAnd(GenericDelegator.java:1763)
>org.ofbiz.service.job.JobManager.reloadCrashedJobs(JobManager.java:206)
>org.ofbiz.service.job.JobPoller.<init>(JobPoller.java:69)
>org.ofbiz.service.job.JobManager.<init>(JobManager.java:80)
>org.ofbiz.service.ServiceDispatcher.<init>(ServiceDispatcher.java:109)
>org.ofbiz.service.ServiceDispatcher.getInstance(ServiceDispatcher.java:152)
>org.ofbiz.service.GenericDispatcher.init(GenericDispatcher.java:81)
>org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:58)
>org.ofbiz.service.GenericDispatcher.<init>(GenericDispatcher.java:46)
>org.ofbiz.entityext.EntityServiceFactory.getLocalDispatcher(EntityServiceFactory.java:54)
>org.ofbiz.entityext.EntityServiceFactory.getDispatchContext(EntityServiceFactory.java:63)
>org.ofbiz.entityext.eca.DelegatorEcaHandler.setDelegator(DelegatorEcaHandler.java:64)
>org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:257)
>org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:139)
>
>
>Thanks
>
>Si
>
>A. Zeneski wrote:
>
>  
>
>>Si,
>>
>>This is used for ECAs. Yes if no dispatcher is available the EE will still work without ECA support.
>>
>>-Andy
>>
>>-----Original Message-----
>>From: Si Chen <[hidden email]>
>>Date: Thu, 25 Aug 2005 12:38:51
>>To:OFBiz Users / Usage <[hidden email]>
>>Subject: [OFBiz] Users - creating delegator without a dispatcher
>>
>>Hi.
>>
>>Is there anyway to create a delegator without a dispatcher?  When the
>>"test" delegator is created, it also causes a dispatcher named
>>"entity-test" to be created as well.
>>
>>Si
>>
>>_______________________________________________
>>Users mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/users
>>
>>_______________________________________________
>>Users mailing list
>>[hidden email]
>>http://lists.ofbiz.org/mailman/listinfo/users
>>
>>
>>
>>    
>>
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>_______________________________________________
>Users mailing list
>[hidden email]
>http://lists.ofbiz.org/mailman/listinfo/users
>
>  
>
 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users