Hi ,
ich hab im die Zeile editiert ich wollte kein Password und Servernamen ins Forum stellen.
Hab mir gerade die jars vom server gezogen , aber es kamm der gleiche Fehler. Kann es an der Java Rutime Version (1.4.2.05) liegen
Hier der ganze SourceCode :
/*
* Created on 13.10.2004
*
* TODO To change the template for this generated file go to
* Window - Preferences - Java - Code Style - Code Templates
*/
package main;
import lotus.domino.*;
/**
* @author rotd
*
* TODO To change the template for this generated type comment go to
* Window - Preferences - Java - Code Style - Code Templates
*/
public class notes2nagios implements Runnable {
public static void main(java.lang.String[] args) {
notes2nagios t = new notes2nagios();
Thread nt = new Thread((Runnable)t);
nt.start(); }
public void run() {
System.out.println("Running"); //This prints out
try {
System.out.println("trying"); //This prints out
System.out.println("Session s"); //This prints out
//Program does not get past the next line
Session s = NotesFactory.createSession("SERVER","USER","PASSWORD");
System.out.println("Done Session s"); // This line does not print out
Database db=s.getDatabase("SERVER","names.nsf");
System.out.println("Datenbank hat folgenden Dateiname:"+db.getSize());
s.recycle();
} catch (Exception e) {
e.printStackTrace(); } }
}