ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boss Advisor <pin...@yahoo.com>
Subject Re: Install errors with Tomcat 6 on Linux
Date Mon, 07 Jun 2010 07:07:34 GMT

Hello, Mr. Freeman.

There was an error during the build. there was the java exception. This
error showed up later on when I ran the java -jar ofbiz.jar -install
-readers=seed,seed-initial to populate the seed data. I think it failed
because during the build. it did not succeed in creating the db tables.

#AutoRelationships=2157
     [java] 2010-06-06 16:49:34,833 (main) [  
GenericDelegator.java:244:INFO ] Doing entity definition check...
     [java] 2010-06-06 16:49:34,838 (main) [
ModelEntityChecker.java:502:INFO ] [initReservedWords] array length=1023
     [java] Exception in thread "main" java.lang.NullPointerException
     [java] at
org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555)
     [java] at
org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101)
     [java] at
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:245)
     [java] at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33)
     [java] at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
     [java] at
org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202)
     [java] at
org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
     [java] at
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:230)
     [java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
     [java] at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
     [java] at org.ofbiz.base.start.Start.startServer(Start.java:322)
     [java] at org.ofbiz.base.start.Start.start(Start.java:326)
     [java] at org.ofbiz.base.start.Start.main(Start.java:411) 


Then I went ahead with java -jar ofbiz.jar -install
-readers=seed,seed-initial
Set OFBIZ_HOME to - /opt/ofbiz
Admin socket not configured; set to port 0
2010-06-06 22:24:08,844 (main) [    ContainerLoader.java:50 :INFO ]
[Startup] Loading containers...
2010-06-06 22:24:09,213 (main) [ ComponentContainer.java:176:INFO ]
Auto-Loading component directory : [/opt/ofbiz/framework]
2010-06-06 22:24:09,247 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [geronimo]
2010-06-06 22:24:09,280 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [sql]
2010-06-06 22:24:09,296 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [entity]
2010-06-06 22:24:09,314 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [catalina]
2010-06-06 22:24:09,336 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [security]
2010-06-06 22:24:09,349 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [datafile]
2010-06-06 22:24:09,365 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [minilang]
2010-06-06 22:24:09,387 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [common]
2010-06-06 22:24:09,400 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [service]
2010-06-06 22:24:09,424 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [entityext]
2010-06-06 22:24:09,479 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [bi]
2010-06-06 22:24:09,491 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [birt]
2010-06-06 22:24:09,507 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [webapp]
2010-06-06 22:24:09,518 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [guiapp]
2010-06-06 22:24:09,533 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [widget]
2010-06-06 22:24:09,569 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [appservers]
2010-06-06 22:24:09,580 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [testtools]
2010-06-06 22:24:09,598 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [webtools]
2010-06-06 22:24:09,617 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [webslinger]
2010-06-06 22:24:09,646 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [images]
2010-06-06 22:24:09,673 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [example]
2010-06-06 22:24:09,682 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [exampleext]
2010-06-06 22:24:09,682 (main) [ ComponentContainer.java:176:INFO ]
Auto-Loading component directory : [/opt/ofbiz/themes]
2010-06-06 22:24:09,712 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [bluelight]
2010-06-06 22:24:09,721 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [tomahawk]
2010-06-06 22:24:09,733 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [bizznesstime]
2010-06-06 22:24:09,742 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [droppingcrumbs]
2010-06-06 22:24:09,770 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [flatgrey]
2010-06-06 22:24:09,779 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [multiflex]
2010-06-06 22:24:09,779 (main) [ ComponentContainer.java:176:INFO ]
Auto-Loading component directory : [/opt/ofbiz/applications]
2010-06-06 22:24:09,809 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [party]
2010-06-06 22:24:09,819 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [securityext]
2010-06-06 22:24:09,833 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [content]
2010-06-06 22:24:09,843 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [workeffort]
2010-06-06 22:24:09,865 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [product]
2010-06-06 22:24:09,875 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [manufacturing]
2010-06-06 22:24:09,910 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [accounting]
2010-06-06 22:24:09,911 (main) [ ComponentContainer.java:273:WARN ] Location
'/opt/ofbiz/applications/accounting/lib/cybersource' does not exist
2010-06-06 22:24:09,917 (main) [ ComponentContainer.java:273:WARN ] Location
'/opt/ofbiz/applications/accounting/lib/worldpay' does not exist
2010-06-06 22:24:09,941 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [humanres]
2010-06-06 22:24:09,964 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [order]
2010-06-06 22:24:09,997 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [marketing]
2010-06-06 22:24:10,028 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [commonext]
2010-06-06 22:24:10,028 (main) [ ComponentContainer.java:176:INFO ]
Auto-Loading component directory : [/opt/ofbiz/specialpurpose]
2010-06-06 22:24:10,046 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [ecommerce]
2010-06-06 22:24:10,054 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [pos]
2010-06-06 22:24:10,062 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [hhfacility]
2010-06-06 22:24:10,070 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [assetmaint]
2010-06-06 22:24:10,077 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [cmssite]
2010-06-06 22:24:10,085 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [ofbiz]
2010-06-06 22:24:10,094 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [projectmgr]
2010-06-06 22:24:10,102 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [oagis]
2010-06-06 22:24:10,110 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [googlebase]
2010-06-06 22:24:10,145 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [googlecheckout]
2010-06-06 22:24:10,156 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [ebay]
2010-06-06 22:24:10,174 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [ebaystore]
2010-06-06 22:24:10,183 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [myportal]
2010-06-06 22:24:10,200 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [webpos]
2010-06-06 22:24:10,208 (main) [ ComponentContainer.java:235:INFO ] Loading
component : [crowd]
2010-06-06 22:24:10,223 (main) [ ComponentContainer.java:176:INFO ]
Auto-Loading component directory : [/opt/ofbiz/hot-deploy]
2010-06-06 22:24:10,247 (main) [ ComponentContainer.java:145:INFO ] All
components loaded
2010-06-06 22:24:10,343 (main) [ClassLoaderContainer.java:50 :INFO ]
CachedClassLoader created
2010-06-06 22:24:10,363 (main) [EntityDataLoadContainer.java:121:INFO ]
Install Argument - readers = seed,seed-initial
2010-06-06 22:24:10,364 (main) [    ContainerLoader.java:95 :INFO ]
[Startup] Starting containers...
Loaded ESAPI properties from classpath
  ========Master Configuration========
  |   LogEncodingRequired=false
  |   LogLevel=ALL
  |   MaxUploadFileBytes=500000000
  |   ResponseContentType=text/html; charset=UTF-8
  |  
ValidExtensions=.zip,.pdf,.doc,.docx,.ppt,.pptx,.tar,.gz,.tgz,.rar,.war,.jar,.ear,.xls,.rtf,.properties,.java,.class,.txt,.xml,.jsp,.jsf,.exe,.dll
  |   Validator.AccountName=^[a-zA-Z0-9]{3,20}$
  |   Validator.CreditCard=^(\d{4}[- ]?){3}\d{4}$
  |   Validator.DirectoryName=^[a-zA-Z0-9.-\_ ]{0,255}$
  |   Validator.Email=^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[a-zA-Z]{2,4}$
  |   Validator.FileName=^[a-zA-Z0-9.\-_ ]{0,255}$
  |   Validator.HTTPCookieName=^[a-zA-Z0-9\-_]{0,32}$
  |   Validator.HTTPCookieValue=^[a-zA-Z0-9\-\/+=_ ]*$
  |   Validator.HTTPHeaderName=^[a-zA-Z0-9\-_]{0,32}$
  |   Validator.HTTPHeaderValue=^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_ ]*$
  |   Validator.HTTPParameterName=^[a-zA-Z0-9_]{0,32}$
  |   Validator.HTTPParameterValue=^[a-zA-Z0-9.\-\/+=_ ]*$
  |  
