G
Guest
Gast
Hi,
ich versuche von JAVA eine Verbindung zu einem Notes Server zu bekommen. Die Werte in den Konstanten sind gültig und der DMIIOP Task läuft auch. Trotzdem kommt bei folgendem Code:
public boolean connect() throws Exception
{
try
{
if (session == null)
{
session = NotesFactory.createSession(
Konstanten.NOTES_SERVER_NAME,
Konstanten.NOTES_USER_NAME,
Konstanten.NOTES_USER_PWD);
server = session.getServerName();
System.out.println("Server=" + server);
}
}
catch (NotesException nex)
{
System.out.println(
"Domino Exception " + nex.id + " " + nex.getMessage());
System.out.println("");
nex.printStackTrace();
throw new Exception("Domino Error");
}
}
Folgender Fehler:
org.omg.CORBA.MARSHAL: minor code: 0 completed: No
at com.ibm.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:39)
at lotus.domino.corba._IObjectServerStub.createSession _IObjectServerStub.java)
at lotus.domino.cso.Session.OREFtoSession(Session.java:819)
at lotus.domino.cso.Session.(Session.java:73)
at lotus.domino.cso.Session.createSession(Session.java:41)
at lotus.domino.NotesFactory.createSession(NotesFactory.java:67)
at de.lva.epostfach.entity.postkorb.NotesAccess.connect(NotesAccess.java:32)
at de.lva.epostfach.entity.postkorb.NotesAccess.main(NotesAccess.java:61)
Kennt jemand das Problem und kann mir helfen
Danke im vorraus
ich versuche von JAVA eine Verbindung zu einem Notes Server zu bekommen. Die Werte in den Konstanten sind gültig und der DMIIOP Task läuft auch. Trotzdem kommt bei folgendem Code:
public boolean connect() throws Exception
{
try
{
if (session == null)
{
session = NotesFactory.createSession(
Konstanten.NOTES_SERVER_NAME,
Konstanten.NOTES_USER_NAME,
Konstanten.NOTES_USER_PWD);
server = session.getServerName();
System.out.println("Server=" + server);
}
}
catch (NotesException nex)
{
System.out.println(
"Domino Exception " + nex.id + " " + nex.getMessage());
System.out.println("");
nex.printStackTrace();
throw new Exception("Domino Error");
}
}
Folgender Fehler:
org.omg.CORBA.MARSHAL: minor code: 0 completed: No
at com.ibm.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:39)
at lotus.domino.corba._IObjectServerStub.createSession _IObjectServerStub.java)
at lotus.domino.cso.Session.OREFtoSession(Session.java:819)
at lotus.domino.cso.Session.(Session.java:73)
at lotus.domino.cso.Session.createSession(Session.java:41)
at lotus.domino.NotesFactory.createSession(NotesFactory.java:67)
at de.lva.epostfach.entity.postkorb.NotesAccess.connect(NotesAccess.java:32)
at de.lva.epostfach.entity.postkorb.NotesAccess.main(NotesAccess.java:61)
Kennt jemand das Problem und kann mir helfen
Danke im vorraus