ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shane F. MacIntyre" <macinty...@d33.courts.mi.gov>
Subject RE: After server updates, ofbiz build fails.
Date Tue, 30 Oct 2018 18:36:24 GMT
Sorry. I see it now, after looking at it in the email window


-----Original Message-----
From: Shane F. MacIntyre <macintyres@d33.courts.mi.gov> 
Sent: Tuesday, October 30, 2018 2:28 PM
To: user@ofbiz.apache.org
Subject: After server updates, ofbiz build fails.

Hi all,
After a server upgrade, ofbiz build fails. I'm guessing it was the update.
Any ideas?

Info:
Linux 466.******* 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64
x86_64 GNU/Linux

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12) Java HotSpot(TM) 64-Bit Server VM (build
25.191-b12, mixed mode)

Sample failed build:

macintyre@466:/var/ofbiz$ sudo ./gradlew loadDefault ofbiz :compileJava UP-TO-DATE :processResources
UP-TO-DATE :classes UP-TO-DATE :jar UP-TO-DATE :assemble UP-TO-DATE :compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :check UP-TO-DATE
:build UP-TO-DATE :ofbiz --load-data Start.java using configuration file org/apache/ofbiz/base/start/load-data.properties
Set OFBIZ_HOME to - /var/ofbiz
Admin socket not configured; set to port 0
2018-10-30 13:58:59,005 |main                 |ContainerLoader               |I| [Startup]
Loading containers...
2018-10-30 13:58:59,209 |main                 |ContainerLoader               |I| Loading container:
component-container
2018-10-30 13:58:59,232 |main                 |ComponentContainer            |I| Auto-Loading
component directory : [/var/ofbiz/framework]
2018-10-30 13:58:59,284 |main                 |ComponentContainer            |I| Loaded component
: [base]
2018-10-30 13:58:59,323 |main                 |ComponentContainer            |I| Loaded component
: [entity]
2018-10-30 13:58:59,353 |main                 |ComponentContainer            |I| Loaded component
: [security]
2018-10-30 13:58:59,387 |main                 |ComponentContainer            |I| Loaded component
: [datafile]
2018-10-30 13:58:59,408 |main                 |ComponentContainer            |I| Loaded component
: [minilang]
2018-10-30 13:58:59,436 |main                 |ComponentContainer            |I| Loaded component
: [common]
2018-10-30 13:58:59,459 |main                 |ComponentContainer            |I| Loaded component
: [service]
2018-10-30 13:58:59,495 |main                 |ComponentContainer            |I| Loaded component
: [catalina]
2018-10-30 13:58:59,528 |main                 |ComponentContainer            |I| Loaded component
: [entityext]
2018-10-30 13:58:59,561 |main                 |ComponentContainer            |I| Loaded component
: [webapp]
2018-10-30 13:58:59,581 |main                 |ComponentContainer            |I| Loaded component
: [widget]
2018-10-30 13:58:59,615 |main                 |ComponentContainer            |I| Loaded component
: [testtools]
2018-10-30 13:58:59,640 |main                 |ComponentContainer            |I| Loaded component
: [webtools]
2018-10-30 13:58:59,661 |main                 |ComponentContainer            |I| Loaded component
: [images]
2018-10-30 13:58:59,661 |main                 |ComponentContainer            |I| Auto-Loading
component directory : [/var/ofbiz/themes]
2018-10-30 13:58:59,683 |main                 |ComponentContainer            |I| Loaded component
: [bluelight]
2018-10-30 13:58:59,706 |main                 |ComponentContainer            |I| Loaded component
: [flatgrey]
2018-10-30 13:58:59,730 |main                 |ComponentContainer            |I| Loaded component
: [multiflex]
2018-10-30 13:58:59,746 |main                 |ComponentContainer            |I| Loaded component
: [rainbowstone]
2018-10-30 13:58:59,767 |main                 |ComponentContainer            |I| Loaded component
: [tomahawk]
2018-10-30 13:58:59,767 |main                 |ComponentContainer            |I| Auto-Loading
component directory : [/var/ofbiz/applications]
2018-10-30 13:58:59,803 |main                 |ComponentContainer            |I| Loaded component
: [datamodel]
2018-10-30 13:58:59,822 |main                 |ComponentContainer            |I| Loaded component
: [party]
2018-10-30 13:58:59,842 |main                 |ComponentContainer            |I| Loaded component
: [securityext]
2018-10-30 13:58:59,864 |main                 |ComponentContainer            |I| Loaded component
: [content]
2018-10-30 13:58:59,884 |main                 |ComponentContainer            |I| Loaded component
: [workeffort]
2018-10-30 13:58:59,905 |main                 |ComponentContainer            |I| Loaded component
: [product]
2018-10-30 13:58:59,933 |main                 |ComponentContainer            |I| Loaded component
: [manufacturing]
2018-10-30 13:58:59,950 |main                 |ComponentContainer            |I| Loaded component
: [accounting]
2018-10-30 13:58:59,969 |main                 |ComponentContainer            |I| Loaded component
: [humanres]
2018-10-30 13:58:59,988 |main                 |ComponentContainer            |I| Loaded component
: [order]
2018-10-30 13:59:00,011 |main                 |ComponentContainer            |I| Loaded component
: [marketing]
2018-10-30 13:59:00,035 |main                 |ComponentContainer            |I| Loaded component
: [commonext]
2018-10-30 13:59:00,036 |main                 |ComponentContainer            |I| Auto-Loading
component directory : [/var/ofbiz/specialpurpose]
2018-10-30 13:59:00,062 |main                 |ComponentContainer            |I| Loaded component
: [lucene]
2018-10-30 13:59:00,081 |main                 |ComponentContainer            |I| Loaded component
: [solr]
2018-10-30 13:59:00,103 |main                 |ComponentContainer            |I| Loaded component
: [ecommerce]
2018-10-30 13:59:00,118 |main                 |ComponentContainer            |I| Loaded component
: [hhfacility]
2018-10-30 13:59:00,136 |main                 |ComponentContainer            |I| Loaded component
: [assetmaint]
2018-10-30 13:59:00,159 |main                 |ComponentContainer            |W| Location
'/var/ofbiz/specialpurpose/cmssite/build/lib' does not exist
2018-10-30 13:59:00,159 |main                 |ComponentContainer            |I| Loaded component
: [cmssite]
2018-10-30 13:59:00,179 |main                 |ComponentContainer            |I| Loaded component
: [projectmgr]
2018-10-30 13:59:00,197 |main                 |ComponentContainer            |I| Loaded component
: [scrum]
2018-10-30 13:59:00,220 |main                 |ComponentContainer            |I| Loaded component
: [ebay]
2018-10-30 13:59:00,239 |main                 |ComponentContainer            |I| Loaded component
: [myportal]
2018-10-30 13:59:00,261 |main                 |ComponentContainer            |I| Loaded component
: [ldap]
2018-10-30 13:59:00,278 |main                 |ComponentContainer            |I| Loaded component
: [webpos]
2018-10-30 13:59:00,296 |main                 |ComponentContainer            |I| Loaded component
: [birt]
2018-10-30 13:59:00,311 |main                 |ComponentContainer            |I| Loaded component
: [bi]
2018-10-30 13:59:00,328 |main                 |ComponentContainer            |I| Loaded component
: [example]
2018-10-30 13:59:00,349 |main                 |ComponentContainer            |I| Loaded component
: [exampleext]
2018-10-30 13:59:00,380 |main                 |ComponentContainer            |I| Loaded component
: [passport]
2018-10-30 13:59:00,395 |main                 |ComponentContainer            |I| Loaded component
: [ofbizDemo]
2018-10-30 13:59:00,411 |main                 |ComponentContainer            |I| Loaded component
: [indcnl]
2018-10-30 13:59:00,411 |main                 |ComponentContainer            |I| Auto-Loading
component directory : [/var/ofbiz/hot-deploy]
2018-10-30 13:59:00,412 |main                 |ComponentContainer            |I| All components
loaded
2018-10-30 13:59:00,412 |main                 |ContainerLoader               |I| Loaded container:
component-container
2018-10-30 13:59:00,412 |main                 |ContainerLoader               |I| [Startup]
Loading component containers...
2018-10-30 13:59:00,412 |main                 |ContainerLoader               |I| Loading container:
service-container
2018-10-30 13:59:00,414 |main                 |ContainerLoader               |I| Loaded container:
service-container
2018-10-30 13:59:00,414 |main                 |ContainerLoader               |I| Loading container:
dataload-container
2018-10-30 13:59:00,436 |main                 |ContainerLoader               |I| Loaded container:
dataload-container
2018-10-30 13:59:00,437 |main                 |ContainerLoader               |I| [Startup]
Starting containers...
2018-10-30 13:59:00,438 |main                 |ContainerLoader               |I| Starting
container component-container
2018-10-30 13:59:00,438 |main                 |ContainerLoader               |I| Started container
component-container
2018-10-30 13:59:00,438 |main                 |ContainerLoader               |I| Starting
container service-container
2018-10-30 13:59:00,438 |main                 |ContainerLoader               |I| Started container
service-container
2018-10-30 13:59:00,438 |main                 |ContainerLoader               |I| Starting
container dataload-container
2018-10-30 13:59:00,447 |delegator-startup-1  |DelegatorFactoryImpl          |I| Creating
new delegator [default] (delegator-startup-1)
2018-10-30 13:59:01,293 |delegator-startup-1  |UtilXml                       |E| XmlFileLoader:
File /var/ofbiz/specialpurpose/indcnl/entitydef/entitymodel.xml process fatal error. Line:
14. Error message: The end-tag for element type "version" must end with a '>' delimiter.
2018-10-30 13:59:01,293 |delegator-startup-1  |DelegatorFactoryImpl          |E| Error creating
delegator: Error getting document from resource handler (Error reading ComponentResourceHandler
from XML file [indcnl] with loaderName [main] and location [entitydef/entitymodel.xml] (The
end-tag for element type "version" must end with a '>' delimiter.))
org.apache.ofbiz.entity.GenericEntityConfException: Error getting document from resource handler
(Error reading ComponentResourceHandler from XML file [indcnl] with loaderName [main] and
location [entitydef/entitymodel.xml] (The end-tag for element type "version" must end with
a '>' delimiter.))
        at org.apache.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:212)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:95) ~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:221)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:34)
