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
|

Re: Problem in importing Seed data

Jacopo Cappellato
Last request: the entityengine.xml file (but remove the db
user/password!) :-)



Sangeeta Bhatia wrote:

> 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.
>
> ============================================================================================================================
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>  *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
>  *
>  *  Permission is hereby granted, free of charge, to any person obtaining a
>  *  copy of this software and associated documentation files (the "Software"),
>  *  to deal in the Software without restriction, including without limitation
>  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
>  *  and/or sell copies of the Software, and to permit persons to whom the
>  *  Software is furnished to do so, subject to the following conditions:
>  *
>  *  The above copyright notice and this permission notice shall be included
>  *  in all copies or substantial portions of the Software.
>  *
>  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
>  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
>  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
>  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
>  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
>  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
>  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> -->
>
> <entitygroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>         xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/entitygroup.xsd">
>
>     <entity-group group="org.ofbiz" entity="Facility" />
>     <entity-group group="org.ofbiz" entity="Room" />
>     <entity-group group="org.ofbiz" entity="Booking" />
>  </entitygroup>
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>  *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
>  *
>  *  Permission is hereby granted, free of charge, to any person obtaining a
>  *  copy of this software and associated documentation files (the "Software"),
>  *  to deal in the Software without restriction, including without limitation
>  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
>  *  and/or sell copies of the Software, and to permit persons to whom the
>  *  Software is furnished to do so, subject to the following conditions:
>  *
>  *  The above copyright notice and this permission notice shall be included
>  *  in all copies or substantial portions of the Software.
>  *
>  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
>  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
>  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
>  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
>  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
>  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
>  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  *
>  * @author     David E. Jones ([hidden email])
>  * @author     Andy Zeneski ([hidden email])
>  * @version    $Rev: 5710 $
> -->
>
> <entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/entitymodel.xsd">
>   <!-- ========================================================= -->
>   <!-- ======================== Defaults ======================= -->
>   <!-- ========================================================= -->
>     <title>Entity of an Open For Business Project Component</title>
>     <description>None</description>
>     <copyright>Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org</copyright>
>     <author>None</author>
>     <version>1.0</version>
>
>     <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>
>       <field name="price" type="numeric"></field>
>       <prim-key field="fId"/>
>     </entity>
>
>     <entity entity-name="Room"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Hotel California's Rooms">
>       <field name="roomId" type="id-ne"></field>
>       <field name="fId" type="id-ne"></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>
>
>     <entity entity-name="Booking"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Booking table">
>       <field name="bookingId" type="id-ne"></field>
>       <field name="roomId" type="id-ne"></field>
>       <field name="startDate" type="date"></field>
>       <field name="endDate" type="date"></field>
>       <field name="customerName" type="id-long"></field>
>       <prim-key field="bookingId"/>
>       <relation type="many" fk-name="ROOM_BOOKING" rel-entity-name="Room">
>         <key-map field-name="roomId"/>
>       </relation>
>     </entity>
>
> </entitymodel>
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <entity-engine-xml>
> <RoomFacility fId="PLAIN"  description="A plain room with minimal facilities" price="400"/>
> <RoomFacility fId="DOUBLE" description="Deluxe room with wonderful view and double bed" price="400"/>
> <RoomFacility fId="DELUXE" description="Delux room with breathtaking view and double bed and additional facilities" price="400"/>
> </entity-engine-xml>
>
>
> ------------------------------------------------------------------------
>
> 133935[org.apache.jsp.entity.xmldsimport_jsp:106:INFO ] filename:applications\hotelCalifornia\data\RoomsData.xml
>
> 133950[org.apache.jsp.entity.xmldsimport_jsp:209:INFO ] url:file:/C:/ofbiz_5924/applications/hotelCalifornia/data/RoomsData.xml
>
> 133950[    EntitySaxReader.java:183:INFO ] Beginning import from URL: file:/C:/ofbiz_5924/applications/hotelCalifornia/data/RoomsData.xml
>
> 133966[    EntitySaxReader.java:221:INFO ] Transaction Timeout set to 2 hours (7200 seconds)
>
> 133981[    EntitySaxReader.java:499:WARN ]
>
> ---- runtime exception report --------------------------------------------------
> Could not set field fId to the value PLAIN
> 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.startElement(EntitySaxReader.java:493)
> 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.xmldsimport_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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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.apache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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(ApplicationFilterChain.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(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 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.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 133997[    EntitySaxReader.java:499:WARN ]
>
> ---- runtime exception report --------------------------------------------------
> Could not set field description to the value A plain room with minimal facilities
> Exception: java.lang.IllegalArgumentException
> Message: Type description not found
> ---- stack trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: Type description not found
> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> org.ofbiz.entity.util.EntitySaxReader.startElement(EntitySaxReader.java:493)
> 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.xmldsimport_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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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.apache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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(ApplicationFilterChain.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(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 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.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 133997[    EntitySaxReader.java:499:WARN ]
>
> ---- runtime exception report --------------------------------------------------
> Could not set field price to the value 400
> Exception: java.lang.IllegalArgumentException
> Message: Type numeric not found
> ---- stack trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: Type numeric not found
> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> org.ofbiz.entity.util.EntitySaxReader.startElement(EntitySaxReader.java:493)
> 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.xmldsimport_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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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.apache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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(ApplicationFilterChain.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(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 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.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoin
Reply | Threaded
Open this post in threaded view
|

RE: Problem in importing Seed data

Sangs
In reply to this post by Sangs

Jacopo,

Have attached the file.
I had initially checked if org.ofbiz group maps to localderby. It does!

Sangeeta

-----Original Message-----
From: Jacopo Cappellato [mailto:[hidden email]]
Sent: Wednesday, June 28, 2006 1:10 PM
To: [hidden email]
Subject: Re: Problem in importing Seed data

Last request: the entityengine.xml file (but remove the db
user/password!) :-)



Sangeeta Bhatia wrote:

> 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.
>
> ============================================================================================================================
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>  *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
>  *
>  *  Permission is hereby granted, free of charge, to any person obtaining a
>  *  copy of this software and associated documentation files (the "Software"),
>  *  to deal in the Software without restriction, including without limitation
>  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
>  *  and/or sell copies of the Software, and to permit persons to whom the
>  *  Software is furnished to do so, subject to the following conditions:
>  *
>  *  The above copyright notice and this permission notice shall be included
>  *  in all copies or substantial portions of the Software.
>  *
>  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
>  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
>  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
>  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
>  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
>  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
>  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
> -->
>
> <entitygroup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>         xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/entitygroup.xsd">
>
>     <entity-group group="org.ofbiz" entity="Facility" />
>     <entity-group group="org.ofbiz" entity="Room" />
>     <entity-group group="org.ofbiz" entity="Booking" />
>  </entitygroup>
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!--
>  *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
>  *
>  *  Permission is hereby granted, free of charge, to any person obtaining a
>  *  copy of this software and associated documentation files (the "Software"),
>  *  to deal in the Software without restriction, including without limitation
>  *  the rights to use, copy, modify, merge, publish, distribute, sublicense,
>  *  and/or sell copies of the Software, and to permit persons to whom the
>  *  Software is furnished to do so, subject to the following conditions:
>  *
>  *  The above copyright notice and this permission notice shall be included
>  *  in all copies or substantial portions of the Software.
>  *
>  *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
>  *  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
>  *  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
>  *  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
>  *  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
>  *  OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR
>  *  THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  *
>  * @author     David E. Jones ([hidden email])
>  * @author     Andy Zeneski ([hidden email])
>  * @version    $Rev: 5710 $
> -->
>
> <entitymodel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>     xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/entitymodel.xsd">
>   <!-- ========================================================= -->
>   <!-- ======================== Defaults ======================= -->
>   <!-- ========================================================= -->
>     <title>Entity of an Open For Business Project Component</title>
>     <description>None</description>
>     <copyright>Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org</copyright>
>     <author>None</author>
>     <version>1.0</version>
>
>     <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>
>       <field name="price" type="numeric"></field>
>       <prim-key field="fId"/>
>     </entity>
>
>     <entity entity-name="Room"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Hotel California's Rooms">
>       <field name="roomId" type="id-ne"></field>
>       <field name="fId" type="id-ne"></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>
>
>     <entity entity-name="Booking"
>             package-name="org.ofbiz.hotelCalifornia"
>             title="Booking table">
>       <field name="bookingId" type="id-ne"></field>
>       <field name="roomId" type="id-ne"></field>
>       <field name="startDate" type="date"></field>
>       <field name="endDate" type="date"></field>
>       <field name="customerName" type="id-long"></field>
>       <prim-key field="bookingId"/>
>       <relation type="many" fk-name="ROOM_BOOKING" rel-entity-name="Room">
>         <key-map field-name="roomId"/>
>       </relation>
>     </entity>
>
> </entitymodel>
>
>
> ------------------------------------------------------------------------
>
> <?xml version="1.0" encoding="UTF-8"?>
> <entity-engine-xml>
> <RoomFacility fId="PLAIN"  description="A plain room with minimal facilities" price="400"/>
> <RoomFacility fId="DOUBLE" description="Deluxe room with wonderful view and double bed" price="400"/>
> <RoomFacility fId="DELUXE" description="Delux room with breathtaking view and double bed and additional facilities" price="400"/>
> </entity-engine-xml>
>
>
> ------------------------------------------------------------------------
>
> 133935[org.apache.jsp.entity.xmldsimport_jsp:106:INFO ] filename:applications\hotelCalifornia\data\RoomsData.xml
>
> 133950[org.apache.jsp.entity.xmldsimport_jsp:209:INFO ] url:file:/C:/ofbiz_5924/applications/hotelCalifornia/data/RoomsData.xml
>
> 133950[    EntitySaxReader.java:183:INFO ] Beginning import from URL: file:/C:/ofbiz_5924/applications/hotelCalifornia/data/RoomsData.xml
>
> 133966[    EntitySaxReader.java:221:INFO ] Transaction Timeout set to 2 hours (7200 seconds)
>
> 133981[    EntitySaxReader.java:499:WARN ]
>
> ---- runtime exception report --------------------------------------------------
> Could not set field fId to the value PLAIN
> 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.startElement(EntitySaxReader.java:493)
> 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.xmldsimport_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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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.apache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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(ApplicationFilterChain.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(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 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.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> java.lang.Thread.run(Thread.java:534)
> --------------------------------------------------------------------------------
>
>
> 133997[    EntitySaxReader.java:499:WARN ]
>
> ---- runtime exception report --------------------------------------------------
> Could not set field description to the value A plain room with minimal facilities
> Exception: java.lang.IllegalArgumentException
> Message: Type description not found
> ---- stack trace ---------------------------------------------------------------
> java.lang.IllegalArgumentException: Type description not found
> org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:449)
> org.ofbiz.entity.util.EntitySaxReader.startElement(EntitySaxReader.java:493)
> 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.xmldsimport_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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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.apache.jsp.templates.main_005ftemplate_jsp:314)
> org.apache.jsp.templates.main_005ftemplate_jsp._jspService(org.apache.jsp.templates.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(ApplicationFilterChain.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.java:574)
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java: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(ApplicationFilterChain.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(ApplicationFilterChain.java:202)
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
> 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.processConnection(Http11Protocol.java:744)
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.j
Reply | Threaded
Open this post in threaded view
|

Re: Problem in importing Seed data

Souvik Saha Bhowmik
In reply to this post by Sangs
Hi,
I am not sure whats happenning. Just make sure in the entityEngine.xml that
your default database connection is localDerby. Also make sure in the
web.xml the default delegator name. This is just to check. because normally
they are all set to point the derby database.


On 6/26/06, 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

BJ Freeman
In reply to this post by Sangs
Here is my best guess.
the fieldtypederby.xml is not being read into the system or is not in
the map used to evaluate.

There maybe something missing in the build.

I suggest creating a new folder, copy your folder to the new folder and
do a new build.
if it works then you have a reference.


FYI you know there is a hotel implementation in the special folder.
it shows how to do this within the frame work of ofbiz.


Sangeeta Bhatia sent the following on 6/27/2006 11:46 PM:

> 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.
>
> ============================================================================================================================
12