Starting problem with release 9.4

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

Starting problem with release 9.4

Abey Jacob
Hi,
I am fresh to OfBiz. I checked out the 4.0 code a few days back and did an Ant build using Eclipse. Finally I could run the ofbiz from my PC and do some tweakings. Ofcourse, with the help of a book by Janathan Wong.
Today I tried to do the same thing with release 9.4. It seems that the build went fine and ofbiz could be started. I got an error.log file  in 'runtime/logs' folder.  When I try to access ecommerce,  the following messages are thrown out in the browser.
--------------------org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#leftbar]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction and aborting
current operation; the rollbackOnly was caused by: Error in simple-method [Get
visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.] (The current transaction is marked for
rollback, not beginning a new transaction and aborting current operation; the
rollbackOnly was caused by: Error in simple-method [Get visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.])--------------
Anyone, please tell me what I should do to correct this problem and get ofbiz to run properly.
Thanks,Abey. 


Reply | Threaded
Open this post in threaded view
|

Re: Starting problem with release 9.4

Mridul Pathak-2
Looks like you haven't installed the data, did you run "ant run-install"?

--
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
[hidden email]
-------------------------------------------------
direct: +91 - 942.592.6892

On Tue, Nov 3, 2009 at 2:08 AM, Abey Jacob <[hidden email]> wrote:

