Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a C legacy application start with JNI that requires environment variables. Not java -Djava.library.path -Dvar=foo as these are purely java. I need real environment variables.

When we setup our domains, we usually use the SSH method to start the node managers. This works fine and the env variables are set properly.

Recently the sysadmin has decided for a few reasons to use the SSL mode for nodemanagers. The servers start but the environment variables are not set.

I checked with "pargs -e" (this is a Solaris machine) that the env variable was indeed not present from the nodemanager and for the managed server.

Is SSL starting the managed server without running the .sh scripts or I am missing a parameter somewhere ?

share|improve this question

1 Answer 1

In the nodemanager.properties file, one can define:

StartScriptEnabled=true

And restart the node manager.

This also raised errors because grep, uname and expr were not in the path. We added the path to the script.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.