Problem in importing Seed data

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

Problem in importing Seed data

Sangs

Hi All,
I am using ofbiz build 5924.and database is localderby.While trying to import seed data, I am getting the following exception:

An error occurred saving the data, rolling back transaction (true)
Exception: java.lang.IllegalArgumentException
Message: Type id not found

An error occurred saving the data, rolling back transaction (true)
Exception: java.lang.IllegalArgumentException
Message: Type description not found

Here is the relevant excrept from entitymodel.xml:
    <entity entity-name="Room"
            package-name="org.ofbiz.hotelCalifornia"
            title="Hotel California's Rooms">
      <field name="roomId" type="id"></field>
      <field name="fId" type="id"></field>
      <field name="numberFree" type="numeric"></field>
      <prim-key field="roomId"/>
      <relation type="one" fk-name="room_facility_map"
rel-entity-name="RoomFacility">
        <key-map field-name="fId"/>
      </relation>
    </entity>

and here is what i am trying to import:
<?xml version="1.0" encoding="UTF-8"?>
<entity-engine-xml>
      <RoomFacility fId="PLAIN" description="A plain room with minimal facilities"/>
        <Room roomId="PLAIN" fId="F100" numberFree=5/> </entity-engine-xml>

Si has suggested that  this is an old problem with localderbyodbc not being set correctly, so it couldn't find the types on some fieldtype_...xml.Does anyone have any clue about this?
Is there something I am missing? I have checked the fieldtypederby.xml and it corrcetly lists :
   <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def>
I also trying (stupidly) to create this data through a service (as in delegator.create()) but still the same error.
I have also been advised to upgrade the build but my point is that this should work with any build.
Any help would be greatly appreciated:I have been struggling with this issue for the past two weeks!

Thanks in advance!
Sangeeta

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

cjhowe
Just a quick glance...

<Room roomId="PLAIN" fId="F100" numberFree=5/>

you're missing quotes numberFree="5".  If that's not
it, what does your RoomFacility entity look like?

--- Sangeeta Bhatia <[hidden email]> wrote:

>
> Hi All,
> I am using ofbiz build 5924.and database is
> localderby.While trying to import seed data, I am
> getting the following exception:
>
> An error occurred saving the data, rolling back
> transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type id not found
>
> An error occurred saving the data, rolling back
> transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type description not found
>
> Here is the relevant excrept from entitymodel.xml:
>     <entity entity-name="Room"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Hotel California's Rooms">
>       <field name="roomId" type="id"></field>
>       <field name="fId" type="id"></field>
>       <field name="numberFree"
> type="numeric"></field>
>       <prim-key field="roomId"/>
>       <relation type="one"
> fk-name="room_facility_map"
> rel-entity-name="RoomFacility">
>         <key-map field-name="fId"/>
>       </relation>
>     </entity>
>
> and here is what i am trying to import:
> <?xml version="1.0" encoding="UTF-8"?>
> <entity-engine-xml>
>       <RoomFacility fId="PLAIN" description="A plain
> room with minimal facilities"/>
> <Room roomId="PLAIN" fId="F100" numberFree=5/>
> </entity-engine-xml>
>
> Si has suggested that  this is an old problem with
> localderbyodbc not being set correctly, so it
> couldn't find the types on some
> fieldtype_...xml.Does anyone have any clue about
> this?
> Is there something I am missing? I have checked the
> fieldtypederby.xml and it corrcetly lists :
>    <field-type-def type="id" sql-type="VARCHAR(20)"
> java-type="String"></field-type-def>
> I also trying (stupidly) to create this data through
> a service (as in delegator.create()) but still the
> same error.
> I have also been advised to upgrade the build but my
> point is that this should work with any build.
> Any help would be greatly appreciated:I have been
> struggling with this issue for the past two weeks!
>
> Thanks in advance!
> Sangeeta
>
>
============================================================================================================================

>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents
> of the enclosure(s) or attachment(s) if any) are
> privileged and confidential material of Tech
> Mahindra and should not be disclosed to, used by or
> copied in any manner by anyone other than the
> intended addressee(s). In case you are not the
> desired addressee, you should delete this message
> and/or re-direct it to the sender. The views
> expressed in this E-mail message (including the
> enclosure(s) or attachment(s) if any) are those of
> the individual sender, except where the sender
> expressly, and with authority, states them to be the
> views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if
> any, is believed to be free of any virus. However,
> it is the responsibility of the recipient to ensure
> that it is virus free and Tech Mahindra is not
> responsible for any loss or damage arising in any
> way from its use.
>
>
============================================================================================================================
>

Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Dimitri Unruh-2
and also add these line

<entity-group group="org.ofbiz" entity="Room" />

to you entitygroup.xml (if you still not have it done)


Kind regards

Dimitri Unruh

Lynx Consulting Group
Johanniskirchplatz 6
D-33615 Bielefeld
T: +49 (0) 521 / 52 47 - 408
[hidden email]
http://www.lynx.de
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Hans Bakker
In reply to this post by Sangs
You may want to look at the opentravelsystem, where we use the fixed asset for
the definition of the rooms. A fixed asset is then connected with a product
with the type 'fixed asset usage' in order to rent it to a customer. If a
room is available is also recorded there.

Regards,
Hans

On Monday 26 June 2006 13:53, Sangeeta Bhatia wrote:

> Hi All,
> I am using ofbiz build 5924.and database is localderby.While trying to
> import seed data, I am getting the following exception:
>
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type id not found
>
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type description not found
>
> Here is the relevant excrept from entitymodel.xml:
>     <entity entity-name="Room"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Hotel California's Rooms">
>       <field name="roomId" type="id"></field>
>       <field name="fId" type="id"></field>
>       <field name="numberFree" type="numeric"></field>
>       <prim-key field="roomId"/>
>       <relation type="one" fk-name="room_facility_map"
> rel-entity-name="RoomFacility">
>         <key-map field-name="fId"/>
>       </relation>
>     </entity>
>
> and here is what i am trying to import:
> <?xml version="1.0" encoding="UTF-8"?>
> <entity-engine-xml>
>       <RoomFacility fId="PLAIN" description="A plain room with minimal
> facilities"/> <Room roomId="PLAIN" fId="F100" numberFree=5/>
> </entity-engine-xml>
>
> Si has suggested that  this is an old problem with localderbyodbc not being
> set correctly, so it couldn't find the types on some fieldtype_...xml.Does
> anyone have any clue about this? Is there something I am missing? I have
> checked the fieldtypederby.xml and it corrcetly lists : <field-type-def
> type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def> I
> also trying (stupidly) to create this data through a service (as in
> delegator.create()) but still the same error. I have also been advised to
> upgrade the build but my point is that this should work with any build. Any
> help would be greatly appreciated:I have been struggling with this issue
> for the past two weeks!
>
> Thanks in advance!
> Sangeeta
>
> ===========================================================================
>=================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or
> attachment(s) if any) are privileged and confidential material of Tech
> Mahindra and should not be disclosed to, used by or copied in any manner by
> anyone other than the intended addressee(s). In case you are not the
> desired addressee, you should delete this message and/or re-direct it to
> the sender. The views expressed in this E-mail message (including the
> enclosure(s) or attachment(s) if any) are those of the individual sender,
> except where the sender expressly, and with authority, states them to be
> the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be
> free of any virus. However, it is the responsibility of the recipient to
> ensure that it is virus free and Tech Mahindra is not responsible for any
> loss or damage arising in any way from its use.
>
> ===========================================================================
>=================================================
--
Regards,
Hans Bakker
ANT Websystems Co.,Ltd (http://www.antwebsystems.com)

If you want to verify that this message really originates from
from the above person, download the public key from:
http://www.antwebsystems.com/hbakkerAntwebsystems.asc

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

Yeah,I have tried with quotes too but it didn't work.
RoomFacility entity defintion is:

    <entity entity-name="RoomFacility"
            package-name="org.ofbiz.hotelCalifornia"
            title="Hotel California's facilities">
      <field name="fId"  type="id-ne"></field>
      <field name="description" type="description"></field>
      <prim-key field="fId"/>
    </entity>



Dimitri,
Yes,I have added this entry to entitygroup.xml.
Sangeeta

-----Original Message-----
From: Chris Howe [mailto:[hidden email]]
Sent: Monday, June 26, 2006 12:31 PM
To: [hidden email]
Subject: Re: Problem in importing Seed data

Just a quick glance...

<Room roomId="PLAIN" fId="F100" numberFree=5/>

you're missing quotes numberFree="5".  If that's not it, what does your RoomFacility entity look like?

--- Sangeeta Bhatia <[hidden email]> wrote:

>
> Hi All,
> I am using ofbiz build 5924.and database is localderby.While trying to
> import seed data, I am getting the following exception:
>
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type id not found
>
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type description not found
>
> Here is the relevant excrept from entitymodel.xml:
>     <entity entity-name="Room"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Hotel California's Rooms">
>       <field name="roomId" type="id"></field>
>       <field name="fId" type="id"></field>
>       <field name="numberFree"
> type="numeric"></field>
>       <prim-key field="roomId"/>
>       <relation type="one"
> fk-name="room_facility_map"
> rel-entity-name="RoomFacility">
>         <key-map field-name="fId"/>
>       </relation>
>     </entity>
>
> and here is what i am trying to import:
> <?xml version="1.0" encoding="UTF-8"?> <entity-engine-xml>
>       <RoomFacility fId="PLAIN" description="A plain room with minimal
> facilities"/>
> <Room roomId="PLAIN" fId="F100" numberFree=5/> </entity-engine-xml>
>
> Si has suggested that  this is an old problem with localderbyodbc not
> being set correctly, so it couldn't find the types on some
> fieldtype_...xml.Does anyone have any clue about this?
> Is there something I am missing? I have checked the fieldtypederby.xml
> and it corrcetly lists :
>    <field-type-def type="id" sql-type="VARCHAR(20)"
> java-type="String"></field-type-def>
> I also trying (stupidly) to create this data through a service (as in
> delegator.create()) but still the same error.
> I have also been advised to upgrade the build but my point is that
> this should work with any build.
> Any help would be greatly appreciated:I have been struggling with this
> issue for the past two weeks!
>
> Thanks in advance!
> Sangeeta
>
>
============================================================================================================================

>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the
> enclosure(s) or attachment(s) if any) are privileged and confidential
> material of Tech Mahindra and should not be disclosed to, used by or
> copied in any manner by anyone other than the intended addressee(s).
> In case you are not the desired addressee, you should delete this
> message and/or re-direct it to the sender. The views expressed in this
> E-mail message (including the
> enclosure(s) or attachment(s) if any) are those of the individual
> sender, except where the sender expressly, and with authority, states
> them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to
> be free of any virus. However, it is the responsibility of the
> recipient to ensure that it is virus free and Tech Mahindra is not
> responsible for any loss or damage arising in any way from its use.
>
>
============================================================================================================================
>


============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Dimitri Unruh-2
I guess your definition of the Seed data is wrong

RoomFacility fId="PLAIN" description="A plain room with minimal

> facilities"/>
>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
</entity-engine-xml>


