Could you give me some suggestion or workaround method for domino java api?

I am a QA tester, when I use domino java API to open a database.

Sometime there will be an exception. When I went to open a database, this database is in local and not in root directory.

For example this database is in c:\test\test\test.nsf. getDatabase will return a exception , this database is not opened yet.

So I put this database in the root directory, it works fine.

String localpath = System.getProperty(“user.dir”) + “\localData\”;

                        Session local_session = NotesFactory.createSessionWithFullAccess();                    



                        Database curDB = local_session.getDatabase(null, localpath+"Server\\tools.nsf");











                        Could you give me some suggestion or workaround method? Thanks.







                        james_ji



                        2009-2-6