[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
[ofbiz.jar:?]
        at org.apache.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:201)
[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactory$DelegatorConfigurable.call(DelegatorFactory.java:83)
[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactory$DelegatorConfigurable.call(DelegatorFactory.java:74)
[ofbiz.jar:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[?:1.8.0_191]
       at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_191]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] Caused by: org.apache.ofbiz.base.config.GenericConfigException:
Error reading ComponentResourceHandler from XML file [indcnl] with loaderName [main] and location
[entitydef/entitymodel.xml] (The end-tag for element type "version" must end with a '>'
delimiter.)
        at org.apache.ofbiz.base.component.ComponentResourceHandler.getDocument(ComponentResourceHandler.java:69)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:210)
~[ofbiz.jar:?]
        ... 15 more
Caused by: org.xml.sax.SAXParseException: The end-tag for element type "version" must end
with a '>' delimiter.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
        at org.apache.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:562) ~[ofbiz.jar:?]
        at org.apache.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:412) ~[ofbiz.jar:?]
        at org.apache.ofbiz.base.component.ComponentResourceHandler.getDocument(ComponentResourceHandler.java:67)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:210)
~[ofbiz.jar:?]
        ... 15 more
2018-10-30 13:59:01,298 |delegator-startup-1  |DelegatorFactory              |E| null
java.lang.ClassNotFoundException: java.lang.Class
        at org.apache.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:206)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactory$DelegatorConfigurable.call(DelegatorFactory.java:83)