fId must have the same value.


Dimitri Unruh

Lynx Consulting Group
Johanniskirchplatz 6
D-33615 Bielefeld
T: +49 (0) 521 / 52 47 - 408
[hidden email]
http://www.lynx.de
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

Sorry  Dimitri ,that was a typo mistake.
I m actually using fID="PLAIN".
Still it's not working.
 I guess it is as Si suggested something to do with my configuration files.
Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
I have also been able to import data as explained in his tutorial.
However for the particular application I have built,I am getting an error.




-----Original Message-----
From: Dimitri Unruh [mailto:[hidden email]]
Sent: Monday, June 26, 2006 1:15 PM
To: [hidden email]
Subject: RE: Problem in importing Seed data

I guess your definition of the Seed data is wrong

RoomFacility fId="PLAIN" description="A plain room with minimal

> facilities"/>
>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
</entity-engine-xml>


fId must have the same value.


Dimitri Unruh

Lynx Consulting Group
Johanniskirchplatz 6
D-33615 Bielefeld
T: +49 (0) 521 / 52 47 - 408
[hidden email]
http://www.lynx.de

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Jacopo Cappellato
Are the entitygroup.xml and entitydef.xml file defined inside your
custom ofbiz-component.xml file?

Jacopo

Sangeeta Bhatia wrote:

> Sorry  Dimitri ,that was a typo mistake.
> I m actually using fID="PLAIN".
> Still it's not working.
>  I guess it is as Si suggested something to do with my configuration files.
> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
> I have also been able to import data as explained in his tutorial.
> However for the particular application I have built,I am getting an error.
>
>
>
>
> -----Original Message-----
> From: Dimitri Unruh [mailto:[hidden email]]
>
> Sent: Monday, June 26, 2006 1:15 PM
> To: [hidden email]
> Subject: RE: Problem in importing Seed data
>
> I guess your definition of the Seed data is wrong
>
> RoomFacility fId="PLAIN" description="A plain room with minimal
>
>> facilities"/>
>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
> </entity-engine-xml>
>
>
> fId must have the same value.
>
>
> Dimitri Unruh
>
> Lynx Consulting Group
> Johanniskirchplatz 6
> D-33615 Bielefeld
> T: +49 (0) 521 / 52 47 - 408
> [hidden email]
> http://www.lynx.de
>
> ============================================================================================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ============================================================================================================================
>

Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

Yes.
I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.

-----Original Message-----
From: Jacopo Cappellato [mailto:[hidden email]]
Sent: Monday, June 26, 2006 2:08 PM
To: [hidden email]
Subject: Re: Problem in importing Seed data

Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?

Jacopo

Sangeeta Bhatia wrote:

> Sorry  Dimitri ,that was a typo mistake.
> I m actually using fID="PLAIN".
> Still it's not working.
>  I guess it is as Si suggested something to do with my configuration files.
> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
> I have also been able to import data as explained in his tutorial.
> However for the particular application I have built,I am getting an error.
>
>
>
>
> -----Original Message-----
> From: Dimitri Unruh [mailto:[hidden email]]
>
> Sent: Monday, June 26, 2006 1:15 PM
> To: [hidden email]
> Subject: RE: Problem in importing Seed data
>
> I guess your definition of the Seed data is wrong
>
> RoomFacility fId="PLAIN" description="A plain room with minimal
>
>> facilities"/>
>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
> </entity-engine-xml>
>
>
> fId must have the same value.
>
>
> Dimitri Unruh
>
> Lynx Consulting Group
> Johanniskirchplatz 6
> D-33615 Bielefeld
> T: +49 (0) 521 / 52 47 - 408
> [hidden email]
> http://www.lynx.de
>
> ======================================================================
> ======================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ======================================================================
> ======================================================
>


============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Alexandre Gomes-5
Hi Sangeeta,

Could you post a little bit more of the log file?

Alexandre

On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:

>
> Yes.
> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>
> -----Original Message-----
> From: Jacopo Cappellato [mailto:[hidden email]]
> Sent: Monday, June 26, 2006 2:08 PM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>
> Jacopo
>
> Sangeeta Bhatia wrote:
> > Sorry  Dimitri ,that was a typo mistake.
> > I m actually using fID="PLAIN".
> > Still it's not working.
> >  I guess it is as Si suggested something to do with my configuration files.
> > Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
> > I have also been able to import data as explained in his tutorial.
> > However for the particular application I have built,I am getting an error.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Dimitri Unruh [mailto:[hidden email]]
> >
> > Sent: Monday, June 26, 2006 1:15 PM
> > To: [hidden email]
> > Subject: RE: Problem in importing Seed data
> >
> > I guess your definition of the Seed data is wrong
> >
> > RoomFacility fId="PLAIN" description="A plain room with minimal
> >
> >> facilities"/>
> >>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
> > </entity-engine-xml>
> >
> >
> > fId must have the same value.
> >
> >
> > Dimitri Unruh
> >
> > Lynx Consulting Group
> > Johanniskirchplatz 6
> > D-33615 Bielefeld
> > T: +49 (0) 521 / 52 47 - 408
> > [hidden email]
> > http://www.lynx.de
> >
> > ======================================================================
> > ======================================================
> >
> > Tech Mahindra, formerly Mahindra-British Telecom.
> >
> >
> >
> > Disclaimer:
> >
> >
> > The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >
> >
> > This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >
> > ======================================================================
> > ======================================================
> >
>
>
> ============================================================================================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ============================================================================================================================
>
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Arnd Scharpegge-2
In reply to this post by Sangs
Did you try to import data to one table first?
And then to the second?


Arnd Scharpegge

Consultant

Agrenon GmbH a member of Lynx Consulting Group,
Johanniskirchplatz 6, D-33615 Bielefeld, Germany

Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

Alexandre,

PFA the logs for this error.
Please note that I have tried chnaging id to id-ne and still I am getting similar errors.

Thanks!
sangeeta

-----Original Message-----
From: Alexandre Gomes [mailto:[hidden email]]
Sent: Monday, June 26, 2006 2:30 PM
To: [hidden email]
Subject: Re: Problem in importing Seed data

Hi Sangeeta,

Could you post a little bit more of the log file?

Alexandre

On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:

>
> Yes.
> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>
> -----Original Message-----
> From: Jacopo Cappellato [mailto:[hidden email]]
> Sent: Monday, June 26, 2006 2:08 PM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>
> Jacopo
>
> Sangeeta Bhatia wrote:
> > Sorry  Dimitri ,that was a typo mistake.
> > I m actually using fID="PLAIN".
> > Still it's not working.
> >  I guess it is as Si suggested something to do with my configuration files.
> > Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
> > I have also been able to import data as explained in his tutorial.
> > However for the particular application I have built,I am getting an error.
> >
> >
> >
> >
> > -----Original Message-----
> > From: Dimitri Unruh [mailto:[hidden email]]
> >
> > Sent: Monday, June 26, 2006 1:15 PM
> > To: [hidden email]
> > Subject: RE: Problem in importing Seed data
> >
> > I guess your definition of the Seed data is wrong
> >
> > RoomFacility fId="PLAIN" description="A plain room with minimal
> >
> >> facilities"/>
> >>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
> > </entity-engine-xml>
> >
> >
> > fId must have the same value.
> >
> >
> > Dimitri Unruh
> >
> > Lynx Consulting Group
> > Johanniskirchplatz 6
> > D-33615 Bielefeld
> > T: +49 (0) 521 / 52 47 - 408
> > [hidden email]
> > http://www.lynx.de
> >
> > ====================================================================
> > == ======================================================
> >
> > Tech Mahindra, formerly Mahindra-British Telecom.
> >
> >
> >
> > Disclaimer:
> >
> >
> > The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >
> >
> > This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >
> > ====================================================================
> > == ======================================================
> >
>
>
> ======================================================================
> ======================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ======================================================================
> ======================================================
>

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================

logs.txt (14K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

BJ Freeman
what did the log show was being loaded just before the error?

Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:

> Alexandre,
>
> PFA the logs for this error.
> Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
>
> Thanks!
> sangeeta
>
>
> -----Original Message-----
> From: Alexandre Gomes [mailto:[hidden email]]
>
> Sent: Monday, June 26, 2006 2:30 PM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> Hi Sangeeta,
>
> Could you post a little bit more of the log file?
>
> Alexandre
>
> On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
>> Yes.
>> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>>
>> -----Original Message-----
>> From: Jacopo Cappellato [mailto:[hidden email]]
>> Sent: Monday, June 26, 2006 2:08 PM
>> To: [hidden email]
>> Subject: Re: Problem in importing Seed data
>>
>> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>>
>> Jacopo
>>
>> Sangeeta Bhatia wrote:
>>> Sorry  Dimitri ,that was a typo mistake.
>>> I m actually using fID="PLAIN".
>>> Still it's not working.
>>>  I guess it is as Si suggested something to do with my configuration files.
>>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
>>> I have also been able to import data as explained in his tutorial.
>>> However for the particular application I have built,I am getting an error.
>>>
>>>
>>>
>>>
>>> -----Original Message-----
>>> From: Dimitri Unruh [mailto:[hidden email]]
>>>
>>> Sent: Monday, June 26, 2006 1:15 PM
>>> To: [hidden email]
>>> Subject: RE: Problem in importing Seed data
>>>
>>> I guess your definition of the Seed data is wrong
>>>
>>> RoomFacility fId="PLAIN" description="A plain room with minimal
>>>
>>>> facilities"/>
>>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
>>> </entity-engine-xml>
>>>
>>>
>>> fId must have the same value.
>>>
>>>
>>> Dimitri Unruh
>>>
>>> Lynx Consulting Group
>>> Johanniskirchplatz 6
>>> D-33615 Bielefeld
>>> T: +49 (0) 521 / 52 47 - 408
>>> [hidden email]
>>> http://www.lynx.de
>>>
>>> ====================================================================
>>> == ======================================================
>>>
>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>
>>>
>>>
>>> Disclaimer:
>>>
>>>
>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>
>>>
>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>
>>> ====================================================================
>>> == ======================================================
>>>
>>
>> ======================================================================
>> ======================================================
>>
>> Tech Mahindra, formerly Mahindra-British Telecom.
>>
>>
>> Disclaimer:
>>
>>
>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>
>>
>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>
>> ======================================================================
>> ======================================================
>>
>
>
> ============================================================================================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ============================================================================================================================
>
>
> ------------------------------------------------------------------------
>
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type id-ne not found
> ---- stack trace ---------------------------------------------------------------
>
> java.lang.IllegalArgumentException: Type id-ne not found
> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:358)
> javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
> ort_jsp:270)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> org.ofbiz.webapp.region.Section.render(Section.java:156)
> org.ofbiz.webapp.region.Section.render(Section.java:81)
> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
> ache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
> tes.main_005ftemplate_jsp:193)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.region.Region.render(Region.java:125)
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
> 13)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
> 78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
> )
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
> n(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
> 7)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
> Thread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
> 4)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
> ---- exception report ----------------------------------------------------------
>
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
>
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:247)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:229)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
> ort_jsp:270)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> org.ofbiz.webapp.region.Section.render(Section.java:156)
> org.ofbiz.webapp.region.Section.render(Section.java:81)
> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
> ache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
> tes.main_005ftemplate_jsp:193)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.region.Region.render(Region.java:125)
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
> 13)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
> 78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
> )
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
> n(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
> 7)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
> Thread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
> 4)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
> sactionUtil.rollback] transaction rolled back
> 460554 (http-0.0.0.0-8443-Processor3) [org.apache.jsp.entity.xmldsimport_jsp:278
> :INFO ] numberRead(url):-1
> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
> ldsimport] Done rendering page, Servlet Finished- total:0.234,since last([xmldsi
> mport] Set...):0.234]]
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Alexandre Gomes-5
Sangeeta,

As BJ said could you post a bit of the log before the error?

Alexandre

On 6/26/06, BJ Freeman <[hidden email]> wrote:

> what did the log show was being loaded just before the error?
>
> Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:
> > Alexandre,
> >
> > PFA the logs for this error.
> > Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
> >
> > Thanks!
> > sangeeta
> >
> >
> > -----Original Message-----
> > From: Alexandre Gomes [mailto:[hidden email]]
> >
> > Sent: Monday, June 26, 2006 2:30 PM
> > To: [hidden email]
> > Subject: Re: Problem in importing Seed data
> >
> > Hi Sangeeta,
> >
> > Could you post a little bit more of the log file?
> >
> > Alexandre
> >
> > On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
> >> Yes.
> >> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
> >>
> >> -----Original Message-----
> >> From: Jacopo Cappellato [mailto:[hidden email]]
> >> Sent: Monday, June 26, 2006 2:08 PM
> >> To: [hidden email]
> >> Subject: Re: Problem in importing Seed data
> >>
> >> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
> >>
> >> Jacopo
> >>
> >> Sangeeta Bhatia wrote:
> >>> Sorry  Dimitri ,that was a typo mistake.
> >>> I m actually using fID="PLAIN".
> >>> Still it's not working.
> >>>  I guess it is as Si suggested something to do with my configuration files.
> >>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
> >>> I have also been able to import data as explained in his tutorial.
> >>> However for the particular application I have built,I am getting an error.
> >>>
> >>>
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: Dimitri Unruh [mailto:[hidden email]]
> >>>
> >>> Sent: Monday, June 26, 2006 1:15 PM
> >>> To: [hidden email]
> >>> Subject: RE: Problem in importing Seed data
> >>>
> >>> I guess your definition of the Seed data is wrong
> >>>
> >>> RoomFacility fId="PLAIN" description="A plain room with minimal
> >>>
> >>>> facilities"/>
> >>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
> >>> </entity-engine-xml>
> >>>
> >>>
> >>> fId must have the same value.
> >>>
> >>>
> >>> Dimitri Unruh
> >>>
> >>> Lynx Consulting Group
> >>> Johanniskirchplatz 6
> >>> D-33615 Bielefeld
> >>> T: +49 (0) 521 / 52 47 - 408
> >>> [hidden email]
> >>> http://www.lynx.de
> >>>
> >>> ====================================================================
> >>> == ======================================================
> >>>
> >>> Tech Mahindra, formerly Mahindra-British Telecom.
> >>>
> >>>
> >>>
> >>> Disclaimer:
> >>>
> >>>
> >>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >>>
> >>>
> >>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >>>
> >>> ====================================================================
> >>> == ======================================================
> >>>
> >>
> >> ======================================================================
> >> ======================================================
> >>
> >> Tech Mahindra, formerly Mahindra-British Telecom.
> >>
> >>
> >> Disclaimer:
> >>
> >>
> >> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >>
> >>
> >> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >>
> >> ======================================================================
> >> ======================================================
> >>
> >
> >
> > ============================================================================================================================
> >
> > Tech Mahindra, formerly Mahindra-British Telecom.
> >
> >
> >
> > Disclaimer:
> >
> >
> > The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >
> >
> > This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >
> > ============================================================================================================================
> >
> >
> > ------------------------------------------------------------------------
> >
> > An error occurred saving the data, rolling back transaction (true)
> > Exception: java.lang.IllegalArgumentException
> > Message: Type id-ne not found
> > ---- stack trace ---------------------------------------------------------------
> >
> > java.lang.IllegalArgumentException: Type id-ne not found
> > org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> > org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:358)
> > javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
> > javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
> > javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> > javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> > org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
> > ort_jsp:270)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> > a:499)
> > org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> > org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> > org.ofbiz.webapp.region.Section.render(Section.java:156)
> > org.ofbiz.webapp.region.Section.render(Section.java:81)
> > org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
> > ache.jsp.templates.main_005ftemplate_jsp:314)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
> > tes.main_005ftemplate_jsp:193)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> > a:499)
> > org.ofbiz.webapp.region.Region.render(Region.java:125)
> > org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
> > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
> > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:202)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
> > 13)
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
> > 78)
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
> > )
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
> > n(Http11Protocol.java:744)
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
> > 7)
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
> > Thread.java:80)
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
> > 4)
> > java.lang.Thread.run(Thread.java:534)
> > --------------------------------------------------------------------------------
> >
> >
> > 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
> > ---- exception report ----------------------------------------------------------
> >
> > [TransactionUtil.rollback]
> > Exception: java.lang.Exception
> > Message: Stack Trace
> > ---- stack trace ---------------------------------------------------------------
> >
> > java.lang.Exception: Stack Trace
> > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:247)
> > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:229)
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> > org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
> > ort_jsp:270)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> > a:499)
> > org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> > org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> > org.ofbiz.webapp.region.Section.render(Section.java:156)
> > org.ofbiz.webapp.region.Section.render(Section.java:81)
> > org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
> > ache.jsp.templates.main_005ftemplate_jsp:314)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
> > tes.main_005ftemplate_jsp:193)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> > a:499)
> > org.ofbiz.webapp.region.Region.render(Region.java:125)
> > org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
> > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
> > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> > erChain.java:202)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
> > 13)
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
> > 78)
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
> > )
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
> > n(Http11Protocol.java:744)
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
> > 7)
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
> > Thread.java:80)
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
> > 4)
> > java.lang.Thread.run(Thread.java:534)
> > --------------------------------------------------------------------------------
> >
> >
> > 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
> > sactionUtil.rollback] transaction rolled back
> > 460554 (http-0.0.0.0-8443-Processor3) [org.apache.jsp.entity.xmldsimport_jsp:278
> > :INFO ] numberRead(url):-1
> > 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
> > ldsimport] Done rendering page, Servlet Finished- total:0.234,since last([xmldsi
> > mport] Set...):0.234]]
>
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

Alexandre/BJ,

I had attached the logs but I guess they got missed somehow.
As I mentioned earlier,I have tried using id-ne instead of id but I am getting similar errors.
These are the logs I am getting:

******************************************************
An error occurred saving the data, rolling back transaction (true)
Exception: java.lang.IllegalArgumentException
Message: Type id-ne not found
---- stack trace ---------------------------------------------------------------

java.lang.IllegalArgumentException: Type id-ne not found
org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:358)
javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
javolution.xml.sax.RealtimeParser.parse(Unknown Source)
javolution.xml.sax.RealtimeParser.parse(Unknown Source)
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
ort_jsp:270)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
:672)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
ava:574)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
a:499)
org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
org.ofbiz.webapp.region.Section.render(Section.java:156)
org.ofbiz.webapp.region.Section.render(Section.java:81)
org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
ache.jsp.templates.main_005ftemplate_jsp:314)
org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
tes.main_005ftemplate_jsp:193)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
:672)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
ava:574)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
a:499)
org.ofbiz.webapp.region.Region.render(Region.java:125)
org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------------------------


460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
---- exception report ----------------------------------------------------------

[TransactionUtil.rollback]
Exception: java.lang.Exception
Message: Stack Trace
---- stack trace ---------------------------------------------------------------

java.lang.Exception: Stack Trace
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:247)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:229)
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
ort_jsp:270)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
:672)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
ava:574)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
a:499)
org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
org.ofbiz.webapp.region.Section.render(Section.java:156)
org.ofbiz.webapp.region.Section.render(Section.java:81)
org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
ache.jsp.templates.main_005ftemplate_jsp:314)
org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
tes.main_005ftemplate_jsp:193)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
:672)
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
ava:574)
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
a:499)
org.ofbiz.webapp.region.Region.render(Region.java:125)
org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:252)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
13)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
n(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
7)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
java.lang.Thread.run(Thread.java:534)
--------------------------------------------------------------------------------


460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
sactionUtil.rollback] transaction rolled back
460554 (http-0.0.0.0-8443-Processor3) [org.apache.jsp.entity.xmldsimport_jsp:278
:INFO ] numberRead(url):-1
460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
ldsimport] Done rendering page, Servlet Finished- total:0.234,since last([xmldsi
mport] Set...):0.234]]

****************************************************************************

Many Thanks!
sangeeta



-----Original Message-----
From: Alexandre Gomes [mailto:[hidden email]]
Sent: Monday, June 26, 2006 6:29 PM
To: [hidden email]
Subject: Re: Problem in importing Seed data

Sangeeta,

As BJ said could you post a bit of the log before the error?

Alexandre

On 6/26/06, BJ Freeman <[hidden email]> wrote:

