I have searched for a solution to this problem without much luck so far.
I've been working with UniVerse 10 PE for Linux, and UniObjects and get
an error when trying to connect to UniVerse. The RPC daemon has been
started and is running.
I get a UniSessionException that when toString()'d reports
"asjava.uniobjects.UniSessionException: The user name provided is incorrect"
Of course it /is/ a valid user/password and the account path is valid
also. I can telnet to this host and get logged in just fine.
Here is the relevant code fragment:
String user="uvuser";
String passwd="uvpassword";
String host="localhost";
String acct="/home/uvuser";
UniString sRec=new UniString();
UniJava uJava=new UniJava();
try {
UniSession session=uJava.openSession();
session.setUserName(user);
session.setPassword(passwd);
session.setHostName(host);
session.setAccountPath(acct);
session.connect();
UniFile file=session.open("TEMP");
sRec=file.read("1");
} catch(UniSessionException use) {
System.out.println(use.toString());
}
Any advice is appreciated.
Bob Little
Graphik Dimensions, Ltd.
-------
u2-users mailing list
[EMAIL PROTECTED]
To unsubscribe please visit http://listserver.u2ug.org/