The J2EE Policy Agent installer creates a new file in the Application Server bin directory:
/usr/local/bea/user_projects/domains/ProtectedResource-2/ bin/setAgentEnv_ApplicationServer-2.sh |
Make a backup of setDomainEnv.sh.
# cd /usr/local/bea/user_projects/domains/ProtectedResource-2/bin/
In setDomainEnv.sh, insert the following at the end of the file:
. /usr/local/bea/user_projects/domains/ProtectedResource-2/ bin/setAgentEnv_ApplicationServer-2.sh |
This command references the file the installer created in the Application Server bin directory.
Save the file.
Change permissions for the setAgentEnv_ApplicationServer-2.sh file:
# chmod 755 setAgentEnv_ApplicationServer-2.sh
Start the Application Server administration server.
# cd /usr/local/bea/user_projects/domains/ProtectedResource-2/bin # nohup ./startWebLogic.sh & # tail -f nohup.out |
Watch for startup errors.