Ofbiz won't start up

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

Ofbiz won't start up

Tom Running
I am running into a problem that I do not know what to go from here.
Any help will be appreciate it.



I have the version 14 running for a while now with the demo load and derby
db.
It was working great until yesterday when the power outage, sever went down.
Reboot, login and was able to restart ofbiz and but I can not access to the
site.
All the start up log look OK.  There are no compliant that I can tell.

I had Reboot and perform these tasks many time now and still can not access
to the site
ant clean
ant load-demo
ant start

It seems, there are some files or lock some where that prevent the contents
to be render.


When I ran the following command from the console
*wget http://localhost:8080/ecommerce <http://localhost:8080/ecommerce>*

I got the following message:

--2016-03-01 17:15:42--  http://localhost:8080/ecommerce
Resolving localhost... 127.0.0.1
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://localhost:8080/ecommerce/ [following]
--2016-03-01 17:15:42--  http://localhost:8080/ecommerce/
Connecting to localhost|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: âindex.html.2â

    [
<=>
] 97,932      86.6K/s   in 1.1s

2016-03-01 17:15:43 (86.6 KB/s) - âindex.html.2â







*ofbiz.log*

otal:0.0,since last(Begin):0.0]]
     [java] 2016-03-01 16:46:43,928 |ttp-bio-8080-exec-10
|VisitHandler                  |I| Found visitorId [null] in cookie
     [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
|ConfigXMLReader               |I| controller loaded: 0.004s, 298 requests,
98 views in jndi:/0.0.0.0/ecommerce            /WEB-INF/controller.xml
     [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
|RequestHandler                |I| This is the first request in this visit.
sessionId=628C5B1B358FB1BA5A699E0E5            5F86E70.jvm1
     [java] 2016-03-01 16:46:43,962 |ttp-bio-8080-exec-10
|RequestHandler                |I| Rendering View [main],
sessionId=628C5B1B358FB1BA5A699E0E55F86E70.jvm1
     [java] 2016-03-01 16:46:43,964 |ttp-bio-8080-exec-10
|ServiceDispatcher             |T| Sync service
[ecommerce/getUserPreferenceGroup] finished in [1] milliseconds
     [java] 2016-03-01 16:46:43,984 |ttp-bio-8080-exec-10
|ServiceDispatcher             |T| Sync service
[ecommerce/getVisualThemeResources] finished in [20] millisecon
ds
     [java] 2016-03-01 16:46:44,102 |ttp-bio-8080-exec-10
|ScreenFactory                 |I| Got 18 screens in 0.013s from:
file:/ofbiz/specialpurpose/ecommerce/widget/C            ommonScreens.xml
     [java] 2016-03-01 16:46:44,380 |ttp-bio-8080-exec-10
|ServiceDispatcher             |T| Sync service
[ecommerce/getVisualThemeResources] finished in [1] millisecond            s
     [java] 2016-03-01 16:46:44,483 |ttp-bio-8080-exec-10
|ScreenFactory                 |I| Got 37 screens in 0.012s from:
file:/ofbiz/specialpurpose/ecommerce/widget/C            atalogScreens.xml
     [java] 2016-03-01 16:46:44,527 |ttp-bio-8080-exec-10
|ScreenFactory                 |I| Got 7 screens in 0.008s from:
file:/ofbiz/specialpurpose/ecommerce/widget/Em
ailContactListScreens.xml
     [java] 2016-03-01 16:46:44,664 |ttp-bio-8080-exec-10
|ScreenFactory                 |I| Got 8 screens in 0.009s from:
file:/ofbiz/specialpurpose/ecommerce/widget/Co            ntentScreens.xml
     [java] 2016-03-01 16:46:45,249 |ttp-bio-8080-exec-10
|TransactionUtil               |W| No transaction in place, so not
suspending.
     [java] 2016-03-01 16:46:45,263 |ttp-bio-8080-exec-10
|SequenceUtil                  |I| Got bank of sequenced IDs for
[ServerHitBin]; curSeqId=40680, maxSeqId=40690            , bankSize=10
     [java] 2016-03-01 16:46:45,551 |ttp-bio-8080-exec-10
|ServerHitBin                  |I| Visit delegatorName=default,
ServerHitBin delegatorName=default
     [java] 2016-03-01 16:46:45,560 |ttp-bio-8080-exec-10
|ControlServlet                |T| [[[main(Domain:http://intranet.galco.com)]
Request Done- total:1.632,since l







*OFBIZ ERROR log:*

2016-03-01 16:29:04,026 |0.0.0.0-startStop-1
|ViewFactory                   |E| null
java.lang.ClassNotFoundException:
org.ofbiz.widget.screen.ScreenWidgetViewHandler
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
~[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
~[tomcat-7.0.59-catalina.jar:7.0.59]
        at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
        at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_45]
        at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:142)
~[ofbiz-base.jar:?]
        at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:98)
~[ofbiz-base.jar:?]
        at org.ofbiz.base.util.ObjectType.getInstance(ObjectType.java:158)
~[ofbiz-base.jar:?]
        at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:49)
[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
[ofbiz-webapp.jar:?]
        at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[?:1.8.0_45]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_45]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_45]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
2016-03-01 16:29:04,034 |0.0.0.0-startStop-1
|[/practice]                   |E| StandardWrapper.Throwable
org.ofbiz.base.util.GeneralRuntimeException: null
(org.ofbiz.widget.screen.ScreenWidgetViewHandler)
        at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
~[ofbiz-webapp.jar:?]
        at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[?:1.8.0_45]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_45]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_45]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
2016-03-01 16:29:04,035 |0.0.0.0-startStop-1
|[/practice]                   |E| Servlet [ControlServlet] in web
application [/practice] threw load() exception
org.ofbiz.base.util.GeneralRuntimeException: null
(org.ofbiz.widget.screen.ScreenWidgetViewHandler)
        at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
~[ofbiz-webapp.jar:?]
        at
org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
~[ofbiz-webapp.jar:?]
        at
org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
~[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
~[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
~[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
[tomcat-7.0.59-catalina.jar:7.0.59]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[?:1.8.0_45]
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[?:1.8.0_45]
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[?:1.8.0_45]
        at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]



Thanks,
Tom
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz won't start up

Pierre Smits
Hi Tom,

Did you, after executing the 'ant clean' command, execute the 'ant build'
command?

Best regards,

Pierre Smits

ORRTIZ.COM <http://www.orrtiz.com>
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Tue, Mar 1, 2016 at 11:25 PM, Tom Running <[hidden email]> wrote:

> I am running into a problem that I do not know what to go from here.
> Any help will be appreciate it.
>
>
>
> I have the version 14 running for a while now with the demo load and derby
> db.
> It was working great until yesterday when the power outage, sever went
> down.
> Reboot, login and was able to restart ofbiz and but I can not access to the
> site.
> All the start up log look OK.  There are no compliant that I can tell.
>
> I had Reboot and perform these tasks many time now and still can not access
> to the site
> ant clean
> ant load-demo
> ant start
>
> It seems, there are some files or lock some where that prevent the contents
> to be render.
>
>
> When I ran the following command from the console
> *wget http://localhost:8080/ecommerce <http://localhost:8080/ecommerce>*
>
> I got the following message:
>
> --2016-03-01 17:15:42--  http://localhost:8080/ecommerce
> Resolving localhost... 127.0.0.1
> Connecting to localhost|127.0.0.1|:8080... connected.
> HTTP request sent, awaiting response... 302 Found
> Location: http://localhost:8080/ecommerce/ [following]
> --2016-03-01 17:15:42--  http://localhost:8080/ecommerce/
> Connecting to localhost|127.0.0.1|:8080... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: unspecified [text/html]
> Saving to: âindex.html.2â
>
>     [
> <=>
> ] 97,932      86.6K/s   in 1.1s
>
> 2016-03-01 17:15:43 (86.6 KB/s) - âindex.html.2â
>
>
>
>
>
>
>
> *ofbiz.log*
>
> otal:0.0,since last(Begin):0.0]]
>      [java] 2016-03-01 16:46:43,928 |ttp-bio-8080-exec-10
> |VisitHandler                  |I| Found visitorId [null] in cookie
>      [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
> |ConfigXMLReader               |I| controller loaded: 0.004s, 298 requests,
> 98 views in jndi:/0.0.0.0/ecommerce            /WEB-INF/controller.xml
>      [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
> |RequestHandler                |I| This is the first request in this visit.
> sessionId=628C5B1B358FB1BA5A699E0E5            5F86E70.jvm1
>      [java] 2016-03-01 16:46:43,962 |ttp-bio-8080-exec-10
> |RequestHandler                |I| Rendering View [main],
> sessionId=628C5B1B358FB1BA5A699E0E55F86E70.jvm1
>      [java] 2016-03-01 16:46:43,964 |ttp-bio-8080-exec-10
> |ServiceDispatcher             |T| Sync service
> [ecommerce/getUserPreferenceGroup] finished in [1] milliseconds
>      [java] 2016-03-01 16:46:43,984 |ttp-bio-8080-exec-10
> |ServiceDispatcher             |T| Sync service
> [ecommerce/getVisualThemeResources] finished in [20] millisecon
> ds
>      [java] 2016-03-01 16:46:44,102 |ttp-bio-8080-exec-10
> |ScreenFactory                 |I| Got 18 screens in 0.013s from:
> file:/ofbiz/specialpurpose/ecommerce/widget/C            ommonScreens.xml
>      [java] 2016-03-01 16:46:44,380 |ttp-bio-8080-exec-10
> |ServiceDispatcher             |T| Sync service
> [ecommerce/getVisualThemeResources] finished in [1] millisecond
> s
>      [java] 2016-03-01 16:46:44,483 |ttp-bio-8080-exec-10
> |ScreenFactory                 |I| Got 37 screens in 0.012s from:
> file:/ofbiz/specialpurpose/ecommerce/widget/C            atalogScreens.xml
>      [java] 2016-03-01 16:46:44,527 |ttp-bio-8080-exec-10
> |ScreenFactory                 |I| Got 7 screens in 0.008s from:
> file:/ofbiz/specialpurpose/ecommerce/widget/Em
> ailContactListScreens.xml
>      [java] 2016-03-01 16:46:44,664 |ttp-bio-8080-exec-10
> |ScreenFactory                 |I| Got 8 screens in 0.009s from:
> file:/ofbiz/specialpurpose/ecommerce/widget/Co            ntentScreens.xml
>      [java] 2016-03-01 16:46:45,249 |ttp-bio-8080-exec-10
> |TransactionUtil               |W| No transaction in place, so not
> suspending.
>      [java] 2016-03-01 16:46:45,263 |ttp-bio-8080-exec-10
> |SequenceUtil                  |I| Got bank of sequenced IDs for
> [ServerHitBin]; curSeqId=40680, maxSeqId=40690            , bankSize=10
>      [java] 2016-03-01 16:46:45,551 |ttp-bio-8080-exec-10
> |ServerHitBin                  |I| Visit delegatorName=default,
> ServerHitBin delegatorName=default
>      [java] 2016-03-01 16:46:45,560 |ttp-bio-8080-exec-10
> |ControlServlet                |T| [[[main(Domain:
> http://intranet.galco.com)]
> Request Done- total:1.632,since l
>
>
>
>
>
>
>
> *OFBIZ ERROR log:*
>
> 2016-03-01 16:29:04,026 |0.0.0.0-startStop-1
> |ViewFactory                   |E| null
> java.lang.ClassNotFoundException:
> org.ofbiz.widget.screen.ScreenWidgetViewHandler
>         at
>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>         at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
>         at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_45]
>         at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:142)
> ~[ofbiz-base.jar:?]
>         at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:98)
> ~[ofbiz-base.jar:?]
>         at org.ofbiz.base.util.ObjectType.getInstance(ObjectType.java:158)
> ~[ofbiz-base.jar:?]
>         at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:49)
> [ofbiz-webapp.jar:?]
>         at
> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
> [ofbiz-webapp.jar:?]
>         at
>
> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
> [ofbiz-webapp.jar:?]
>         at
>
> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
> [ofbiz-webapp.jar:?]
>         at
> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
> [ofbiz-webapp.jar:?]
>         at
>
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [?:1.8.0_45]
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_45]
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_45]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
> 2016-03-01 16:29:04,034 |0.0.0.0-startStop-1
> |[/practice]                   |E| StandardWrapper.Throwable
> org.ofbiz.base.util.GeneralRuntimeException: null
> (org.ofbiz.widget.screen.ScreenWidgetViewHandler)
>         at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
> ~[ofbiz-webapp.jar:?]
>         at
> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
> ~[ofbiz-webapp.jar:?]
>         at
>
> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
> ~[ofbiz-webapp.jar:?]
>         at
>
> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
> ~[ofbiz-webapp.jar:?]
>         at
> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
> ~[ofbiz-webapp.jar:?]
>         at
>
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [?:1.8.0_45]
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_45]
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_45]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
> 2016-03-01 16:29:04,035 |0.0.0.0-startStop-1
> |[/practice]                   |E| Servlet [ControlServlet] in web
> application [/practice] threw load() exception
> org.ofbiz.base.util.GeneralRuntimeException: null
> (org.ofbiz.widget.screen.ScreenWidgetViewHandler)
>         at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
> ~[ofbiz-webapp.jar:?]
>         at
> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
> ~[ofbiz-webapp.jar:?]
>         at
>
> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
> ~[ofbiz-webapp.jar:?]
>         at
>
> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
> ~[ofbiz-webapp.jar:?]
>         at
> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
> ~[ofbiz-webapp.jar:?]
>         at
>
> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>         at
> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at
>
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
> [tomcat-7.0.59-catalina.jar:7.0.59]
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> [?:1.8.0_45]
>         at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> [?:1.8.0_45]
>         at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [?:1.8.0_45]
>         at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>
>
>
> Thanks,
> Tom
>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz won't start up

