Red Hat NETSCAPE DIRECTORY SERVER 6.01 - DEPLOYMENT Installation Guide Page 113

  • Download
  • Add to my manuals
  • Print
  • Page
    / 143
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 112
22
Configuring JMS Adapters in J2EE Servers
JMS Adapters are setup in a J2EE Server instance determining the connectivity to a
Message Server (Embedded, Standalone or HA-Message Server). JMS Adapters can be
configured in
resource-config.xml file of the J2EE Server (Standalone or cluster-node).
In case of non-embedded Message Server, that is when the JMS Service is not running in
the same VM as the EJBService, specify:
com.pramati.naming.client.PramatiClientContextFactory for
java.naming.factory.initial. Also, specify the IP and port of the VM where the
Message Server is running in
resource-config.xml. In case of HA Message Server,
provide the comma separated list of URLs of HA Message Server nodes.
Sample Configuration for JMS Adapters
Sample configuration for the local JMS Adapter is shown below. The sample configuration
is valid only for a Message Server running in embedded mode:
<jms-adapters>
<jms-adapter name="default" description="nodesc" interface-
class="com.pramati.jms.client.JMSProviderImpl">
<properties>
<property name="java.naming.factory.initial"
value="com.pramati.naming.PramatiLocalContextFactory"/>
<property name="java.naming.provider.url" value="rmi://
localhost:9191"/>
</properties>
</jms-adapter>
</jms-adapters>
Sample configuration for the external JMS Adapter (non-HA) is shown below. The sample
configuration is valid only for a Message Server not running in embedded mode.
jmshost
is the host where the Standalone Message Server is running on Port 2099:
<jms-adapters>
<jms-adapter name="default" description="nodesc" interface-
class="com.pramati.jms.client.JMSProviderImpl">
<properties>
<property name="java.naming.factory.initial" value="com.pra-
mati.naming.PramatiClientContextFactory"/>
< property name="java.naming.provider.url" value="rmi://
jmshost:2099"/>
Page view 112
1 2 ... 108 109 110 111 112 113 114 115 116 117 118 ... 142 143

Comments to this Manuals

No comments