> Hi,
> I am fresh to OfBiz. I checked out the 4.0 code a few days back and did an
> Ant build using Eclipse. Finally I could run the ofbiz from my PC and do
> some tweakings. Ofcourse, with the help of a book by Janathan Wong.
> Today I tried to do the same thing with release 9.4. It seems that the
> build went fine and ofbiz could be started. I got an error.log file  in
> 'runtime/logs' folder.  When I try to access ecommerce,  the following
> messages are thrown out in the browser.
> --------------------org.ofbiz.widget.screen.ScreenRenderException: Error
> rendering screen
> [component://ecommerce/widget/CommonScreens.xml#leftbar]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction and
> aborting
> current operation; the rollbackOnly was caused by: Error in simple-method
> [Get
> visual theme resources
>
> [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.] (The current transaction is marked
> for
> rollback, not beginning a new transaction and aborting current operation;
> the
> rollbackOnly was caused by: Error in simple-method [Get visual theme
> resources
>
> [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.])--------------
> Anyone, please tell me what I should do to correct this problem and get
> ofbiz to run properly.
> Thanks,Abey.
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Starting problem with release 9.4

"Петр Богданов"
In reply to this post by Abey Jacob


--- Исходное сообщение ---
От кого: Abey Jacob <[hidden email]>
Кому: [hidden email]
Дата: Nov 02, 2009  22:38:09
Тема: Starting problem with release 9.4

Hi,
 > I am fresh to OfBiz. I checked out the 4.0 code a few days back and did an Ant build using Eclipse. Finally I could run the ofbiz from my PC and do some tweakings. Ofcourse, with the help of a book by Janathan Wong.
 > Today I tried to do the same thing with release 9.4. It seems that the build went fine and ofbiz could be started. I got an error.log file  in 'runtime/logs' folder.  When I try to access ecommerce,  the following messages are thrown out in the browser.
 > --------------------org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
 > [component://ecommerce/widget/CommonScreens.xml#leftbar]:
 > org.ofbiz.entity.transaction.GenericTransactionException: The current
 > transaction is marked for rollback, not beginning a new transaction and aborting
 > current operation; the rollbackOnly was caused by: Error in simple-method [Get
 > visual theme resources
 > [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
 > ; [Visual Theme resources not found.] (The current transaction is marked for
 > rollback, not beginning a new transaction and aborting current operation; the
 > rollbackOnly was caused by: Error in simple-method [Get visual theme resources
 > [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
 > ; [Visual Theme resources not found.])--------------
 > Anyone, please tell me what I should do to correct this problem and get ofbiz to run properly.
 > Thanks,Abey. 
 >
 >




Reply | Threaded
Open this post in threaded view
|

Re[2]: Starting problem with release 9.4

"Петр Богданов"
In reply to this post by Mridul Pathak-2


--- Исходное сообщение ---
От кого: Mridul Pathak <[hidden email]>
Кому: [hidden email]
Дата: Nov 03, 2009  07:30:01
Тема: Re: Starting problem with release 9.4

Looks like you haven't installed the data, did you run "ant run-install"?
 >
 > --
 > Thanks & Regards
 > Mridul Pathak
 > Hotwax Media
 > http://www.hotwaxmedia.com
 > [hidden email]
 > -------------------------------------------------
 > direct: +91 - 942.592.6892
 >
 > On Tue, Nov 3, 2009 at 2:08 AM, Abey Jacob <[hidden email]> wrote:
 >
 > > Hi,
 > > I am fresh to OfBiz. I checked out the 4.0 code a few days back and did an
 > > Ant build using Eclipse. Finally I could run the ofbiz from my PC and do
 > > some tweakings. Ofcourse, with the help of a book by Janathan Wong.
 > > Today I tried to do the same thing with release 9.4. It seems that the
 > > build went fine and ofbiz could be started. I got an error.log file  in
 > > 'runtime/logs' folder.  When I try to access ecommerce,  the following
 > > messages are thrown out in the browser.
 > > --------------------org.ofbiz.widget.screen.ScreenRenderException: Error
 > > rendering screen
 > > [component://ecommerce/widget/CommonScreens.xml#leftbar]:
 > > org.ofbiz.entity.transaction.GenericTransactionException: The current
 > > transaction is marked for rollback, not beginning a new transaction and
 > > aborting
 > > current operation; the rollbackOnly was caused by: Error in simple-method
 > > [Get
 > > visual theme resources
 > >
 > > [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
 > > ; [Visual Theme resources not found.] (The current transaction is marked
 > > for
 > > rollback, not beginning a new transaction and aborting current operation;
 > > the
 > > rollbackOnly was caused by: Error in simple-method [Get visual theme
 > > resources
 > >
 > > [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
 > > ; [Visual Theme resources not found.])--------------
 > > Anyone, please tell me what I should do to correct this problem and get
 > > ofbiz to run properly.
 > > Thanks,Abey.
 > >
 > >
 > >
 >
 >




Reply | Threaded
Open this post in threaded view
|

Re: Starting problem with release 9.4

Abey Jacob
In reply to this post by Mridul Pathak-2
Hi Mridul,
Thanks for your time.
You mean the 'run-install' which is part of of the main build.xml ? If so that may get executed while I do the build; does it not ? Anyways to make sure, I have ran separatelyall the 3 run-installs in build.xml.  The result do not have any change. Let me give the full message  below.
I have followed exactly same procedure as in the case of  ofbiz 4.0.Does the java version 5.0 hold good for the newer ofbiz ? Is there anything I need to do differently in 9.4 vis-a-vis 4.0 ?

------------------------
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@307811
with arguments of types [java.lang.String,] The problematic instruction:
---------- ==>
${screens.render("component://ecommerce/widget/CartScreens.xml#microcart")} [on
line 33, column 7 in component://ecommerce/webapp/ecommerce/includes/header.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@307811
with arguments of types [java.lang.String,] 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:209) at
freemarker.core.MixedContent.accept(MixedContent.java:92) at
freemarker.core.Environment.visit(Environment.java:209) at
freemarker.core.Environment.process(Environment.java:189) at
org.ofbiz.base.util.template.FreeMarkerWorker.renderTemplate(FreeMarkerWorker.java:205)
at org.ofbiz.widget.screen.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:201) at
org.ofbiz.widget.screen.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:245)
at org.ofbiz.widget.screen.HtmlWidget.renderWidgetString(HtmlWidget.java:107) at
org.ofbiz.widget.screen.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:976)
at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
at
org.ofbiz.widget.screen.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:646)
at
org.ofbiz.widget.screen.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:138)
at
org.ofbiz.widget.screen.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:227)
at org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:393)
at org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:132) at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:92) at
org.ofbiz.widget.screen.ScreenWidgetViewHandler.render(ScreenWidgetViewHandler.java:98)
at org.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:789)
at org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:533) at
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:201) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:694)
at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:665)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:56) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:259) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:568) at
org.ofbiz.catalina.container.CrossSubdomainSessionValve.invoke(CrossSubdomainSessionValve.java:62)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at
java.lang.Thread.run(Thread.java:595) Caused by:
org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://ecommerce/widget/CartScreens.xml#microcart]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction and aborting
current operation; the rollbackOnly was caused by: Error in simple-method [Get
visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.] (The current transaction is marked for
rollback, not beginning a new transaction and aborting current operation; the
rollbackOnly was caused by: Error in simple-method [Get visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.]) at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:420) at
org.ofbiz.widget.screen.ScreenRenderer.render(ScreenRenderer.java:132) 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:840) at
freemarker.ext.beans.OverloadedMethodModel.exec(OverloadedMethodModel.java:104)
... 60 more Caused by: org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not beginning a new transaction
and aborting current operation; the rollbackOnly was caused by: Error in
simple-method [Get visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.] at
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:109) at
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:81) at
org.ofbiz.widget.screen.ModelScreen.renderScreenString(ModelScreen.java:386) ...
68 more Error rendering included template at location
[component://ecommerce/webapp/ecommerce/includes/header.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@307811
with arguments of types [java.lang.String,]











:ERROR MESSAGE:


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://ecommerce/widget/CommonScreens.xml#leftbar]:
org.ofbiz.entity.transaction.GenericTransactionException: The current
transaction is marked for rollback, not beginning a new transaction and aborting
current operation; the rollbackOnly was caused by: Error in simple-method [Get
visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.] (The current transaction is marked for
rollback, not beginning a new transaction and aborting current operation; the
rollbackOnly was caused by: Error in simple-method [Get visual theme resources
[file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.])
--------------------------
Thanks,Abey.

--- On Tue, 3/11/09, Mridul Pathak <[hidden email]> wrote:

From: Mridul Pathak <[hidden email]>
Subject: Re: Starting problem with release 9.4
To: [hidden email]
Date: Tuesday, 3 November, 2009, 10:30 AM

Looks like you haven't installed the data, did you run "ant run-install"?

--
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
[hidden email]
-------------------------------------------------
direct: +91 - 942.592.6892

On Tue, Nov 3, 2009 at 2:08 AM, Abey Jacob <[hidden email]> wrote:

> Hi,
> I am fresh to OfBiz. I checked out the 4.0 code a few days back and did an
> Ant build using Eclipse. Finally I could run the ofbiz from my PC and do
> some tweakings. Ofcourse, with the help of a book by Janathan Wong.
> Today I tried to do the same thing with release 9.4. It seems that the
> build went fine and ofbiz could be started. I got an error.log file  in
> 'runtime/logs' folder.  When I try to access ecommerce,  the following
> messages are thrown out in the browser.
> --------------------org.ofbiz.widget.screen.ScreenRenderException: Error
> rendering screen
> [component://ecommerce/widget/CommonScreens.xml#leftbar]:
> org.ofbiz.entity.transaction.GenericTransactionException: The current
> transaction is marked for rollback, not beginning a new transaction and
> aborting
> current operation; the rollbackOnly was caused by: Error in simple-method
> [Get
> visual theme resources
>
> [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.] (The current transaction is marked
> for
> rollback, not beginning a new transaction and aborting current operation;
> the
> rollbackOnly was caused by: Error in simple-method [Get visual theme
> resources
>
> [file:/C:/Workspace/release09.04/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.])--------------
> Anyone, please tell me what I should do to correct this problem and get
> ofbiz to run properly.
> Thanks,Abey.
>
>
>