> what did the log show was being loaded just before the error?
>
> Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:
> > Alexandre,
> >
> > PFA the logs for this error.
> > Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
> >
> > Thanks!
> > sangeeta
> >
> >
> > -----Original Message-----
> > From: Alexandre Gomes [mailto:[hidden email]]
> >
> > Sent: Monday, June 26, 2006 2:30 PM
> > To: [hidden email]
> > Subject: Re: Problem in importing Seed data
> >
> > Hi Sangeeta,
> >
> > Could you post a little bit more of the log file?
> >
> > Alexandre
> >
> > On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
> >> Yes.
> >> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
> >>
> >> -----Original Message-----
> >> From: Jacopo Cappellato [mailto:[hidden email]]
> >> Sent: Monday, June 26, 2006 2:08 PM
> >> To: [hidden email]
> >> Subject: Re: Problem in importing Seed data
> >>
> >> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
> >>
> >> Jacopo
> >>
> >> Sangeeta Bhatia wrote:
> >>> Sorry  Dimitri ,that was a typo mistake.
> >>> I m actually using fID="PLAIN".
> >>> Still it's not working.
> >>>  I guess it is as Si suggested something to do with my configuration files.
> >>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
> >>> I have also been able to import data as explained in his tutorial.
> >>> However for the particular application I have built,I am getting an error.
> >>>
> >>>
> >>>
> >>>
> >>> -----Original Message-----
> >>> From: Dimitri Unruh [mailto:[hidden email]]
> >>>
> >>> Sent: Monday, June 26, 2006 1:15 PM
> >>> To: [hidden email]
> >>> Subject: RE: Problem in importing Seed data
> >>>
> >>> I guess your definition of the Seed data is wrong
> >>>
> >>> RoomFacility fId="PLAIN" description="A plain room with minimal
> >>>
> >>>> facilities"/>
> >>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
> >>> </entity-engine-xml>
> >>>
> >>>
> >>> fId must have the same value.
> >>>
> >>>
> >>> Dimitri Unruh
> >>>
> >>> Lynx Consulting Group
> >>> Johanniskirchplatz 6
> >>> D-33615 Bielefeld
> >>> T: +49 (0) 521 / 52 47 - 408
> >>> [hidden email]
> >>> http://www.lynx.de
> >>>
> >>> ==================================================================
> >>> == == ======================================================
> >>>
> >>> Tech Mahindra, formerly Mahindra-British Telecom.
> >>>
> >>>
> >>>
> >>> Disclaimer:
> >>>
> >>>
> >>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >>>
> >>>
> >>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >>>
> >>> ==================================================================
> >>> == == ======================================================
> >>>
> >>
> >> ===================================================================
> >> === ======================================================
> >>
> >> Tech Mahindra, formerly Mahindra-British Telecom.
> >>
> >>
> >> Disclaimer:
> >>
> >>
> >> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >>
> >>
> >> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >>
> >> ===================================================================
> >> === ======================================================
> >>
> >
> >
> > ====================================================================
> > ========================================================
> >
> > Tech Mahindra, formerly Mahindra-British Telecom.
> >
> >
> >
> > Disclaimer:
> >
> >
> > The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
> >
> >
> > This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
> >
> > ====================================================================
> > ========================================================
> >
> >
> > --------------------------------------------------------------------
> > ----
> >
> > An error occurred saving the data, rolling back transaction (true)
> > Exception: java.lang.IllegalArgumentException
> > Message: Type id-ne not found
> > ---- stack trace
> > ---------------------------------------------------------------
> >
> > java.lang.IllegalArgumentException: Type id-ne not found
> > org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> > org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.jav
> > a:358) javolution.xml.sax.RealtimeParser.processElement(Unknown
> > Source) javolution.xml.sax.RealtimeParser.parseContent(Unknown
> > Source) javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> > javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224
> > )
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
> > )
> > org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
> > ity.xmldsimp
> > ort_jsp:270)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
> > r.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
> > 291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
> > patcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
> > Dispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
> > spatcher.jav
> > a:499)
> > org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> > org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> > org.ofbiz.webapp.region.Section.render(Section.java:156)
> > org.ofbiz.webapp.region.Section.render(Section.java:81)
> > org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
> > der_5(org.ap
> > ache.jsp.templates.main_005ftemplate_jsp:314)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
> > e.jsp.templa
> > tes.main_005ftemplate_jsp:193)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
> > r.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
> > 291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
> > patcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
> > Dispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
> > spatcher.jav
> > a:499)
> > org.ofbiz.webapp.region.Region.render(Region.java:125)
> > org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
> > a:97)
> > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
> > va:589)
> > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
> > a:374)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
> > 1)
> > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
> > 7)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
> > 58)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:202)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
> > Valve.java:2
> > 13)
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContext
> > Valve.java:1
> > 78)
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
> > java:126)
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
> > java:105)
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
> > lve.java:107
> > )
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
> > :526)
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
> > va:148)
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
> > a:856)
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
> > essConnectio
> > n(Http11Protocol.java:744)
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
> > oint.java:52
> > 7)
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
> > llowerWorker
> > Thread.java:80)
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
> > Pool.java:68
> > 4)
> > java.lang.Thread.run(Thread.java:534)
> > --------------------------------------------------------------------
> > ------------
> >
> >
> > 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
> > ---- exception report
> > ----------------------------------------------------------
> >
> > [TransactionUtil.rollback]
> > Exception: java.lang.Exception
> > Message: Stack Trace
> > ---- stack trace
> > ---------------------------------------------------------------
> >
> > java.lang.Exception: Stack Trace
> > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
> > l.java:247)
> > org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
> > l.java:229)
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234
> > )
> > org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
> > )
> > org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
> > ity.xmldsimp
> > ort_jsp:270)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
> > r.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
> > 291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
> > patcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
> > Dispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
> > spatcher.jav
> > a:499)
> > org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> > org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> > org.ofbiz.webapp.region.Section.render(Section.java:156)
> > org.ofbiz.webapp.region.Section.render(Section.java:81)
> > org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
> > der_5(org.ap
> > ache.jsp.templates.main_005ftemplate_jsp:314)
> > org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
> > e.jsp.templa
> > tes.main_005ftemplate_jsp:193)
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
> > r.java:322)
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
> > 291)
> > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
> > patcher.java
> > :672)
> > org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
> > Dispatcher.j
> > ava:574)
> > org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
> > spatcher.jav
> > a:499)
> > org.ofbiz.webapp.region.Region.render(Region.java:125)
> > org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
> > a:97)
> > org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
> > va:589)
> > org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
> > a:374)
> > org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
> > 1)
> > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
> > 7)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:252)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
> > 58)
> > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
> > licationFilt
> > erChain.java:202)
> > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> > java:173)
> > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
> > Valve.java:2
> > 13)
> > org.apache.catalina.core.StandardContextValve.invoke(StandardContext
> > Valve.java:1
> > 78)
> > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
> > java:126)
> > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
> > java:105)
> > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
> > lve.java:107
> > )
> > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
> > :526)
> > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
> > va:148)
> > org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
> > a:856)
> > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
> > essConnectio
> > n(Http11Protocol.java:744)
> > org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
> > oint.java:52
> > 7)
> > org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
> > llowerWorker
> > Thread.java:80)
> > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
> > Pool.java:68
> > 4)
> > java.lang.Thread.run(Thread.java:534)
> > --------------------------------------------------------------------
> > ------------
> >
> >
> > 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
> > sactionUtil.rollback] transaction rolled back
> > 460554 (http-0.0.0.0-8443-Processor3)
> > [org.apache.jsp.entity.xmldsimport_jsp:278
> > :INFO ] numberRead(url):-1
> > 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
> > ldsimport] Done rendering page, Servlet Finished- total:0.234,since
> > last([xmldsi mport] Set...):0.234]]
>

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

BJ Freeman
you should how some files being read in before the error.
need to see these.
id-ne is a expression.
id is a field.


Sangeeta Bhatia sent the following on 6/26/2006 8:25 PM:

> Alexandre/BJ,
>
> I had attached the logs but I guess they got missed somehow.
> As I mentioned earlier,I have tried using id-ne instead of id but I am getting similar errors.
> These are the logs I am getting:
>
> ******************************************************
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type id-ne not found
> ---- stack trace ---------------------------------------------------------------
>
> java.lang.IllegalArgumentException: Type id-ne not found
> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:358)
> javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
> ort_jsp:270)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> org.ofbiz.webapp.region.Section.render(Section.java:156)
> org.ofbiz.webapp.region.Section.render(Section.java:81)
> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
> ache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
> tes.main_005ftemplate_jsp:193)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.region.Region.render(Region.java:125)
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
> 13)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
> 78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
> )
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
> n(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
> 7)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
> Thread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
> 4)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
> ---- exception report ----------------------------------------------------------
>
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace ---------------------------------------------------------------
>
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:247)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:229)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entity.xmldsimp
> ort_jsp:270)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> org.ofbiz.webapp.region.Section.render(Section.java:156)
> org.ofbiz.webapp.region.Section.render(Section.java:81)
> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_render_5(org.ap
> ache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templa
> tes.main_005ftemplate_jsp:193)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.jav
> a:499)
> org.ofbiz.webapp.region.Region.render(Region.java:125)
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:97)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:589)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
> erChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
> 13)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
> 78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
> )
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnectio
> n(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
> 7)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
> Thread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
> 4)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
> sactionUtil.rollback] transaction rolled back
> 460554 (http-0.0.0.0-8443-Processor3) [org.apache.jsp.entity.xmldsimport_jsp:278
> :INFO ] numberRead(url):-1
> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
> ldsimport] Done rendering page, Servlet Finished- total:0.234,since last([xmldsi
> mport] Set...):0.234]]
>
> ****************************************************************************
>
> Many Thanks!
> sangeeta
>
>
>
>
> -----Original Message-----
> From: Alexandre Gomes [mailto:[hidden email]]
>
> Sent: Monday, June 26, 2006 6:29 PM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> Sangeeta,
>
> As BJ said could you post a bit of the log before the error?
>
> Alexandre
>
> On 6/26/06, BJ Freeman <[hidden email]> wrote:
>> what did the log show was being loaded just before the error?
>>
>> Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:
>>> Alexandre,
>>>
>>> PFA the logs for this error.
>>> Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
>>>
>>> Thanks!
>>> sangeeta
>>>
>>>
>>> -----Original Message-----
>>> From: Alexandre Gomes [mailto:[hidden email]]
>>>
>>> Sent: Monday, June 26, 2006 2:30 PM
>>> To: [hidden email]
>>> Subject: Re: Problem in importing Seed data
>>>
>>> Hi Sangeeta,
>>>
>>> Could you post a little bit more of the log file?
>>>
>>> Alexandre
>>>
>>> On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
>>>> Yes.
>>>> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>>>>
>>>> -----Original Message-----
>>>> From: Jacopo Cappellato [mailto:[hidden email]]
>>>> Sent: Monday, June 26, 2006 2:08 PM
>>>> To: [hidden email]
>>>> Subject: Re: Problem in importing Seed data
>>>>
>>>> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>>>>
>>>> Jacopo
>>>>
>>>> Sangeeta Bhatia wrote:
>>>>> Sorry  Dimitri ,that was a typo mistake.
>>>>> I m actually using fID="PLAIN".
>>>>> Still it's not working.
>>>>>  I guess it is as Si suggested something to do with my configuration files.
>>>>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
>>>>> I have also been able to import data as explained in his tutorial.
>>>>> However for the particular application I have built,I am getting an error.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Dimitri Unruh [mailto:[hidden email]]
>>>>>
>>>>> Sent: Monday, June 26, 2006 1:15 PM
>>>>> To: [hidden email]
>>>>> Subject: RE: Problem in importing Seed data
>>>>>
>>>>> I guess your definition of the Seed data is wrong
>>>>>
>>>>> RoomFacility fId="PLAIN" description="A plain room with minimal
>>>>>
>>>>>> facilities"/>
>>>>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
>>>>> </entity-engine-xml>
>>>>>
>>>>>
>>>>> fId must have the same value.
>>>>>
>>>>>
>>>>> Dimitri Unruh
>>>>>
>>>>> Lynx Consulting Group
>>>>> Johanniskirchplatz 6
>>>>> D-33615 Bielefeld
>>>>> T: +49 (0) 521 / 52 47 - 408
>>>>> [hidden email]
>>>>> http://www.lynx.de
>>>>>
>>>>> ==================================================================
>>>>> == == ======================================================
>>>>>
>>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>>
>>>>>
>>>>>
>>>>> Disclaimer:
>>>>>
>>>>>
>>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>>
>>>>>
>>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>>
>>>>> ==================================================================
>>>>> == == ======================================================
>>>>>
>>>> ===================================================================
>>>> === ======================================================
>>>>
>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>
>>>>
>>>> Disclaimer:
>>>>
>>>>
>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>
>>>>
>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>
>>>> ===================================================================
>>>> === ======================================================
>>>>
>>>
>>> ====================================================================
>>> ========================================================
>>>
>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>
>>>
>>>
>>> Disclaimer:
>>>
>>>
>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>
>>>
>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>
>>> ====================================================================
>>> ========================================================
>>>
>>>
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> An error occurred saving the data, rolling back transaction (true)
>>> Exception: java.lang.IllegalArgumentException
>>> Message: Type id-ne not found
>>> ---- stack trace
>
>>> ---------------------------------------------------------------
>>>
>>> java.lang.IllegalArgumentException: Type id-ne not found
>>> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
>>> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.jav
>>> a:358) javolution.xml.sax.RealtimeParser.processElement(Unknown
>
>>> Source) javolution.xml.sax.RealtimeParser.parseContent(Unknown
>
>>> Source) javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>
>>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224
>>> )
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>> )
>
>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>> ity.xmldsimp
>>> ort_jsp:270)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>> der_5(org.ap
>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>> e.jsp.templa
>>> tes.main_005ftemplate_jsp:193)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>> a:97)
>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>> va:589)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>> a:374)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>> 1)
>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>> 7)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>> 58)
>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>> Valve.java:2
>>> 13)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>> Valve.java:1
>>> 78)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>> java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>> java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>> lve.java:107
>>> )
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>> :526)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>> va:148)
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>> a:856)
>
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>> essConnectio
>>> n(Http11Protocol.java:744)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>> oint.java:52
>>> 7)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>> llowerWorker
>>> Thread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>> Pool.java:68
>>> 4)
>>> java.lang.Thread.run(Thread.java:534)
>>> --------------------------------------------------------------------
>>> ------------
>>>
>>>
>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
>>> ---- exception report
>
>>> ----------------------------------------------------------
>>>
>>> [TransactionUtil.rollback]
>>> Exception: java.lang.Exception
>>> Message: Stack Trace
>>> ---- stack trace
>
>>> ---------------------------------------------------------------
>>>
>>> java.lang.Exception: Stack Trace
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>> l.java:247)
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>> l.java:229)
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234
>>> )
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>> )
>
>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>> ity.xmldsimp
>>> ort_jsp:270)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>> der_5(org.ap
>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>> e.jsp.templa
>>> tes.main_005ftemplate_jsp:193)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>> a:97)
>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>> va:589)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>> a:374)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>> 1)
>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>> 7)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>> 58)
>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>> Valve.java:2
>>> 13)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>> Valve.java:1
>>> 78)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>> java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>> java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>> lve.java:107
>>> )
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>> :526)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>> va:148)
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>> a:856)
>
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>> essConnectio
>>> n(Http11Protocol.java:744)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>> oint.java:52
>>> 7)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>> llowerWorker
>>> Thread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>> Pool.java:68
>>> 4)
>>> java.lang.Thread.run(Thread.java:534)
>>> --------------------------------------------------------------------
>>> ------------
>>>
>>>
>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
>>> sactionUtil.rollback] transaction rolled back
>>> 460554 (http-0.0.0.0-8443-Processor3)
>
>>> [org.apache.jsp.entity.xmldsimport_jsp:278
>>> :INFO ] numberRead(url):-1
>>> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
>>> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
>
>>> last([xmldsi mport] Set...):0.234]]
>
> ============================================================================================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ============================================================================================================================
>
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

BJ,

My fieldtypederby.xml says:
<field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"><validate method="isNotEmpty" /></field-type-def>
<field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def>

That is why I thought it might be appropriate to use it in place of 'id' because the only difference I saw was that id-ne cannot be empty.
I did not quite understand what you mean by 'id-ne is an expression'.

I have attached some more logs. Looking at the logs it seems to me that at the time of importing data,it is unable to recognise any of the field types -numeric,id-ne,id etc.

That is why I feel that something in the configuration is missing.
Because,as I mentioned earlier I tried something as simple as putting in appropriate values for all the field,creating a GeenricValue and using delegator.create().
But still,I got the same errors.

Thanks everyone for you time!

sangeeta


-----Original Message-----
From: BJ Freeman [mailto:[hidden email]]
Sent: Tuesday, June 27, 2006 10:00 AM
To: [hidden email]
Subject: Re: Problem in importing Seed data

you should how some files being read in before the error.
need to see these.
id-ne is a expression.
id is a field.


Sangeeta Bhatia sent the following on 6/26/2006 8:25 PM:

> Alexandre/BJ,
>
> I had attached the logs but I guess they got missed somehow.
> As I mentioned earlier,I have tried using id-ne instead of id but I am getting similar errors.
> These are the logs I am getting:
>
> ******************************************************
> An error occurred saving the data, rolling back transaction (true)
> Exception: java.lang.IllegalArgumentException
> Message: Type id-ne not found
> ---- stack trace
> ---------------------------------------------------------------
>
> java.lang.IllegalArgumentException: Type id-ne not found
> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:
> 358) javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entit
> y.xmldsimp
> ort_jsp:270)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
> 1)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.jav
> a:499)
> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> org.ofbiz.webapp.region.Section.render(Section.java:156)
> org.ofbiz.webapp.region.Section.render(Section.java:81)
> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_rende
> r_5(org.ap
> ache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.
> jsp.templa
> tes.main_005ftemplate_jsp:193)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
> 1)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.jav
> a:499)
> org.ofbiz.webapp.region.Region.render(Region.java:125)
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:
> 97)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java
> :589)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258
> )
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.java:2
> 13)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.java:1
> 78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.java:107
> )
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5
> 26)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
> sConnectio
> n(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
> nt.java:52
> 7)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
> owerWorker
> Thread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:68
> 4)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------
> ----------
>
>
> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
> ---- exception report
> ----------------------------------------------------------
>
> [TransactionUtil.rollback]
> Exception: java.lang.Exception
> Message: Stack Trace
> ---- stack trace
> ---------------------------------------------------------------
>
> java.lang.Exception: Stack Trace
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.
> java:247)
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.
> java:229)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entit
> y.xmldsimp
> ort_jsp:270)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
> 1)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.jav
> a:499)
> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
> org.ofbiz.webapp.region.Section.render(Section.java:156)
> org.ofbiz.webapp.region.Section.render(Section.java:81)
> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_rende
> r_5(org.ap
> ache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.
> jsp.templa
> tes.main_005ftemplate_jsp:193)
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
> java:322)
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
> 1)
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
> tcher.java
> :672)
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
> spatcher.j
> ava:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
> atcher.jav
> a:499)
> org.ofbiz.webapp.region.Region.render(Region.java:125)
> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:
> 97)
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java
> :589)
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
> 374)
> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:252)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258
> )
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationFilt
> erChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
> java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.java:2
> 13)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.java:1
> 78)
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:126)
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:105)
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.java:107
> )
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5
> 26)
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
> :148)
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 856)
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
> sConnectio
> n(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
> nt.java:52
> 7)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
> owerWorker
> Thread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java:68
> 4)
> java.lang.Thread.run(Thread.java:534)
> ----------------------------------------------------------------------
> ----------
>
>
> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
> sactionUtil.rollback] transaction rolled back
> 460554 (http-0.0.0.0-8443-Processor3)
> [org.apache.jsp.entity.xmldsimport_jsp:278
> :INFO ] numberRead(url):-1
> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
> last([xmldsi mport] Set...):0.234]]
>
> **********************************************************************
> ******
>
> Many Thanks!
> sangeeta
>
>
>
>
> -----Original Message-----
> From: Alexandre Gomes [mailto:[hidden email]]
>
> Sent: Monday, June 26, 2006 6:29 PM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> Sangeeta,
>
> As BJ said could you post a bit of the log before the error?
>
> Alexandre
>
> On 6/26/06, BJ Freeman <[hidden email]> wrote:
>> what did the log show was being loaded just before the error?
>>
>> Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:
>>> Alexandre,
>>>
>>> PFA the logs for this error.
>>> Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
>>>
>>> Thanks!
>>> sangeeta
>>>
>>>
>>> -----Original Message-----
>>> From: Alexandre Gomes [mailto:[hidden email]]
>>>
>>> Sent: Monday, June 26, 2006 2:30 PM
>>> To: [hidden email]
>>> Subject: Re: Problem in importing Seed data
>>>
>>> Hi Sangeeta,
>>>
>>> Could you post a little bit more of the log file?
>>>
>>> Alexandre
>>>
>>> On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
>>>> Yes.
>>>> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>>>>
>>>> -----Original Message-----
>>>> From: Jacopo Cappellato [mailto:[hidden email]]
>>>> Sent: Monday, June 26, 2006 2:08 PM
>>>> To: [hidden email]
>>>> Subject: Re: Problem in importing Seed data
>>>>
>>>> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>>>>
>>>> Jacopo
>>>>
>>>> Sangeeta Bhatia wrote:
>>>>> Sorry  Dimitri ,that was a typo mistake.
>>>>> I m actually using fID="PLAIN".
>>>>> Still it's not working.
>>>>>  I guess it is as Si suggested something to do with my configuration files.
>>>>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
>>>>> I have also been able to import data as explained in his tutorial.
>>>>> However for the particular application I have built,I am getting an error.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -----Original Message-----
>>>>> From: Dimitri Unruh [mailto:[hidden email]]
>>>>>
>>>>> Sent: Monday, June 26, 2006 1:15 PM
>>>>> To: [hidden email]
>>>>> Subject: RE: Problem in importing Seed data
>>>>>
>>>>> I guess your definition of the Seed data is wrong
>>>>>
>>>>> RoomFacility fId="PLAIN" description="A plain room with minimal
>>>>>
>>>>>> facilities"/>
>>>>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
>>>>> </entity-engine-xml>
>>>>>
>>>>>
>>>>> fId must have the same value.
>>>>>
>>>>>
>>>>> Dimitri Unruh
>>>>>
>>>>> Lynx Consulting Group
>>>>> Johanniskirchplatz 6
>>>>> D-33615 Bielefeld
>>>>> T: +49 (0) 521 / 52 47 - 408
>>>>> [hidden email]
>>>>> http://www.lynx.de
>>>>>
>>>>> ==================================================================
>>>>> == == ======================================================
>>>>>
>>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>>
>>>>>
>>>>>
>>>>> Disclaimer:
>>>>>
>>>>>
>>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>>
>>>>>
>>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>>
>>>>> ==================================================================
>>>>> == == ======================================================
>>>>>
>>>> ===================================================================
>>>> === ======================================================
>>>>
>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>
>>>>
>>>> Disclaimer:
>>>>
>>>>
>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>
>>>>
>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>
>>>> ===================================================================
>>>> === ======================================================
>>>>
>>>
>>> ====================================================================
>>> ========================================================
>>>
>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>
>>>
>>>
>>> Disclaimer:
>>>
>>>
>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>
>>>
>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>
>>> ====================================================================
>>> ========================================================
>>>
>>>
>>> --------------------------------------------------------------------
>>> ----
>>>
>>> An error occurred saving the data, rolling back transaction (true)
>>> Exception: java.lang.IllegalArgumentException
>>> Message: Type id-ne not found
>>> ---- stack trace
>
>>> ---------------------------------------------------------------
>>>
>>> java.lang.IllegalArgumentException: Type id-ne not found
>>> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
>>> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.jav
>>> a:358) javolution.xml.sax.RealtimeParser.processElement(Unknown
>
>>> Source) javolution.xml.sax.RealtimeParser.parseContent(Unknown
>
>>> Source) javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>
>>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224
>>> )
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>> )
>
>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>> ity.xmldsimp
>>> ort_jsp:270)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>> der_5(org.ap
>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>> e.jsp.templa
>>> tes.main_005ftemplate_jsp:193)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>> a:97)
>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>> va:589)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>> a:374)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>> 1)
>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>> 7)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>> 58)
>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>> Valve.java:2
>>> 13)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>> Valve.java:1
>>> 78)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>> java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>> java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>> lve.java:107
>>> )
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>> :526)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>> va:148)
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>> a:856)
>
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>> essConnectio
>>> n(Http11Protocol.java:744)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>> oint.java:52
>>> 7)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>> llowerWorker
>>> Thread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>> Pool.java:68
>>> 4)
>>> java.lang.Thread.run(Thread.java:534)
>>> --------------------------------------------------------------------
>>> ------------
>>>
>>>
>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
>>> ---- exception report
>
>>> ----------------------------------------------------------
>>>
>>> [TransactionUtil.rollback]
>>> Exception: java.lang.Exception
>>> Message: Stack Trace
>>> ---- stack trace
>
>>> ---------------------------------------------------------------
>>>
>>> java.lang.Exception: Stack Trace
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>> l.java:247)
>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>> l.java:229)
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234
>>> )
>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>> )
>
>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>> ity.xmldsimp
>>> ort_jsp:270)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>> der_5(org.ap
>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>> e.jsp.templa
>>> tes.main_005ftemplate_jsp:193)
>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>> r.java:322)
>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>> 291)
>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>> patcher.java
>>> :672)
>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>> Dispatcher.j
>>> ava:574)
>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>> spatcher.jav
>>> a:499)
>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>> a:97)
>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>> va:589)
>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>> a:374)
>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>> 1)
>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>> 7)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:252)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>> 58)
>
>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>> licationFilt
>>> erChain.java:202)
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>> java:173)
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>> Valve.java:2
>>> 13)
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>> Valve.java:1
>>> 78)
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>> java:126)
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>> java:105)
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>> lve.java:107
>>> )
>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>> :526)
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>> va:148)
>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>> a:856)
>
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>> essConnectio
>>> n(Http11Protocol.java:744)
>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>> oint.java:52
>>> 7)
>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>> llowerWorker
>>> Thread.java:80)
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>> Pool.java:68
>>> 4)
>>> java.lang.Thread.run(Thread.java:534)
>>> --------------------------------------------------------------------
>>> ------------
>>>
>>>
>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
>>> sactionUtil.rollback] transaction rolled back
>>> 460554 (http-0.0.0.0-8443-Processor3)
>
>>> [org.apache.jsp.entity.xmldsimport_jsp:278
>>> :INFO ] numberRead(url):-1
>>> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
>>> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
>
>>> last([xmldsi mport] Set...):0.234]]
>
> ======================================================================
> ======================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ======================================================================
> ======================================================
>

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================

