For CA RCM components to use correct communication ports in a clustered JBoss environment, you need to edit CA RCM and JBoss files.
To configure the JBoss cluster server image
JBoss_root/bin
Note: JBoss_root is the JBoss installation root directory.
run.bat -c eurekify -b 0.0.0.0
run.bat -c all -b 0.0.0.0 -g CA_RCM_Cluster -u 233.3.4.4 -D 43366
Save changes to the file.
JBoss_root/server/all/lib
JBoss_root/server/all/farm/wpServerPlus.ear/wpServer.jar/META-INF/
<jndi-name>jms
Replace the string with the following string:
<jndi-name>jnp://localhost:1100/jms
Note: Port 1100 is the default JBoss port. Use the relevant port for your environment.
<resource-ref> <res-ref-name>jms/wpConnectionFactory</res-ref-name> <jndi-name>jms/wpConnectionFactory</jndi-name> </resource-ref>
Change the value of the jndi-name element as follows:
<jndi-name>jnp://localhost:1100/jms/wpConnectionFactory</jndi-name>
<resource-env-ref> <res-env-ref-name>jms/wpUtilQueue</res-env-ref-name> <jndi-name>queue/wpUtilQueue</jndi-name> </resource-env-ref>
Change the value of the jndi-name element as follows:
<jndi-name>jnp://localhost:1100/queue/wpUtilQueue</jndi-name>
<resource-env-ref> <res-env-ref-name>jms/wpServAutoActQueue</res-env-ref-name> <jndi-name>queue/wpServAutoActQueue</jndi-name> </resource-env-ref>
Change the value of the jndi-name element as follows:
<jndi-name>jnp://localhost:1100/queue/wpServAutoActQueue</jndi-name>
Save changes to the file.
JBoss_root/server/all/farm/eurekify.war/WEB-INF/
classpath:/META-INF/txLog/txLogSimpleContext.xml
Replace the statement with the following statements:
classpath:/META-INF/txLog/txLogJmsContext.xml classpath:/META-INF/txLog/jbossmqJmsContext.xml
classpath:/META-INF/schedulerSimpleContext.xml
Replace the statement with the following statements:
classpath:/META-INF/schedulerClusteredContext.xml
Save changes to the file.
JBoss_root/server/all/farm
JBoss_root/server/all/deploy-hasingleton/jms
<!-- RCM Queus Start RCM Queus End -->
Save changes to the file.
JBoss_root/docs/examples/jms/
JBoss_root/server/all/deploy-hasingleton/jms/
"name=jndi/MSSQLDS"
"name=OracleDS"
"name=JDBC/jbossmqDS"
JBoss_root/server/all/farm/eurekify.war/WEB-INF/classes/META-INF
JBoss_root/server/all/deploy/jboss-web.deployer
URIENCODING="UTF-8"
Save changes to the file.
| Copyright © 2010 CA. All rights reserved. | Email CA Technologies about this topic |