Hey Dirk,
Just a guess but if you say that your sqlplus command line works fine with the @ORACLE_SID at the end, try modifying your:
ns_param datasource {}