NotesFactory.createSessionWithFullAccess();

hi,i use a standalone java program to access the local domino server with these instructions

s = NotesFactory.createSessionWithFullAccess();

db =s.getDatabase(null, args[0]);

when this program is launch from the programs scheculed server task, all is ok.

when i launch this program with the command prompt from of a remote desktop connection to the server i got this error:

NotesException: Database server!!collectives\signatures.nsf has not been opened yet

why?, missing environment?

thank