Bob Little wrote:
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/
Addendum:
I have compiled and attempted to run the demo program: FileDemo. It fails with the same message.
Obviously I have something wrong with my installation, but cannot find the trouble. I have verified that the username is valid at the Linux level, and as a UniVerse user via the UniAdmin program. I went through the steps of adding a user, and it's account from UniAdmin. I stopped and restarted UniVerse: bin/uv -admin -stop; bin/uv -admin -start, and then appletviewer FileDemo.html. Still fails.
I have gone over and over the installation guide - pretty straightforward, and have found nothing in the guide that I did not do or might have skipped.
I'm about ready to give up. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
