ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rakesh" <Rake...@istsinc.com>
Subject Need Help to setup ofbiz10.04 with mysql
Date Wed, 29 Jun 2011 09:14:06 GMT

Hi,

 

AS I am working on ofbiz9.04 all is well with last 2 years.

 

I want to move on Ofbiz10.04 version and downloaded it . It is working fine
with embedded derby DB. 

I want to use it with mysql database but I am getting exception when running
command ./ant run-insatll.

I have made all changes which is required .

 

Could you please help me to solve the problem .

I have put the mysql jar which is required and  made the changes into
entityengine.xml. I have attached my entityEngine.xml file.

 

Following are the exception which I am getting .....

 

 


  [subant] No sub-builds to iterate on 

clean-svninfo: 
     [echo] Resetting svninfo... 
     [echo] Done! 
     [echo] [build] ========== Done Building (Compile) ========== 

run-install: 
     [java] Set OFBIZ_HOME to - /opt/Radical/ofbiz 
     [java] Admin socket not configured; set to port 0 
     [java] 2011-06-29 16:01:59,398 (main) [    ContainerLoader.java:50 
:INFO ] [Startup] Loading containers... 
     [java] 2011-06-29 16:01:59,656 (main) [ 
ComponentContainer.java:177:INFO ] Auto-Loading component directory : 
[/opt/Radical/ofbiz/framework] 
     [java] 2011-06-29 16:01:59,681 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [geronimo] 
     [java] 2011-06-29 16:01:59,696 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [sql] 
     [java] 2011-06-29 16:01:59,715 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [entity] 
     [java] 2011-06-29 16:01:59,726 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [catalina] 
     [java] 2011-06-29 16:01:59,740 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [security] 
     [java] 2011-06-29 16:01:59,750 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [datafile] 
     [java] 2011-06-29 16:01:59,760 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [minilang] 
     [java] 2011-06-29 16:01:59,776 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [common] 
     [java] 2011-06-29 16:01:59,787 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [service] 
     [java] 2011-06-29 16:01:59,794 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [entityext] 
     [java] 2011-06-29 16:01:59,800 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [bi] 
     [java] 2011-06-29 16:01:59,814 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [birt] 
     [java] 2011-06-29 16:01:59,829 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [webapp] 
     [java] 2011-06-29 16:01:59,840 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [guiapp] 
     [java] 2011-06-29 16:01:59,847 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [widget] 
     [java] 2011-06-29 16:01:59,852 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [appservers] 
     [java] 2011-06-29 16:01:59,859 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [testtools] 
     [java] 2011-06-29 16:01:59,864 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [webtools] 
     [java] 2011-06-29 16:01:59,870 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [webslinger] 
     [java] 2011-06-29 16:01:59,884 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [images] 
     [java] 2011-06-29 16:01:59,895 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [example] 
     [java] 2011-06-29 16:01:59,901 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [exampleext] 
     [java] 2011-06-29 16:01:59,901 (main) [ 
ComponentContainer.java:177:INFO ] Auto-Loading component directory : 
[/opt/Radical/ofbiz/themes] 
     [java] 2011-06-29 16:01:59,907 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [bizznesstime] 
     [java] 2011-06-29 16:01:59,913 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [bluelight] 
     [java] 2011-06-29 16:01:59,926 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [droppingcrumbs] 
     [java] 2011-06-29 16:01:59,936 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [flatgrey] 
     [java] 2011-06-29 16:01:59,941 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [multiflex] 
     [java] 2011-06-29 16:01:59,946 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [tomahawk] 
     [java] 2011-06-29 16:01:59,947 (main) [ 
ComponentContainer.java:177:INFO ] Auto-Loading component directory : 
[/opt/Radical/ofbiz/applications] 
     [java] 2011-06-29 16:01:59,957 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [party] 
     [java] 2011-06-29 16:01:59,962 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [securityext] 
     [java] 2011-06-29 16:01:59,980 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [content] 
     [java] 2011-06-29 16:01:59,989 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [workeffort] 
     [java] 2011-06-29 16:02:00,004 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [product] 
     [java] 2011-06-29 16:02:00,010 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [manufacturing] 
     [java] 2011-06-29 16:02:00,021 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [accounting] 
     [java] 2011-06-29 16:02:00,022 (main) [ 
ComponentContainer.java:276:WARN ] Location 
'/opt/Radical/ofbiz/applications/accounting/lib/cybersource' does not exist 
     [java] 2011-06-29 16:02:00,022 (main) [ 
ComponentContainer.java:276:WARN ] Location 
'/opt/Radical/ofbiz/applications/accounting/lib/worldpay' does not exist 
     [java] 2011-06-29 16:02:00,027 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [humanres] 
     [java] 2011-06-29 16:02:00,035 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [order] 
     [java] 2011-06-29 16:02:00,048 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [marketing] 
     [java] 2011-06-29 16:02:00,064 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [commonext] 
     [java] 2011-06-29 16:02:00,065 (main) [ 
ComponentContainer.java:177:INFO ] Auto-Loading component directory : 
[/opt/Radical/ofbiz/specialpurpose] 
     [java] 2011-06-29 16:02:00,071 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [ecommerce] 
     [java] 2011-06-29 16:02:00,075 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [pos] 
     [java] 2011-06-29 16:02:00,080 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [hhfacility] 
     [java] 2011-06-29 16:02:00,084 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [assetmaint] 
     [java] 2011-06-29 16:02:00,088 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [cmssite] 
     [java] 2011-06-29 16:02:00,091 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [ofbiz] 
     [java] 2011-06-29 16:02:00,095 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [projectmgr] 
     [java] 2011-06-29 16:02:00,099 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [oagis] 
     [java] 2011-06-29 16:02:00,106 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [googlebase] 
     [java] 2011-06-29 16:02:00,110 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [googlecheckout] 
     [java] 2011-06-29 16:02:00,114 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [ebay] 
     [java] 2011-06-29 16:02:00,118 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [ebaystore] 
     [java] 2011-06-29 16:02:00,122 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [myportal] 
     [java] 2011-06-29 16:02:00,125 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [webpos] 
     [java] 2011-06-29 16:02:00,129 (main) [ 
ComponentContainer.java:238:INFO ] Loading component : [crowd] 
     [java] 2011-06-29 16:02:00,130 (main) [ 
ComponentContainer.java:177:INFO ] Auto-Loading component directory : 
[/opt/Radical/ofbiz/hot-deploy] 
     [java] 2011-06-29 16:02:00,168 (main) [ 
ComponentContainer.java:146:INFO ] All components loaded 
     [java] 2011-06-29 16:02:00,232 (main) [ClassLoaderContainer.java:50 
:INFO ] CachedClassLoader created 
     [java] 2011-06-29 16:02:00,252 (main) [    ContainerLoader.java:95 
:INFO ] [Startup] Starting containers... 
     [java] 2011-06-29 16:02:00,256 (main) [DelegatorFactoryImpl.java:30 
:INFO ] Creating new delegator [default] (main) 
     [java] Loaded ESAPI properties from classpath 
     [java]   ========Master Configuration======== 
     [java]   |   LogEncodingRequired=false 
     [java]   |   LogLevel=ALL 
     [java]   |   MaxUploadFileBytes=500000000 
     [java]   |   ResponseContentType=text/html; charset=UTF-8 
     [java]   | 
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 
     [java]   |   Validator.AccountName=^[a-zA-Z0-9]{3,20}$ 
     [java]   |   Validator.CreditCard=^(\d{4}[- ]?){3}\d{4}$ 
     [java]   |   Validator.DirectoryName=^[a-zA-Z0-9.-\_ ]{0,255}$ 
     [java]   | 
Validator.Email=^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[a-zA-Z]{2,4}$
<mailto:+@[A-Za-z0-9.-]+\.%5ba-zA-Z%5d%7b2,4%7d$>  
     [java]   |   Validator.FileName=^[a-zA-Z0-9.\-_ ]{0,255}$ 
     [java]   |   Validator.HTTPCookieName=^[a-zA-Z0-9\-_]{0,32}$ 
     [java]   |   Validator.HTTPCookieValue=^[a-zA-Z0-9\-\/+=_ ]*$ 
     [java]   |   Validator.HTTPHeaderName=^[a-zA-Z0-9\-_]{0,32}$ 
     [java]   |   Validator.HTTPHeaderValue=^[a-zA-Z0-9()\-=\*\.\?;,+\/:&_ 
]*$ 
     [java]   |   Validator.HTTPParameterName=^[a-zA-Z0-9_]{0,32}$ 
     [java]   |   Validator.HTTPParameterValue=^[a-zA-Z0-9.\-\/+=_ ]*$ 
     [java]   | 
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]?)$ 
     [java]   |   Validator.Redirect=^\/test.*$ 
     [java]   |   Validator.RoleName=^[a-z]{1,20}$ 
     [java]   |   Validator.SSN=^(?!000)([0-6]\d{2}|7([0-6]\d|7[012]))([ 
-]?)(?!00)\d\d\3(?!0000)\d{4}$ 
     [java]   |   Validator.SafeString=^[p{L}p{N}.]{0,1024}$ 
     [java]   |   Validator.SystemCommand=^[a-zA-Z\-\/]{0,64}$ 
     [java]   | 
Validator.URL=^(ht|f)tp(s?)\:\/\/[0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*(:(0-9)*)*(
\/?)([a-zA-Z0-9\-\.\?\,\:\'\/\\\+=&amp;%\$#_]*)?$ 
     [java]   |   event.test.actions=disable,log 
     [java]   |   event.test.count=2 
     [java]   |   event.test.interval=10 
     [java]   | 
org.owasp.esapi.errors.IntegrityException.actions=log,disable,logout 
     [java]   |   org.owasp.esapi.errors.IntegrityException.count=10 
     [java]   |   org.owasp.esapi.errors.IntegrityException.interval=5 
     [java]   | 
org.owasp.esapi.errors.IntrusionException.actions=log,disable,logout 
     [java]   |   org.owasp.esapi.errors.IntrusionException.count=1 
     [java]   |   org.owasp.esapi.errors.IntrusionException.interval=1 
     [java] 2011-06-29 16:02:01,114 (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 
     [java] 2011-06-29 16:02:01,169 (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] 
     [java] 2011-06-29 16:02:01,169 (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] 
     [java] 2011-06-29 16:02:01,171 (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] 
     [java] 2011-06-29 16:02:01,172 (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] 
     [java] 2011-06-29 16:02:01,173 (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] 
     [java] 2011-06-29 16:02:01,174 (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] 
     [java] 2011-06-29 16:02:01,175 (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] 
     [java] 2011-06-29 16:02:01,175 (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] 
     [java] 2011-06-29 16:02:01,176 (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] 
     [java] 2011-06-29 16:02:01,176 (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] 
     [java] 2011-06-29 16:02:01,218 (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 
     [java] 2011-06-29 16:02:01,220 (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 
     [java] 2011-06-29 16:02:01,220 (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 
     [java] 2011-06-29 16:02:01,221 (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 
     [java] 2011-06-29 16:02:01,222 (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 
OrderReportSalesGroupByProduct 
     [java] 2011-06-29 16:02:01,225 (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 
     [java] 2011-06-29 16:02:01,226 (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 
     [java] 2011-06-29 16:02:01,293 (main) [ 
ModelReader.java:389:INFO ] FINISHED LOADING ENTITIES - ALL FILES; 
#Entities=849 #ViewEntities=267 #Fields=8870 #Relationships=2925 
#AutoRelationships=2157 
     [java] 2011-06-29 16:02:01,304 (main) [ 
GenericDelegator.java:244:INFO ] Doing entity definition check... 
     [java] 2011-06-29 16:02:01,308 (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:5
48) 
     [java]     at 
org.ofbiz.entity.model.ModelEntityChecker.checkEntities(ModelEntityChecker.j
ava: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(EntityDataLoadContain
er.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) 
     [java] 2011-06-29 16:02:01,363 (OFBiz_Shutdown_Hook) [ 
ContainerLoader.java:113:INFO ] Shutting down containers 
     [java] Java Result: 1 

BUILD SUCCESSFUL 




 

 



The information contained in this email and any attachments is confidential and may be subject
to copyright or other intellectual property protection. If you are not the intended recipient,
you are not authorized to use or disclose this information, and we request that you notify
us by reply mail or telephone and delete the original message from your mail system.
Mime
View raw message