logs.txt (22K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

BJ Freeman
Ok we are talking apples and oranges.. My apology.
let start over.

I need to see some of the log before the error at least 3 lines.
I am somewhat a novice, not and expert.
However with out the XSD or DTD your referencing and the data related to
it, we could spend a lot of time trying to figure this out.

I hope you don't mind if I think out loud.
the seed data must conform to some entity definition, usually in an
entitymodel.xml.

and the entitymodel.xml is based on xsd.

now if you are creating the entitymodel.xml it could be there.
if you are generating data from an already existing entitymodel.xml
then check the demo data for that entity and see what it looks like.
you can also use the webtools to export all the data, and look thru them
to see a example of the data you are trying to import.

that is about the best I can do without the few lines before the error
happens in the log.



Sangeeta Bhatia sent the following on 6/27/2006 10:56 PM:

> BJ,
>
> My fieldtypederby.xml says:
> <field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"><validate method="isNotEmpty" /></field-type-def>
>
> <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def>
>
> That is why I thought it might be appropriate to use it in place of 'id' because the only difference I saw was that id-ne cannot be empty.
> I did not quite understand what you mean by 'id-ne is an expression'.
>
> I have attached some more logs. Looking at the logs it seems to me that at the time of importing data,it is unable to recognise any of the field types -numeric,id-ne,id etc.
>
> That is why I feel that something in the configuration is missing.
> Because,as I mentioned earlier I tried something as simple as putting in appropriate values for all the field,creating a GeenricValue and using delegator.create().
> But still,I got the same errors.
>
> Thanks everyone for you time!
>
> sangeeta
>
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
>
> Sent: Tuesday, June 27, 2006 10:00 AM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> you should how some files being read in before the error.
> need to see these.
> id-ne is a expression.
> id is a field.
>
>
> Sangeeta Bhatia sent the following on 6/26/2006 8:25 PM:
>> Alexandre/BJ,
>>
>
>> I had attached the logs but I guess they got missed somehow.
>> As I mentioned earlier,I have tried using id-ne instead of id but I am getting similar errors.
>> These are the logs I am getting:
>>
>
>> ******************************************************
>> An error occurred saving the data, rolling back transaction (true)
>> Exception: java.lang.IllegalArgumentException
>> Message: Type id-ne not found
>> ---- stack trace
>
>> ---------------------------------------------------------------
>>
>
>> java.lang.IllegalArgumentException: Type id-ne not found
>> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
>> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:
>> 358) javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
>
>> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
>
>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>
>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entit
>> y.xmldsimp
>> ort_jsp:270)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_rende
>> r_5(org.ap
>> ache.jsp.templates.main_005ftemplate_jsp:314)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.
>> jsp.templa
>> tes.main_005ftemplate_jsp:193)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:
>> 97)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java
>> :589)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 374)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258
>> )
>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>> lve.java:2
>> 13)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>> lve.java:1
>> 78)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>> va:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>> va:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>> e.java:107
>> )
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5
>> 26)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>> :148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 856)
>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>> sConnectio
>> n(Http11Protocol.java:744)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>> nt.java:52
>> 7)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
>> owerWorker
>> Thread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:68
>> 4)
>> java.lang.Thread.run(Thread.java:534)
>> ----------------------------------------------------------------------
>> ----------
>>
>
>
>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
>> ---- exception report
>
>> ----------------------------------------------------------
>>
>
>> [TransactionUtil.rollback]
>> Exception: java.lang.Exception
>> Message: Stack Trace
>> ---- stack trace
>
>> ---------------------------------------------------------------
>>
>
>> java.lang.Exception: Stack Trace
>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.
>> java:247)
>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.
>> java:229)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entit
>> y.xmldsimp
>> ort_jsp:270)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_rende
>> r_5(org.ap
>> ache.jsp.templates.main_005ftemplate_jsp:314)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.
>> jsp.templa
>> tes.main_005ftemplate_jsp:193)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:
>> 97)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java
>> :589)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 374)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258
>> )
>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>> lve.java:2
>> 13)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>> lve.java:1
>> 78)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>> va:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>> va:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>> e.java:107
>> )
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5
>> 26)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>> :148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 856)
>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>> sConnectio
>> n(Http11Protocol.java:744)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>> nt.java:52
>> 7)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
>> owerWorker
>> Thread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:68
>> 4)
>> java.lang.Thread.run(Thread.java:534)
>> ----------------------------------------------------------------------
>> ----------
>>
>
>
>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
>> sactionUtil.rollback] transaction rolled back
>> 460554 (http-0.0.0.0-8443-Processor3)
>
>> [org.apache.jsp.entity.xmldsimport_jsp:278
>> :INFO ] numberRead(url):-1
>> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
>> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
>
>> last([xmldsi mport] Set...):0.234]]
>>
>
>> **********************************************************************
>> ******
>>
>
>> Many Thanks!
>> sangeeta
>>
>
>
>
>
>> -----Original Message-----
>> From: Alexandre Gomes [mailto:[hidden email]]
>>
>
>> Sent: Monday, June 26, 2006 6:29 PM
>> To: [hidden email]
>> Subject: Re: Problem in importing Seed data
>>
>
>> Sangeeta,
>>
>
>> As BJ said could you post a bit of the log before the error?
>>
>
>> Alexandre
>>
>
>> On 6/26/06, BJ Freeman <[hidden email]> wrote:
>>> what did the log show was being loaded just before the error?
>>>
>>> Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:
>>>> Alexandre,
>>>>
>>>> PFA the logs for this error.
>>>> Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
>>>>
>>>> Thanks!
>>>> sangeeta
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alexandre Gomes [mailto:[hidden email]]
>>>>
>>>> Sent: Monday, June 26, 2006 2:30 PM
>>>> To: [hidden email]
>>>> Subject: Re: Problem in importing Seed data
>>>>
>>>> Hi Sangeeta,
>>>>
>>>> Could you post a little bit more of the log file?
>>>>
>>>> Alexandre
>>>>
>>>> On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
>>>>> Yes.
>>>>> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>>>>>
>>>>> -----Original Message-----
>>>>> From: Jacopo Cappellato [mailto:[hidden email]]
>>>>> Sent: Monday, June 26, 2006 2:08 PM
>>>>> To: [hidden email]
>>>>> Subject: Re: Problem in importing Seed data
>>>>>
>>>>> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>>>>>
>>>>> Jacopo
>>>>>
>>>>> Sangeeta Bhatia wrote:
>>>>>> Sorry  Dimitri ,that was a typo mistake.
>>>>>> I m actually using fID="PLAIN".
>>>>>> Still it's not working.
>>>>>>  I guess it is as Si suggested something to do with my configuration files.
>>>>>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
>>>>>> I have also been able to import data as explained in his tutorial.
>>>>>> However for the particular application I have built,I am getting an error.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Dimitri Unruh [mailto:[hidden email]]
>>>>>>
>>>>>> Sent: Monday, June 26, 2006 1:15 PM
>>>>>> To: [hidden email]
>>>>>> Subject: RE: Problem in importing Seed data
>>>>>>
>>>>>> I guess your definition of the Seed data is wrong
>>>>>>
>>>>>> RoomFacility fId="PLAIN" description="A plain room with minimal
>>>>>>
>>>>>>> facilities"/>
>>>>>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
>>>>>> </entity-engine-xml>
>>>>>>
>>>>>>
>>>>>> fId must have the same value.
>>>>>>
>>>>>>
>>>>>> Dimitri Unruh
>>>>>>
>>>>>> Lynx Consulting Group
>>>>>> Johanniskirchplatz 6
>>>>>> D-33615 Bielefeld
>>>>>> T: +49 (0) 521 / 52 47 - 408
>>>>>> [hidden email]
>>>>>> http://www.lynx.de
>>>>>>
>>>>>> ==================================================================
>>>>>> == == ======================================================
>>>>>>
>>>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Disclaimer:
>>>>>>
>>>>>>
>>>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>>>
>>>>>>
>>>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>>>
>>>>>> ==================================================================
>>>>>> == == ======================================================
>>>>>>
>>>>> ===================================================================
>>>>> === ======================================================
>>>>>
>>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>>
>>>>>
>>>>> Disclaimer:
>>>>>
>>>>>
>>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>>
>>>>>
>>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>>
>>>>> ===================================================================
>>>>> === ======================================================
>>>>>
>>>> ====================================================================
>>>> ========================================================
>>>>
>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>
>>>>
>>>>
>>>> Disclaimer:
>>>>
>>>>
>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>
>>>>
>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>
>>>> ====================================================================
>>>> ========================================================
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> ----
>>>>
>>>> An error occurred saving the data, rolling back transaction (true)
>>>> Exception: java.lang.IllegalArgumentException
>>>> Message: Type id-ne not found
>>>> ---- stack trace
>
>>>> ---------------------------------------------------------------
>>>>
>>>> java.lang.IllegalArgumentException: Type id-ne not found
>>>> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
>>>> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.jav
>>>> a:358) javolution.xml.sax.RealtimeParser.processElement(Unknown
>
>>>> Source) javolution.xml.sax.RealtimeParser.parseContent(Unknown
>
>>>> Source) javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>
>>>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224
>>>> )
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>>> )
>
>>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>>> ity.xmldsimp
>>>> ort_jsp:270)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>>> der_5(org.ap
>>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>>> e.jsp.templa
>>>> tes.main_005ftemplate_jsp:193)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>>> a:97)
>>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>>> va:589)
>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>>> a:374)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>>> 1)
>>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>>> 7)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>>> 58)
>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:202)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>>> Valve.java:2
>>>> 13)
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>>> Valve.java:1
>>>> 78)
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>>> java:126)
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>>> java:105)
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>>> lve.java:107
>>>> )
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>>> :526)
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>>> va:148)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>>> a:856)
>
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>>> essConnectio
>>>> n(Http11Protocol.java:744)
>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>>> oint.java:52
>>>> 7)
>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>>> llowerWorker
>>>> Thread.java:80)
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>>> Pool.java:68
>>>> 4)
>>>> java.lang.Thread.run(Thread.java:534)
>>>> --------------------------------------------------------------------
>>>> ------------
>>>>
>>>>
>>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
>>>> ---- exception report
>
>>>> ----------------------------------------------------------
>>>>
>>>> [TransactionUtil.rollback]
>>>> Exception: java.lang.Exception
>>>> Message: Stack Trace
>>>> ---- stack trace
>
>>>> ---------------------------------------------------------------
>>>>
>>>> java.lang.Exception: Stack Trace
>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>>> l.java:247)
>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>>> l.java:229)
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234
>>>> )
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>>> )
>
>>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>>> ity.xmldsimp
>>>> ort_jsp:270)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>>> der_5(org.ap
>>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>>> e.jsp.templa
>>>> tes.main_005ftemplate_jsp:193)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>>> a:97)
>>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>>> va:589)
>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>>> a:374)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>>> 1)
>>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>>> 7)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>>> 58)
>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:202)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>>> Valve.java:2
>>>> 13)
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>>> Valve.java:1
>>>> 78)
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>>> java:126)
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>>> java:105)
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>>> lve.java:107
>>>> )
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>>> :526)
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>>> va:148)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>>> a:856)
>
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>>> essConnectio
>>>> n(Http11Protocol.java:744)
>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>>> oint.java:52
>>>> 7)
>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>>> llowerWorker
>>>> Thread.java:80)
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>>> Pool.java:68
>>>> 4)
>>>> java.lang.Thread.run(Thread.java:534)
>>>> --------------------------------------------------------------------
>>>> ------------
>>>>
>>>>
>>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
>>>> sactionUtil.rollback] transaction rolled back
>>>> 460554 (http-0.0.0.0-8443-Processor3)
>
>>>> [org.apache.jsp.entity.xmldsimport_jsp:278
>>>> :INFO ] numberRead(url):-1
>>>> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
>>>> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
>
>>>> last([xmldsi mport] Set...):0.234]]
>
>> ======================================================================
>> ======================================================
>>
>
>> Tech Mahindra, formerly Mahindra-British Telecom.
>>
>
>
>
>> Disclaimer:
>>
>
>
>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>
>
>
>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>
>
>> ======================================================================
>> ======================================================
>>
>
>
>
> ============================================================================================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ============================================================================================================================
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Jacopo Cappellato
In reply to this post by Sangs
Could you please send the entitygroup definition?

