OFBiz no start

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

OFBiz no start

Zibfo
Hi all,

 

My installation of OFBiz hangs during startup. No msg, just hangs at 91%.

CPU usage for this process drops from 99% to 0% at this point.

On console: right after the bit about BIRT filetypes, then BIRT container
loaded, then hang.

 

Pertinent logfiles:

https://peak.neocities.org/logs/error.log.txt

https://peak.neocities.org/logs/ofbiz.log.txt

https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt

 

Test system:

Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem

FreeBSD 11.0-RELEASE-p1

Openjdk version 1.8.0_102

Openjdk RE 1.8.0_102-b14

Openjdk Server build 25.102-b14

OFBiz release16.11 installed by svn

 

Thanks in advance,

Max

 

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Michael Brohl-3
Hey Max,

thanks for the report. The Gradle status line is a bit misleading here.
OFBiz is fully started and should be usable for you, as the log states:

2017-01-06 19:08:19,773 |main                 |CatalinaContainer             |I| Started Apache Tomcat/8.0.39
2017-01-06 19:08:19,773 |main                 |ContainerLoader               |I| Started container catalina-container
2017-01-06 19:08:19,773 |main                 |ContainerLoader               |I| Starting container birt-container
2017-01-06 19:08:19,774 |main                 |BirtContainer                 |I| Start BIRT container
2017-01-06 19:08:19,819 |main                 |BirtContainer                 |I| Startup BIRT platform
2017-01-06 19:08:30,441 |main                 |BirtContainer                 |I| Create factory object
2017-01-06 19:08:30,570 |main                 |BirtContainer                 |I| Create report engine
2017-01-06 19:08:32,012 |main                 |BirtContainer                 |I| BIRT supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc, html, odp, xls, odt, ods
2017-01-06 19:08:32,014 |main                 |ContainerLoader               |I| Started container birt-container

This has already been addressed but no solution is ready at the moment
to show 100% after startup.

Regards,

Michael


Am 08.01.17 um 02:21 schrieb Max Peak:

> Hi all,
>
>  
>
> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>
> CPU usage for this process drops from 99% to 0% at this point.
>
> On console: right after the bit about BIRT filetypes, then BIRT container
> loaded, then hang.
>
>  
>
> Pertinent logfiles:
>
> https://peak.neocities.org/logs/error.log.txt
>
> https://peak.neocities.org/logs/ofbiz.log.txt
>
> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>
>  
>
> Test system:
>
> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>
> FreeBSD 11.0-RELEASE-p1
>
> Openjdk version 1.8.0_102
>
> Openjdk RE 1.8.0_102-b14
>
> Openjdk Server build 25.102-b14
>
> OFBiz release16.11 installed by svn
>
>  
>
> Thanks in advance,
>
> Max
>
>  
>
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

David McNeill
I had the same issue on a clean install, good to see it's not broken.

2017-01-09 19:39:22,618 |main |ContainerLoader               |I| Started
container birt-container
 > Building 92% > :ofbiz

David


On 08/01/17 22:33, Michael Brohl wrote:

> Hey Max,
>
> thanks for the report. The Gradle status line is a bit misleading
> here. OFBiz is fully started and should be usable for you, as the log
> states:
>
> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I|
> Started Apache Tomcat/8.0.39
> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I|
> Started container catalina-container
> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I|
> Starting container birt-container
> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I| Start
> BIRT container
> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I|
> Startup BIRT platform
> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I|
> Create factory object
> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I|
> Create report engine
> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT
> supported formats: xlsx, postscript, docx, pptx, pdf, ppt,
> xls_spudsoft, doc, html, odp, xls, odt, ods
> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I|
> Started container birt-container
>
> This has already been addressed but no solution is ready at the moment
> to show 100% after startup.
>
> Regards,
>
> Michael
>
>
> Am 08.01.17 um 02:21 schrieb Max Peak:
>> Hi all,
>>
>>
>> My installation of OFBiz hangs during startup. No msg, just hangs at
>> 91%.
>>
>> CPU usage for this process drops from 99% to 0% at this point.
>>
>> On console: right after the bit about BIRT filetypes, then BIRT
>> container
>> loaded, then hang.
>>
>>
>> Pertinent logfiles:
>>
>> https://peak.neocities.org/logs/error.log.txt
>>
>> https://peak.neocities.org/logs/ofbiz.log.txt
>>
>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>
>>
>> Test system:
>>
>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>
>> FreeBSD 11.0-RELEASE-p1
>>
>> Openjdk version 1.8.0_102
>>
>> Openjdk RE 1.8.0_102-b14
>>
>> Openjdk Server build 25.102-b14
>>
>> OFBiz release16.11 installed by svn
>>
>>
>> Thanks in advance,
>>
>> Max
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Craig Parker
In reply to this post by Michael Brohl-3
I'm also stuck at 91%, but getting errors and can't get into ofbiz. I
performed these steps:

Downloaded ofbiz
mv ~/Downloads/apache-ofbiz-16.11.01.zip /
mv /apache-ofbiz-16.11.01.zip /ofbiz
useradd -m ofbiz
chown -R ofbiz:ofbiz /ofbiz
su - ofbiz
cd /ofbiz
./gradlew ofbiz
  -seems to download a bunch of stuff, then populate a database
  -errored out

The error.log sayeth:

2017-01-10 22:58:31,653 |http-nio-8443-exec-3
|Log                           |E|
[CommonServices.xml#getVisualThemeResources line 216] Could not find the
'' theme, reverting back to the good old OFBiz theme...
2017-01-10 22:58:31,695 |http-nio-8443-exec-3
|ServiceDispatcher             |E| Error in Service
[getVisualThemeResources]: Visual Theme resources not found.
2017-01-10 22:58:31,895 |http-nio-8443-exec-3
|ModelScreen                   |E| Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty. Rolling
back transaction.
2017-01-10 22:58:31,895 |http-nio-8443-exec-3
|ModelScreen                   |E| Error rendering screen
[component://webtools/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty). Rolling back transaction.
2017-01-10 22:58:31,897 |http-nio-8443-exec-3
|ModelScreen                   |E| Error rendering screen
[component://webtools/widget/CommonScreens.xml#main]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty)). Rolling back transaction.
2017-01-10 22:58:31,902 |http-nio-8443-exec-3
|ControlServlet                |E| Error in request handler:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://webtools/widget/CommonScreens.xml#main]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty)) (Error rendering screen
[component://webtools/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty)))
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandler.render(MacroScreenViewHandler.java:157)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)
[ofbiz.jar:?]
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
[javax.servlet-api-3.1.0.jar:3.1.0]
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[javax.servlet-api-3.1.0.jar:3.1.0]
     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
[tomcat-embed-websocket-8.0.36.jar:8.0.36]
     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
[ofbiz.jar:?]
     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
[ofbiz.jar:?]
     at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
[tomcat-catalina-8.0.37.jar:8.0.37]
     at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1100)
[tomcat-coyote-8.0.37.jar:8.0.37]
     at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:687)
[tomcat-coyote-8.0.37.jar:8.0.37]
     at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
[tomcat-coyote-8.0.37.jar:8.0.37]
     at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
[tomcat-coyote-8.0.37.jar:8.0.37]
     at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_111]
     at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_111]
     at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
[tomcat-util-8.0.37.jar:8.0.37]
     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
rendering screen
[component://webtools/widget/CommonScreens.xml#main-decorator]:
org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty) (Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty))
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
~[ofbiz.jar:?]
     ... 35 more
Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
java.lang.IllegalArgumentException: Template location is empty (Template
location is empty)
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
~[ofbiz.jar:?]
     ... 35 more
Caused by: java.lang.IllegalArgumentException: Template location is empty
     at
org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:149)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.renderWidgetString(HtmlWidget.java:215)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpecific.renderWidgetString(ModelScreenWidget.java:1321)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScreen.renderWidgetString(ModelScreenWidget.java:780)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScreen.renderWidgetString(ModelScreenWidget.java:860)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWidgetsString(ModelScreenWidget.java:98)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreenWidget$Section.renderWidgetString(ModelScreenWidget.java:280)
~[ofbiz.jar:?]
     at
org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
~[ofbiz.jar:?]
     ... 35 more
2017-01-10 22:58:31,915 |http-nio-8443-exec-3
|ControlServlet                |E| An error occurred, going to the
errorPage: /error/error.jsp
2017-01-10 22:58:31,920 |http-nio-8443-exec-3
|ControlServlet                |E| Including errorPage: /error/error.jsp



Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

taher
Hi Craig,

The reason for the errors is that you're not preparing the system properly.
You need follow the instructions in README.md, specifically:

./gradlew cleanAll loadDefault
./gradlew ofbiz

The first command will take some time to populate the embedded database.
Once that is done, starting the system will not produce the errors you're
encountering.

Cheers,

Taher Alkhateeb

On Wed, Jan 11, 2017 at 7:02 AM, Craig Parker <[hidden email]> wrote:

> I'm also stuck at 91%, but getting errors and can't get into ofbiz. I
> performed these steps:
>
> Downloaded ofbiz
> mv ~/Downloads/apache-ofbiz-16.11.01.zip /
> mv /apache-ofbiz-16.11.01.zip /ofbiz
> useradd -m ofbiz
> chown -R ofbiz:ofbiz /ofbiz
> su - ofbiz
> cd /ofbiz
> ./gradlew ofbiz
>  -seems to download a bunch of stuff, then populate a database
>  -errored out
>
> The error.log sayeth:
>
> 2017-01-10 22:58:31,653 |http-nio-8443-exec-3 |Log
>    |E| [CommonServices.xml#getVisualThemeResources line 216] Could not
> find the '' theme, reverting back to the good old OFBiz theme...
> 2017-01-10 22:58:31,695 |http-nio-8443-exec-3 |ServiceDispatcher
>    |E| Error in Service [getVisualThemeResources]: Visual Theme resources
> not found.
> 2017-01-10 22:58:31,895 |http-nio-8443-exec-3 |ModelScreen
>    |E| Error rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty. Rolling back transaction.
> 2017-01-10 22:58:31,895 |http-nio-8443-exec-3 |ModelScreen
>    |E| Error rendering screen [component://webtools/widget/C
> ommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException:
> Error rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty (Template location is empty). Rolling back
> transaction.
> 2017-01-10 22:58:31,897 |http-nio-8443-exec-3 |ModelScreen
>    |E| Error rendering screen [component://webtools/widget/CommonScreens.xml#main]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.IllegalArgumentException: Template location is empty (Template
> location is empty) (Error rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty (Template location is empty)). Rolling back
> transaction.
> 2017-01-10 22:58:31,902 |http-nio-8443-exec-3 |ControlServlet
>   |E| Error in request handler:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://webtools/widget/CommonScreens.xml#main]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.IllegalArgumentException: Template location is empty (Template
> location is empty) (Error rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty (Template location is empty)) (Error rendering
> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.IllegalArgumentException: Template location is empty (Template
> location is empty) (Error rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty (Template location is empty)))
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandle
> r.render(MacroScreenViewHandler.java:157) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)
> [ofbiz.jar:?]
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
> [javax.servlet-api-3.1.0.jar:3.1.0]
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
> [javax.servlet-api-3.1.0.jar:3.1.0]
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:292) [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> [tomcat-embed-websocket-8.0.36.jar:8.0.36]
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:240) [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
> [ofbiz.jar:?]
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:240) [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
> [ofbiz.jar:?]
>     at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
> lter(ApplicationFilterChain.java:240) [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
> [tomcat-catalina-8.0.37.jar:8.0.37]
>     at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
> tractHttp11Processor.java:1100) [tomcat-coyote-8.0.37.jar:8.0.37]
>     at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
> .process(AbstractProtocol.java:687) [tomcat-coyote-8.0.37.jar:8.0.37]
>     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
> [tomcat-coyote-8.0.37.jar:8.0.37]
>     at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
> [tomcat-coyote-8.0.37.jar:8.0.37]
>     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_111]
>     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_111]
>     at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
> [tomcat-util-8.0.37.jar:8.0.37]
>     at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
> Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
> rendering screen [component://webtools/widget/C
> ommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException:
> Error rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty (Template location is empty) (Error rendering
> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
> java.lang.IllegalArgumentException: Template location is empty (Template
> location is empty))
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
> ~[ofbiz.jar:?]
>     ... 35 more
> Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
> rendering screen [component://common/widget/Com
> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
> Template location is empty (Template location is empty)
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScree
> n.renderWidgetString(ModelScreenWidget.java:780) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
> ~[ofbiz.jar:?]
>     ... 35 more
> Caused by: java.lang.IllegalArgumentException: Template location is empty
>     at org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:149)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.render
> WidgetString(HtmlWidget.java:215) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpec
> ific.renderWidgetString(ModelScreenWidget.java:1321) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScree
> n.renderWidgetString(ModelScreenWidget.java:780) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
> ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>     at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
> ~[ofbiz.jar:?]
>     ... 35 more
> 2017-01-10 22:58:31,915 |http-nio-8443-exec-3 |ControlServlet
>   |E| An error occurred, going to the errorPage: /error/error.jsp
> 2017-01-10 22:58:31,920 |http-nio-8443-exec-3 |ControlServlet
>   |E| Including errorPage: /error/error.jsp
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Jacques Le Roux
Administrator
In reply to this post by Michael Brohl-3
Before we fix this issue (possible?) I think we should put a note in the main README.MD, maybe even a sentence in what Gradle shows on screen.

Just before "Start.java using configuration file org/apache/ofbiz/base/start/start.properties" ?

I wonder if we could not even put a word in the download page and in the wiki?

Opinions?

Jacques


Le 08/01/2017 à 10:33, Michael Brohl a écrit :

> Hey Max,
>
> thanks for the report. The Gradle status line is a bit misleading here. OFBiz is fully started and should be usable for you, as the log states:
>
> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I| Started Apache Tomcat/8.0.39
> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Started container catalina-container
> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Starting container birt-container
> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I| Start BIRT container
> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I| Startup BIRT platform
> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I| Create factory object
> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I| Create report engine
> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc,
> html, odp, xls, odt, ods
> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I| Started container birt-container
>
> This has already been addressed but no solution is ready at the moment to show 100% after startup.
>
> Regards,
>
> Michael
>
>
> Am 08.01.17 um 02:21 schrieb Max Peak:
>> Hi all,
>>
>>
>> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>>
>> CPU usage for this process drops from 99% to 0% at this point.
>>
>> On console: right after the bit about BIRT filetypes, then BIRT container
>> loaded, then hang.
>>
>>
>> Pertinent logfiles:
>>
>> https://peak.neocities.org/logs/error.log.txt
>>
>> https://peak.neocities.org/logs/ofbiz.log.txt
>>
>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>
>>
>> Test system:
>>
>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>
>> FreeBSD 11.0-RELEASE-p1
>>
>> Openjdk version 1.8.0_102
>>
>> Openjdk RE 1.8.0_102-b14
>>
>> Openjdk Server build 25.102-b14
>>
>> OFBiz release16.11 installed by svn
>>
>>
>> Thanks in advance,
>>
>> Max
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

taher
I don't think it's really worth it for such a minor thing. I do think,
however, that the README.md file should quickly get users to the "Quick
Start" section to avoid confusion. So the whole "Security" header should go
way down in the file near perhaps the Crypto notice so that people
immediately see the quick start steps before anything else.

On Wed, Jan 11, 2017 at 10:45 AM, Jacques Le Roux <
[hidden email]> wrote:

> Before we fix this issue (possible?) I think we should put a note in the
> main README.MD, maybe even a sentence in what Gradle shows on screen.
>
> Just before "Start.java using configuration file
> org/apache/ofbiz/base/start/start.properties" ?
>
> I wonder if we could not even put a word in the download page and in the
> wiki?
>
> Opinions?
>
> Jacques
>
>
>
> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>
>> Hey Max,
>>
>> thanks for the report. The Gradle status line is a bit misleading here.
>> OFBiz is fully started and should be usable for you, as the log states:
>>
>> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I| Started
>> Apache Tomcat/8.0.39
>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Started
>> container catalina-container
>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Starting
>> container birt-container
>> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I| Start
>> BIRT container
>> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I| Startup
>> BIRT platform
>> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I| Create
>> factory object
>> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I| Create
>> report engine
>> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT
>> supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft,
>> doc, html, odp, xls, odt, ods
>> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I| Started
>> container birt-container
>>
>> This has already been addressed but no solution is ready at the moment to
>> show 100% after startup.
>>
>> Regards,
>>
>> Michael
>>
>>
>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>
>>> Hi all,
>>>
>>>
>>> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>>>
>>> CPU usage for this process drops from 99% to 0% at this point.
>>>
>>> On console: right after the bit about BIRT filetypes, then BIRT container
>>> loaded, then hang.
>>>
>>>
>>> Pertinent logfiles:
>>>
>>> https://peak.neocities.org/logs/error.log.txt
>>>
>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>
>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>
>>>
>>> Test system:
>>>
>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>
>>> FreeBSD 11.0-RELEASE-p1
>>>
>>> Openjdk version 1.8.0_102
>>>
>>> Openjdk RE 1.8.0_102-b14
>>>
>>> Openjdk Server build 25.102-b14
>>>
>>> OFBiz release16.11 installed by svn
>>>
>>>
>>> Thanks in advance,
>>>
>>> Max
>>>
>>>
>>>
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Jacques Le Roux
Administrator
It's a minor but recurrent thing, we should not neglect it. Some of our users wonder and that's not good for new users especially the rushing ones.

Nevertheless, in the meantime +1 for your proposition even if it's only loosely related and do not an answer to my questions

Other opinions?

Jacques


Le 11/01/2017 à 08:51, Taher Alkhateeb a écrit :

> I don't think it's really worth it for such a minor thing. I do think,
> however, that the README.md file should quickly get users to the "Quick
> Start" section to avoid confusion. So the whole "Security" header should go
> way down in the file near perhaps the Crypto notice so that people
> immediately see the quick start steps before anything else.
>
> On Wed, Jan 11, 2017 at 10:45 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Before we fix this issue (possible?) I think we should put a note in the
>> main README.MD, maybe even a sentence in what Gradle shows on screen.
>>
>> Just before "Start.java using configuration file
>> org/apache/ofbiz/base/start/start.properties" ?
>>
>> I wonder if we could not even put a word in the download page and in the
>> wiki?
>>
>> Opinions?
>>
>> Jacques
>>
>>
>>
>> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>>
>>> Hey Max,
>>>
>>> thanks for the report. The Gradle status line is a bit misleading here.
>>> OFBiz is fully started and should be usable for you, as the log states:
>>>
>>> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I| Started
>>> Apache Tomcat/8.0.39
>>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Started
>>> container catalina-container
>>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Starting
>>> container birt-container
>>> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I| Start
>>> BIRT container
>>> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I| Startup
>>> BIRT platform
>>> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I| Create
>>> factory object
>>> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I| Create
>>> report engine
>>> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT
>>> supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft,
>>> doc, html, odp, xls, odt, ods
>>> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I| Started
>>> container birt-container
>>>
>>> This has already been addressed but no solution is ready at the moment to
>>> show 100% after startup.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>>
>>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>>
>>>> Hi all,
>>>>
>>>>
>>>> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>>>>
>>>> CPU usage for this process drops from 99% to 0% at this point.
>>>>
>>>> On console: right after the bit about BIRT filetypes, then BIRT container
>>>> loaded, then hang.
>>>>
>>>>
>>>> Pertinent logfiles:
>>>>
>>>> https://peak.neocities.org/logs/error.log.txt
>>>>
>>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>>
>>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>>
>>>>
>>>> Test system:
>>>>
>>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>>
>>>> FreeBSD 11.0-RELEASE-p1
>>>>
>>>> Openjdk version 1.8.0_102
>>>>
>>>> Openjdk RE 1.8.0_102-b14
>>>>
>>>> Openjdk Server build 25.102-b14
>>>>
>>>> OFBiz release16.11 installed by svn
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> Max
>>>>
>>>>
>>>>
>>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Jacques Le Roux
Administrator
In reply to this post by Michael Brohl-3
Hi Michael,

You said "This has already been addressed but no solution is ready at the moment to show 100% after startup."

Do you have a reference about this work? I think we should definitely try to see if it's possible or not

Jacques


Le 08/01/2017 à 10:33, Michael Brohl a écrit :

> Hey Max,
>
> thanks for the report. The Gradle status line is a bit misleading here. OFBiz is fully started and should be usable for you, as the log states:
>
> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I| Started Apache Tomcat/8.0.39
> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Started container catalina-container
> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Starting container birt-container
> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I| Start BIRT container
> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I| Startup BIRT platform
> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I| Create factory object
> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I| Create report engine
> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc,
> html, odp, xls, odt, ods
> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I| Started container birt-container
>
> This has already been addressed but no solution is ready at the moment to show 100% after startup.
>
> Regards,
>
> Michael
>
>
> Am 08.01.17 um 02:21 schrieb Max Peak:
>> Hi all,
>>
>>
>> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>>
>> CPU usage for this process drops from 99% to 0% at this point.
>>
>> On console: right after the bit about BIRT filetypes, then BIRT container
>> loaded, then hang.
>>
>>
>> Pertinent logfiles:
>>
>> https://peak.neocities.org/logs/error.log.txt
>>
>> https://peak.neocities.org/logs/ofbiz.log.txt
>>
>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>
>>
>> Test system:
>>
>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>
>> FreeBSD 11.0-RELEASE-p1
>>
>> Openjdk version 1.8.0_102
>>
>> Openjdk RE 1.8.0_102-b14
>>
>> Openjdk Server build 25.102-b14
>>
>> OFBiz release16.11 installed by svn
>>
>>
>> Thanks in advance,
>>
>> Max
>>
>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Michael Brohl-3
I vaguely remember that this was discussed either in the mailing list or
in the Jira issues for the Gradle migration, but have no time for
further research at the moment.

Michael


Am 11.01.17 um 09:57 schrieb Jacques Le Roux:

> Hi Michael,
>
> You said "This has already been addressed but no solution is ready at
> the moment to show 100% after startup."
>
> Do you have a reference about this work? I think we should definitely
> try to see if it's possible or not
>
> Jacques
>
>
> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>> Hey Max,
>>
>> thanks for the report. The Gradle status line is a bit misleading
>> here. OFBiz is fully started and should be usable for you, as the log
>> states:
>>
>> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I|
>> Started Apache Tomcat/8.0.39
>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I|
>> Started container catalina-container
>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I|
>> Starting container birt-container
>> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I|
>> Start BIRT container
>> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I|
>> Startup BIRT platform
>> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I|
>> Create factory object
>> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I|
>> Create report engine
>> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT
>> supported formats: xlsx, postscript, docx, pptx, pdf, ppt,
>> xls_spudsoft, doc, html, odp, xls, odt, ods
>> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I|
>> Started container birt-container
>>
>> This has already been addressed but no solution is ready at the
>> moment to show 100% after startup.
>>
>> Regards,
>>
>> Michael
>>
>>
>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>> Hi all,
>>>
>>>
>>> My installation of OFBiz hangs during startup. No msg, just hangs at
>>> 91%.
>>>
>>> CPU usage for this process drops from 99% to 0% at this point.
>>>
>>> On console: right after the bit about BIRT filetypes, then BIRT
>>> container
>>> loaded, then hang.
>>>
>>>
>>> Pertinent logfiles:
>>>
>>> https://peak.neocities.org/logs/error.log.txt
>>>
>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>
>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>
>>>
>>> Test system:
>>>
>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>
>>> FreeBSD 11.0-RELEASE-p1
>>>
>>> Openjdk version 1.8.0_102
>>>
>>> Openjdk RE 1.8.0_102-b14
>>>
>>> Openjdk Server build 25.102-b14
>>>
>>> OFBiz release16.11 installed by svn
>>>
>>>
>>> Thanks in advance,
>>>
>>> Max
>>>
>>>
>>>
>>
>>
>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Jacques Le Roux
Administrator
Taher,

Do you remember any related efforts?

Thanks


Le 11/01/2017 à 12:10, Michael Brohl a écrit :

> I vaguely remember that this was discussed either in the mailing list or in the Jira issues for the Gradle migration, but have no time for further
> research at the moment.
>
> Michael
>
>
> Am 11.01.17 um 09:57 schrieb Jacques Le Roux:
>> Hi Michael,
>>
>> You said "This has already been addressed but no solution is ready at the moment to show 100% after startup."
>>
>> Do you have a reference about this work? I think we should definitely try to see if it's possible or not
>>
>> Jacques
>>
>>
>> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>>> Hey Max,
>>>
>>> thanks for the report. The Gradle status line is a bit misleading here. OFBiz is fully started and should be usable for you, as the log states:
>>>
>>> 2017-01-06 19:08:19,773 |main |CatalinaContainer |I| Started Apache Tomcat/8.0.39
>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Started container catalina-container
>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Starting container birt-container
>>> 2017-01-06 19:08:19,774 |main |BirtContainer |I| Start BIRT container
>>> 2017-01-06 19:08:19,819 |main |BirtContainer |I| Startup BIRT platform
>>> 2017-01-06 19:08:30,441 |main |BirtContainer |I| Create factory object
>>> 2017-01-06 19:08:30,570 |main |BirtContainer |I| Create report engine
>>> 2017-01-06 19:08:32,012 |main |BirtContainer |I| BIRT supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc, html, odp,
>>> xls, odt, ods
>>> 2017-01-06 19:08:32,014 |main |ContainerLoader |I| Started container birt-container
>>>
>>> This has already been addressed but no solution is ready at the moment to show 100% after startup.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>>
>>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>>> Hi all,
>>>>
>>>>
>>>> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>>>>
>>>> CPU usage for this process drops from 99% to 0% at this point.
>>>>
>>>> On console: right after the bit about BIRT filetypes, then BIRT container
>>>> loaded, then hang.
>>>>
>>>>
>>>> Pertinent logfiles:
>>>>
>>>> https://peak.neocities.org/logs/error.log.txt
>>>>
>>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>>
>>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>>
>>>>
>>>> Test system:
>>>>
>>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>>
>>>> FreeBSD 11.0-RELEASE-p1
>>>>
>>>> Openjdk version 1.8.0_102
>>>>
>>>> Openjdk RE 1.8.0_102-b14
>>>>
>>>> Openjdk Server build 25.102-b14
>>>>
>>>> OFBiz release16.11 installed by svn
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> Max
>>>>
>>>>
>>>>
>>>
>>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

taher
Hi Jacques,

I don't recall either. If you find this imortant, however, then maybe we
can just add a comment somewhere in README.md that says if you start OFBiz
then ignore the % progress indicator because this task does not end as long
as OFBiz is running.

On Jan 11, 2017 4:08 PM, "Jacques Le Roux" <[hidden email]>
wrote:

> Taher,
>
> Do you remember any related efforts?
>
> Thanks
>
>
> Le 11/01/2017 à 12:10, Michael Brohl a écrit :
>
>> I vaguely remember that this was discussed either in the mailing list or
>> in the Jira issues for the Gradle migration, but have no time for further
>> research at the moment.
>>
>> Michael
>>
>>
>> Am 11.01.17 um 09:57 schrieb Jacques Le Roux:
>>
>>> Hi Michael,
>>>
>>> You said "This has already been addressed but no solution is ready at
>>> the moment to show 100% after startup."
>>>
>>> Do you have a reference about this work? I think we should definitely
>>> try to see if it's possible or not
>>>
>>> Jacques
>>>
>>>
>>> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>>>
>>>> Hey Max,
>>>>
>>>> thanks for the report. The Gradle status line is a bit misleading here.
>>>> OFBiz is fully started and should be usable for you, as the log states:
>>>>
>>>> 2017-01-06 19:08:19,773 |main |CatalinaContainer |I| Started Apache
>>>> Tomcat/8.0.39
>>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Started container
>>>> catalina-container
>>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Starting container
>>>> birt-container
>>>> 2017-01-06 19:08:19,774 |main |BirtContainer |I| Start BIRT container
>>>> 2017-01-06 19:08:19,819 |main |BirtContainer |I| Startup BIRT platform
>>>> 2017-01-06 19:08:30,441 |main |BirtContainer |I| Create factory object
>>>> 2017-01-06 19:08:30,570 |main |BirtContainer |I| Create report engine
>>>> 2017-01-06 19:08:32,012 |main |BirtContainer |I| BIRT supported
>>>> formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc, html,
>>>> odp, xls, odt, ods
>>>> 2017-01-06 19:08:32,014 |main |ContainerLoader |I| Started container
>>>> birt-container
>>>>
>>>> This has already been addressed but no solution is ready at the moment
>>>> to show 100% after startup.
>>>>
>>>> Regards,
>>>>
>>>> Michael
>>>>
>>>>
>>>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>>>
>>>>> Hi all,
>>>>>
>>>>>
>>>>> My installation of OFBiz hangs during startup. No msg, just hangs at
>>>>> 91%.
>>>>>
>>>>> CPU usage for this process drops from 99% to 0% at this point.
>>>>>
>>>>> On console: right after the bit about BIRT filetypes, then BIRT
>>>>> container
>>>>> loaded, then hang.
>>>>>
>>>>>
>>>>> Pertinent logfiles:
>>>>>
>>>>> https://peak.neocities.org/logs/error.log.txt
>>>>>
>>>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>>>
>>>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>>>
>>>>>
>>>>> Test system:
>>>>>
>>>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>>>
>>>>> FreeBSD 11.0-RELEASE-p1
>>>>>
>>>>> Openjdk version 1.8.0_102
>>>>>
>>>>> Openjdk RE 1.8.0_102-b14
>>>>>
>>>>> Openjdk Server build 25.102-b14
>>>>>
>>>>> OFBiz release16.11 installed by svn
>>>>>
>>>>>
>>>>> Thanks in advance,
>>>>>
>>>>> Max
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Started OFBiz, but...

Craig Parker
Another little snafoo... I'm on Mint but used the debian init script
(because that was what worked in ofbiz 13.x) and it won't start unless I
stick absolute paths in the file. In line 75 for instance:

gradlew ofbiz >>$OFBIZ_LOG 2>>$OFBIZ_LOG&

I needed /ofbiz/gradlew >> ...

Just because the Linux user that's firing this up doesn't have /ofbiz in
his path?

Is there a log somewhere I can watch to see that ofbiz is up and running
totally? The ERP company I work for now has a boot log somewhere and I
watch for a line about "removing bootstrap log handlers" to know when
jboss has finished doing its thing and the software is ready to go. Just
looking for an equivalent if there is one.

On 01/11/2017 08:12 AM, Taher Alkhateeb wrote:

> Hi Jacques,
>
> I don't recall either. If you find this imortant, however, then maybe we
> can just add a comment somewhere in README.md that says if you start OFBiz
> then ignore the % progress indicator because this task does not end as long
> as OFBiz is running.
>
> On Jan 11, 2017 4:08 PM, "Jacques Le Roux" <[hidden email]>
> wrote:
>
>> Taher,
>>
>> Do you remember any related efforts?
>>
>> Thanks
>>
>>
>> Le 11/01/2017 à 12:10, Michael Brohl a écrit :
>>
>>> I vaguely remember that this was discussed either in the mailing list or
>>> in the Jira issues for the Gradle migration, but have no time for further
>>> research at the moment.
>>>
>>> Michael
>>>
>>>
>>> Am 11.01.17 um 09:57 schrieb Jacques Le Roux:
>>>
>>>> Hi Michael,
>>>>
>>>> You said "This has already been addressed but no solution is ready at
>>>> the moment to show 100% after startup."
>>>>
>>>> Do you have a reference about this work? I think we should definitely
>>>> try to see if it's possible or not
>>>>
>>>> Jacques
>>>>
>>>>
>>>> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>>>>
>>>>> Hey Max,
>>>>>
>>>>> thanks for the report. The Gradle status line is a bit misleading here.
>>>>> OFBiz is fully started and should be usable for you, as the log states:
>>>>>
>>>>> 2017-01-06 19:08:19,773 |main |CatalinaContainer |I| Started Apache
>>>>> Tomcat/8.0.39
>>>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Started container
>>>>> catalina-container
>>>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Starting container
>>>>> birt-container
>>>>> 2017-01-06 19:08:19,774 |main |BirtContainer |I| Start BIRT container
>>>>> 2017-01-06 19:08:19,819 |main |BirtContainer |I| Startup BIRT platform
>>>>> 2017-01-06 19:08:30,441 |main |BirtContainer |I| Create factory object
>>>>> 2017-01-06 19:08:30,570 |main |BirtContainer |I| Create report engine
>>>>> 2017-01-06 19:08:32,012 |main |BirtContainer |I| BIRT supported
>>>>> formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc, html,
>>>>> odp, xls, odt, ods
>>>>> 2017-01-06 19:08:32,014 |main |ContainerLoader |I| Started container
>>>>> birt-container
>>>>>
>>>>> This has already been addressed but no solution is ready at the moment
>>>>> to show 100% after startup.
>>>>>
>>>>> Regards,
>>>>>
>>>>> Michael
>>>>>
>>>>>
>>>>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>>
>>>>>> My installation of OFBiz hangs during startup. No msg, just hangs at
>>>>>> 91%.
>>>>>>
>>>>>> CPU usage for this process drops from 99% to 0% at this point.
>>>>>>
>>>>>> On console: right after the bit about BIRT filetypes, then BIRT
>>>>>> container
>>>>>> loaded, then hang.
>>>>>>
>>>>>>
>>>>>> Pertinent logfiles:
>>>>>>
>>>>>> https://peak.neocities.org/logs/error.log.txt
>>>>>>
>>>>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>>>>
>>>>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>>>>
>>>>>>
>>>>>> Test system:
>>>>>>
>>>>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>>>>
>>>>>> FreeBSD 11.0-RELEASE-p1
>>>>>>
>>>>>> Openjdk version 1.8.0_102
>>>>>>
>>>>>> Openjdk RE 1.8.0_102-b14
>>>>>>
>>>>>> Openjdk Server build 25.102-b14
>>>>>>
>>>>>> OFBiz release16.11 installed by svn
>>>>>>
>>>>>>
>>>>>> Thanks in advance,
>>>>>>
>>>>>> Max
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Jacques Le Roux
Administrator
In reply to this post by taher
Done, I also added a note for JDBC drivers in the "System requirements" section and  another for the % progress indicator

Jacques


Le 11/01/2017 à 08:51, Taher Alkhateeb a écrit :

> I don't think it's really worth it for such a minor thing. I do think,
> however, that the README.md file should quickly get users to the "Quick
> Start" section to avoid confusion. So the whole "Security" header should go
> way down in the file near perhaps the Crypto notice so that people
> immediately see the quick start steps before anything else.
>
> On Wed, Jan 11, 2017 at 10:45 AM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Before we fix this issue (possible?) I think we should put a note in the
>> main README.MD, maybe even a sentence in what Gradle shows on screen.
>>
>> Just before "Start.java using configuration file
>> org/apache/ofbiz/base/start/start.properties" ?
>>
>> I wonder if we could not even put a word in the download page and in the
>> wiki?
>>
>> Opinions?
>>
>> Jacques
>>
>>
>>
>> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>>
>>> Hey Max,
>>>
>>> thanks for the report. The Gradle status line is a bit misleading here.
>>> OFBiz is fully started and should be usable for you, as the log states:
>>>
>>> 2017-01-06 19:08:19,773 |main |CatalinaContainer             |I| Started
>>> Apache Tomcat/8.0.39
>>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Started
>>> container catalina-container
>>> 2017-01-06 19:08:19,773 |main |ContainerLoader               |I| Starting
>>> container birt-container
>>> 2017-01-06 19:08:19,774 |main |BirtContainer                 |I| Start
>>> BIRT container
>>> 2017-01-06 19:08:19,819 |main |BirtContainer                 |I| Startup
>>> BIRT platform
>>> 2017-01-06 19:08:30,441 |main |BirtContainer                 |I| Create
>>> factory object
>>> 2017-01-06 19:08:30,570 |main |BirtContainer                 |I| Create
>>> report engine
>>> 2017-01-06 19:08:32,012 |main |BirtContainer                 |I| BIRT
>>> supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft,
>>> doc, html, odp, xls, odt, ods
>>> 2017-01-06 19:08:32,014 |main |ContainerLoader               |I| Started
>>> container birt-container
>>>
>>> This has already been addressed but no solution is ready at the moment to
>>> show 100% after startup.
>>>
>>> Regards,
>>>
>>> Michael
>>>
>>>
>>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>>
>>>> Hi all,
>>>>
>>>>
>>>> My installation of OFBiz hangs during startup. No msg, just hangs at 91%.
>>>>
>>>> CPU usage for this process drops from 99% to 0% at this point.
>>>>
>>>> On console: right after the bit about BIRT filetypes, then BIRT container
>>>> loaded, then hang.
>>>>
>>>>
>>>> Pertinent logfiles:
>>>>
>>>> https://peak.neocities.org/logs/error.log.txt
>>>>
>>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>>
>>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>>
>>>>
>>>> Test system:
>>>>
>>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>>
>>>> FreeBSD 11.0-RELEASE-p1
>>>>
>>>> Openjdk version 1.8.0_102
>>>>
>>>> Openjdk RE 1.8.0_102-b14
>>>>
>>>> Openjdk Server build 25.102-b14
>>>>
>>>> OFBiz release16.11 installed by svn
>>>>
>>>>
>>>> Thanks in advance,
>>>>
>>>> Max
>>>>
>>>>
>>>>
>>>>
>>>

Reply | Threaded
Open this post in threaded view
|

Re: Started OFBiz, but...

Jacques Le Roux
Administrator
In reply to this post by Craig Parker
Hi Craig,

Thanks for the report

I fixed missing "./" in rc scripts at revision: 1778576

Please check and maybe you could have a look at how rc.ofbiz.for.ubuntu handles things with startofbiz.sh and stopofbiz.sh.
Because I think it's not suitable now and we need to use the same strategy than in rc.ofbiz and rc.ofbiz.for.debian, please share your thoughts, thanks

Jacques


Le 12/01/2017 à 00:35, Craig Parker a écrit :

> Another little snafoo... I'm on Mint but used the debian init script (because that was what worked in ofbiz 13.x) and it won't start unless I stick
> absolute paths in the file. In line 75 for instance:
>
> gradlew ofbiz >>$OFBIZ_LOG 2>>$OFBIZ_LOG&
>
> I needed /ofbiz/gradlew >> ...
>
> Just because the Linux user that's firing this up doesn't have /ofbiz in his path?
>
> Is there a log somewhere I can watch to see that ofbiz is up and running totally? The ERP company I work for now has a boot log somewhere and I
> watch for a line about "removing bootstrap log handlers" to know when jboss has finished doing its thing and the software is ready to go. Just
> looking for an equivalent if there is one.
>
> On 01/11/2017 08:12 AM, Taher Alkhateeb wrote:
>> Hi Jacques,
>>
>> I don't recall either. If you find this imortant, however, then maybe we
>> can just add a comment somewhere in README.md that says if you start OFBiz
>> then ignore the % progress indicator because this task does not end as long
>> as OFBiz is running.
>>
>> On Jan 11, 2017 4:08 PM, "Jacques Le Roux" <[hidden email]>
>> wrote:
>>
>>> Taher,
>>>
>>> Do you remember any related efforts?
>>>
>>> Thanks
>>>
>>>
>>> Le 11/01/2017 à 12:10, Michael Brohl a écrit :
>>>
>>>> I vaguely remember that this was discussed either in the mailing list or
>>>> in the Jira issues for the Gradle migration, but have no time for further
>>>> research at the moment.
>>>>
>>>> Michael
>>>>
>>>>
>>>> Am 11.01.17 um 09:57 schrieb Jacques Le Roux:
>>>>
>>>>> Hi Michael,
>>>>>
>>>>> You said "This has already been addressed but no solution is ready at
>>>>> the moment to show 100% after startup."
>>>>>
>>>>> Do you have a reference about this work? I think we should definitely
>>>>> try to see if it's possible or not
>>>>>
>>>>> Jacques
>>>>>
>>>>>
>>>>> Le 08/01/2017 à 10:33, Michael Brohl a écrit :
>>>>>
>>>>>> Hey Max,
>>>>>>
>>>>>> thanks for the report. The Gradle status line is a bit misleading here.
>>>>>> OFBiz is fully started and should be usable for you, as the log states:
>>>>>>
>>>>>> 2017-01-06 19:08:19,773 |main |CatalinaContainer |I| Started Apache
>>>>>> Tomcat/8.0.39
>>>>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Started container
>>>>>> catalina-container
>>>>>> 2017-01-06 19:08:19,773 |main |ContainerLoader |I| Starting container
>>>>>> birt-container
>>>>>> 2017-01-06 19:08:19,774 |main |BirtContainer |I| Start BIRT container
>>>>>> 2017-01-06 19:08:19,819 |main |BirtContainer |I| Startup BIRT platform
>>>>>> 2017-01-06 19:08:30,441 |main |BirtContainer |I| Create factory object
>>>>>> 2017-01-06 19:08:30,570 |main |BirtContainer |I| Create report engine
>>>>>> 2017-01-06 19:08:32,012 |main |BirtContainer |I| BIRT supported
>>>>>> formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc, html,
>>>>>> odp, xls, odt, ods
>>>>>> 2017-01-06 19:08:32,014 |main |ContainerLoader |I| Started container
>>>>>> birt-container
>>>>>>
>>>>>> This has already been addressed but no solution is ready at the moment
>>>>>> to show 100% after startup.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Michael
>>>>>>
>>>>>>
>>>>>> Am 08.01.17 um 02:21 schrieb Max Peak:
>>>>>>
>>>>>>> Hi all,
>>>>>>>
>>>>>>>
>>>>>>> My installation of OFBiz hangs during startup. No msg, just hangs at
>>>>>>> 91%.
>>>>>>>
>>>>>>> CPU usage for this process drops from 99% to 0% at this point.
>>>>>>>
>>>>>>> On console: right after the bit about BIRT filetypes, then BIRT
>>>>>>> container
>>>>>>> loaded, then hang.
>>>>>>>
>>>>>>>
>>>>>>> Pertinent logfiles:
>>>>>>>
>>>>>>> https://peak.neocities.org/logs/error.log.txt
>>>>>>>
>>>>>>> https://peak.neocities.org/logs/ofbiz.log.txt
>>>>>>>
>>>>>>> https://peak.neocities.org/logs/ofbiz-2017-01-06-1.log.txt
>>>>>>>
>>>>>>>
>>>>>>> Test system:
>>>>>>>
>>>>>>> Gateway box, Celeron CPU, 2.2Ghz, 1.3 Gbit mem
>>>>>>>
>>>>>>> FreeBSD 11.0-RELEASE-p1
>>>>>>>
>>>>>>> Openjdk version 1.8.0_102
>>>>>>>
>>>>>>> Openjdk RE 1.8.0_102-b14
>>>>>>>
>>>>>>> Openjdk Server build 25.102-b14
>>>>>>>
>>>>>>> OFBiz release16.11 installed by svn
>>>>>>>
>>>>>>>
>>>>>>> Thanks in advance,
>>>>>>>
>>>>>>> Max
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Every
In reply to this post by Zibfo
Do you have a solution

I also stuck in 91%


2017-03-04 23:59:02,790 |main                 |CatalinaContainer             |I| Connector AJP/1.3 @ 8009 - not-secure [org.apache.coyote.ajp.AjpNioProtocol] started.
2017-03-04 23:59:02,790 |main                 |CatalinaContainer             |I| Connector HTTP/1.1 @ 8080 - not-secure [org.apache.coyote.http11.Http11NioProtocol] started.
2017-03-04 23:59:02,790 |main                 |CatalinaContainer             |I| Connector HTTP/1.1 @ 8443 - secure [org.apache.coyote.http11.Http11NioProtocol] started.
2017-03-04 23:59:02,790 |main                 |CatalinaContainer             |I| Started Apache Tomcat/8.0.37
2017-03-04 23:59:02,790 |main                 |ContainerLoader               |I| Started container catalina-container
2017-03-04 23:59:02,790 |main                 |ContainerLoader               |I| Starting container birt-container
2017-03-04 23:59:02,790 |main                 |BirtContainer                 |I| Start BIRT container
2017-03-04 23:59:02,800 |main                 |BirtContainer                 |I| Startup BIRT platform
2017-03-04 23:59:03,452 |main                 |BirtContainer                 |I| Create factory object
2017-03-04 23:59:03,471 |main                 |BirtContainer                 |I| Create report engine
2017-03-04 23:59:03,586 |main                 |BirtContainer                 |I| BIRT supported formats: xlsx, postscript, docx, pptx, pdf, ppt, xls_spudsoft, doc, html, odp, xls, odt, ods
2017-03-04 23:59:03,586 |main                 |ContainerLoader               |I| Started container birt-container
> Building 91% > :ofbiz
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Craig Parker
In reply to this post by taher
Same kind of issue, but maybe it's not an issue. I grabbed the newest
OFBiz last night and threw it on a Mint18 box. After gradlew cleanAll
loadDefault and gradlew ofbiz, I'm still stuck at 91%. I let it go
overnight, thinking maybe the first time just takes a while, but it's
still there.

On the other hand, OFBiz appears to be up and running... I can log in
and tool around fine so far. Weird?

Last couple lines I see after running gradlew ofbiz is:

/2017-03-04 16:27:58,600 |http-nio-8443-exec-8
|ControlServlet                |T|
[[[main(Domain:https://192.168.199.2)] Request Done- total:0.792,since
last([main(Domain:http...):0.792]]//
//2017-03-04 17:28:03,022 |andardHost[0.0.0.0]]
|ControlEventListener          |I| Destroying session:  hidden sessionId
by default.//
/



On 01/10/2017 11:44 PM, Taher Alkhateeb wrote:

> Hi Craig,
>
> The reason for the errors is that you're not preparing the system properly.
> You need follow the instructions in README.md, specifically:
>
> ./gradlew cleanAll loadDefault
> ./gradlew ofbiz
>
> The first command will take some time to populate the embedded database.
> Once that is done, starting the system will not produce the errors you're
> encountering.
>
> Cheers,
>
> Taher Alkhateeb
>
> On Wed, Jan 11, 2017 at 7:02 AM, Craig Parker <[hidden email]> wrote:
>
>> I'm also stuck at 91%, but getting errors and can't get into ofbiz. I
>> performed these steps:
>>
>> Downloaded ofbiz
>> mv ~/Downloads/apache-ofbiz-16.11.01.zip /
>> mv /apache-ofbiz-16.11.01.zip /ofbiz
>> useradd -m ofbiz
>> chown -R ofbiz:ofbiz /ofbiz
>> su - ofbiz
>> cd /ofbiz
>> ./gradlew ofbiz
>>   -seems to download a bunch of stuff, then populate a database
>>   -errored out
>>
>> The error.log sayeth:
>>
>> 2017-01-10 22:58:31,653 |http-nio-8443-exec-3 |Log
>>     |E| [CommonServices.xml#getVisualThemeResources line 216] Could not
>> find the '' theme, reverting back to the good old OFBiz theme...
>> 2017-01-10 22:58:31,695 |http-nio-8443-exec-3 |ServiceDispatcher
>>     |E| Error in Service [getVisualThemeResources]: Visual Theme resources
>> not found.
>> 2017-01-10 22:58:31,895 |http-nio-8443-exec-3 |ModelScreen
>>     |E| Error rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty. Rolling back transaction.
>> 2017-01-10 22:58:31,895 |http-nio-8443-exec-3 |ModelScreen
>>     |E| Error rendering screen [component://webtools/widget/C
>> ommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException:
>> Error rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty (Template location is empty). Rolling back
>> transaction.
>> 2017-01-10 22:58:31,897 |http-nio-8443-exec-3 |ModelScreen
>>     |E| Error rendering screen [component://webtools/widget/CommonScreens.xml#main]:
>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>> java.lang.IllegalArgumentException: Template location is empty (Template
>> location is empty) (Error rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty (Template location is empty)). Rolling back
>> transaction.
>> 2017-01-10 22:58:31,902 |http-nio-8443-exec-3 |ControlServlet
>>    |E| Error in request handler:
>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>> screen [component://webtools/widget/CommonScreens.xml#main]:
>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>> java.lang.IllegalArgumentException: Template location is empty (Template
>> location is empty) (Error rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty (Template location is empty)) (Error rendering
>> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>> java.lang.IllegalArgumentException: Template location is empty (Template
>> location is empty) (Error rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty (Template location is empty)))
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandle
>> r.render(MacroScreenViewHandler.java:157) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)
>> [ofbiz.jar:?]
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
>> [javax.servlet-api-3.1.0.jar:3.1.0]
>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>> [javax.servlet-api-3.1.0.jar:3.1.0]
>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:292) [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>> [tomcat-embed-websocket-8.0.36.jar:8.0.36]
>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240) [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
>> [ofbiz.jar:?]
>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240) [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>> [ofbiz.jar:?]
>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>> lter(ApplicationFilterChain.java:240) [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>      at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>> tractHttp11Processor.java:1100) [tomcat-coyote-8.0.37.jar:8.0.37]
>>      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>> .process(AbstractProtocol.java:687) [tomcat-coyote-8.0.37.jar:8.0.37]
>>      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
>> [tomcat-coyote-8.0.37.jar:8.0.37]
>>      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
>> [tomcat-coyote-8.0.37.jar:8.0.37]
>>      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> [?:1.8.0_111]
>>      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> [?:1.8.0_111]
>>      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>> [tomcat-util-8.0.37.jar:8.0.37]
>>      at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
>> Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
>> rendering screen [component://webtools/widget/C
>> ommonScreens.xml#main-decorator]: org.apache.ofbiz.widget.renderer.ScreenRenderException:
>> Error rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty (Template location is empty) (Error rendering
>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>> java.lang.IllegalArgumentException: Template location is empty (Template
>> location is empty))
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
>> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>> ~[ofbiz.jar:?]
>>      ... 35 more
>> Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException: Error
>> rendering screen [component://common/widget/Com
>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>> Template location is empty (Template location is empty)
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScree
>> n.renderWidgetString(ModelScreenWidget.java:780) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
>> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>> ~[ofbiz.jar:?]
>>      ... 35 more
>> Caused by: java.lang.IllegalArgumentException: Template location is empty
>>      at org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:149)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.render
>> WidgetString(HtmlWidget.java:215) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpec
>> ific.renderWidgetString(ModelScreenWidget.java:1321) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScree
>> n.renderWidgetString(ModelScreenWidget.java:780) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>> ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
>> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>      at org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>> ~[ofbiz.jar:?]
>>      ... 35 more
>> 2017-01-10 22:58:31,915 |http-nio-8443-exec-3 |ControlServlet
>>    |E| An error occurred, going to the errorPage: /error/error.jsp
>> 2017-01-10 22:58:31,920 |http-nio-8443-exec-3 |ControlServlet
>>    |E| Including errorPage: /error/error.jsp
>>
>>
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

Craig Parker
And... I appear to have gotten it running with a daemon again, but
there's an echo_success on line 77 -- the underscore should be a space
methinks. This was in .../tools/rc.ofbiz.for.debian


On 03/04/2017 09:09 PM, Craig Parker wrote:

> Same kind of issue, but maybe it's not an issue. I grabbed the newest
> OFBiz last night and threw it on a Mint18 box. After gradlew cleanAll
> loadDefault and gradlew ofbiz, I'm still stuck at 91%. I let it go
> overnight, thinking maybe the first time just takes a while, but it's
> still there.
>
> On the other hand, OFBiz appears to be up and running... I can log in
> and tool around fine so far. Weird?
>
> Last couple lines I see after running gradlew ofbiz is:
>
> /2017-03-04 16:27:58,600 |http-nio-8443-exec-8
> |ControlServlet                |T|
> [[[main(Domain:https://192.168.199.2)] Request Done- total:0.792,since
> last([main(Domain:http...):0.792]]//
> //2017-03-04 17:28:03,022 |andardHost[0.0.0.0]]
> |ControlEventListener          |I| Destroying session:  hidden
> sessionId by default.//
> /
>
>
>
> On 01/10/2017 11:44 PM, Taher Alkhateeb wrote:
>> Hi Craig,
>>
>> The reason for the errors is that you're not preparing the system
>> properly.
>> You need follow the instructions in README.md, specifically:
>>
>> ./gradlew cleanAll loadDefault
>> ./gradlew ofbiz
>>
>> The first command will take some time to populate the embedded database.
>> Once that is done, starting the system will not produce the errors
>> you're
>> encountering.
>>
>> Cheers,
>>
>> Taher Alkhateeb
>>
>> On Wed, Jan 11, 2017 at 7:02 AM, Craig Parker <[hidden email]>
>> wrote:
>>
>>> I'm also stuck at 91%, but getting errors and can't get into ofbiz. I
>>> performed these steps:
>>>
>>> Downloaded ofbiz
>>> mv ~/Downloads/apache-ofbiz-16.11.01.zip /
>>> mv /apache-ofbiz-16.11.01.zip /ofbiz
>>> useradd -m ofbiz
>>> chown -R ofbiz:ofbiz /ofbiz
>>> su - ofbiz
>>> cd /ofbiz
>>> ./gradlew ofbiz
>>>   -seems to download a bunch of stuff, then populate a database
>>>   -errored out
>>>
>>> The error.log sayeth:
>>>
>>> 2017-01-10 22:58:31,653 |http-nio-8443-exec-3 |Log
>>>     |E| [CommonServices.xml#getVisualThemeResources line 216] Could not
>>> find the '' theme, reverting back to the good old OFBiz theme...
>>> 2017-01-10 22:58:31,695 |http-nio-8443-exec-3 |ServiceDispatcher
>>>     |E| Error in Service [getVisualThemeResources]: Visual Theme
>>> resources
>>> not found.
>>> 2017-01-10 22:58:31,895 |http-nio-8443-exec-3 |ModelScreen
>>>     |E| Error rendering screen [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty. Rolling back transaction.
>>> 2017-01-10 22:58:31,895 |http-nio-8443-exec-3 |ModelScreen
>>>     |E| Error rendering screen [component://webtools/widget/C
>>> ommonScreens.xml#main-decorator]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException:
>>> Error rendering screen [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty (Template location is empty). Rolling back
>>> transaction.
>>> 2017-01-10 22:58:31,897 |http-nio-8443-exec-3 |ModelScreen
>>>     |E| Error rendering screen
>>> [component://webtools/widget/CommonScreens.xml#main]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>>> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>>> java.lang.IllegalArgumentException: Template location is empty
>>> (Template
>>> location is empty) (Error rendering screen
>>> [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty (Template location is empty)). Rolling back
>>> transaction.
>>> 2017-01-10 22:58:31,902 |http-nio-8443-exec-3 |ControlServlet
>>>    |E| Error in request handler:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>>> screen [component://webtools/widget/CommonScreens.xml#main]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>>> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>>> java.lang.IllegalArgumentException: Template location is empty
>>> (Template
>>> location is empty) (Error rendering screen
>>> [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty (Template location is empty)) (Error
>>> rendering
>>> screen [component://webtools/widget/CommonScreens.xml#main-decorator]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException: Error rendering
>>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>>> java.lang.IllegalArgumentException: Template location is empty
>>> (Template
>>> location is empty) (Error rendering screen
>>> [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty (Template location is empty)))
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:136)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.renderer.ScreenRenderer.render(ScreenRenderer.java:98)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.renderer.macro.MacroScreenViewHandle
>>> r.render(MacroScreenViewHandler.java:157) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.webapp.control.RequestHandler.renderView(RequestHandler.java:985)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:649)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:210)
>>> [ofbiz.jar:?]
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
>>> [javax.servlet-api-3.1.0.jar:3.1.0]
>>>      at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>>> [javax.servlet-api-3.1.0.jar:3.1.0]
>>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:292)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>>> [tomcat-embed-websocket-8.0.36.jar:8.0.36]
>>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:240)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:209)
>>> [ofbiz.jar:?]
>>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:240)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.ofbiz.webapp.control.ControlFilter.doFilter(ControlFilter.java:156)
>>> [ofbiz.jar:?]
>>>      at org.apache.catalina.core.ApplicationFilterChain.internalDoFi
>>> lter(ApplicationFilterChain.java:240)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
>>> [tomcat-catalina-8.0.37.jar:8.0.37]
>>>      at org.apache.coyote.http11.AbstractHttp11Processor.process(Abs
>>> tractHttp11Processor.java:1100) [tomcat-coyote-8.0.37.jar:8.0.37]
>>>      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler
>>> .process(AbstractProtocol.java:687) [tomcat-coyote-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
>>> [tomcat-coyote-8.0.37.jar:8.0.37]
>>>      at
>>> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
>>> [tomcat-coyote-8.0.37.jar:8.0.37]
>>>      at
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [?:1.8.0_111]
>>>      at
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [?:1.8.0_111]
>>>      at
>>> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>>> [tomcat-util-8.0.37.jar:8.0.37]
>>>      at java.lang.Thread.run(Thread.java:745) [?:1.8.0_111]
>>> Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException:
>>> Error
>>> rendering screen [component://webtools/widget/C
>>> ommonScreens.xml#main-decorator]:
>>> org.apache.ofbiz.widget.renderer.ScreenRenderException:
>>> Error rendering screen [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty (Template location is empty) (Error
>>> rendering
>>> screen [component://common/widget/CommonScreens.xml#GlobalDecorator]:
>>> java.lang.IllegalArgumentException: Template location is empty
>>> (Template
>>> location is empty))
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
>>> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>>> ~[ofbiz.jar:?]
>>>      ... 35 more
>>> Caused by: org.apache.ofbiz.widget.renderer.ScreenRenderException:
>>> Error
>>> rendering screen [component://common/widget/Com
>>> monScreens.xml#GlobalDecorator]: java.lang.IllegalArgumentException:
>>> Template location is empty (Template location is empty)
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:179)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScree
>>> n.renderWidgetString(ModelScreenWidget.java:780) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
>>> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>>> ~[ofbiz.jar:?]
>>>      ... 35 more
>>> Caused by: java.lang.IllegalArgumentException: Template location is
>>> empty
>>>      at
>>> org.apache.ofbiz.widget.model.HtmlWidget.renderHtmlTemplate(HtmlWidget.java:149)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.HtmlWidget$HtmlTemplate.render
>>> WidgetString(HtmlWidget.java:215) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.HtmlWidget.renderWidgetString(HtmlWidget.java:140)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$PlatformSpec
>>> ific.renderWidgetString(ModelScreenWidget.java:1321) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$IncludeScree
>>> n.renderWidgetString(ModelScreenWidget.java:780) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>>> ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ScreenFactory.renderReferencedScreen(ScreenFactory.java:214)
>>> ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$DecoratorScr
>>> een.renderWidgetString(ModelScreenWidget.java:860) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget.renderSubWid
>>> getsString(ModelScreenWidget.java:98) ~[ofbiz.jar:?]
>>>      at org.apache.ofbiz.widget.model.ModelScreenWidget$Section.rend
>>> erWidgetString(ModelScreenWidget.java:280) ~[ofbiz.jar:?]
>>>      at
>>> org.apache.ofbiz.widget.model.ModelScreen.renderScreenString(ModelScreen.java:164)
>>> ~[ofbiz.jar:?]
>>>      ... 35 more
>>> 2017-01-10 22:58:31,915 |http-nio-8443-exec-3 |ControlServlet
>>>    |E| An error occurred, going to the errorPage: /error/error.jsp
>>> 2017-01-10 22:58:31,920 |http-nio-8443-exec-3 |ControlServlet
>>>    |E| Including errorPage: /error/error.jsp
>>>
>>>
>>>
>>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

geodude
In reply to this post by Zibfo
Has anybody find a solution to this issue?
Downlaoded ofbiz and jdk 1.8
run
./gradlew cleanAll loadDefault
finishes successfully

./gradlew ofbiz
stays stuck at 91% when I try to access the http://127.0.0.1:8080/ecommerce/control/main and nothing

tried running
./gradlew cleanAll loadDefault "ofbiz --start"
stays stuck at 96%

if anybody has a solution or any pointers, would be greatly appreciated.

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: OFBiz no start

taher
Try https://localhost:8443/ecommerce

On Jun 10, 2017 5:29 AM, "geodude" <[hidden email]> wrote:

Has anybody find a solution to this issue?
Downlaoded ofbiz and jdk 1.8
run
./gradlew cleanAll loadDefault
finishes successfully

./gradlew ofbiz
stays stuck at 91% when I try to access the
http://127.0.0.1:8080/ecommerce/control/main and nothing

tried running
./gradlew cleanAll loadDefault "ofbiz --start"
stays stuck at 96%

if anybody has a solution or any pointers, would be greatly appreciated.

Thank you.



--
View this message in context: http://ofbiz.135035.n4.nabble.
com/OFBiz-no-start-tp4700872p4706429.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
12