Thanks Scott and Yoke.

I've ran the ant run-install and tested it properly data is loaded
successfully but while I am running it through external Tomcat am getting
the problem of Theme data.



On Tue, Oct 6, 2009 at 6:29 AM, Yoke Power <[email protected]> wrote:

> Please confirm if you had run the run-install ant task
>
> - YOKEPOWER
>
> On Mon, Oct 5, 2009 at 7:40 PM, Scott Gray <[email protected]
> >wrote:
>
> > If I'm not wrong theme data is one of the first pieces of data that OFBiz
> > attempts to get from the database when a page is loaded and an error here
> is
> > usually indicative of something being wrong with your data setup.  Either
> > the data is not loaded like you think it is or OFBiz is having trouble
> > communicating with the database that contains your data.
> >
> > Regards
> > Scott
> >
> >
> > On 6/10/2009, at 3:16 AM, [email protected] wrote:
> >
> >  Friends,
> >>
> >> I have followed the steps to run OFBiz under external Tomcat as stated
> in
> >> this link:  http://docs.ofbiz.org/display/OFBTECH/Tomcat
> >>
> >> But when I am running catalina.bat, I getting following error  :
> >>
> >>
> >> 2009-10-05 17:30:28,248 (http-8080-1) [    TransactionUtil.java:371:WARN
> ]
> >> ---- exception report
> >> ----------------------------------------------------------
> >> [TransactionUtil.setRollbackOnly] Calling transaction setRollbackOnly;
> >> this stack trace shows where this is happening:
> >> Exception: java.lang.Exception
> >> Message: Error in simple-method [Get visual theme resources
> >>
> [file:/D:/dev/ofbiz-trunk/framework/common/script/org/ofbiz/common/CommonServices.xml
> >> #getVisualThemeResources]]: ; [Visual Theme resources not found.]
> >> ---- stack trace
> >> ---------------------------------------------------------------
> >> java.lang.Exception: Error in simple-method [Get visual theme resources
> >>
> [file:/D:/dev/ofbiz-trunk/framework/common/script/org/ofbiz/common/Common
> >> Services.xml#getVisualThemeResources]]: ; [Visual Theme resources not
> >> found.]
> >>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:371)
> >>
> >>
> org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:318)
> >> org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:833)
> >> org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
> >> org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:142)
> >>
> >>
> org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:78)
> >>
> >>
> org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:53)
> >>
> >>
> org.ofbiz.service.ModelServiceReader$GenericInvokerImpl.runSync(ModelServiceReader.java:785)
> >>
> >>
> _$gen.file_58$.D_58$.dev.ofbiz_45$trunk.framework.common.servicedef.services_46$xml_35$getVisualThemeResources.runSync(file:/D:/dev/ofbiz-trunk/f
> >> ramework/common/servicedef/services.xml#getVisualThemeResources:467)
> >> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:399)
> >> org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:228)
> >> org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:159)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreenAction$Service.runAction(ModelScreenAction.java:486)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreenAction.runSubActions(ModelScreenAction.java:118)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:264)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:701)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:180)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:271)
> >>
> >>
> org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:134)
> >> org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:96)
> >>
> >>
> org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:99)
> >>
> >>
> org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:808)
> >>
> org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:550)
> >> org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:221)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>
> >>
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
> >>
> >>
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> >>
> >>
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
> >>
> >>
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> >>
> >>
> org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:696)
> >>
> >>
> org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:667)
> >> org.apache.jsp.index_jsp._jspService(index_jsp.java:55)
> >> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>
> >>
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
> >> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
> >> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:265)
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >>
> >>
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >>
> >>
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >>
> >>
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>
> >>
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >>
> >>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >>
> >>
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >>
> >>
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
> >>
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
> >>
> >>
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
> >> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
> >> java.lang.Thread.run(Thread.java:619)
> >> -
> >>
> >> Its seems like data for Theme is not loaded, but I've checked it, data
> is
> >> loaded properly .
> >>
> >> I am also attaching the Error log file here. Can anyone provide me any
> >> pointer on this ?
> >>
> >>
> >> --
> >> Anil Soni
> >> +91-9930302283cell
> >>
> >> <errorLog.txt>
> >>
> >
> >
>



-- 
Anil Soni
+91-9930302283cell

Reply via email to