Jacopo

Sangeeta Bhatia wrote:

> BJ,
>
> My fieldtypederby.xml says:
> <field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"><validate method="isNotEmpty" /></field-type-def>
>
> <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def>
>
> That is why I thought it might be appropriate to use it in place of 'id' because the only difference I saw was that id-ne cannot be empty.
> I did not quite understand what you mean by 'id-ne is an expression'.
>
> I have attached some more logs. Looking at the logs it seems to me that at the time of importing data,it is unable to recognise any of the field types -numeric,id-ne,id etc.
>
> That is why I feel that something in the configuration is missing.
> Because,as I mentioned earlier I tried something as simple as putting in appropriate values for all the field,creating a GeenricValue and using delegator.create().
> But still,I got the same errors.
>
> Thanks everyone for you time!
>
> sangeeta
>
>

Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

BJ/Jacopo,

I have attched some more logs. Also my entitymodel.xml and entitygroup.xml and the data file I am using.

I guess I have wasted enough of everyone's time on this!My apologies!

I would love to get to the botom of this but I guess this is my last attempt. It might just be a build issue since I am using a very old build.

Thanks again everyone for your time and help.

Regards,
Sangeeta




-----Original Message-----
From: BJ Freeman [mailto:[hidden email]]
Sent: Wednesday, June 28, 2006 11:43 AM
To: [hidden email]
Subject: Re: Problem in importing Seed data

Ok we are talking apples and oranges.. My apology.
let start over.

I need to see some of the log before the error at least 3 lines.
I am somewhat a novice, not and expert.
However with out the XSD or DTD your referencing and the data related to it, we could spend a lot of time trying to figure this out.

I hope you don't mind if I think out loud.
the seed data must conform to some entity definition, usually in an entitymodel.xml.

and the entitymodel.xml is based on xsd.

now if you are creating the entitymodel.xml it could be there.
if you are generating data from an already existing entitymodel.xml then check the demo data for that entity and see what it looks like.
you can also use the webtools to export all the data, and look thru them to see a example of the data you are trying to import.

that is about the best I can do without the few lines before the error happens in the log.



Sangeeta Bhatia sent the following on 6/27/2006 10:56 PM:

