A startAdmin.sh server script which is used to start the administration server was written with the following lines at the end:
DATE=/usr/bin/date +%d
/usr/bin/cp -pr /opt/bea/user_projects/domains/Domain/servers/Admin /opt/bea/user_projects/domains/Domain/servers/Admin.BCk.${DATE}
/usr/bin/rm -rf /opt/bea/user_projects/domains/Domain/servers/Admin/*
${DOMAIN_HOME}/bin/startWebLogic.sh >> ${INSTANCE_LOGS} 2>&1 &
It creates a backup of the current Admin server then removes contents of the current instance. My problem is that when I create users and groups it gets overwritten with the default settings on each restart, as with everything else.
Can you all advise me on where the contents of the Admin server is being copied back? Is it in the startWebLogic.sh? If so, what commands or configuration tags do I look for?
Thanks in advance