Questo contenuto non è disponibile nella lingua selezionata.
7.7.2. Standalone and In-server Client Configuration
To connect an EJB client to a clustered EJB application, you need to expand the existing configuration in standalone EJB client or In-server EJB client to include cluster connection configuration. The
jboss-ejb-client.properties
for standalone EJB client, or even jboss-ejb-client.xml
file for a server-side application must be expanded to include a cluster configuration.
The following example shows connection configuration for a standalone EJB client. The following example only shows the additional cluster configuration. The next example (Configuring
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
If an application uses the remote-outbound-connection, you need to configure
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
jboss-ejb-client.xml
file) shows the complete configuration:
Example 7.3. Standalone client with jboss-ejb-client.properties
configuration
jboss-ejb-client.xml
file and add cluster configuration as shown in the following example:
Example 7.4. Client application which is deployed in another EAP 6 instance (Configuring jboss-ejb-client.xml file)
Note
For a secure connection you need to add the credentials to cluster configuration in order to avoid an authentication exception.