> BJ,
>
> My fieldtypederby.xml says:
> <field-type-def type="id-ne" sql-type="VARCHAR(20)" java-type="String"><validate method="isNotEmpty" /></field-type-def>
>
> <field-type-def type="id" sql-type="VARCHAR(20)" java-type="String"></field-type-def>
>
> That is why I thought it might be appropriate to use it in place of 'id' because the only difference I saw was that id-ne cannot be empty.
> I did not quite understand what you mean by 'id-ne is an expression'.
>
> I have attached some more logs. Looking at the logs it seems to me that at the time of importing data,it is unable to recognise any of the field types -numeric,id-ne,id etc.
>
> That is why I feel that something in the configuration is missing.
> Because,as I mentioned earlier I tried something as simple as putting in appropriate values for all the field,creating a GeenricValue and using delegator.create().
> But still,I got the same errors.
>
> Thanks everyone for you time!
>
> sangeeta
>
>
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
>
> Sent: Tuesday, June 27, 2006 10:00 AM
> To: [hidden email]
> Subject: Re: Problem in importing Seed data
>
> you should how some files being read in before the error.
> need to see these.
> id-ne is a expression.
> id is a field.
>
>
> Sangeeta Bhatia sent the following on 6/26/2006 8:25 PM:
>> Alexandre/BJ,
>>
>
>> I had attached the logs but I guess they got missed somehow.
>> As I mentioned earlier,I have tried using id-ne instead of id but I am getting similar errors.
>> These are the logs I am getting:
>>
>
>> ******************************************************
>> An error occurred saving the data, rolling back transaction (true)
>> Exception: java.lang.IllegalArgumentException
>> Message: Type id-ne not found
>> ---- stack trace
>
>> ---------------------------------------------------------------
>>
>
>> java.lang.IllegalArgumentException: Type id-ne not found
>> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
>> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:
>> 358) javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
>
>> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
>
>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>
>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entit
>> y.xmldsimp
>> ort_jsp:270)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_rende
>> r_5(org.ap
>> ache.jsp.templates.main_005ftemplate_jsp:314)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.
>> jsp.templa
>> tes.main_005ftemplate_jsp:193)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:
>> 97)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java
>> :589)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 374)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258
>> )
>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>> lve.java:2
>> 13)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>> lve.java:1
>> 78)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>> va:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>> va:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>> e.java:107
>> )
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5
>> 26)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>> :148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 856)
>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>> sConnectio
>> n(Http11Protocol.java:744)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>> nt.java:52
>> 7)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
>> owerWorker
>> Thread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:68
>> 4)
>> java.lang.Thread.run(Thread.java:534)
>> ----------------------------------------------------------------------
>> ----------
>>
>
>
>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
>> ---- exception report
>
>> ----------------------------------------------------------
>>
>
>> [TransactionUtil.rollback]
>> Exception: java.lang.Exception
>> Message: Stack Trace
>> ---- stack trace
>
>> ---------------------------------------------------------------
>>
>
>> java.lang.Exception: Stack Trace
>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.
>> java:247)
>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.
>> java:229)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234)
>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.entit
>> y.xmldsimp
>> ort_jsp:270)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_rende
>> r_5(org.ap
>> ache.jsp.templates.main_005ftemplate_jsp:314)
>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.
>> jsp.templa
>> tes.main_005ftemplate_jsp:193)
>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.
>> java:322)
>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:29
>> 1)
>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispa
>> tcher.java
>> :672)
>> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDi
>> spatcher.j
>> ava:574)
>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDisp
>> atcher.jav
>> a:499)
>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.java:
>> 97)
>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java
>> :589)
>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:
>> 374)
>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:191)
>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:252)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:258
>> )
>
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
>> cationFilt
>> erChain.java:202)
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>> java:173)
>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
>> lve.java:2
>> 13)
>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
>> lve.java:1
>> 78)
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
>> va:126)
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
>> va:105)
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
>> e.java:107
>> )
>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:5
>> 26)
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java
>> :148)
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
>> 856)
>
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proces
>> sConnectio
>> n(Http11Protocol.java:744)
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
>> nt.java:52
>> 7)
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
>> owerWorker
>> Thread.java:80)
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
>> ol.java:68
>> 4)
>> java.lang.Thread.run(Thread.java:534)
>> ----------------------------------------------------------------------
>> ----------
>>
>
>
>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
>> sactionUtil.rollback] transaction rolled back
>> 460554 (http-0.0.0.0-8443-Processor3)
>
>> [org.apache.jsp.entity.xmldsimport_jsp:278
>> :INFO ] numberRead(url):-1
>> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
>> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
>
>> last([xmldsi mport] Set...):0.234]]
>>
>
>> **********************************************************************
>> ******
>>
>
>> Many Thanks!
>> sangeeta
>>
>
>
>
>
>> -----Original Message-----
>> From: Alexandre Gomes [mailto:[hidden email]]
>>
>
>> Sent: Monday, June 26, 2006 6:29 PM
>> To: [hidden email]
>> Subject: Re: Problem in importing Seed data
>>
>
>> Sangeeta,
>>
>
>> As BJ said could you post a bit of the log before the error?
>>
>
>> Alexandre
>>
>
>> On 6/26/06, BJ Freeman <[hidden email]> wrote:
>>> what did the log show was being loaded just before the error?
>>>
>>> Sangeeta Bhatia sent the following on 6/26/2006 5:04 AM:
>>>> Alexandre,
>>>>
>>>> PFA the logs for this error.
>>>> Please note that I have tried chnaging id to id-ne and still I am getting similar errors.
>>>>
>>>> Thanks!
>>>> sangeeta
>>>>
>>>>
>>>> -----Original Message-----
>>>> From: Alexandre Gomes [mailto:[hidden email]]
>>>>
>>>> Sent: Monday, June 26, 2006 2:30 PM
>>>> To: [hidden email]
>>>> Subject: Re: Problem in importing Seed data
>>>>
>>>> Hi Sangeeta,
>>>>
>>>> Could you post a little bit more of the log file?
>>>>
>>>> Alexandre
>>>>
>>>> On 6/26/06, Sangeeta Bhatia <[hidden email]> wrote:
>>>>> Yes.
>>>>> I have done everything explained in Si's tutorial and my application is working perfectly well except for that I cannot import seed-data.
>>>>>
>>>>> -----Original Message-----
>>>>> From: Jacopo Cappellato [mailto:[hidden email]]
>>>>> Sent: Monday, June 26, 2006 2:08 PM
>>>>> To: [hidden email]
>>>>> Subject: Re: Problem in importing Seed data
>>>>>
>>>>> Are the entitygroup.xml and entitydef.xml file defined inside your custom ofbiz-component.xml file?
>>>>>
>>>>> Jacopo
>>>>>
>>>>> Sangeeta Bhatia wrote:
>>>>>> Sorry  Dimitri ,that was a typo mistake.
>>>>>> I m actually using fID="PLAIN".
>>>>>> Still it's not working.
>>>>>>  I guess it is as Si suggested something to do with my configuration files.
>>>>>> Yet I am able to run all the applications (hell01,2 and 3)sucessfully.
>>>>>> I have also been able to import data as explained in his tutorial.
>>>>>> However for the particular application I have built,I am getting an error.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Dimitri Unruh [mailto:[hidden email]]
>>>>>>
>>>>>> Sent: Monday, June 26, 2006 1:15 PM
>>>>>> To: [hidden email]
>>>>>> Subject: RE: Problem in importing Seed data
>>>>>>
>>>>>> I guess your definition of the Seed data is wrong
>>>>>>
>>>>>> RoomFacility fId="PLAIN" description="A plain room with minimal
>>>>>>
>>>>>>> facilities"/>
>>>>>>>                <Room roomId="PLAIN" fId="F100" numberFree=5/>
>>>>>> </entity-engine-xml>
>>>>>>
>>>>>>
>>>>>> fId must have the same value.
>>>>>>
>>>>>>
>>>>>> Dimitri Unruh
>>>>>>
>>>>>> Lynx Consulting Group
>>>>>> Johanniskirchplatz 6
>>>>>> D-33615 Bielefeld
>>>>>> T: +49 (0) 521 / 52 47 - 408
>>>>>> [hidden email]
>>>>>> http://www.lynx.de
>>>>>>
>>>>>> ==================================================================
>>>>>> == == ======================================================
>>>>>>
>>>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Disclaimer:
>>>>>>
>>>>>>
>>>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>>>
>>>>>>
>>>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>>>
>>>>>> ==================================================================
>>>>>> == == ======================================================
>>>>>>
>>>>> ===================================================================
>>>>> === ======================================================
>>>>>
>>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>>
>>>>>
>>>>> Disclaimer:
>>>>>
>>>>>
>>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>>
>>>>>
>>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>>
>>>>> ===================================================================
>>>>> === ======================================================
>>>>>
>>>> ====================================================================
>>>> ========================================================
>>>>
>>>> Tech Mahindra, formerly Mahindra-British Telecom.
>>>>
>>>>
>>>>
>>>> Disclaimer:
>>>>
>>>>
>>>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>>>
>>>>
>>>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>>>
>>>> ====================================================================
>>>> ========================================================
>>>>
>>>>
>>>> --------------------------------------------------------------------
>>>> ----
>>>>
>>>> An error occurred saving the data, rolling back transaction (true)
>>>> Exception: java.lang.IllegalArgumentException
>>>> Message: Type id-ne not found
>>>> ---- stack trace
>
>>>> ---------------------------------------------------------------
>>>>
>>>> java.lang.IllegalArgumentException: Type id-ne not found
>>>> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
>>>> org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.jav
>>>> a:358) javolution.xml.sax.RealtimeParser.processElement(Unknown
>
>>>> Source) javolution.xml.sax.RealtimeParser.parseContent(Unknown
>
>>>> Source) javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>
>>>> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224
>>>> )
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>>> )
>
>>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>>> ity.xmldsimp
>>>> ort_jsp:270)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>>> der_5(org.ap
>>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>>> e.jsp.templa
>>>> tes.main_005ftemplate_jsp:193)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>>> a:97)
>>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>>> va:589)
>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>>> a:374)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>>> 1)
>>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>>> 7)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>>> 58)
>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:202)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>>> Valve.java:2
>>>> 13)
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>>> Valve.java:1
>>>> 78)
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>>> java:126)
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>>> java:105)
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>>> lve.java:107
>>>> )
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>>> :526)
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>>> va:148)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>>> a:856)
>
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>>> essConnectio
>>>> n(Http11Protocol.java:744)
>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>>> oint.java:52
>>>> 7)
>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>>> llowerWorker
>>>> Thread.java:80)
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>>> Pool.java:68
>>>> 4)
>>>> java.lang.Thread.run(Thread.java:534)
>>>> --------------------------------------------------------------------
>>>> ------------
>>>>
>>>>
>>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:248:ERROR]
>>>> ---- exception report
>
>>>> ----------------------------------------------------------
>>>>
>>>> [TransactionUtil.rollback]
>>>> Exception: java.lang.Exception
>>>> Message: Stack Trace
>>>> ---- stack trace
>
>>>> ---------------------------------------------------------------
>>>>
>>>> java.lang.Exception: Stack Trace
>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>>> l.java:247)
>>>> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUti
>>>> l.java:229)
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:234
>>>> )
>>>> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184
>>>> )
>
>>>> org.apache.jsp.entity.xmldsimport_jsp._jspService(org.apache.jsp.ent
>>>> ity.xmldsimp
>>>> ort_jsp:270)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.view.JspViewHandler.render(JspViewHandler.java:86)
>>>> org.ofbiz.webapp.region.Section.viewHandlerRender(Section.java:174)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:156)
>>>> org.ofbiz.webapp.region.Section.render(Section.java:81)
>>>> org.ofbiz.webapp.region.RenderTag.doEndTag(RenderTag.java:108)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspx_meth_region_ren
>>>> der_5(org.ap
>>>> ache.jsp.templates.main_005ftemplate_jsp:314)
>>>> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apach
>>>> e.jsp.templa
>>>> tes.main_005ftemplate_jsp:193)
>>>> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrappe
>>>> r.java:322)
>>>> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
>>>> 291)
>>>> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDis
>>>> patcher.java
>>>> :672)
>>>> org.apache.catalina.core.ApplicationDispatcher.doInclude(Application
>>>> Dispatcher.j
>>>> ava:574)
>>>> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDi
>>>> spatcher.jav
>>>> a:499)
>>>> org.ofbiz.webapp.region.Region.render(Region.java:125)
>>>> org.ofbiz.webapp.view.RegionViewHandler.render(RegionViewHandler.jav
>>>> a:97)
>>>> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.ja
>>>> va:589)
>>>> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.jav
>>>> a:374)
>>>> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:19
>>>> 1)
>>>> org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:8
>>>> 7)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>>>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:252)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:2
>>>> 58)
>
>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(App
>>>> licationFilt
>>>> erChain.java:202)
>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
>>>> java:173)
>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapper
>>>> Valve.java:2
>>>> 13)
>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContext
>>>> Valve.java:1
>>>> 78)
>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.
>>>> java:126)
>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.
>>>> java:105)
>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVa
>>>> lve.java:107
>>>> )
>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java
>>>> :526)
>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.ja
>>>> va:148)
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav
>>>> a:856)
>
>>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proc
>>>> essConnectio
>>>> n(Http11Protocol.java:744)
>>>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndp
>>>> oint.java:52
>>>> 7)
>>>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFo
>>>> llowerWorker
>>>> Thread.java:80)
>>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Thread
>>>> Pool.java:68
>>>> 4)
>>>> java.lang.Thread.run(Thread.java:534)
>>>> --------------------------------------------------------------------
>>>> ------------
>>>>
>>>>
>>>> 460554 (http-0.0.0.0-8443-Processor3) [    TransactionUtil.java:258:INFO ] [Tran
>>>> sactionUtil.rollback] transaction rolled back
>>>> 460554 (http-0.0.0.0-8443-Processor3)
>
>>>> [org.apache.jsp.entity.xmldsimport_jsp:278
>>>> :INFO ] numberRead(url):-1
>>>> 460585 (http-0.0.0.0-8443-Processor3) [     ControlServlet.java:258:DEBUG] [[[xm
>>>> ldsimport] Done rendering page, Servlet Finished- total:0.234,since
>
>>>> last([xmldsi mport] Set...):0.234]]
>
>> ======================================================================
>> ======================================================
>>
>
>> Tech Mahindra, formerly Mahindra-British Telecom.
>>
>
>
>
>> Disclaimer:
>>
>
>
>> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>>
>
>
>> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>>
>
>> ======================================================================
>> ======================================================
>>
>
>
>
> ============================================================================================================================
>
> Tech Mahindra, formerly Mahindra-British Telecom.
>
>
>
> Disclaimer:
>
>
> The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.
>
>
> This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.
>
> ============================================================================================================================

============================================================================================================================

Tech Mahindra, formerly Mahindra-British Telecom.


Disclaimer:


The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of Tech Mahindra and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of Tech Mahindra.


This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and Tech Mahindra is not responsible for any loss or damage arising in any way from its use.

============================================================================================================================

entitygroup.xml (2K) Download Attachment
entitymodel.xml (4K) Download Attachment
RoomsData.xml (568 bytes) Download Attachment
logs.txt (11K) Download Attachment
12