I'm certain that the file /opt/oracle/scripts/user.properties
contains CR+LF line endings. (Running the file
command for the properties file would say ... with CRLF line terminators
). Changing those to LF
using dos2unix
or any other utility should make it work.
Moreover, instead of saying:
conn=$username$password$service_name
you could say:
conn="${username}${password}${service_name}"