Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…535-47bb-0310-9956-ffa450edef68
  • Loading branch information
JacquesLeRoux committed Apr 19, 2009
1 parent 2bfde55 commit f93c260
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ofbiz</name>
<name>ofbizDev</name>
<comment></comment>
<projects>
</projects>
Expand Down
17 changes: 9 additions & 8 deletions framework/base/config/limited-containers.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
Expand Down Expand Up @@ -30,16 +30,17 @@ under the License.

<!-- RMI Service Dispatcher -->
<container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer">
<property name="use-initial-context" value="true"/>
<property name="use-initial-context" value="ftrue"/>
<property name="bound-name" value="RMIDispatcher"/>
<property name="bound-host" value="127.0.0.1"/>
<property name="bound-port" value="1099"/>
<property name="delegator-name" value="default"/>
<property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
<!--property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
<property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>
<property name="ssl-keystore" value="framework/base/config/ofbizrmi.jks"/>
<property name="ssl-keystore-type" value="JKS"/>
<property name="ssl-keystore-pass" value="changeit"/>
<property name="ssl-keystore-alias" value="rmissl"/>
<property name="ssl-client-auth" value="true"/>
<property name="ssl-client-auth" value="true"/-->
<property name="client-factory" value="org.ofbiz.service.rmi.socket.zip.CompressionClientSocketFactory"/>
<property name="server-factory" value="org.ofbiz.service.rmi.socket.zip.CompressionServerSocketFactory"/>
<property name="ssl-client-auth" value="false"/>
</container>

<!-- load BeanShell remote telnet server -->
Expand Down
11 changes: 6 additions & 5 deletions framework/base/config/ofbiz-containers.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ under the License.
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/ofbiz-containers.xsd">
<!-- load the ofbiz component container (always first) -->
<container name="component-container" class="org.ofbiz.base.container.ComponentContainer"/>


<!-- load the cached classloader container (always second) -->
<container name="classloader-container" class="org.ofbiz.base.container.ClassLoaderContainer"/>
Expand All @@ -37,14 +38,14 @@ under the License.

<!-- load the naming (JNDI) server -->
<container name="naming-container" class="org.ofbiz.base.container.NamingServiceContainer">
<property name="port" value="1099"/>
<property name="port" value="20099"/>
</container>

<!-- RMI Service Dispatcher -->
<container name="rmi-dispatcher" class="org.ofbiz.service.rmi.RmiServiceContainer">
<property name="bound-name" value="RMIDispatcher"/>
<property name="bound-host" value="127.0.0.1"/>
<property name="bound-port" value="1099"/>
<property name="bound-port" value="20099"/>
<property name="delegator-name" value="default"/>
<property name="client-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLClientSocketFactory"/>
<property name="server-factory" value="org.ofbiz.service.rmi.socket.ssl.SSLServerSocketFactory"/>
Expand Down Expand Up @@ -195,7 +196,7 @@ under the License.
<property name="maxThreads" value="100"/>
<property name="minSpareThreads" value="4"/>
<property name="noCompressionUserAgents" value=""/>
<property name="port" value="8080"/>
<property name="port" value="28080"/>
<property name="restrictedUserAgents" value=""/>
<property name="server" value=""/>
<property name="socketBuffer" value="9000"/>
Expand Down Expand Up @@ -233,7 +234,7 @@ under the License.
<property name="maxThreads" value="100"/>
<property name="minSpareThreads" value="4"/>
<property name="noCompressionUserAgents" value=""/>
<property name="port" value="8443"/>
<property name="port" value="28443"/>
<property name="restrictedUserAgents" value=""/>
<property name="server" value=""/>
<property name="socketBuffer" value="9000"/>
Expand All @@ -259,7 +260,7 @@ under the License.
<!-- load BeanShell remote telnet server -->
<container name="beanshell-container" class="org.ofbiz.base.container.BeanShellContainer">
<!-- the port below and port-1 will be opened by beanshell -->
<property name="telnet-port" value="9990"/>
<property name="telnet-port" value="29990"/>
<property name="app-name" value="OFBiz"/>
</container>
</ofbiz-containers>
10 changes: 5 additions & 5 deletions framework/common/config/general.properties
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ partner.trackingCodeId.default=
usps.address.match=(^.*?p[\\. ]*o[\\. ]*box.*$)|(^.*?post.*?office.*?box.*$)|((^|(^.*? ))r[\\. ]*r[\\. ]*(( +)|([0-9#]+)).*$)|(^.*?rural.*?route.*$)

# -- mail notifications enabled (Y|N)
mail.notifications.enabled=N
mail.notifications.enabled=Y

# -- redirect all mail notifications to this address for testing
#mail.notifications.redirectTo=
mail.notifications.redirectTo=[email protected]

# -- the default mail server to use
mail.smtp.relay.host=localhost
mail.smtp.relay.host=192.168.2.3

# -- SMTP Auth settings
#mail.smtp.auth.user=
#mail.smtp.auth.password=
mail.smtp.auth.user=
mail.smtp.auth.password=

# -- Additional Required Fields needed for Gmail and other non traditional smtp servers
# -- These added fields also work for Yahoo business mail for instance
Expand Down
13 changes: 8 additions & 5 deletions framework/entity/config/entityengine.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
</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"/>
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)
Expand All @@ -49,7 +49,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
<!-- 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">
<delegator name="localderby" 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="localderby"/>
<group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
</delegator>
Expand All @@ -60,11 +60,12 @@ access. For a detailed description see the core/docs/entityconfig.html file.

<!-- 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="localderby"/>
<group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
<group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
</delegator>
<delegator name="other" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<delegator name="default" sequenced-id-prefix="OFB" entity-model-reader="main" entity-group-reader="main" entity-eca-reader="main">
<group-map group-name="org.ofbiz" datasource-name="localpostgres"/>
<group-map group-name="org.ofbiz.olap" datasource-name="localderbyolap"/>
</delegator>

<!-- need to at least define a name for each component to use -->
Expand Down Expand Up @@ -191,6 +192,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
pool-maxsize="250"/>
<!-- <jndi-jdbc jndi-server-name="localjndi" jndi-name="java:/DerbyDataSource" isolation-level="ReadCommitted"/> -->
</datasource>

<datasource name="localderbyolap"
helper-class="org.ofbiz.entity.datasource.GenericHelperDAO"
schema-name="OFBIZ"
Expand Down Expand Up @@ -338,6 +340,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
use-fk-initially-deferred="false"
alias-view-columns="false"
join-style="ansi"
result-fetch-size="50"
use-binary-type-for-blob="true">
<!-- use this attribute to make the EntityListIterator more effective for pgjdbc 7.5devel and later:
result-fetch-size="50"
Expand All @@ -348,7 +351,7 @@ access. For a detailed description see the core/docs/entityconfig.html file.
<read-data reader-name="ext"/>
<inline-jdbc
jdbc-driver="org.postgresql.Driver"
jdbc-uri="jdbc:postgresql://127.0.0.1/ofbiz"
jdbc-uri="jdbc:postgresql://127.0.0.1:5434/ofbizDev"
jdbc-username="ofbiz"
jdbc-password="ofbiz"
isolation-level="ReadCommitted"
Expand Down
4 changes: 2 additions & 2 deletions framework/webapp/config/url.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@

# HTTPS Port (Secure port)
port.https.enabled=Y
port.https=8443
port.https=28443
force.https.host=

# HTTP Port (Not Secure port)
port.http=8080
port.http=28080
force.http.host=

# Static Content URLs to make it easy to move the serving load for static content to other machines
Expand Down

0 comments on commit f93c260

Please sign in to comment.