Jacques Le Roux
Administrator
Pierre,

load-demo depends on build (main target)

Jacques

Le 02/03/2016 13:58, Pierre Smits a écrit :

> Hi Tom,
>
> Did you, after executing the 'ant clean' command, execute the 'ant build'
> command?
>
> Best regards,
>
> Pierre Smits
>
> ORRTIZ.COM <http://www.orrtiz.com>
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
> On Tue, Mar 1, 2016 at 11:25 PM, Tom Running <[hidden email]> wrote:
>
>> I am running into a problem that I do not know what to go from here.
>> Any help will be appreciate it.
>>
>>
>>
>> I have the version 14 running for a while now with the demo load and derby
>> db.
>> It was working great until yesterday when the power outage, sever went
>> down.
>> Reboot, login and was able to restart ofbiz and but I can not access to the
>> site.
>> All the start up log look OK.  There are no compliant that I can tell.
>>
>> I had Reboot and perform these tasks many time now and still can not access
>> to the site
>> ant clean
>> ant load-demo
>> ant start
>>
>> It seems, there are some files or lock some where that prevent the contents
>> to be render.
>>
>>
>> When I ran the following command from the console
>> *wget http://localhost:8080/ecommerce <http://localhost:8080/ecommerce>*
>>
>> I got the following message:
>>
>> --2016-03-01 17:15:42--  http://localhost:8080/ecommerce
>> Resolving localhost... 127.0.0.1
>> Connecting to localhost|127.0.0.1|:8080... connected.
>> HTTP request sent, awaiting response... 302 Found
>> Location: http://localhost:8080/ecommerce/ [following]
>> --2016-03-01 17:15:42--  http://localhost:8080/ecommerce/
>> Connecting to localhost|127.0.0.1|:8080... connected.
>> HTTP request sent, awaiting response... 200 OK
>> Length: unspecified [text/html]
>> Saving to: âindex.html.2â
>>
>>      [
>> <=>
>> ] 97,932      86.6K/s   in 1.1s
>>
>> 2016-03-01 17:15:43 (86.6 KB/s) - âindex.html.2â
>>
>>
>>
>>
>>
>>
>>
>> *ofbiz.log*
>>
>> otal:0.0,since last(Begin):0.0]]
>>       [java] 2016-03-01 16:46:43,928 |ttp-bio-8080-exec-10
>> |VisitHandler                  |I| Found visitorId [null] in cookie
>>       [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
>> |ConfigXMLReader               |I| controller loaded: 0.004s, 298 requests,
>> 98 views in jndi:/0.0.0.0/ecommerce            /WEB-INF/controller.xml
>>       [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
>> |RequestHandler                |I| This is the first request in this visit.
>> sessionId=628C5B1B358FB1BA5A699E0E5            5F86E70.jvm1
>>       [java] 2016-03-01 16:46:43,962 |ttp-bio-8080-exec-10
>> |RequestHandler                |I| Rendering View [main],
>> sessionId=628C5B1B358FB1BA5A699E0E55F86E70.jvm1
>>       [java] 2016-03-01 16:46:43,964 |ttp-bio-8080-exec-10
>> |ServiceDispatcher             |T| Sync service
>> [ecommerce/getUserPreferenceGroup] finished in [1] milliseconds
>>       [java] 2016-03-01 16:46:43,984 |ttp-bio-8080-exec-10
>> |ServiceDispatcher             |T| Sync service
>> [ecommerce/getVisualThemeResources] finished in [20] millisecon
>> ds
>>       [java] 2016-03-01 16:46:44,102 |ttp-bio-8080-exec-10
>> |ScreenFactory                 |I| Got 18 screens in 0.013s from:
>> file:/ofbiz/specialpurpose/ecommerce/widget/C            ommonScreens.xml
>>       [java] 2016-03-01 16:46:44,380 |ttp-bio-8080-exec-10
>> |ServiceDispatcher             |T| Sync service
>> [ecommerce/getVisualThemeResources] finished in [1] millisecond
>> s
>>       [java] 2016-03-01 16:46:44,483 |ttp-bio-8080-exec-10
>> |ScreenFactory                 |I| Got 37 screens in 0.012s from:
>> file:/ofbiz/specialpurpose/ecommerce/widget/C            atalogScreens.xml
>>       [java] 2016-03-01 16:46:44,527 |ttp-bio-8080-exec-10
>> |ScreenFactory                 |I| Got 7 screens in 0.008s from:
>> file:/ofbiz/specialpurpose/ecommerce/widget/Em
>> ailContactListScreens.xml
>>       [java] 2016-03-01 16:46:44,664 |ttp-bio-8080-exec-10
>> |ScreenFactory                 |I| Got 8 screens in 0.009s from:
>> file:/ofbiz/specialpurpose/ecommerce/widget/Co            ntentScreens.xml
>>       [java] 2016-03-01 16:46:45,249 |ttp-bio-8080-exec-10
>> |TransactionUtil               |W| No transaction in place, so not
>> suspending.
>>       [java] 2016-03-01 16:46:45,263 |ttp-bio-8080-exec-10
>> |SequenceUtil                  |I| Got bank of sequenced IDs for
>> [ServerHitBin]; curSeqId=40680, maxSeqId=40690            , bankSize=10
>>       [java] 2016-03-01 16:46:45,551 |ttp-bio-8080-exec-10
>> |ServerHitBin                  |I| Visit delegatorName=default,
>> ServerHitBin delegatorName=default
>>       [java] 2016-03-01 16:46:45,560 |ttp-bio-8080-exec-10
>> |ControlServlet                |T| [[[main(Domain:
>> http://intranet.galco.com)]
>> Request Done- total:1.632,since l
>>
>>
>>
>>
>>
>>
>>
>> *OFBIZ ERROR log:*
>>
>> 2016-03-01 16:29:04,026 |0.0.0.0-startStop-1
>> |ViewFactory                   |E| null
>> java.lang.ClassNotFoundException:
>> org.ofbiz.widget.screen.ScreenWidgetViewHandler
>>          at
>>
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
>>          at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_45]
>>          at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:142)
>> ~[ofbiz-base.jar:?]
>>          at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:98)
>> ~[ofbiz-base.jar:?]
>>          at org.ofbiz.base.util.ObjectType.getInstance(ObjectType.java:158)
>> ~[ofbiz-base.jar:?]
>>          at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:49)
>> [ofbiz-webapp.jar:?]
>>          at
>> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
>> [ofbiz-webapp.jar:?]
>>          at
>>
>> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
>> [ofbiz-webapp.jar:?]
>>          at
>>
>> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
>> [ofbiz-webapp.jar:?]
>>          at
>> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
>> [ofbiz-webapp.jar:?]
>>          at
>>
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> [?:1.8.0_45]
>>          at
>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> [?:1.8.0_45]
>>          at
>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> [?:1.8.0_45]
>>          at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>> 2016-03-01 16:29:04,034 |0.0.0.0-startStop-1
>> |[/practice]                   |E| StandardWrapper.Throwable
>> org.ofbiz.base.util.GeneralRuntimeException: null
>> (org.ofbiz.widget.screen.ScreenWidgetViewHandler)
>>          at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
>> ~[ofbiz-webapp.jar:?]
>>          at
>> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
>> ~[ofbiz-webapp.jar:?]
>>          at
>>
>> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
>> ~[ofbiz-webapp.jar:?]
>>          at
>>
>> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
>> ~[ofbiz-webapp.jar:?]
>>          at
>> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
>> ~[ofbiz-webapp.jar:?]
>>          at
>>
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> [?:1.8.0_45]
>>          at
>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> [?:1.8.0_45]
>>          at
>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> [?:1.8.0_45]
>>          at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>> 2016-03-01 16:29:04,035 |0.0.0.0-startStop-1
>> |[/practice]                   |E| Servlet [ControlServlet] in web
>> application [/practice] threw load() exception
>> org.ofbiz.base.util.GeneralRuntimeException: null
>> (org.ofbiz.widget.screen.ScreenWidgetViewHandler)
>>          at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
>> ~[ofbiz-webapp.jar:?]
>>          at
>> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
>> ~[ofbiz-webapp.jar:?]
>>          at
>>
>> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
>> ~[ofbiz-webapp.jar:?]
>>          at
>>
>> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
>> ~[ofbiz-webapp.jar:?]
>>          at
>> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
>> ~[ofbiz-webapp.jar:?]
>>          at
>>
>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at
>>
>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>> [?:1.8.0_45]
>>          at
>>
>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>> [?:1.8.0_45]
>>          at
>>
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>> [?:1.8.0_45]
>>          at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>>
>>
>>
>> Thanks,
>> Tom
>>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz won't start up

Tom Running
>>Did you, after executing the 'ant clean' command, execute the 'ant build'
command?

I also tried what you suggested and still not working.

By the way.  I also have the whole /ofbiz directory backup on 2015.

I copied the old directory back and restart and still not able to see the
landing http://localhost:8080/ecommerce  page.

Any idea any one?

Thanks,
Tom

On Wed, Mar 2, 2016 at 9:48 AM, Jacques Le Roux <
[hidden email]> wrote:

> Pierre,
>
> load-demo depends on build (main target)
>
> Jacques
>
>
> Le 02/03/2016 13:58, Pierre Smits a écrit :
>
>> Hi Tom,
>>
>> Did you, after executing the 'ant clean' command, execute the 'ant build'
>> command?
>>
>> Best regards,
>>
>> Pierre Smits
>>
>> ORRTIZ.COM <http://www.orrtiz.com>
>> OFBiz based solutions & services
>>
>> OFBiz Extensions Marketplace
>> http://oem.ofbizci.net/oci-2/
>>
>> On Tue, Mar 1, 2016 at 11:25 PM, Tom Running <[hidden email]>
>> wrote:
>>
>> I am running into a problem that I do not know what to go from here.
>>> Any help will be appreciate it.
>>>
>>>
>>>
>>> I have the version 14 running for a while now with the demo load and
>>> derby
>>> db.
>>> It was working great until yesterday when the power outage, sever went
>>> down.
>>> Reboot, login and was able to restart ofbiz and but I can not access to
>>> the
>>> site.
>>> All the start up log look OK.  There are no compliant that I can tell.
>>>
>>> I had Reboot and perform these tasks many time now and still can not
>>> access
>>> to the site
>>> ant clean
>>> ant load-demo
>>> ant start
>>>
>>> It seems, there are some files or lock some where that prevent the
>>> contents
>>> to be render.
>>>
>>>
>>> When I ran the following command from the console
>>> *wget http://localhost:8080/ecommerce <http://localhost:8080/ecommerce>*
>>>
>>> I got the following message:
>>>
>>> --2016-03-01 17:15:42--  http://localhost:8080/ecommerce
>>> Resolving localhost... 127.0.0.1
>>> Connecting to localhost|127.0.0.1|:8080... connected.
>>> HTTP request sent, awaiting response... 302 Found
>>> Location: http://localhost:8080/ecommerce/ [following]
>>> --2016-03-01 17:15:42--  http://localhost:8080/ecommerce/
>>> Connecting to localhost|127.0.0.1|:8080... connected.
>>> HTTP request sent, awaiting response... 200 OK
>>> Length: unspecified [text/html]
>>> Saving to: âindex.html.2â
>>>
>>>      [
>>> <=>
>>> ] 97,932      86.6K/s   in 1.1s
>>>
>>> 2016-03-01 17:15:43 (86.6 KB/s) - âindex.html.2â
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *ofbiz.log*
>>>
>>> otal:0.0,since last(Begin):0.0]]
>>>       [java] 2016-03-01 16:46:43,928 |ttp-bio-8080-exec-10
>>> |VisitHandler                  |I| Found visitorId [null] in cookie
>>>       [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
>>> |ConfigXMLReader               |I| controller loaded: 0.004s, 298
>>> requests,
>>> 98 views in jndi:/0.0.0.0/ecommerce            /WEB-INF/controller.xml
>>>       [java] 2016-03-01 16:46:43,961 |ttp-bio-8080-exec-10
>>> |RequestHandler                |I| This is the first request in this
>>> visit.
>>> sessionId=628C5B1B358FB1BA5A699E0E5            5F86E70.jvm1
>>>       [java] 2016-03-01 16:46:43,962 |ttp-bio-8080-exec-10
>>> |RequestHandler                |I| Rendering View [main],
>>> sessionId=628C5B1B358FB1BA5A699E0E55F86E70.jvm1
>>>       [java] 2016-03-01 16:46:43,964 |ttp-bio-8080-exec-10
>>> |ServiceDispatcher             |T| Sync service
>>> [ecommerce/getUserPreferenceGroup] finished in [1] milliseconds
>>>       [java] 2016-03-01 16:46:43,984 |ttp-bio-8080-exec-10
>>> |ServiceDispatcher             |T| Sync service
>>> [ecommerce/getVisualThemeResources] finished in [20] millisecon
>>> ds
>>>       [java] 2016-03-01 16:46:44,102 |ttp-bio-8080-exec-10
>>> |ScreenFactory                 |I| Got 18 screens in 0.013s from:
>>> file:/ofbiz/specialpurpose/ecommerce/widget/C            ommonScreens.xml
>>>       [java] 2016-03-01 16:46:44,380 |ttp-bio-8080-exec-10
>>> |ServiceDispatcher             |T| Sync service
>>> [ecommerce/getVisualThemeResources] finished in [1] millisecond
>>> s
>>>       [java] 2016-03-01 16:46:44,483 |ttp-bio-8080-exec-10
>>> |ScreenFactory                 |I| Got 37 screens in 0.012s from:
>>> file:/ofbiz/specialpurpose/ecommerce/widget/C
>>> atalogScreens.xml
>>>       [java] 2016-03-01 16:46:44,527 |ttp-bio-8080-exec-10
>>> |ScreenFactory                 |I| Got 7 screens in 0.008s from:
>>> file:/ofbiz/specialpurpose/ecommerce/widget/Em
>>> ailContactListScreens.xml
>>>       [java] 2016-03-01 16:46:44,664 |ttp-bio-8080-exec-10
>>> |ScreenFactory                 |I| Got 8 screens in 0.009s from:
>>> file:/ofbiz/specialpurpose/ecommerce/widget/Co
>>> ntentScreens.xml
>>>       [java] 2016-03-01 16:46:45,249 |ttp-bio-8080-exec-10
>>> |TransactionUtil               |W| No transaction in place, so not
>>> suspending.
>>>       [java] 2016-03-01 16:46:45,263 |ttp-bio-8080-exec-10
>>> |SequenceUtil                  |I| Got bank of sequenced IDs for
>>> [ServerHitBin]; curSeqId=40680, maxSeqId=40690            , bankSize=10
>>>       [java] 2016-03-01 16:46:45,551 |ttp-bio-8080-exec-10
>>> |ServerHitBin                  |I| Visit delegatorName=default,
>>> ServerHitBin delegatorName=default
>>>       [java] 2016-03-01 16:46:45,560 |ttp-bio-8080-exec-10
>>> |ControlServlet                |T| [[[main(Domain:
>>> http://intranet.galco.com)]
>>> Request Done- total:1.632,since l
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *OFBIZ ERROR log:*
>>>
>>> 2016-03-01 16:29:04,026 |0.0.0.0-startStop-1
>>> |ViewFactory                   |E| null
>>> java.lang.ClassNotFoundException:
>>> org.ofbiz.widget.screen.ScreenWidgetViewHandler
>>>          at
>>>
>>>
>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1720)
>>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571)
>>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at java.lang.Class.forName0(Native Method) ~[?:1.8.0_45]
>>>          at java.lang.Class.forName(Class.java:348) ~[?:1.8.0_45]
>>>          at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:142)
>>> ~[ofbiz-base.jar:?]
>>>          at org.ofbiz.base.util.ObjectType.loadClass(ObjectType.java:98)
>>> ~[ofbiz-base.jar:?]
>>>          at
>>> org.ofbiz.base.util.ObjectType.getInstance(ObjectType.java:158)
>>> ~[ofbiz-base.jar:?]
>>>          at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:49)
>>> [ofbiz-webapp.jar:?]
>>>          at
>>> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
>>> [ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
>>> [ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
>>> [ofbiz-webapp.jar:?]
>>>          at
>>> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
>>> [ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> [?:1.8.0_45]
>>>          at
>>>
>>>
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [?:1.8.0_45]
>>>          at
>>>
>>>
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [?:1.8.0_45]
>>>          at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>>> 2016-03-01 16:29:04,034 |0.0.0.0-startStop-1
>>> |[/practice]                   |E| StandardWrapper.Throwable
>>> org.ofbiz.base.util.GeneralRuntimeException: null
>>> (org.ofbiz.widget.screen.ScreenWidgetViewHandler)
>>>          at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> [?:1.8.0_45]
>>>          at
>>>
>>>
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [?:1.8.0_45]
>>>          at
>>>
>>>
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [?:1.8.0_45]
>>>          at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>>> 2016-03-01 16:29:04,035 |0.0.0.0-startStop-1
>>> |[/practice]                   |E| Servlet [ControlServlet] in web
>>> application [/practice] threw load() exception
>>> org.ofbiz.base.util.GeneralRuntimeException: null
>>> (org.ofbiz.widget.screen.ScreenWidgetViewHandler)
>>>          at org.ofbiz.webapp.view.ViewFactory.<init>(ViewFactory.java:63)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>> org.ofbiz.webapp.control.RequestHandler.<init>(RequestHandler.java:102)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.ofbiz.webapp.control.RequestHandler.getRequestHandler(RequestHandler.java:87)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.ofbiz.webapp.control.ControlServlet.getRequestHandler(ControlServlet.java:326)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>> org.ofbiz.webapp.control.ControlServlet.init(ControlServlet.java:81)
>>> ~[ofbiz-webapp.jar:?]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)
>>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197)
>>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>> org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087)
>>> ~[tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5262)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5550)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at
>>>
>>>
>>> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
>>> [tomcat-7.0.59-catalina.jar:7.0.59]
>>>          at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>>> [?:1.8.0_45]
>>>          at
>>>
>>>
>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>>> [?:1.8.0_45]
>>>          at
>>>
>>>
>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>>> [?:1.8.0_45]
>>>          at java.lang.Thread.run(Thread.java:745) [?:1.8.0_45]
>>>
>>>
>>>
>>> Thanks,
>>> Tom
>>>
>>>
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz won't start up

Jacopo Cappellato-5
In reply to this post by Tom Running
Hi Tom,

please give a try with:

./ant clean-all load-demo start

Jacopo
Reply | Threaded
Open this post in threaded view
|

Re: Ofbiz won't start up

Tom Running
Thank you everyone for your comments and suggestions.
It was a problem with redhat's server security.

Turn off the security by run the following commands.
setenforce 0
service iptables stop

Tom





On Fri, Mar 4, 2016 at 1:16 AM, Jacopo Cappellato <
[hidden email]> wrote:

> Hi Tom,
>
> please give a try with:
>
> ./ant clean-all load-demo start
>
> Jacopo
>