Data directory not found

Im trying to access a domino database through a local Session (using java). I managed to init the NotesThread and create a session.It was really painfull getting to this point since Domino needs awfully many properties to load the libraries correctly on Linux.

Now it seems there is one more property missing, since Domino does not find the Data Directory. Instead the current directory is taken. And I cant put the classes into the Data Directory, since the project is a servlet running in Tomcat.

Anyone a suggestion?

Yours, Marko