[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactory$DelegatorConfigurable.call(DelegatorFactory.java:74)
[ofbiz.jar:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
[?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
[?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
[?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
[?:1.8.0_191]
        at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
2018-10-30 13:59:01,299 |main                 |DelegatorFactory              |E| null
java.util.concurrent.ExecutionException: java.lang.ClassNotFoundException: java.lang.Class
        at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_191]
org.apache.ofbiz.base.start.StartupException: Cannot start() org.apache.ofbiz.entityext.data.EntityDataLoadContainer
(Invalid delegator name!)
        at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:157)
        at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:80)
        at org.apache.ofbiz.base.start.StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:240)
        at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:71)
        at org.apache.ofbiz.base.start.Start.main(Start.java:84)
Caused by: org.apache.ofbiz.base.container.ContainerException: Invalid delegator name!
        at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadContainer(EntityDataLoadContainer.java:286)
        at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:246)
        at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:155)
        ... 4 more
        at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_191]
        at org.apache.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:44)
[ofbiz.jar:?]
        at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadContainer(EntityDataLoadContainer.java:283)
[ofbiz.jar:?]
        at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:246)
[ofbiz.jar:?]
        at org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:155)
[ofbiz.jar:?]
        at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:80) [ofbiz.jar:?]
        at org.apache.ofbiz.base.start.StartupControlPanel.loadStartupLoaders(StartupControlPanel.java:240)
[ofbiz.jar:?]
        at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:71)
[ofbiz.jar:?]
        at org.apache.ofbiz.base.start.Start.main(Start.java:84) [ofbiz.jar:?] Caused by:
java.lang.ClassNotFoundException: java.lang.Class
        at org.apache.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:206)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactory$DelegatorConfigurable.call(DelegatorFactory.java:83)
~[ofbiz.jar:?]
        at org.apache.ofbiz.entity.DelegatorFactory$DelegatorConfigurable.call(DelegatorFactory.java:74)
~[ofbiz.jar:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_191]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
~[?:1.8.0_191]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
~[?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
~[?:1.8.0_191]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
~[?:1.8.0_191]
        at java.lang.Thread.run(Thread.java:748) ~[?:1.8.0_191]
2018-10-30 13:59:01,466 |Thread-0             |JobPoller                     |I| JobPoller
shutdown completed.
:ofbiz --load-data FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':ofbiz --load-data'.
> Process 'command '/usr/lib/jvm/java-8-oracle/bin/java'' finished with 
> non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to
get more log output.

BUILD FAILED

Total time: 11.291 secs
macintyre@466:/var/ofbiz$



Mime
View raw message