Installation guide
84
Pramati Server 3.5 Administration Guide
<property name="table-name" value=""/>
</ejb-cluster-persistence>
<!--the default type here is "in-memory", use "db" for DB persistence -->
<web-cluster-persistence >
<property name="url" value=""/>
<property name="url" value=""/>
<property name="user" value=""/>
<property name="password" value=""/>
<property name="table-name" value=""/>
</web-cluster-persistence>
<!-- the upload-config allows pre-configuring the created cluster.e.g.The
configuration for nodename1 would be uploaded
to the DB and this configuration would be synced up to the other nodes.-
->
<upload-config-source-node name="nodename1" />
</cluster>
</configuration-topology>
Using - configuration flag for custom node configuration
You can use the -configuration flag with the NodeCreator utility and pass the name of a
configuration file as a parameter. For example:
com.pramati.NodeCreator -configuration
config.xml
The config.xml file can have the following structure:
<server-configuration>
<configuration service-name="ResourceService">
<datasource name="myDS" connection-factory="myCF" transaction-participa-
tion="true" description="No Description">
<pool-properties min-pool-size="10" max-pool-size="20" initial-pool-
size="2" refresh-interval-seconds="" connection-request-timeout-sec-
onds="" idle-timeout-seconds="" cache-size="" />
<connection-validation sql="" class="" />
</datasource>
<connection-factory name="myCF" description="" classname="COM.cloud-
scape.core.RmiJdbcDriver" url="jdbc:cloud-
scape:rmi:D:\CTS\j2eects\db_cs40\DB1" authorized-by="Container">
<login-parameters user="" password="" mask-password="false"/>
</connection-factory>
<-jms-adapter name="myAdapter" description="No Description" interface-
class="com.pramati.jms.client.JMSProviderImpl">