Domino 9 und frühere Versionen > ND6: Entwicklung

java programm zur Änderung der Internetpassworts (Linux spezifisch)

(1/1)

Romario:
Hi,

erstmal, sorry, ich bin ziemlicher Laie auf dem Gebiet, und das Programm hat grösstenteils ein Kollege geschrieben. Es funktioniert auch unter Windows, aber alle unsere Server laufen unter Linux. Und dort funktioniert es nicht.

Ich kompiliere die Datei unter Windows:

javac -source 1.2 -target 1.1 NotesPasswordChange.java

Und starte das Programm unter Linux:
[notes@asp3 notesdata]$ export LD_ASSUME_KERNEL=2.4.19
[notes@asp3 notesdata]$ export LD_LIBRARY_PATH=/opt/lotus/notes/latest/linux:/opt/lotus/notes/latest/linux/jvm/bin:/opt/lotus/notes/latest/linux/jvm/bin/classic[notes@asp3 notesdata]$ /opt/lotus/notes/latest/linux/java -cp /opt/lotus/notes/latest/linux/Notes.jar:. NotesPasswordChange a b c
Exception in thread "main" java.lang.Exception: Notes initialization failure - err 4103
        at lotus.domino.NotesThread.NnotesInitThread(Native Method)
        at lotus.domino.NotesThread.sinitThread(NotesThread.java:185)
        at NotesPasswordChange.main(NotesPasswordChange.java:25)
[notes@asp3 notesdata]$

Kann mir jemand helfen?
Oder hat sowas ähnliches schonmal gemacht, d.h. ich müsste per Kommandozeile das Passwort setzen können...

Danke
Rainer

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln