I want to add dataimport componment in ofbiz hot-deploy folder. What step i will perform to add a component in ofbiz.
Thanks & Reagrds: Dev |
Which dataimport component you are talking about ?
-- Ashish On Tue, Jun 17, 2008 at 1:49 AM, gopalbi <[hidden email]> wrote: > > I want to add dataimport componment in ofbiz hot-deploy folder. What step i > will perform to add a component in ofbiz. > > Thanks & Reagrds: > Dev > -- > View this message in context: > http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17878595.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
Ashish,
I want to add dataimport component like opentaps provides in hot deploy. my target is to achive same funcationality in ofbiz.i have copied the dataimport folder from opentaps(hot-deploy) and paste it into ofbiz specialpurpose folder. and then after change some files. 1. build.xml <filelist id="application-builds" dir="." files="pos/build.xml, hhfacility/build.xml, assetmaint/build.xml, oagis/build.xml, bi/build.xml, googlebase/build.xml, ebay/build.xml, projectmgr/build.xml, dataimport/build.xml"/> 2. component-load <load-component component-location="dataimport"/> 3. Add to jar files here. /framework/webapp/lib 1.jasperreports-2.0.1-applet 2.jasperreports-2.0.1 Then the dataimport login page is come but if i am trying to login then it show this type of error The Following Errors Occurred: Login for this application couldn't be completed (required permissions missing). I am using the derbby database.
|
I didn't use that component so don't have any idea about that.
Sorry !!! -- Ashish On Tue, Jun 17, 2008 at 2:35 AM, gopalbi <[hidden email]> wrote: > > Ashish, > I want to add dataimport component like opentaps provides in hot > deploy. my target is to achive same funcationality in ofbiz.i have copied > the dataimport folder from opentaps(hot-deploy) and paste it into ofbiz > specialpurpose folder. and then after change some files. > 1. build.xml > <filelist id="application-builds" dir="." > files="pos/build.xml, hhfacility/build.xml, assetmaint/build.xml, > oagis/build.xml, bi/build.xml, googlebase/build.xml, ebay/build.xml, > projectmgr/build.xml, dataimport/build.xml"/> > > 2. component-load > > <load-component component-location="dataimport"/> > > 3. Add to jar files here. /framework/webapp/lib > 1.jasperreports-2.0.1-applet > 2.jasperreports-2.0.1 > > Then the dataimport login page is come but if i am trying to login then it > show this type of error > > > The Following Errors Occurred: > Login for this application couldn't be completed (required permissions > missing). > > I am using the derbby database. > > > > Ashish Vijaywargiya-4 wrote: > > > > Which dataimport component you are talking about ? > > > > -- > > Ashish > > > > On Tue, Jun 17, 2008 at 1:49 AM, gopalbi <[hidden email]> > > wrote: > > > >> > >> I want to add dataimport componment in ofbiz hot-deploy folder. What > step > >> i > >> will perform to add a component in ofbiz. > >> > >> Thanks & Reagrds: > >> Dev > >> -- > >> View this message in context: > >> > http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17878595.html > >> Sent from the OFBiz - User mailing list archive at Nabble.com. > >> > >> > > > > > > -- > View this message in context: > http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17879007.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > > |
In reply to this post by gopalbi
I don't know much about that component, maybe the Opentaps's forum may
help you... however I'd suggest to try to run the ant run-install-seed target before you try to login (that task may load the required permissions for the external component0. Jacopo On Jun 17, 2008, at 8:35 AM, gopalbi wrote: > > Ashish, > I want to add dataimport component like opentaps provides in hot > deploy. my target is to achive same funcationality in ofbiz.i have > copied > the dataimport folder from opentaps(hot-deploy) and paste it into > ofbiz > specialpurpose folder. and then after change some files. > 1. build.xml > <filelist id="application-builds" dir="." > files="pos/build.xml, hhfacility/build.xml, assetmaint/ > build.xml, > oagis/build.xml, bi/build.xml, googlebase/build.xml, ebay/build.xml, > projectmgr/build.xml, dataimport/build.xml"/> > > 2. component-load > > <load-component component-location="dataimport"/> > > 3. Add to jar files here. /framework/webapp/lib > 1.jasperreports-2.0.1-applet > 2.jasperreports-2.0.1 > > Then the dataimport login page is come but if i am trying to login > then it > show this type of error > > > The Following Errors Occurred: > Login for this application couldn't be completed (required permissions > missing). > > I am using the derbby database. > > > > Ashish Vijaywargiya-4 wrote: >> >> Which dataimport component you are talking about ? >> >> -- >> Ashish >> >> On Tue, Jun 17, 2008 at 1:49 AM, gopalbi <[hidden email]> >> wrote: >> >>> >>> I want to add dataimport componment in ofbiz hot-deploy folder. >>> What step >>> i >>> will perform to add a component in ofbiz. >>> >>> Thanks & Reagrds: >>> Dev >>> -- >>> View this message in context: >>> http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17878595.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >>> >> >> > > -- > View this message in context: http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17879007.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Jacopo,
When i am entering the http://localhost:8080/dataimport/control/main then dataimport login page is come. When i am entering the username and password then it show this type of error. The dataimport component like opentaps provides in hot deploy. my target is to achive same funcationality in ofbiz.i have copied the dataimport folder from opentaps(hot-deploy) and paste it into ofbiz specialpurpose folder.I am sending you the main-section-decorator.ftl and CommonScreens.xml as a attachment. Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@12dbb4b The problematic instruction: ---------- ==> ${screens.render("component://opentaps-common/widget/screens/common/CommonScreens.xml#main-section-body")} [on line 65, column 3 in component://opentaps-common/webapp/common/includes/main-section-decorator.ftl] ---------- Java backtrace for programmers: ---------- freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@12dbb4b at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:198) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:163) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:139) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:907) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:629) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:163) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:659) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:629) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:163) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:659) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:111) at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java:93) at freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at freemarker.core.Expression.getStringValue(Expression.java:93) at freemarker.core.DollarVariable.accept(DollarVariable.java:76) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.IfBlock.accept(IfBlock.java:82) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.MixedContent.accept(MixedContent.java:92) at freemarker.core.Environment.visit(Environment.java:196) at freemarker.core.Environment.process(Environment.java:176) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:198) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:163) at org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96) at org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:139) at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68) at org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:907) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:599) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:599) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:504) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:599) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:96) at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:651) at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:435) at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:198) at org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:78) at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:255) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:542) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:595) Caused by: org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen [component://opentaps-common/widget/screens/common/CommonScreens.xml#selectOrganization]: org.ofbiz.base.util.GeneralException: Error running BSH script at location [component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh] (Error running BSH script at [component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh], line [29]: Sourced file: component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh : Method Invocation delegator.findByCondition : at Line: 29 : in file: component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh : delegator .findByCondition ( "PartyAcctgPreferenceRoleAndDetail" , conditions , null , null , orderBy , options ) Target exception: org.ofbiz.entity.GenericModelException: Could not find definition for entity name PartyAcctgPreferenceRoleAndDetail (Sourced file: component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh : Method Invocation delegator.findByCondition)) (Error running BSH script at location [component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh] (Error running BSH script at [component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh], line [29]: Sourced file: component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh : Method Invocation delegator.findByCondition : at Line: 29 : in file: component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh : delegator .findByCondition ( "PartyAcctgPreferenceRoleAndDetail" , conditions , null , null , orderBy , options ) Target exception: org.ofbiz.entity.GenericModelException: Could not find definition for entity name PartyAcctgPreferenceRoleAndDetail (Sourced file: component://opentaps-common/webapp/common/WEB-INF/actions/includes/selectOrganization.bsh : Method Invocation delegator.findByCondition))) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:427) at org.ofbiz.widget.screen.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:504) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSection.renderWidgetString(ModelScreenWidget.java:629) at org.ofbiz.widget.screen.ModelScreenWidget$SectionsRenderer.render(ModelScreenWidget.java:163) at org.ofbiz.widget.screen.ModelScreenWidget$DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java:659) at org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) at org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:223) at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:400) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:129) at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:825) at freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:111) ... 99 more Error rendering included template at location [component://opentaps-common/webapp/common/includes/main-section-decorator.ftl]: freemarker.template.TemplateModelException: Method public java.lang.String org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws org.ofbiz.base.util.GeneralException,java.io.IOException,org.xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException threw an exception when invoked on org.ofbiz.widget.screen.ScreenRenderer@12dbb4b CommonScreens.xmlmain-section-decorator.ftl |
My 2 cents:
1) you can include the component in the hot-deploy folder too, no need to place it in the specialpurpose folder 2) from the log you also need to include the opentaps-common component in the hot-deploy folder but again... the Opentaps forum may be more appropriate for this. Good luck, Jacopo On Jun 17, 2008, at 11:59 AM, gopalbi wrote: > > Jacopo, > When i am entering the http://localhost:8080/dataimport/control/main > then dataimport login page is come. When i am entering the username > and > password then it show this type of error. The dataimport component > like > opentaps provides in hot deploy. my target is to achive same > funcationality > in ofbiz.i have copied the dataimport folder from opentaps(hot- > deploy) and > paste it into ofbiz specialpurpose folder.I am sending you the > main-section-decorator.ftl and CommonScreens.xml as a attachment. > > Method public java.lang.String > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws > org > .ofbiz > .base > .util > .GeneralException > ,java > .io > .IOException > ,org > .xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@12dbb4b The problematic > instruction: > ---------- ==> > ${screens.render("component://opentaps-common/widget/screens/common/ > CommonScreens.xml#main-section-body")} > [on line 65, column 3 in > component://opentaps-common/webapp/common/includes/main-section- > decorator.ftl] > ---------- Java backtrace for programmers: ---------- > freemarker.template.TemplateModelException: Method public > java.lang.String > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws > org > .ofbiz > .base > .util > .GeneralException > ,java > .io > .IOException > ,org > .xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@12dbb4b at > freemarker > .ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:134) > at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java: > 93) at > freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at > freemarker.core.Expression.getStringValue(Expression.java:93) at > freemarker.core.DollarVariable.accept(DollarVariable.java:76) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Environment.process(Environment.java:176) at > org > .ofbiz > .base > .util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java: > 198) > at > org > .ofbiz > .base > .util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java: > 163) > at > org > .ofbiz > .base > .util > .template > .FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) > at > org > .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96) > at > org.ofbiz.widget.screen.HtmlWidget > $HtmlTemplate.renderWidgetString(HtmlWidget.java:139) > at > org > .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68) > at > org.ofbiz.widget.screen.ModelScreenWidget > $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:907) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorSection.renderWidgetString(ModelScreenWidget.java:629) > at > org.ofbiz.widget.screen.ModelScreenWidget > $SectionsRenderer.render(ModelScreenWidget.java:163) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java: > 659) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorSection.renderWidgetString(ModelScreenWidget.java:629) > at > org.ofbiz.widget.screen.ModelScreenWidget > $SectionsRenderer.render(ModelScreenWidget.java:163) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java: > 659) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: > 129) at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: > 92) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java: > 825) at > freemarker > .ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:111) > at freemarker.core.MethodCall._getAsTemplateModel(MethodCall.java: > 93) at > freemarker.core.Expression.getAsTemplateModel(Expression.java:89) at > freemarker.core.Expression.getStringValue(Expression.java:93) at > freemarker.core.DollarVariable.accept(DollarVariable.java:76) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.IfBlock.accept(IfBlock.java:82) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.MixedContent.accept(MixedContent.java:92) at > freemarker.core.Environment.visit(Environment.java:196) at > freemarker.core.Environment.process(Environment.java:176) at > org > .ofbiz > .base > .util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java: > 198) > at > org > .ofbiz > .base > .util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java: > 163) > at > org > .ofbiz > .base > .util > .template > .FreeMarkerWorker.renderTemplateAtLocation(FreeMarkerWorker.java:136) > at > org > .ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:96) > at > org.ofbiz.widget.screen.HtmlWidget > $HtmlTemplate.renderWidgetString(HtmlWidget.java:139) > at > org > .ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:68) > at > org.ofbiz.widget.screen.ModelScreenWidget > $PlatformSpecific.renderWidgetString(ModelScreenWidget.java:907) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorScreen.renderWidgetString(ModelScreenWidget.java:599) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorScreen.renderWidgetString(ModelScreenWidget.java:599) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at > org.ofbiz.widget.screen.ModelScreenWidget > $IncludeScreen.renderWidgetString(ModelScreenWidget.java:504) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorScreen.renderWidgetString(ModelScreenWidget.java:599) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: > 129) at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: > 92) at > org > .ofbiz > .widget > .screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java: > 96) > at > org > .ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java: > 651) > at > org > .ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java: > 435) > at org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java: > 198) at > org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java: > 78) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:615) at > javax.servlet.http.HttpServlet.service(HttpServlet.java:688) at > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 269) > at > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java: > 255) > at > org > .apache > .catalina > .core > .ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java: > 215) > at > org > .apache > .catalina > .core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) > at > org > .apache > .catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: > 210) > at > org > .apache > .catalina.core.StandardContextValve.invoke(StandardContextValve.java: > 174) > at > org > .apache > .catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org > .apache > .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) > at > org > .apache > .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java: > 108) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: > 542) > at > org > .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java: > 151) > at > org > .apache.coyote.http11.Http11Processor.process(Http11Processor.java: > 870) > at > org.apache.coyote.http11.Http11BaseProtocol > $Http11ConnectionHandler.processConnection(Http11BaseProtocol.java: > 665) > at > org > .apache > .tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java: > 528) > at > org > .apache > .tomcat > .util > .net > .LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) > at > org.apache.tomcat.util.threads.ThreadPool > $ControlRunnable.run(ThreadPool.java:685) > at java.lang.Thread.run(Thread.java:595) Caused by: > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://opentaps-common/widget/screens/common/ > CommonScreens.xml#selectOrganization]: > org.ofbiz.base.util.GeneralException: Error running BSH script at > location > [component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh] > (Error running BSH script at > [component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh], > line [29]: Sourced file: > component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh > : Method Invocation delegator.findByCondition : at Line: 29 : in file: > component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh > : delegator .findByCondition ( "PartyAcctgPreferenceRoleAndDetail" , > conditions , null , null , orderBy , options ) Target exception: > org.ofbiz.entity.GenericModelException: Could not find definition > for entity > name PartyAcctgPreferenceRoleAndDetail (Sourced file: > component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh > : Method Invocation delegator.findByCondition)) (Error running BSH > script at > location > [component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh] > (Error running BSH script at > [component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh], > line [29]: Sourced file: > component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh > : Method Invocation delegator.findByCondition : at Line: 29 : in file: > component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh > : delegator .findByCondition ( "PartyAcctgPreferenceRoleAndDetail" , > conditions , null , null , orderBy , options ) Target exception: > org.ofbiz.entity.GenericModelException: Could not find definition > for entity > name PartyAcctgPreferenceRoleAndDetail (Sourced file: > component://opentaps-common/webapp/common/WEB-INF/actions/includes/ > selectOrganization.bsh > : Method Invocation delegator.findByCondition))) at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 427) > at > org.ofbiz.widget.screen.ModelScreenWidget > $IncludeScreen.renderWidgetString(ModelScreenWidget.java:504) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorSection.renderWidgetString(ModelScreenWidget.java:629) > at > org.ofbiz.widget.screen.ModelScreenWidget > $SectionsRenderer.render(ModelScreenWidget.java:163) > at > org.ofbiz.widget.screen.ModelScreenWidget > $DecoratorSectionInclude.renderWidgetString(ModelScreenWidget.java: > 659) > at > org > .ofbiz > .widget > .screen > .ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:137) > at > org.ofbiz.widget.screen.ModelScreenWidget > $Section.renderWidgetString(ModelScreenWidget.java:223) > at > org > .ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java: > 400) > at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: > 129) at > org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java: > 92) at > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at > sun > .reflect > .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun > .reflect > .DelegatingMethodAccessorImpl > .invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) at > freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java: > 825) at > freemarker > .ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:111) > ... 99 more Error rendering included template at location > [component://opentaps-common/webapp/common/includes/main-section- > decorator.ftl]: > freemarker.template.TemplateModelException: Method public > java.lang.String > org.ofbiz.widget.screen.ScreenRenderer.render(java.lang.String) throws > org > .ofbiz > .base > .util > .GeneralException > ,java > .io > .IOException > ,org > .xml.sax.SAXException,javax.xml.parsers.ParserConfigurationException > threw an exception when invoked on > org.ofbiz.widget.screen.ScreenRenderer@12dbb4b > > > Jacopo Cappellato-3 wrote: >> >> I don't know much about that component, maybe the Opentaps's forum >> may >> help you... however I'd suggest to try to run the ant run-install- >> seed >> target before you try to login (that task may load the required >> permissions for the external component0. >> >> Jacopo >> >> On Jun 17, 2008, at 8:35 AM, gopalbi wrote: >> >>> >>> Ashish, >>> I want to add dataimport component like opentaps provides in >>> hot >>> deploy. my target is to achive same funcationality in ofbiz.i have >>> copied >>> the dataimport folder from opentaps(hot-deploy) and paste it into >>> ofbiz >>> specialpurpose folder. and then after change some files. >>> 1. build.xml >>> <filelist id="application-builds" dir="." >>> files="pos/build.xml, hhfacility/build.xml, assetmaint/ >>> build.xml, >>> oagis/build.xml, bi/build.xml, googlebase/build.xml, ebay/build.xml, >>> projectmgr/build.xml, dataimport/build.xml"/> >>> >>> 2. component-load >>> >>> <load-component component-location="dataimport"/> >>> >>> 3. Add to jar files here. /framework/webapp/lib >>> 1.jasperreports-2.0.1-applet >>> 2.jasperreports-2.0.1 >>> >>> Then the dataimport login page is come but if i am trying to login >>> then it >>> show this type of error >>> >>> >>> The Following Errors Occurred: >>> Login for this application couldn't be completed (required >>> permissions >>> missing). >>> >>> I am using the derbby database. >>> >>> >>> >>> Ashish Vijaywargiya-4 wrote: >>>> >>>> Which dataimport component you are talking about ? >>>> >>>> -- >>>> Ashish >>>> >>>> On Tue, Jun 17, 2008 at 1:49 AM, gopalbi >>>> <[hidden email]> >>>> wrote: >>>> >>>>> >>>>> I want to add dataimport componment in ofbiz hot-deploy folder. >>>>> What step >>>>> i >>>>> will perform to add a component in ofbiz. >>>>> >>>>> Thanks & Reagrds: >>>>> Dev >>>>> -- >>>>> View this message in context: >>>>> http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17878595.html >>>>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>>>> >>>>> >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17879007.html >>> Sent from the OFBiz - User mailing list archive at Nabble.com. >>> >> >> >> > http://www.nabble.com/file/p17881697/CommonScreens.xml > CommonScreens.xml > http://www.nabble.com/file/p17881697/main-section-decorator.ftl > main-section-decorator.ftl > -- > View this message in context: http://www.nabble.com/Add-dataimport-componment-in-ofbiz-hot-deploy-folder.-tp17878595p17881697.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |