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\-\.\?\,\:\'\/\\\+=&%\$#_]*)?$
[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.<?xml version="1.0" encoding="UTF-8" ?>
<entity-config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/entity-config.xsd">
<resource-loader name="fieldfile" class="org.ofbiz.base.config.FileLoader"
prepend-env="ofbiz.home" prefix="/framework/entity/fieldtype/"/>
<!-- the transaction factory class to use, one is needed for each way of getting JTA interfaces -->
<!-- Use this one for Geronimo -->
<transaction-factory class="org.ofbiz.geronimo.GeronimoTransactionFactory"/>
<!-- Use this one for getting the JTA objects from JNDI -->
<!-- NOTE: to use the JndiFactory you must specify the necessary JNDI properties
<transaction-factory class="org.ofbiz.entity.transaction.JNDIFactory">
<user-transaction-jndi jndi-server-name="default" jndi-name="java:comp/UserTransaction"/>
<transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/UserTransaction"/>
</transaction-factory>
-->
<!--
It is common to use UserTransaction for the TransactionManager, but if that doesn't work, try this: <transaction-manager-jndi jndi-server-name="default" jndi-name="java:comp/TransactionManager"/>
Common UserTransaction locations:
java:comp/UserTransaction (most servers: Resin, Orion, OC4J, etc)
UserTransaction (RexIP)
JBoss uses two different objects for the UserTransaction and TransactionManager interfaces;
they are located in JNDI at: "java:comp/UserTransaction" and "java:/TransactionManager" respectively
-->
<!-- the connection factory class to use, one is needed for obtaining connections/pools for defined resources -->
<connection-factory class="org.ofbiz.entity.connection.DBCPConnectionFactory"/>
<delegator name="default" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" distributed-cache-clear-enabled="false">
<group-map group-name="org.ofbiz" datasource-name="localmysql"/>
<group-map group-name="org.ofbiz.olap" datasource-name="odbcmysql"/>
</delegator>
<delegator name="default-no-eca" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main" entity-eca-enabled="false" distributed-cache-clear-enabled="false">
<group-map group-name="org.ofbiz" datasource-name="localmysql"/>
<group-map group-name="org.ofbiz.olap" datasource-name="odbcmysql"/>
</delegator>
<!-- be sure that your default delegator (or the one you use) uses the same datasource for test. You must run "ant run-install" before running "ant run-tests" -->
<delegator name="test" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localmysql"/>
<group-map group-name="org.ofbiz.olap" datasource-name="odbcmysql"/>
</delegator>
<delegator name="other" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
</delegator>
<!-- need to at least define a name for each component to use -->
<entity-model-reader name="main"/>
<!-- need to at least define a name for each component to use -->
<entity-group-reader name="main"/>
<!-- need to at least define a name for each component to use -->
<entity-eca-reader name="main"/>
<!-- need to at least define a name for each component to use -->
<!-- defining:
seed = OFBiz and External Seed Data - to be maintained along with source and updated whenever a system deployment is updated
seed-initial = OFBiz and External Seed Data - to be maintained along with source like other seed data, but only loaded initially and not updated when a system is updated except manually reviewing each line
demo = OFBiz Only Demo Data
ext = External General Data (custom)
ext-test = External Test Data (custom)
ext-demo = External Demo Data (custom)
-->
<entity-data-reader name="seed"/>
<entity-data-reader name="seed-initial"/>
<entity-data-reader name="demo"/>
<entity-data-reader name="ext"/>
<entity-data-reader name="ext-test"/>
<entity-data-reader name="ext-demo"/>
<field-type name="hsql" loader="fieldfile" location="fieldtypehsql.xml"/>
<field-type name="derby" loader="fieldfile" location="fieldtypederby.xml"/>
<field-type name="cloudscape" loader="fieldfile" location="fieldtypecloudscape.xml"/>
<field-type name="daffodil" loader="fieldfile" location="fieldtypedaffodil.xml"/>
<field-type name="axion" loader="fieldfile" location="fieldtypeaxion.xml"/>
<field-type name="mysql" loader="fieldfile" location="fieldtypemysql.xml"/>
<field-type name="postgres" loader="fieldfile" location="fieldtypepostgres.xml"/>
<field-type name="postnew" loader="fieldfile" location="fieldtypepostnew.xml"/>
<field-type name="oracle" loader="fieldfile" location="fieldtypeoracle.xml"/>
<field-type name="sapdb" loader="fieldfile" location="fieldtypesapdb.xml"/>
<field-type name="sybase" loader="fieldfile" location="fieldtypesybase.xml"/>
<field-type name="firebird" loader="fieldfile" location="fieldtypefirebird.xml"/>
<field-type name="mssql" loader="fieldfile" location="fieldtypemssql.xml"/>
<field-type name="advantage" loader="fieldfile" location="fieldtypeadvantage.xml"/>
<!--
For DAO/JDBC Helper: Tries:
1. JNDI Datasource IF jdbc.jndi.name, context.provider, etc are specified
2. Embedded (JOTM) if available (uses jdbc.driver, jdbc.uri, jdbc.username, jdbc.password, isolation.level)
3. Direct to manually laoded JDBC driver (uses jdbc.driver, jdbc.uri, jdbc.username, jdbc.password)
Transaction Isolation Levels - (<helperName>.isolation.level) can be as follows:
* None
* ReadCommitted (Recommended)
* ReadUncommitted
* RepeatableRead
* Serializable (NOT Recommended)
* Not set uses database default
-->
<datasource name="localmysql"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
field-type-name="mysql"
check-on-start="true"
add-missing-on-start="true"
check-pks-on-start="false"
use-foreign-keys="true"
join-style="ansi-no-parenthesis"
alias-view-columns="false"
drop-fk-use-foreign-key-keyword="true"
table-type="InnoDB"
character-set="utf8"
collate="utf8_general_ci">
<read-data reader-name="seed"/>
<read-data reader-name="seed-initial"/>
<read-data reader-name="demo"/>
<read-data reader-name="ext"/>
<inline-jdbc
jdbc-driver="com.mysql.jdbc.Driver"
jdbc-uri="jdbc:mysql://127.0.0.1:3306/ofbiz?autoReconnect=true;characterEncoding=UTF-8"
jdbc-username="root"
jdbc-password="ists"
isolation-level="ReadCommitted"
pool-minsize="2"
pool-maxsize="250"/>
<!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/MySqlDataSource" isolation-level="Serializable"/> -->
</datasource>
<datasource name="odbcmysql"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
field-type-name="mysql"
check-on-start="true"
add-missing-on-start="true"
check-pks-on-start="false"
use-foreign-keys="true"
join-style="ansi-no-parenthesis"
alias-view-columns="false"
drop-fk-use-foreign-key-keyword="true"
table-type="InnoDB"
character-set="utf8"
collate="utf8_general_ci">
<read-data reader-name="seed"/>
<inline-jdbc
jdbc-driver="com.mysql.jdbc.Driver"
jdbc-uri="jdbc:mysql://127.0.0.1:3306/ofbiz_odbc?autoReconnect=true;characterEncoding=UTF-8"
jdbc-username="root"
jdbc-password="ists"
isolation-level="ReadCommitted"
pool-minsize="2"
pool-maxsize="250"/>
</datasource>
</entity-config>