Entity error

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

Entity error

G.Ben
Hi,

I have a problem with the entity-model. I've created the 2 files "entitymodel.xml" and "entitygroup.xml".
When I put "<entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
<entity-resource type="group" reader-name="main" loader="main" location="entitydef/entitygroup.xml"/> " in the file ofbiz-component.xml and restart OFBiz, I get an error at the console of Windows you can see it at the attachements.First oneSecond one

Well, I'm sure that the error is coming from adding "entity-ressource ..." because when I remove it works but I need to see the entities that I defined.

Thank you for your help !
Reply | Threaded
Open this post in threaded view
|

Re: Entity error

Adrian Crum-3
Make sure the files are in the hot-deploy/hello2/entitydef folder and
make sure the file names are correct.

-Adrian

On 5/30/2012 1:54 PM, G.Ben wrote:

> Hi,
>
> I have a problem with the entity-model. I've created the 2 files
> "entitymodel.xml" and "entitygroup.xml".
> When I put "<entity-resource type="model" reader-name="main" loader="main"
> location="entitydef/entitymodel.xml"/>
> <entity-resource type="group" reader-name="main" loader="main"
> location="entitydef/entitygroup.xml"/>  " in the file ofbiz-component.xml and
> restart OFBiz, I get an error at the console of Windows you can see it at
> the attachements.
> http://ofbiz.135035.n4.nabble.com/file/n4632779/Capture.png
> http://ofbiz.135035.n4.nabble.com/file/n4632779/capture2.png
>
> Well, I'm sure that the error is coming from adding "entity-ressource ..."
> because when I remove it works but I need to see the entities that I
> defined.
>
> Thank you for your help !
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Entity-error-tp4632779.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Entity error

G.Ben
In reply to this post by G.Ben
I did that, and it's correct, well I don't know ! :D
Here is the image :
Entity
Reply | Threaded
Open this post in threaded view
|

Re: Entity error

Nameet Jain
Hello G.Ben,

I think problem is in entityengine.xml. May be with delegator name.
Please check it.

Thanks&  Regards,
Nameet Jain


On Wednesday 30 May 2012 06:57 PM, G.Ben wrote:
> I did that, and it's correct, well I don't know ! :D
> Here is the image :
> http://ofbiz.135035.n4.nabble.com/file/n4632781/Capture3.png
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Entity-error-tp4632779p4632781.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
Reply | Threaded
Open this post in threaded view
|

Re: Entity error

G.Ben
Hi,

This is my entityengine.xml file

Reply | Threaded
Open this post in threaded view
|

Re: Entity error

Deepak Dixit-2
Hi G.Ben,

Don't change the entry for tenant group (org.ofbiz.tenant), leave them as it is.



Thanks & Regards
--
Deepak Dixit


On May 30, 2012, at 8:37 PM, G.Ben wrote:

> Hi,
>
> This is my entityengine.xml file
>
> http://ofbiz.135035.n4.nabble.com/file/n4632792/entityengine.png 
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Entity-error-tp4632779p4632792.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.


smime.p7s (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Entity error

G.Ben
Okay I'll fix it, Excuse my few knowledge, For what the ofbiztenant is useful ?
Reply | Threaded
Open this post in threaded view
|

Re: Entity error

G.Ben
In reply to this post by Deepak Dixit-2
I've changed it and I still get the same error

Thank you

Regards.

G.Ben