Validator.IPAddress=^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
  |   Validator.Redirect=^\/test.*$
  |   Validator.RoleName=^[a-z]{1,20}$
  |   Validator.SSN=^(?!000)([0-6]\d{2}|7([0-6]\d|7[012]))([
-]?)(?!00)\d\d\3(?!0000)\d{4}$
  |   Validator.SafeString=^[p{L}p{N}.]{0,1024}$
  |   Validator.SystemCommand=^[a-zA-Z\-\/]{0,64}$
  |  
Validator.URL=^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(\/?)([a-zA-Z0-9\-\.\?\,\:\'\/\\\+=&amp;%\$#_]*)?$
  |   event.test.actions=disable,log
  |   event.test.count=2
  |   event.test.interval=10
  |   org.owasp.esapi.errors.IntegrityException.actions=log,disable,logout
  |   org.owasp.esapi.errors.IntegrityException.count=10
  |   org.owasp.esapi.errors.IntegrityException.interval=5
  |   org.owasp.esapi.errors.IntrusionException.actions=log,disable,logout
  |   org.owasp.esapi.errors.IntrusionException.count=1
  |   org.owasp.esapi.errors.IntrusionException.interval=1
2010-06-06 22:24:10,434 (main) [DelegatorFactoryImpl.java:30 :INFO ]
Creating new delegator [default] (main)
2010-06-06 22:24:12,483 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: statusDelay of
view-entity ExampleStatusDetail
2010-06-06 22:24:12,562 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortAssocFromView because one already
exists with the alias name [sequenceNum] and field name
[WEFROM(WorkEffort).sequenceNum], existing field name is [WEA.sequenceNum]
2010-06-06 22:24:12,564 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortAssocToView because one already
exists with the alias name [sequenceNum] and field name
[WETO(WorkEffort).sequenceNum], existing field name is [WEA.sequenceNum]
2010-06-06 22:24:12,570 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [facilityId] and field name
[PROD(Product).facilityId], existing field name is [WE.facilityId]
2010-06-06 22:24:12,571 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [description] and field name
[PROD(Product).description], existing field name is [WE.description]
2010-06-06 22:24:12,571 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [reserv2ndPPPerc] and field name
[PROD(Product).reserv2ndPPPerc], existing field name is [WE.reserv2ndPPPerc]
2010-06-06 22:24:12,572 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [reservNthPPPerc] and field name
[PROD(Product).reservNthPPPerc], existing field name is [WE.reservNthPPPerc]
2010-06-06 22:24:12,572 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [createdDate] and field name
[PROD(Product).createdDate], existing field name is [WE.createdDate]
2010-06-06 22:24:12,573 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [createdByUserLogin] and field name
[PROD(Product).createdByUserLogin], existing field name is
[WE.createdByUserLogin]
2010-06-06 22:24:12,573 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [lastModifiedDate] and field name
[PROD(Product).lastModifiedDate], existing field name is
[WE.lastModifiedDate]
2010-06-06 22:24:12,573 (main) [    ModelViewEntity.java:690:INFO ] Throwing
out field alias in view entity WorkEffortProductGoods because one already
exists with the alias name [lastModifiedByUserLogin] and field name
[PROD(Product).lastModifiedByUserLogin], existing field name is
[WE.lastModifiedByUserLogin]
2010-06-06 22:24:12,857 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: quantityOrdered of
view-entity OrderItemQuantityReportGroupByItem
2010-06-06 22:24:12,858 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: quantityOpen of
view-entity OrderItemQuantityReportGroupByItem
2010-06-06 22:24:12,859 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: quantityOrdered of
view-entity OrderItemQuantityReportGroupByProduct
2010-06-06 22:24:12,859 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: quantityOpen of
view-entity OrderItemQuantityReportGroupByProduct
2010-06-06 22:24:12,869 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: quantityOrdered of
view-entity OrderItemAndShipGrpInvResAndItemSum
2010-06-06 22:24:12,869 (main) [    ModelViewEntity.java:532:WARN ]
Conversion for complex-alias needs to be implemented for cache and in-memory
eval stuff to work correctly, will not work for alias: totQuantityAvailable
of view-entity OrderItemAndShipGrpInvResAndItemSum
2010-06-06 22:24:12,974 (main) [        ModelReader.java:389:INFO ] FINISHED
LOADING ENTITIES - ALL FILES; #Entities=848 #ViewEntities=267 #Fields=8857
#Relationships=2925 #AutoRelationships=2157
2010-06-06 22:24:12,990 (main) [   GenericDelegator.java:244:INFO ] Doing
entity definition check...
2010-06-06 22:24:12,995 (main) [ ModelEntityChecker.java:502:INFO ]
[initReservedWords] array length=1023
Exception in thread "main" java.lang.NullPointerException
	at
org.ofbiz.entity.GenericDelegator.getEntityFieldType(GenericDelegator.java:555)
	at
org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.java:101)
	at org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:245)
	at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:33)
	at
org.ofbiz.entity.DelegatorFactoryImpl.getInstance(DelegatorFactoryImpl.java:25)
	at org.ofbiz.base.util.UtilObject.getObjectFromFactory(UtilObject.java:202)
	at org.ofbiz.entity.DelegatorFactory.getDelegator(DelegatorFactory.java:47)
	at
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:230)
	at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:100)
	at org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
	at org.ofbiz.base.start.Start.startServer(Start.java:322)
	at org.ofbiz.base.start.Start.start(Start.java:326)
	at org.ofbiz.base.start.Start.main(Start.java:411)
2010-06-06 22:24:13,066 (OFBiz_Shutdown_Hook) [   
ContainerLoader.java:113:INFO ] Shutting down containers
-- 
View this message in context: http://ofbiz.135035.n4.nabble.com/Install-errors-with-Tomcat-6-on-Linux-tp2244665p2245561.html
Sent from the OFBiz Installation mailing list archive at Nabble.com.

Mime
View raw message