lmike-mnc
lmike-mnc
> > > I haven't tested it but would expect that it works. > > Did you call `com.mindoo.domino.jna.utils.NotesInitUtils.notesInitExtended(String[])` at the start of your program and `com.mindoo.domino.jna.utils.NotesInitUtils.notesTerm()`at the end? >...
> > > Try `new String[0]`. These are the command line parameters to launch Notes. E.g. you could specify `"=c:\temp\notes.ini"` to set the Notes.ini path. Thank you a lot I'll...
> > > What do you mean? Domino JNA would run with the server ID. yes true, but I have user ID (if it's necessary) > Ubuntu is an unsupported...
Sorry, I've tried, but unsuccessfull :( my code ``` package com.setralubs; import com.mindoo.domino.jna.*; import com.mindoo.domino.jna.NotesCollection.EntriesAsListCallback; import com.mindoo.domino.jna.constants.Navigate; import com.mindoo.domino.jna.constants.OpenNote; import com.mindoo.domino.jna.constants.ReadMask; import com.mindoo.domino.jna.gc.NotesGC; import lotus.domino.NotesException; import lotus.domino.NotesFactory; import lotus.domino.NotesThread; import...
> And for each Thread that is accessing Domino data, call `com.mindoo.domino.jna.utils.NotesInitUtils.notesInitThread()` at the start and `com.mindoo.domino.jna.utils.NotesInitUtils.notesTermThread()` at the end. @klehmann thanks again... that works with small details for domino...
Klehmann Thank you > Regarding the NullPointerException, got that here as well with the R11 beta. > Found out that the order of stermThread/NotesTerm is wrong in my unit test....
> Please check if allIds contains any values. > > ```java > LinkedHashSet allIds = colFromDbData.getAllIds(Navigate.ALL_DESCENDANTS); > ``` > > Using `ALL_DESCENDANTS` here does not really make sense. Haven't tried...
> I created a sample standalone app that is working on my Mac (running in Eclipse): > https://github.com/klehmann/domino-jna/tree/master/standalone-app-sample Thanks , it's very helpful
Thanks main issue is server environment, I don't remember notes.ini as parameter for server binary. So I think it's not possible to use notes.ini path for me
another issue - non ASCII symbols (for example Cyrillic) - doesn't follow to link