Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

What is the correct way to set JAZZ_HOME in websphere when using WAS ND in distributed environment?

I have WAS ND installed on 2 servers.   Server 1 has JTS installed, Server 2 has CCM,QM installed.  The Deployment Manager profile is setup on Server 1. 

I access the Deployment Manager using https:<server 1>:<dmgr port>/ibm/console and see Admin,JTS,RQM,CCM application servers installed, with RQM, CCM showing the hostname of Server 2.  After starting the application servers the JTS and Admin apps start successfully.

However, while CCM and RQM start successfully in the console, there's an error in SystemErr log that says it can't find the log4j props file as seen below.

What is the correct way to set the JAVA_HOME and log4j.configuration custom properties when the deployment manager url we access is on server 1 but the RQM and RTC apps are installed on server 2?  If I use the file:///E:/PROGRA~1/IBM......  path it doesn't find it, even though I've verified the correct local path many times.

Do I need to use a UNC path for the apps installed on another server?



[9/26/13 23:50:18:745 PDT] 00000013 SystemErr     R log4j:ERROR Could not read configuration file from URL [file:/E:/PROGRA~1/ibm/JazzTeamServer_SSO_9445_QM/server/conf/startup_log4j.properties].
[9/26/13 23:50:18:745 PDT] 00000013 SystemErr     R java.io.FileNotFoundException: E:\PROGRA~1\ibm\JazzTeamServer_SSO_9445_QM\server\conf\startup_log4j.properties (The system cannot find the path specified.)

0 votes


Accepted answer

Permanent link
The custom properties are set at the jvm level.  THis means  that whatever path is set should exist on the host where that jvm is running.  As long as the custom properties are 1) set for each server instance, 2) the correct formatting is used and 3) the location     exists and has the needed files, this should work.  

The Dmgr has no impact on the custom properties.  It runs on its own jvm...so should not affect the other server instances which are running in their own jvm as well.


Michael Walker selected this answer as the correct answer

0 votes

Comments

Problem ended up being that on the 2nd server PROGRA~1 referenced Program Files (x86) and PROGRA~2 referenced Program Files.  Once I changed the custom property to reflect this it worked.

I've never seen them backwards like that but at least it's working now.


2 other answers

Permanent link
 Hello Michael,
(keeping in mind deploying CLM in a clustered env is not my forte :)

The Infocenter describes the operations to be performed at node level.
I hope you'll find the solution to your issue in there.

Thanks,
Eric.

0 votes


Permanent link
1. Go to servers -> server types -> WAS application servers
2. You should see a list of all the server  instances
3. For each server instance where the clm applications have been installed, the required jvm custom properties need to be set




0 votes

Comments

Abraham

My issue is with the value to put in the JAVA_HOME and log4j custom properties for the apps installed on a separate server. Specifically it's not finding the JAVA_HOME and LOG4J paths on the 2nd server, but it is finding them on Server #1.  My thought was because the Deployment Manager profile I setup is on Server#1 so when I use path file:///E:/PROGRA~1 for CCM and RQM on Server#2 it's actually looking for the path on Server#1 instead.

Below is what I have on each of the servers. I'll add another comment that shows the local path and values I'm using for JAZZ_HOME and LOG4J properties.

Server #1:

WAS ND
Deployment Manager profile
JTS

Server #2:

WAS ND
CCM
RQM



Below are the values I'm using for the custom properties.  JTS is on Server#1 and CCM/RQM are both on a separate server from JTS, Server #2.

JTS values
:

Local Path: E:\Program Files\IBM\Jazz_9444_JTS\server\conf
JAZZ_HOME:  file:///E:/PROGRA~1/IBM/Jazz_9444_JTS/server/conf
LOG4J: file:///E:/PROGRA~1/IBM/Jazz_9444_JTS/server/conf/startup_log4j.properties


CCM Values:

Local Path: E:\Program Files\ibm\JazzTeamServer_SSO_9444_CCM\server\conf
JAZZ_HOME: file:///E:/PROGRA~1/ibm/JazzTeamServer_SSO_9444_CCM/server/conf
LOG4J: file:///E:/PROGRA~1/ibm/JazzTeamServer_SSO_9444_CCM/server/conf/startup_log4j.properties

RQM Values:

Local Path: E:\Program Files\ibm\JazzTeamServer_SSO_9445_QM\server\conf
JAZZ_HOME: file:///E:/PROGRA~1/ibm/JazzTeamServer_SSO_9445_QM/server/conf  
LOG4J: file:///E:/PROGRA~1/ibm/JazzTeamServer_SSO_9445_QM/server/conf/startup_log4j.properties

1 vote

Hmm, so all three apps are installed on the same machine, but you have the apps installed in different locations on that machine. So you have a different JAZZ_HOME for each application?

So the suspicion is that all the apps are using the same JAZZ_HOME even though you are trying to set a different one for each server?

Bo,

JTS is installed on one server and CCM,RQM are both installed on a separate server.

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,495
× 2,357
× 1,381
× 343

Question asked: Sep 27 '13, 3:07 a.m.

Question was seen: 6,849 times

Last updated: Oct 01 '13, 2:22 p.m.

Confirmation Cancel Confirm