Files
ofbiz-framework/framework/appserver/templates/jboss422/patches/jboss-ee-cfg.patch
T
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00

79 lines
3.8 KiB
Diff

Index: framework/entity/config/entityengine.xml
===================================================================
--- framework/entity/config/entityengine.xml (revision 661518)
+++ framework/entity/config/entityengine.xml (working copy)
@@ -28,15 +28,15 @@
<!-- 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"/>
+ <!--<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
+ <!-- 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-manager-jndi jndi-server-name="default" jndi-name="java:/TransactionManager"/>
</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:
@@ -160,6 +160,7 @@
<read-data reader-name="seed-initial"/>
<read-data reader-name="demo"/>
<read-data reader-name="ext"/>
+ <!--
<inline-jdbc
jdbc-driver="org.apache.derby.jdbc.EmbeddedDriver"
jdbc-uri="jdbc:derby:ofbiz;create=true"
@@ -168,7 +169,8 @@
isolation-level="ReadCommitted"
pool-minsize="2"
pool-maxsize="250"/>
- <!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/DerbyDataSource" isolation-level="ReadCommitted"/> -->
+ -->
+ <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/OFBizDS" isolation-level="ReadCommitted"/>
</datasource>
<datasource name="localderbyodbc"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
@@ -179,6 +181,7 @@
use-pk-constraint-names="false"
use-indices-unique="false"
alias-view-columns="false">
+ <!--
<inline-jdbc
jdbc-driver="org.apache.derby.jdbc.EmbeddedDriver"
jdbc-uri="jdbc:derby:ofbizodbc;create=true"
@@ -187,7 +190,8 @@
isolation-level="ReadCommitted"
pool-minsize="2"
pool-maxsize="250"/>
- <!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/DerbyDataSource" isolation-level="ReadCommitted"/> -->
+ -->
+ <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/OFBizOdbcDS" isolation-level="ReadCommitted"/>
</datasource>
<datasource name="localderbyolap"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
@@ -202,6 +206,7 @@
<read-data reader-name="seed-initial"/>
<read-data reader-name="demo"/>
<read-data reader-name="ext"/>
+ <!--
<inline-jdbc
jdbc-driver="org.apache.derby.jdbc.EmbeddedDriver"
jdbc-uri="jdbc:derby:ofbizolap;create=true"
@@ -210,7 +215,8 @@
isolation-level="ReadCommitted"
pool-minsize="2"
pool-maxsize="250"/>
- <!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/DerbyDataSource" isolation-level="ReadCommitted"/> -->
+ -->
+ <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/OFBizOlapDS" isolation-level="ReadCommitted"/>
</datasource>
<datasource name="localcloudscape"