beautypg.com

HP Integrity NonStop H-Series User Manual

Page 112

background image

5.

Am trying to invoke a Stateful Session Bean but am getting a SASL exception. Am sure that I
have provided the right credentials. How do I fix this problem?
The jboss-ejb-client.properties should contain authentication information for the
cluster too. The following is a complete listing of jboss-ejb-client.properties that is
used to successfully invoke a Stateful Session Bean on NSASJ.

remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false

remote.connections=default
remote.connection.default.host=prod.ind.hp.com
remote.connection.default.port = 10000
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.connection.default.connect.options.org.xnio.Options.SASL_DISALLOWED_MECHANISMS=JBOSS-LOCAL-USER
remote.connection.default.username=nsasj
remote.connection.default.password=nsasj123

#Properties used for cluster authentication
remote.clusters=ejb
remote.cluster.ejb.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=false
remote.cluster.ejb.connect.options.org.xnio.Options.SSL_ENABLED=false
remote.cluster.ejb.username= nsasj
remote.cluster.ejb.password= nsasj123

The cluster authentication credentials are same as the one used for the remote connection.

6.

I see log files in multiple places. What are these log files?
Each component of NSASJ architecture produces its own log file. The following are the different
log files:

Column Head

Column Head

Component

Contains the Host Controller log
messages.

<NSASJ_HOME>/log/host-controller.log

Host Controller

Contains the log messages of the
NSASJ Server instances. The

<NSASJ_HOME>/domain/servers/nsasj-server/log

NSASJ Server Instances

message from an individual server
instance can be identified by CPU
PIN $PROC_NAME in the published
message.

Contains the messages written to
STDOUT and STDERR by the
NSASJ Server Instances.

<NSASJ_HOME>/bin/outlog

Contains the log messages from the
Post Master component of NSASJ.

<NSASJ_HOME>/OpenPortMapper-1.0.6/logs/proxy.log

Post Master

Contains the STDOUT and STDERR
output of Post Master.

<NSASJ_HOME>/OpenPortMapper-1.0.6/bin/outlog

Contains the cache server logs. The
messages written to STDOUT and
STDERR too are written to this file.

<NSASJ_HOME>/infinispan-5.1.4.FINAL/bin/infinispan.log

Infinispan Cache Server

Contains the output from installation
of NSASJ. Refer to this log to get

<NSASJ_HOME>/install.log

Others

the port numbers on which the
various NSASJ services are
running.

7.

How do I increase the Java Heap of the NSASJ instances?
In the /bin/config.prop file, uncomment the SERVER_JVM_ARGS, and
provide the -Xms and -Xmx values in a comma separate format. For example,
SERVER_JVM_ARGS=”-Xms512m, -Xmx512m”

.

8.

My application requires JDBC SQLMX T2 driver. Where do I specify the library path?
The path to the native component of JDBC T2 driver needs to be specified in the
_RDL_LIB_PATH

environment variable that needs to be defined in the config.prop file

in the <NSASJ_HOME>/bin folder.

112

Frequently asked questions

This manual is related to the following products: