[U2] XMAPOpen core dump
I'm testing some XML stuff locally on UV PE 11.2 and I've run into a problem I can't figure out. I hope someone else knows what's going on here and has a work-around. I'm running this test on CentOS 6.5 with UniVerse PE 11.2. I get a core dump as soon as I attempt the XMAPOpen. It appears to only happen when the ColumnMap Node begins with a comma. The same data, map and code works without problem on an AIX machine. MAP ... XML DATA... USA TWN F 1 Sun, 02 Feb 2014 19:00:00 GMT Taipei 40 USA CAN F 2 Sun, 02 Feb 2014 19:00:00 GMT Toronto 35 CODE... INCLUDE UNIVERSE.INCLUDE XML.H open '&XML&' to xml.file else stop xml.id = "temps.xml" map.id = "temps.map" read xml.rec from xml.file,xml.id else crt "Can't read ":xml.id:" from &XML& file" stop end convert @am to '' in xml.rec ERR1=XDOMOpen(xml.rec,XML.FROM.STRING,DOMH) IF ERR1 # XML.SUCCESS THEN crt "Can't do XDOMOpen()" RETURN END ERR1=XMAPOpen(xml.rec, XML.FROM.STRING, map.id, XML.FROM.FILE, XMAPhandle) IF ERR1 # XML.SUCCESS THEN crt "XMAPOpen failed" RETURN END This is the top part of the resulting stack dump: *** glibc detected *** /usr/uv/bin/uv: free(): invalid pointer: 0x0031423e *** === Backtrace: = /lib/libc.so.6[0x98de31] /usr/lib/libstdc++.so.6(_ZdlPv+0x22)[0x7dee552] /usr/uv/bin/libu2xml.so(_ZN6U2XMAP10readrecordEP4XMAPPKN11xercesc_3_17DOMNodeE+0x555)[0x304a3d] /usr/uv/bin/libu2xml.so(_ZN6U2XMAP12xmaptorecordEP4XMAPPKN11xercesc_3_17DOMNodeE+0x68)[0x304b84] /usr/uv/bin/libu2xml.so(_ZN6U2XMAP10GenXRecordEv+0x31)[0x304cd5] /usr/uv/bin/libu2xml.so(U2_XMAPOpen+0xfc)[0x2fc29e] /usr/uv/bin/uv[0x847215e] /usr/uv/bin/uv[0x83128d4] /usr/uv/bin/uv[0x81e3a46] /usr/uv/bin/uv[0x81e6620] /usr/uv/bin/uv[0x812d188] /usr/uv/bin/uv[0x8063a1d] /usr/uv/bin/uv[0x81b1a78] /usr/uv/bin/uv[0x805f7a2] /usr/uv/bin/uv[0x804f397] /usr/uv/bin/uv[0x804d475] /lib/libc.so.6(__libc_start_main+0xe6)[0x933d26] /usr/uv/bin/uv[0x804c831] bob little applications architect independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Phone: 336-698-4367 Cell: 248-675-5515 Skype: boblittle904 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Working with accented characters
To convert the first character of a regular ASCII string to uppercase, I'd use OCONV("STRING",'MCT') so that "STRING" is output as "String". However, this doesn't seem to work for Spanish accented characters. The machine is UV 11.1.11 with NLS enabled. What is the most elegant way to convert a name, such as JOSÉ to José ? I'm not a sys admin, so if it requires setting up an NLS map or something along those lines, I'm probably out of luck. bob little applications architect independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Phone: 336-698-4367 Cell: 248-675-5515 Skype: boblittle904 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV and Mount -t CIFS
Is SELINUX enabled? That's caused me headaches in the past. bob little applications architect independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Phone: 336-698-4367 Cell: 248-675-5515 Skype: boblittle904 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of George Gallen [ggal...@wyanokegroup.com] Sent: Wednesday, October 09, 2013 1:34 PM To: U2 Users List Subject: Re: [U2] UV and Mount -t CIFS Thanks... I tried all the variations of sec - most mounted - some failed - but none allowed UV to LIST the directory I also added ver=1.0 I may need to setup a ftp server on the printwizard machine, and work around that way until I figure it out. We will be upgrading the RHEL5 to RHEL6 once our server issues are fixed - so maybe RHEL6 will be ok (or not) Found a bunch of things different from RHEL5 to Fedora19 (switches in ftp, mailx and attachments and Few others I forget at the moment). George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bob Little Sent: Wednesday, October 09, 2013 10:31 AM To: U2 Users List Subject: Re: [U2] UV and Mount -t CIFS I had to add the sec=ntlm to the line in my /etc/fstab since about FC18 or so: //shareName mountPointcifs rw,credentials=.myCredentials,_netdev,sec=ntlm,users,nounix,nosetuids,file_mode=0644,dir_mode=0775 0 0 bob little applications architect independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Phone: 336-698-4367 Cell: 248-675-5515 Skype: boblittle904 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of George Gallen [ggal...@wyanokegroup.com] Sent: Wednesday, October 09, 2013 10:16 AM To: U2 Users Subject: [U2] UV and Mount -t CIFS Ok... When I had RHEL5 and UV 10.0.2 running, If I did a mount using type cifs All I needed to do in UV was <1>F , <2>/mnt/mountname, <3>D_SOURCE And I could list the directory, no problem. Due to a server issue, we had to put an emergency server in place that is Running Fedora19 (64 bit) and installed the UV 10.0.2 - which appears to Run fine. EXCEPT - when I mount the share Now when I attempt to LIST the File (or OPENPATH /mnt/sharename) it bombs out Gives me "Unable to open -filename-" I can as non-root, go into this share, create files, delete files and modify files so it Also works as root. So, I'm not sure if this is a UV related issue or a Fedora19/Windows machine share problem. Any ideas? I'm currently doing: mount -t cifs -o rw,username=windowsloginname "//Sharename",file_mode=0777,dir_mode=0777,cifsacl /mnt/printwizard What we do is use lpd to print our PCL to printwizard (which works) Printwizard then produces a PDF (which works) Then we read the PDF from the share on the printwizard machine (which is what is not working). ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV and Mount -t CIFS
I had to add the sec=ntlm to the line in my /etc/fstab since about FC18 or so: //shareName mountPointcifs rw,credentials=.myCredentials,_netdev,sec=ntlm,users,nounix,nosetuids,file_mode=0644,dir_mode=0775 0 0 bob little applications architect independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Phone: 336-698-4367 Cell: 248-675-5515 Skype: boblittle904 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of George Gallen [ggal...@wyanokegroup.com] Sent: Wednesday, October 09, 2013 10:16 AM To: U2 Users Subject: [U2] UV and Mount -t CIFS Ok... When I had RHEL5 and UV 10.0.2 running, If I did a mount using type cifs All I needed to do in UV was <1>F , <2>/mnt/mountname, <3>D_SOURCE And I could list the directory, no problem. Due to a server issue, we had to put an emergency server in place that is Running Fedora19 (64 bit) and installed the UV 10.0.2 - which appears to Run fine. EXCEPT - when I mount the share Now when I attempt to LIST the File (or OPENPATH /mnt/sharename) it bombs out Gives me "Unable to open -filename-" I can as non-root, go into this share, create files, delete files and modify files so it Also works as root. So, I'm not sure if this is a UV related issue or a Fedora19/Windows machine share problem. Any ideas? I'm currently doing: mount -t cifs -o rw,username=windowsloginname "//Sharename",file_mode=0777,dir_mode=0777,cifsacl /mnt/printwizard What we do is use lpd to print our PCL to printwizard (which works) Printwizard then produces a PDF (which works) Then we read the PDF from the share on the printwizard machine (which is what is not working). ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Who was Infinitivity?
I don't know about Infinitivity but I've heard of Infinetivity which was previously named Southwest Data Systems. bob little independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Phone: 336-698-4367 Cell: 248-675-5515 Skype: boblittle904 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of Wjhonson [wjhon...@aol.com] Sent: Thursday, June 13, 2013 12:33 PM To: u2-users@listserver.u2ug.org Subject: [U2] Who was Infinitivity? Seeing in another thread the name BlueFinity reminded me of an old unresolved question. Many years ago (ten? eight?) I got a brochure from an outfit called Infinitivity, and they were hocking a web-to-Pick connection tool. When I try to find details today about that outfit I can't. Anyone have a bit of history about this company ? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UniData PE on Fedora 18
I have UniVerse PE running just fine on Fedora 17 which uses version 4 of libgdbm.so Perhaps the newer library is perhaps backward compatible to version 2 in which case a symlink may work. ln -s /lib/libgdbm.so.4 /usr/lib/libgdbm.so.2 Its worth a try anyway bob little independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Cell: 248-675-5515 Skype: boblittle904 Phone: 248-504-0540 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of James Canale, Jr. [jcan...@optonline.net] Sent: Monday, February 25, 2013 5:07 PM To: 'U2 Users List' Subject: Re: [U2] UniData PE on Fedora 18 To all that responded, Thanks for the suggestions. I'll give CentOS a shot (OpenSUSE 12.2 and Fedora 18 didn't locate libgdbm.so.2). Best, Jim -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of James Canale, Jr. Sent: Sunday, February 24, 2013 2:39 PM To: U2 Users List Subject: [U2] UniData PE on Fedora 18 I'm trying to install the latest UniData 7.3 Personal Edition on Fedora 18 (32 bit) and am not able to find the proper download that seems to be required. The install fails at the point of running systest with 'error while loading shared libraries: libgdbm.so.2: cannot open shared object file'. I tried to find libgdbm2 on rpmfind but I'm not sure which to use. Tried a few and they all seem to have additional dependencies. Any suggestions? I read that UniData on Fedora will work so that's what I tried, but, I also have OpenSUSE and Ubuntu if either of those will be better. Thanks in advance. Best regards, Jim ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] U2 Web Designer - New Module & Redback Object
It may turn out to be a permissions issue, or you may have mis-created something. You might try backing out everything you did manually then let U2 Web Designer create all the necessary pieces/parts. Connect to server Expand "Accounts" node Expand the desired account Right click on "U2 Web DE Elements" >From the context menu: New->Module bob little independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Cell: 248-675-5515 Skype: boblittle904 Phone: 248-504-0540 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of Israel, John R. [johnisr...@daytonsuperior.com] Sent: Wednesday, January 23, 2013 12:36 PM To: 'U2 Users List' Subject: [U2] U2 Web Designer - New Module & Redback Object I have never built a new module with web DE and I am having troubles. I went to VOC APP.IDS and added "TA" (Time and Attendance). When I fire up U2 Web DE, TA now appears as a module. Cool. Shooting in the dark, I build the following 3 DIR files: TACLASSES TADRIVERS TAOBJECTS and set the permissions on those DIRs as needed. This was done because the other two modules each have 3 similar DIR files. How do I build a new object in Web DE? If I right-click on the TA module, then New, then Redback Object, it gives me the following error: Server Error Status= -1, Error=Error in ReplyParser: null argument. Am I missing something simple, or not even close? John ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] UV PE 11.1.9 upgrade fails
So since the current version of UV PE expires at the end of the month, I downloaded the latest version and attempted an upgrade. It fails during the build process with a memory allocation error. Here's the last few lines of the output from the build process: Compiling "INODE.DEV". FILEINODE : . : FILEDEV Compiling "RUNDATE". FIELD ( @ID , * , 1 , 1 ) Compiling "RUNDATETIME". [snip] Compiling "RUNTIME". FIELD ( @ID , * , 2 , 1 ) Compiling "UNIXNAME". [snip] Compiled STAT.FILE dictionary items *** glibc detected *** bin/uvsh: malloc(): memory corruption: 0x093238f8 *** *** glibc detected *** bin/uvsh: malloc(): memory corruption: 0x093238f8 *** The process hangs at this point. I happen to be on Fedora 17 but the previous version ov UV PE has been running ok on it for a month or so. Has anyone got any idea how to get past this? bob little independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 Cell: 248-675-5515 Skype: boblittle904 Phone: 248-504-0540 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Backspace sends break signal in UV
I found the answer just before I reading the posts this morning. It is indeed in the VOC entry for the account I was logging to. The VOC item is a paragraph that contains a PTERM command which sets the TTY characteristics. I don't mind displaying the banner, I just need to remove the PTERM stuff. Thanks Gregor and everyone for your responses. bob little independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 248-675-5515 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of Gregor Scott [gregor.sc...@pentanasolutions.com] Sent: Monday, April 30, 2012 7:52 PM To: U2 Users List Subject: Re: [U2] Backspace sends break signal in UV There are three places that can trigger command execution during the login/cross-log process (on UV, at least - might be different on UD): 1) The UV.LOGIN is run when you first login 2) An entry in the VOC of the account with the same name as the account 3) An entry in the VOC of the account with the same name as the user Check each of these to see if they are running commands that result in these changes to the PTERM setup. Regards, Gregor -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Bob Little Sent: Monday, 30 April 2012 9:11 PM To: U2 Users List Subject: Re: [U2] Backspace sends break signal in UV Thanks for the replies everyone. Yup. I know I can set my tty settings via PTERM. I really should have worded my question differently: "What causes my system to switch tty settings simply by logging from the UV account to my development account?" I'm old enough to remember that break is a condition not an actual character. Uhhh... just *barely* old enough. :) I actually wrote a Wyse 50 emulator and modem dialer a long time ago. Did it in x86 assembly language too for some reason. (Grandpa - what's a "modem"? ) Anyway - Here's a screen dump of the settings and the change. It starts by changing to my development account, showing the settings, logto the UV account and show the settings, then doing LOGTO back to my dev account and showing the settings there. There's nothing in the LOGIN paragraph that appears to be altering the settings. I'm using KDE Konsole as the emulator which sends a term type of "xterm". rlittle@mustang:/usr/uvuser$ uv UniVerse Command Language 11.1 Copyright Rocket Software, Inc. 1985-2011. All rights reserved. uvuser logged on: Mon Apr 30 06:15:34 2012 :PTERM DISPLAY MODEEMULATE CC INTR= ^C QUIT= ^\ SUSP= OFF DSUSP = OFF SWITCH = OFF ERASE = DEL WERASE = OFF KILL= ^U LNEXT = OFF REPRINT = OFF EOF = ^D EOL = ^@ EOL2= ^@ FLUSH = OFF START = ^Q STOP= ^S LCONT = ^_ FMC = ^^ VMC = ^] SMC = ^\ TMC = ^T SQLNULL = ^N INPUTCTLON CARRIER RECEIVE -HANGUP -LOCAL CASE-UCIN -UCOUT -XCASE -INVERT CRMODE -INLCR -IGNCR ICRNL ONLCR -OCRNL -ONOCR -ONLRET -CRONLY DELAY BS0 CR0 FF0 LF0 VT0 TAB0 -FILL ECHOECHO ERASE=BSB KILL=LF CTRL -LF HANDSHAKE XON -ANY TANDEM -DTR OUTPUT POST -TILDE -BG CS -EXPAND PROTOCOLLINE=0 BAUD=38400 DATA=8 STOP=1 NONE DISABLE -STRIP SIGNALS ENABLE FLUSH BREAK=NULL :SH rlittle@mustang:/usr/uvuser$ stty -a speed 38400 baud; rows 38; columns 109; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke rlittle@mustang:/usr/uvuser$ exit :LOGTO UV UniVerse System Administration PackageAccounts Recovery Spoolersh Mem Import Devices :PTERM DISPLAY MODEEMULATE CC INTR= ^C QUIT= ^\ SUSP= OFF DSUSP = OFF SWITCH = OFF ERASE = DEL WERASE = OFF KILL= ^U LNEXT = OFF REPRINT = OFF EOF = ^D EOL = ^@ EOL2= ^@ FLUSH = OFF START = ^Q STOP= ^S LCONT = ^_ FMC = ^^ VMC = ^] SMC = ^\ TMC = ^T SQLNULL = ^N INPUTCTLON CARRIER RECEIVE -HANGUP -LOCAL CASE-UCIN -UCOUT -XCASE -INVERT CRMODE -INLCR -IGNCR ICRNL ONLCR -OCRNL -ONOCR -ONLRET -CRONLY DELAY BS0 CR0 FF0 LF0 VT0 TAB0 -FILL ECHOECHO ERASE=BSB KILL=LF CTRL -LF HANDSHAKE
Re: [U2] Backspace sends break signal in UV
octl echoke rlittle@mustang:/usr/uv$ exit :LOGTO UVUSER -----##-###-#####-- --##-####--##--######-####- --##--##--######-##---##--####- --##-##--##--##--##--##--##---####- ----######----#-##- --##--##-##--##--##--##-######- --##---##-######-##--##---####- --####-##--##--####---##--####- --##-##--##-#####-###---##- --- S O F T W A RE --- \251 Rocket Software, Inc. 1985-2011. -- All rights reserved. :PTERM DISPLAY MODEEMULATE CC INTR= DEL QUIT= ^\ SUSP= ^Z DSUSP = OFF SWITCH = OFF ERASE = ^H WERASE = ^W KILL= ^X LNEXT = ^V REPRINT = ^R EOF = ^D EOL = OFF EOL2= ^@ FLUSH = ^O START = ^Q STOP= ^S LCONT = ^_ FMC = ^^ VMC = ^] SMC = ^\ TMC = ^T SQLNULL = ^N INPUTCTLON CARRIER RECEIVE -HANGUP -LOCAL CASE-UCIN -UCOUT -XCASE -INVERT CRMODE -INLCR -IGNCR ICRNL ONLCR -OCRNL -ONOCR -ONLRET -CRONLY DELAY BS0 CR0 FF0 LF0 VT0 TAB0 -FILL ECHOECHO ERASE=BSB KILL=BS CTRL -LF HANDSHAKE XON -ANY TANDEM -DTR OUTPUT POST -TILDE -BG CS EXPAND PROTOCOLLINE=0 BAUD=38400 DATA=8 STOP=1 NONE DISABLE -STRIP SIGNALS ENABLE FLUSH BREAK=NULL :SH rlittle@mustang:/usr/uvuser$ stty -a speed 38400 baud; rows 38; columns 109; line = 0; intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ; eol2 = ; swtch = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; flush = ^O; min = 1; time = 0; -parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke rlittle@mustang:/usr/uvuser$ exit : bob little independent contractor market america, inc. 1302 pleasant ridge rd. greensboro, nc 27409 248-675-5515 From: u2-users-boun...@listserver.u2ug.org [u2-users-boun...@listserver.u2ug.org] on behalf of Wjhonson [wjhon...@aol.com] Sent: Sunday, April 29, 2012 12:40 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Backspace sends break signal in UV Bob at TCL type PTERM during a session where the backspace does a break, and post the text of that to us It's very likely that you have the INTR defined as your backspace ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Backspace sends break signal in UV
I know someone asked about this recently but I cannot locate the thread that provided the solution. I have UV PE set up here on Linux. If I am in the UV account and LOGTO my development account, I get the Rocket banner then I'm at TCL. At this point, any time the backspace key is pressed, it sends a break signal instead of the backspace character. This only happens if I LOGTO this account from any other account. I can change to the account's directory and invoke a uv session right from there and everything is fine. Anyone know what the solution is? Thanks, bob little ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] [uv] from uv/linux, execute a remote mysql/sql stmt ?
I believe you'll need an ODBC driver for MySQL. You would then use the syntax described in UniVerse's Basic Calling Interface (BCI) documentation. On Sat, Oct 1, 2011 at 4:55 AM, Manu Fernandes wrote: > Hi group, > > I'm looking for your experiences... > > >From Universe/linux, I'll execute a mySQL sql phrase. > mySQL is installed on a remote server. > > - What is the mysql-client to be installed beside Universe ? > - How to execute a sql-phrase from UV/BASIC ? and capture the result !? > > Thanks for any advice. > Manu > > > > > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users > ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] WebDE PE
Hi, Is anyone using WebDE PE on UV PE? I've installed the most recent versions available, and have not got it working. Or so I think. I've installed UV PE 11 on Linux, then deployed the rbo server and the example application war file to Glassfish 3.1. When launching the app and trying the first link: uObject1.jsp, I get the error message "RedObject.jrgwOpen(): The UniVerse license has expired". Not sure what to do differently. Anyone have any ideas? Bob Little UniVerse Developer Market America, Inc. Greensboro NC. 336-478-1694 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV PE Linux
Good to know it's on its way. Thanks for the info. Doesn't seem to ease the frustration however. :) -bob -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Brian Leach Sent: Friday, March 04, 2011 3:49 AM To: 'U2 Users List' Subject: Re: [U2] UV PE Linux All I'm told it is on the way - apparently it's been in the queue for getting onto the Rocket website for a couple of weeks now. Just like the other UniVerse 11 stuff :( It exists - really - I was able to get a private download direct from Rocket to test out a specific issue that I needed to sort before implementing on a live system. It appears the problem is not at the Rocket *U2* end but with whatever division runs their website. Brian ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] UV PE Linux
I see UniData PE for Linux and UniVerse PE for Windows, but I don't see UniVerse PE for Linux. -bob -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Carl Dula Sent: Wednesday, March 02, 2011 7:32 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UV PE Linux It appears you can get it here: http://www.rocketsoftware.com/u2/resources/downloads -- Carl Dula Voice: 973-227-8440 X111 Pulsar Systems, Inc.Fax: 973-227-8440 271 US Highway 46, STE H209 email:c...@pulsarsystems.com Fairfield, NJ 07004-2474http://www.pulsarsystems.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] UV PE Linux
The copy I had expired on 2/28/11 and there's no current version on Rocket's website. Does anyone know when or if there will be an updated UV PE Linux version available? Bob Little UniVerse Developer Market America Greensboro, NC 336-478-1694 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] uvadm cannot connect with UniAdmin
I have a Cent OS box with UV 10.3.6 installed and cannot connect to UniVerse with the UniAdmin tool as uvadm. When I try, I just get a dialog box stating "The RPC failed". The odd part is that I can start UniAdmin and connect using my own user id. I installed UV as uvadm, and everything is up and running otherwise. Not sure what to look at really. Starting the unirpcd with -d9 debugging turned on hasn't really given any clues and there's nothing in the system logs that I've seen to provide any further info. Anyone seen this before? Bob Little UniVerse Developer Market America Greensboro, NC 336-478-1694 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] as.java.unirpc.UniRPCException
I believe you'd put the jar files either in $CATALINA_HOME/lib or in your web app's WEB-INF/lib/ directory. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben Sent: Thursday, May 06, 2010 12:42 PM To: U2 Users List Subject: Re: [U2] as.java.unirpc.UniRPCException I don't remember the details off the top of my head, but there is a place to "tell" Tomcat of jars you want it to include. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Shawn Hayes Sent: Thursday, May 06, 2010 9:40 AM To: U2 Users List Subject: Re: [U2] as.java.unirpc.UniRPCException Kettle is an ETL Application and is now a part of the Pentaho BI Suite (Very cool application:) I deployed this "out-of-the-box" in a standalone mode. It uses Tomcat as the application server. I have already confirmed that Unirpcd service is started. I have the correct IP Address for the Host Name. I have used port # 31438 (I took the default when generating the error to show you all). I will look into seeing if asjava.jar needs to be in a specific directory within the app or app server. Or if I can just place it in the CLASSPATH. I SO appriciate you helping out Here is the error again with the port # and host name Error connecting to database [Test] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class com.ibm.u2.jdbc.UniJDBCDriver) asjava/unirpc/UniRPCException org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class com.ibm.u2.jdbc.UniJDBCDriver) asjava/unirpc/UniRPCException at org.pentaho.di.core.database.Database.normalConnect(Database.java:312) at org.pentaho.di.core.database.Database.connect(Database.java:261) at org.pentaho.di.core.database.Database.connect(Database.java:223) at org.pentaho.di.core.database.Database.connect(Database.java:213) at org.pentaho.di.core.database.DatabaseFactory.getConnectionTestReport(Dat abaseFactory.java:55) at org.pentaho.di.core.database.DatabaseMeta.testConnection(DatabaseMeta.ja va:2409) at org.pentaho.ui.database.event.DataHandler.testDatabaseConnection(DataHan dler.java:487) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.pentaho.ui.xul.impl.AbstractXulDomContainer.invoke(AbstractXulDomCon tainer.java:294) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent .java:124) at org.pentaho.ui.xul.impl.AbstractXulComponent.invoke(AbstractXulComponent .java:112) at org.pentaho.ui.xul.swt.tags.SwtButton.access$000(SwtButton.java:17) at org.pentaho.ui.xul.swt.tags.SwtButton$1.widgetSelected(SwtButton.java:77 ) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.pentaho.ui.xul.swt.tags.SwtDialog.show(SwtDialog.java:238) at org.pentaho.di.ui.core.database.dialog.XulDatabaseDialog.open(XulDatabas eDialog.java:161) at org.pentaho.di.ui.spoon.delegates.SpoonDBDelegate.editConnection(SpoonDB Delegate.java:79) at org.pentaho.di.ui.spoon.Spoon.doubleClickedInTree(Spoon.java:2317) at org.pentaho.di.ui.spoon.Spoon.access$1600(Spoon.java:242) at org.pentaho.di.ui.spoon.Spoon$25.widgetDefaultSelected(Spoon.java:4061) at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:945) at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5574) at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:412) Caused by: org.pentaho.di.core.exception.KettleDatabaseException: Error connecting to database: (using class com.ibm.u2.jdbc.UniJDBCDriver) asjava/unirpc/UniRPCException at org.pentaho.di.core.database.Database.connectUsingClass(Database.java:43 9) at org.pentaho.di.core.database.Database.normalConnect(Database.java:296) ... 36 more Caused by: java.lang.NoClassDefFoundError: asjava/unirpc/UniRPCException at com.ibm.u2.jdbc.UniJDBCConnectionImpl.(Uni
Re: [U2] UOJ & Eclipse 3.5 Galileo
You should just be able to add the jar (zip) to your build path within Eclipse and clear up the error. Project->Properties->Java Build Path->Add External Jars... Bob Little UniVerse Developer Market America Greensboro NC -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Norman Bauer Sent: Thursday, December 10, 2009 3:08 PM To: U2 Users List Subject: [U2] UOJ & Eclipse 3.5 Galileo Is anyone using 3.5 Galileo? I have tried to set my environment up using JDK 6 and Eclipse 3.5 but I get an error about no source files for asjava, even though I have added the asjava.zip file to the project. I am also new to Eclipse and Java so I could be doing something totally armature at this point. The error I get is: Description ResourcePathLocationType The import asjava cannot be resolvedUVConnectTest.java /HelloUV/srcline 1 Java Problem My simple program which only contains the import line so far is: import asjava.*; public class UVConnectTest { /** * @param args * */ public static void main(String[] args) { // TODO Auto-generated method stub } } ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] U2 being sold!
On Wed, 2009-09-16 at 09:15 +1200, HENDERSON MIKE, MR wrote: > How can anyone take a firm called "Rocket Software" seriously*? > Sorry, but for me it's instant Zero Credibility for a DBMS vendor. It'n any worse that "Raining Data"... Bob Little UniVerse Developer Market America Greensboro NC ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] UV PE for LInux
I don't see UniVerse PE for Linux available for download anymore. I seem to recall a few years ago when IBM pulled it until they could get some licensing issues ironed out. Does anyone have any further information on when it might become available again? Bob Little UniVerse Developer Market America Greensboro, NC 336-478-1694 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Unix mail server?
Yes you can also receive mail with sendmail. You will want to make sure your firewall allows access to port 25. Be advised however, Sendmail configuration can be quite a daunting task for the uninitiated. Quite beyond the scope of a mere newsgroup post. :) I found that IBM Support was quite helpful, even though the advised me that they don't officially support Sendmail. Bob Little UniVerse Developer Market America Greensboro, NC On Wed, 2009-06-24 at 18:45 -0400, Burwell, Ed wrote: > We can send email from our rs/6000 (AIX version 5.3) using sendmail and > it works great. > > Is it possible to receive email also? > > Thanks. > > Ed > > (We are running Unidata version 7.1) > > __ > This e-mail has been scanned by MCI Managed Email Content Service, using > Skeptic(tm) technology powered by MessageLabs. For more information on MCI's > Managed Email Content Service, visit http://www.mci.com. > __ > ___ > U2-Users mailing list > U2-Users@listserver.u2ug.org > http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
RE: [U2] 81003 uvrpc error
I know that on my system (Fedora) there's a uv.rc script in /etc/init.d that takes care of starting all the daemons. Can't recall, now, but I think I copied it from /usr/ibm/uv/sample. Bob Little UniVerse Developer Market America Greensboro, NC 336-478-1694 -Original Message- From: owner-u2-us...@listserver.u2ug.org [mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of doug chanco Sent: Monday, April 20, 2009 11:31 AM To: u2-users@listserver.u2ug.org Subject: [U2] 81003 uvrpc error I am getting the below error message and I'm wondering if it has to do with the personal edition of universe? 81002 UVRPC_NO_CONNECTION Connection is down. I think I have everything setup (this is running on a linux system) so I have /etc/services with uvrpc 31438/tcp # uvNet rpc port I have an entry in xinetd.d called uvrpc service uvrpc { instances = 10 socket_type = stream wait= no user= root server = /usr/ibm/unishared/unirpc nice= 10 disable = no } yet when I try to connect I get the above error. Rex (the developer of u2pipe) has been super helpful but I don't want to take advantage of his kindness so I am sending this out to the list instead. dougc --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Need help with GCI system (solved)
Hi David, I'm actually doing the C development on one of the development servers here. I have installed Windows SDK for Windows Server 2008 and am doing command line building at this stage. There were no previous SDKs on this machine. I do have VS 2005 on my laptop here, but I'm not using it to develop for the server. The goal is to interface with some 3rd party dlls, but before that could happen, I needed to get the GCI system working. Thanks for the tips on the APP.PROGS items. I'll be studying those today. I still don't really see where some of the macros/switches/defines are coming from though. I've looked at the Makefile and Make.gci files, but there are some switches being tossed into mix that don't appear in either file. Thanks again for your responses! -bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S Sent: Monday, November 10, 2008 3:04 AM To: u2-users@listserver.u2ug.org Subject: RE: {Blocked Content} RE: [U2] Need help with GCI system (solved) Hi Bob Glad you sorted it out. What can I say, 'Windows happens'...or sometimes doesn't! :) Are you doing your C programming and UniVerse GCI testing on the same (ie. your own) desktop PC? Are you using Visual Studio on this same PC? Just curious...which version and did you upgrade from an older version? Perhaps that's the culprit? BTW: Check, in your UV account, in APP.PROGS: GCI.MAKEFILE (also GEN.GCI if you're curious how they interface your GCI routine to UV) Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Saturday, 8 November 2008 3:42 PM To: u2-users@listserver.u2ug.org Subject: {Blocked Content} RE: [U2] Need help with GCI system (solved) Warning: This message has had one or more attachments removed Warning: (not named). Warning: Please read the "AngelicHost-Attachment-Warning.txt" attachment(s) for more information. Hi Jerry I finally (about 2-minutes before quittin' time today) got this figured out - or at least a temporary work-around. Actually David Hona said something that got me to approach this problem from a different direction. "A Windows error 126 means missing file or registry entry is invalid" - and he was right on the money really. For web-search posterity's sake - here's how I got things to work. The problem stemmed from the fact that Windows (Not UniVerse) could not load the msvcr90.dll. I'm a little unclear at this point why not - it has to do with a dll manifest not existing in the dll or that Windows is trying to load "new style" dll along side of "old style" dlls. As I say, I'm unsure at this stage just what the crux of the biscuit is, but I'll find out more in the next day or so. Anyway, I had to forego the UV GCI.ADMIN method, and do the build and install manually from the "DOS" command line. First I captured the the compile and link command output and saved them to a text file so that I could study all the various switches. Then, I modified the switches to fit my version of the the Windows SDK. Next I modified the link command switches to do static linking against the msvc90.dll. The resulting dll is or course larger than the dynamically linked one, but when I installed it into the bin directory, everything worked as advertised. The key to the work-around is to statically link everything together. Next step for me is to figure out how to flip the right compiler/linker switches to get dynamic linking to work. Then I need to figure out what to modify in UniVerse that's sending the undesired macros and CLI switches to DOS so that I can change them. This whole GCI thing is sorta useless unless someone else less "competent" then I (I say laughingly) can do the build and install using UV's built-in methodolgy. Thank you everyone for your input. I never would figured it otherwise. -bob --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
{Blocked Content} RE: [U2] Need help with GCI system (solved)
Warning: This message has had one or more attachments removed Warning: (not named). Warning: Please read the "AngelicHost-Attachment-Warning.txt" attachment(s) for more information. Hi Jerry I finally (about 2-minutes before quittin' time today) got this figured out - or at least a temporary work-around. Actually David Hona said something that got me to approach this problem from a different direction. "A Windows error 126 means missing file or registry entry is invalid" - and he was right on the money really. For web-search posterity's sake - here's how I got things to work. The problem stemmed from the fact that Windows (Not UniVerse) could not load the msvcr90.dll. I'm a little unclear at this point why not - it has to do with a dll manifest not existing in the dll or that Windows is trying to load "new style" dll along side of "old style" dlls. As I say, I'm unsure at this stage just what the crux of the biscuit is, but I'll find out more in the next day or so. Anyway, I had to forego the UV GCI.ADMIN method, and do the build and install manually from the "DOS" command line. First I captured the the compile and link command output and saved them to a text file so that I could study all the various switches. Then, I modified the switches to fit my version of the the Windows SDK. Next I modified the link command switches to do static linking against the msvc90.dll. The resulting dll is or course larger than the dynamically linked one, but when I installed it into the bin directory, everything worked as advertised. The key to the work-around is to statically link everything together. Next step for me is to figure out how to flip the right compiler/linker switches to get dynamic linking to work. Then I need to figure out what to modify in UniVerse that's sending the undesired macros and CLI switches to DOS so that I can change them. This whole GCI thing is sorta useless unless someone else less "competent" then I (I say laughingly) can do the build and install using UV's built-in methodolgy. Thank you everyone for your input. I never would figured it otherwise. -bob From: [EMAIL PROTECTED] on behalf of jpb-u2ug Sent: Fri 11/7/2008 2:52 PM To: u2-users@listserver.u2ug.org Subject: RE: {Blocked Content} RE: [U2] Need help with GCI system Are you doing this as the administrator or as a common user? Jerry Banker -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Friday, November 07, 2008 7:54 AM To: u2-users@listserver.u2ug.org Subject: RE: {Blocked Content} RE: [U2] Need help with GCI system Hi David, Yeah - I've done make, install, make, install, make install so many times in the last few days, I think I can do it in my sleep. :) Luckily I am not on a production box. You mention the registry entry, but that gets updated when you do the "install", and currently says UvGciLibraries bin\magci.dll;bin\gci.dll. I've done the environment variable thingie too, and it didn't seem to make a difference. So... I don' know. I'm waiting on a reply from the VAR but I aint holding my breath their gonna be of any help. -bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S Sent: Friday, November 07, 2008 3:14 AM To: u2-users@listserver.u2ug.org Subject: RE: {Blocked Content} RE: [U2] Need help with GCI system Hi Bob, Ah, forgot to ask the obvious, does this file exist: e:\IBM\UV\bin\magci.dll As Windows error 126 means missing file or registry entry is invalid. I see you said you ran "Make a GCI Library from a GCI Definition File" from the GCI Admin menu. I don't see you saying you ran "Install a GCI Library" from the GCI Admin menu. Quote: "This option does the following: - Copies the DLL file from the gcidir directory to the bin directory in the UV account directory - Adds the name of the copied file to the GCI library list held in the Windows Registry The DLL is now ready for use." Note it also states you can use the UVGCIDLLS variable to test your DLL, before committing to updating your UV GCI configuration. Probably a wise thing to do in a production or live environment! :) Regards, David -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Friday, 7 November 2008 1:41 PM To: u2-users@listserver.u2ug.org Subject: {Blocked Content} RE: [U2] Need help with GCI system Warning: This message has had one or more attachments removed Warning: (not named). Warning: Please read the "AngelicHost-Attachment-Warning.txt" attachment(s) for more information. From: [EMAIL PROTECTED] on behalf of Hona, David S Sent: Thu 11/6/2008 7:53 PM To: u2-users@listserver.u2ug.org Subject:
RE: {Blocked Content} RE: [U2] Need help with GCI system
Hi David, Yeah - I've done make, install, make, install, make install so many times in the last few days, I think I can do it in my sleep. :) Luckily I am not on a production box. You mention the registry entry, but that gets updated when you do the "install", and currently says UvGciLibraries bin\magci.dll;bin\gci.dll. I've done the environment variable thingie too, and it didn't seem to make a difference. So... I don' know. I'm waiting on a reply from the VAR but I aint holding my breath their gonna be of any help. -bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hona, David S Sent: Friday, November 07, 2008 3:14 AM To: u2-users@listserver.u2ug.org Subject: RE: {Blocked Content} RE: [U2] Need help with GCI system Hi Bob, Ah, forgot to ask the obvious, does this file exist: e:\IBM\UV\bin\magci.dll As Windows error 126 means missing file or registry entry is invalid. I see you said you ran "Make a GCI Library from a GCI Definition File" from the GCI Admin menu. I don't see you saying you ran "Install a GCI Library" from the GCI Admin menu. Quote: "This option does the following: - Copies the DLL file from the gcidir directory to the bin directory in the UV account directory - Adds the name of the copied file to the GCI library list held in the Windows Registry The DLL is now ready for use." Note it also states you can use the UVGCIDLLS variable to test your DLL, before committing to updating your UV GCI configuration. Probably a wise thing to do in a production or live environment! :) Regards, David -Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Friday, 7 November 2008 1:41 PM To: u2-users@listserver.u2ug.org Subject: {Blocked Content} RE: [U2] Need help with GCI system Warning: This message has had one or more attachments removed Warning: (not named). Warning: Please read the "AngelicHost-Attachment-Warning.txt" attachment(s) for more information. From: [EMAIL PROTECTED] on behalf of Hona, David S Sent: Thu 11/6/2008 7:53 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Need help with GCI system Isn't your module called "magci" and not "test"? As your error indicates it's looking for "TEST" in your GCI library. From the GCI documentation: Hi Davd, Thanks for the reply. The library is indeed called test.lib built from test.c/test.obj. In it is the function "getSum()" I am trying to integrate. The GCI definition file I've created on UV is called MAGCI. UniVerse creates all the magci.* items in the gcidir when I take GCI.ADMIN menu option "5. Make a GCI Library from a GCI Definition File". The way I thought it worked was: The subroutine visible to UV would be getSum and the external subroutine name is the same and the module (.lib) is test because the function is in test.lib. What's odd is that the *hello example and it's accompanying BP GCI1 calling program don't run either. I'm using straight out of the box IBM examples and using the default GCI definition file: GCI. -bob This is a message from the MailScanner E-Mail Virus Protection Service -- The original e-mail attachment "winmail.dat" was believed to be infected by a virus and has been replaced by this warning message. If you wish to receive a copy of the *infected* attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Thu Nov 6 18:40:48 2008 the virus scanner said: Could not parse Outlook Rich Text attachment Note to Help Desk: Look on the AngelicHost MailScanner in /home/virtual/site2/fst/var/spool/mail.quarantine/20081106 (message mA72ejno008182). -- Postmaster --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
{Blocked Content} RE: [U2] Need help with GCI system {unclassified}
Warning: This message has had one or more attachments removed Warning: (not named). Warning: Please read the "AngelicHost-Attachment-Warning.txt" attachment(s) for more information. Andy, I'm not sure I understand your placement suggestion. According to what I read, the finished dll gets placed into the bin subdirectory relative to the main UV account directory. I'm not actually placing the dll myself, I'm letting the GCI.ADMIN system do it. UV appears to construct the path it's going to look in based on what it finds in the &UFC& gci.library.list item (which says bin\magci.dll) and what it sees in the registry as UvHome (in this case its e:\IBM\UV) So - I dunno. It's wacky. -bob From: [EMAIL PROTECTED] on behalf of MACK ANDREW, MR Sent: Thu 11/6/2008 8:28 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Need help with GCI system {unclassified} Hey Bob The error message states that it cannot find magci.dll in e:\IBM\UV\bin. Try placing a copy of it into the UV/bin dir as well as the UV/gcidir. Andy Mack -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Thursday, 6 November 2008 3:26 p.m. To: u2-users@listserver.u2ug.org Subject: [U2] Need help with GCI system I'm attempting to use the GCI system and I'm having trouble getting it to work. I'm working on Windows Server 2003 and UV10.2 Here's what I've done : Create a small function in C: int getSum(int, int) Compile the function and create a lib from the object file. Copy the lib over to UV/gcidir Login to the UV account and run GCI.ADMIN Created a new GCI definition file called MAGCI file using option 1 Defined the new function this way: Subroutine name: getSum (the name I want to be able to call in UV) Language: c External Name: getSum (the actual name of the C function) Module Name: test (the library name which contains the function) one int type output and two int type arguments for input Compiled the items in the new CGI file with admin option #5 Installed the new DLL and re-logged in to the UV account Wrote a UV subroutine to use the new function: DECLARE GCI getSum PRINT getSum(2,3) And I get the following error: Error 126 loading GCI library e:\IBM\UV\bin\magci.dll. The specified module could not be found. Program "TEST": Line 2, Invalid GCI subroutine. I think that I'm missing something key here, but I don't know what it is. I'd appreciate any help here. Thanks -bob --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ This is a message from the MailScanner E-Mail Virus Protection Service -- The original e-mail attachment "winmail.dat" was believed to be infected by a virus and has been replaced by this warning message. If you wish to receive a copy of the *infected* attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Thu Nov 6 18:48:29 2008 the virus scanner said: Could not parse Outlook Rich Text attachment Note to Help Desk: Look on the AngelicHost MailScanner in /home/virtual/site2/fst/var/spool/mail.quarantine/20081106 (message mA72mQSu008871). -- Postmaster --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
{Blocked Content} RE: [U2] Need help with GCI system
Warning: This message has had one or more attachments removed Warning: (not named). Warning: Please read the "AngelicHost-Attachment-Warning.txt" attachment(s) for more information. From: [EMAIL PROTECTED] on behalf of Hona, David S Sent: Thu 11/6/2008 7:53 PM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Need help with GCI system Isn't your module called "magci" and not "test"? As your error indicates it's looking for "TEST" in your GCI library. From the GCI documentation: Hi Davd, Thanks for the reply. The library is indeed called test.lib built from test.c/test.obj. In it is the function "getSum()" I am trying to integrate. The GCI definition file I've created on UV is called MAGCI. UniVerse creates all the magci.* items in the gcidir when I take GCI.ADMIN menu option "5. Make a GCI Library from a GCI Definition File". The way I thought it worked was: The subroutine visible to UV would be getSum and the external subroutine name is the same and the module (.lib) is test because the function is in test.lib. What's odd is that the *hello example and it's accompanying BP GCI1 calling program don't run either. I'm using straight out of the box IBM examples and using the default GCI definition file: GCI. -bob This is a message from the MailScanner E-Mail Virus Protection Service -- The original e-mail attachment "winmail.dat" was believed to be infected by a virus and has been replaced by this warning message. If you wish to receive a copy of the *infected* attachment, please e-mail helpdesk and include the whole of this message in your request. Alternatively, you can call them, with the contents of this message to hand when you call. At Thu Nov 6 18:40:48 2008 the virus scanner said: Could not parse Outlook Rich Text attachment Note to Help Desk: Look on the AngelicHost MailScanner in /home/virtual/site2/fst/var/spool/mail.quarantine/20081106 (message mA72ejno008182). -- Postmaster --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Need help with GCI system
I'm attempting to use the GCI system and I'm having trouble getting it to work. I'm working on Windows Server 2003 and UV10.2 Here's what I've done : Create a small function in C: int getSum(int, int) Compile the function and create a lib from the object file. Copy the lib over to UV/gcidir Login to the UV account and run GCI.ADMIN Created a new GCI definition file called MAGCI file using option 1 Defined the new function this way: Subroutine name: getSum (the name I want to be able to call in UV) Language: c External Name: getSum (the actual name of the C function) Module Name: test (the library name which contains the function) one int type output and two int type arguments for input Compiled the items in the new CGI file with admin option #5 Installed the new DLL and re-logged in to the UV account Wrote a UV subroutine to use the new function: DECLARE GCI getSum PRINT getSum(2,3) And I get the following error: Error 126 loading GCI library e:\IBM\UV\bin\magci.dll. The specified module could not be found. Program "TEST": Line 2, Invalid GCI subroutine. I think that I'm missing something key here, but I don't know what it is. I'd appreciate any help here. Thanks -bob --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] What is the BREAK key setting for Dynamic connect?
(1) Setup->Keyboard and then set the value in the text area labeled "Break Key" to 255. Then Ctrl-C will send a break signal. Also make sure the Control-C sequence isn't tied to a macro definition. (2) TERM 132,51 sets the display to 132 wide x 51 high. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dennis Bartlett Sent: Tuesday, January 22, 2008 1:22 PM To: u2-users@listserver.u2ug.org Subject: [U2] What is the BREAK key setting for Dynamic connect? Its about 4 years since I worked on a UniVerse box. I've worked in Clarion / Javascript / HTML / MS SQL Server 2005 since. Returning to U2 is amazingly confusing! So bear with me. (1) I'm having a problem setting my Break key. is it Ctrl-C, Ctrl-B or Ctrl-Break? And when I press Ctrl-C I get a dialog saying noth is highlighted. I'm getting really bored opening another session to kill the looping process. (2) How do I set the terminal to 132 chars wide to view reports? Thanks Dennis bartlett --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Problem installing System Builder PE
Ibm trying to install SB 5.4.1 PE on Fedora 8 and Ibm getting an error: sh-3.2# cpio -icvBdum < pe_sb541_uv_cpio cpio: premature end of file Does anybody know what I can do to get this thing installed? I though perhaps the file was corrupted so I re-downloaded and tried it again and received the same error. Bob Little UniVerse Developer Market America 336-478-1694 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] IBM web site
I did notice that when I typed in http://www.ibm.com, I was redirected to http://www.ibm.com/sandbox/homepage/version-b/, which I don't recall having seen before. Maybe they're upgrading or something. -bob -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Phillips Sent: Thursday, December 20, 2007 11:01 AM To: u2-users@listserver.u2ug.org Subject: [U2] IBM web site Hopefully nothing sinister here but has anyone else noticed that the U2 products appear to have vanished from IBM's product list on their web site. Martin Phillips --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Determining double-byte status of a character
Hello, Is there any way for UniVerse BASIC to determine whether or not a given character is a double byte character or a single byte character? Put another way: I need to determine programmatically, on an NLS enabled machine, whether Ibm reading a Chinese character or an English character. Any clues would be greatly appreciated. Bob Little UniVerse Developer Market America 336-478-1694 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Does UniDynArray of UOJ behave differently in Unix/Linux?
I wonder if your LANG environment is set right on the Linux box. I know I have seen unexpected results with UV on Linux when the LANG environment variable is not set to "C". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waivic I have two questions: 1. Does anyone know the reason why this happens? 2. Do I use the correct way to pass in an array of values to a subroutine with UOJ? Is there any better way to pass in an array of values through UOJ? Any suggestion is welcomed. Thanks a lot! Wai -- View this message in context: http://www.nabble.com/Does-UniDynArray-of-UOJ-behave-differently-in-Unix-Linux--tf4127157.html#a11736870 Sent from the U2 - Users mailing list archive at Nabble.com. --- --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Fwd: Ultimate users
I *think* that Ultimate sold their SHIMS package to Ultimate Inventory Solutions based in Parsippany NJ, and that company was acquired by Triad in the mid 90s or so. I was just a low-totem customer at the time, so I may be a bit off on my facts. Steve Lancour are you around this list somewhere? Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Johnson Sent: Monday, August 14, 2006 9:07 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Fwd: Ultimate users I don't know if SHIMS is still around. I know that Results died with Microdata (et al) but the code still lingers with 4 of my clients. My 2 cents. Mark Johnson --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UOJ Linux vs Windows
Hi, I am writing a java application for fun that essentially operates as an GUI IDE/workspace/TCL shell. I am connecting to UV with UOJ. When I run my app at work, I'm in a full Windows environment. When I run this same app at home, I'm in a Linux environment - UniVerse PE. The situation is this: When I fire up the app at work and do a LISTU, I see all the users who are logged into UV on that box, including my application which shows (I'm sorry - this is from memory as I'm at home now) the DOMAIN/username, port number a PID (I think) and a uvcs connection type. When I run this app here at home and do a LISTU, I see nothing - except if I have logged into Linux on that server, I will see the same output as the bash command "who". Knowing that UV PE is limited to 2 or 3 licenses, I would have expected to be able to fire up only 2 or 3 instances of my application before getting a connection error. However I can start lots of instances with no problem. Granted - all instances are just sitting at TCL. At work, I *presume* I could only start as many instances as licenses available after which I would get a connection refusal. (and RedBack might crash, and a roomful of developers would glare at me). Is there difference in the way the UniRPCd handles connections and licensing on Linux and Windows? Am I only consuming a license on Linux when I "do work"? Thanks Bob Little --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Newest UV UniDebugger
Yeah - Colin pointed that out. You'd think I might have tried that grab and resize thingy too, wouldn't ya? I did in fact undock the host window in hopes it would reveal it's own menu, but it didn't and I said "well I'll be darned!" and redocked it. I hung my head in shame for several minutes upon finding that one out. :) At the risk of pointing out further bone-headedness on my part, can you step into a called subroutine that is not in the current source file? Also - can one remap the function keys? Eric Armstrong wrote: Bob, You can make the Session window bigger (and therefore the font bigger) by grabbing the left edge with the mouse and dragging it to the left. -----Original Message- From: Bob Little [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 05, 2006 8:56 AM To: Nick Cipollina; Kate Stanton; Bob Woodward; U2-Users List Subject: RE: [U2] Newest UV UniDebugger I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Newest UV UniDebugger
I've only recently tried using the UniDebugger. The terminal display window is so tiny, I can't read any messages it outputs. It'd be nice to be able to change the font size for that window. If that's an option right now, I sure couldn't find it. Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Cipollina Sent: Wednesday, April 05, 2006 8:33 AM To: Kate Stanton; Bob Woodward; U2-Users List Subject: RE: [U2] Newest UV UniDebugger I'd settle for the debugger working all the time. Thanks, Nick Cipollina -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kate Stanton Sent: Tuesday, April 04, 2006 9:50 PM To: Bob Woodward; U2-Users List Subject: Re: [U2] Newest UV UniDebugger Hear, hear! When you do Ctl-F to find a word you have highlighted, it no longer defaults to look for that word. You now have to highlight, Ctl-C, Ctl-F, Ctl-V to do the same thing. Same for Ctl-H to replace. Change in behaviour of HOME key is driving one of our people mad, too. Only enhancement we can see is list of labels from Edit menu (or Ctl-F12). No use to us, as we use numeric labels in small programs. What we would like to se is many, many more programs shown in the Windows list, with the ability to sort them. Cheers, Kate - Original Message - From: "Bob Woodward" <[EMAIL PROTECTED]> To: "U2-Users List" Sent: Wednesday, April 05, 2006 5:15 AM Subject: RE: [U2] Newest UV UniDebugger > As a follow-up to this posting, I'd recommend to everyone NOT to install > the version 10.1b client utilities. Stick with the 10.1a. The README > says that it's primarily an update to IBM standards in appearance. It's > a BIG mistake as far as I'm concerned. The biggest problem is that when > a session is minimized, the UniDebugger AND Dynamic Connect look > identical and I've not been able to find a way to change it. Also, if > you try to have the two versions co-exist, they don't. Then there's the > problem of two different formats for the UniDebugger workspace files > with no way to convert. > > Bottom line is you gain nothing in features or bug fixes, and the IBM > standard appearance Well, let's just say I'm glad the car companies > don't do the same thing. You wouldn't be able to tell the difference > between trucks, cars, vans, or SUV's. > > BobW > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bob Woodward > Sent: Friday, March 31, 2006 8:55 AM > To: U2-Users List > Subject: [U2] Newest UV UniDebugger > > Hi Folks, > > I've just downloaded and installed the newest utilities for Universe, > v101b-clients-7149, from the IBM site. They seem to have made a number > of changes and it seems like one is the format of the workspace file in > the UniDebugger program. Does anyone know if there is a converter > between the v101a version to the v101b version? I've got a number of > different work spaces with a number of different programs I keep in them > and it's going to be ROYAL pain in the butt to have to re-open all of > them. > > I'm not too wild about the change in the icon's, either, since the > Dynamic Connect icon and the UniDebugger icon are the same in the task > bar. There's not an easy way to change it, either, without hacking a > file association entry. > > Thanks, > > BobW > --- > u2-users mailing list > u2-users@listserver.u2ug.org > To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Changes to the List
So long as it is appreciated, I don't mind putting in the time and I *want* your feedback. this topic started because *I* asked. So, let's keep a good face on it and see if we can't guide the list through another few decades of productive use. - Chuck "History Books" Barouch --- Hi, I'm pretty much a lurker here and still very, very new to U2. I do value the expertise available to me here on these lists, and the time and energy it takes to maintain them. So long as I know how to reply to the list, and how to filter the incoming messages so they go into right folders on my end, I don't care how the lists are set up. Having said that, I guess I do prefer the email list setup as opposed to a Google-type thingy. I don't know /jack squat/ about running a mailing list or a newsgroup, so thank you to you folks who do this work. Bob Little UniVerse Developer Market America, Inc. (336) 478-1694 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Changes to mail list configurations
Bill Haskett wrote: Please forgive my attitude; I've almost completed a D3 to UniData conversion project and have been wondering why any non-MV developer would ever use U2 and any MV developer would use UniData. Bill I'd like to hear more of this conversion story and the opinions it fostered. Please hit "reply" :) (in keeping with the situation) Bob Little --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Newbies need love too
Walter Vaughan wrote: Is there not a "UniVerse for Dummies" website? Our sales rep asked his programmer and he said, "I learned it 20 years ago, I don't know how you would learn it today." I have 23 and 28 year old programers that will have to live with this solution for the next 20 years. They're bright, but in order to get them excited about this platform I need to let them experiment. Any website pointers will be appreciated. Thanks, Walter Vaughan Vice President Steele Rubber Products, Inc. In addition to the excellent links already mentioned - the comp.databases.pick newsgroup is also a good resource for help - although this and the u2-community mailing list are more U2 specific. The good news is that all of these groups are very friendly, very professional and very willing to help. I myself am a U2 newcomer, and have received excellent advice here. As a side note, I'm really encouraged to hear that you have a couple of 20-somethings who are willing and able to get into MV! Good Luck Bob Little --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Linux FC4 , UniVerse PE and Telnet
Martin Scholl wrote: I just installed UniVerse PE on Linux Fedora Core 4. That went pretty well. I had to make a symbolic link for 'uncompress' to 'gunzip' and the uv.load script worked fine. But I can't get telnet to work. I went to the X-package manager and installed telnet. Now there is in /etc/xinetd.d a file called telnet. I restart xinetd, I reboot, I reinstall Universe, nothing; telnet does not work:"Connection refused" What am I missing? Martin Scholl --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ Check selinux and firewall configuration. (System Settings -> Security Level) Every time I've had some network access issue in FC, selinux is the culprit. -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects for Java - UniDynArray question
Wendy Smoak wrote: >On 12/6/05, Bob Little <[EMAIL PROTECTED]> wrote: > > > >>I am working with UD71 PE, and UniObjects for Java. I cannot get a >>UniDynArray object to insert values as expected. Here is some sample code: >> >>I would have expected to see Attribute 2 contain 2 values, but instead, >>value two becomes another attribute. >> >> > >I get (Maven 2 build w/ your code in a unit test): > >--- > T E S T S >--- >[surefire] Running net.wsmoak.AppTest >[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.016 sec >Attribute count: 2 >Attribute 1: ATTR 1 VAL 1 >Attribute 2 Value 1: ATTR 2 VAL 1 >Attribute 2 Value 2: ATTR 2 VAL 2 >Value count of attribute 2 is:2 >Attribute 3: >[surefire] Running net.wsmoak.uoj.UniDynArrayTest >[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.313 sec > >Results : >[surefire] Tests run: 2, Failures: 0, Errors: 0 > >This is against UD6, but I doubt anything has changed significanty in >the UniDynArray code. Check your LANG settings on both the client and >server, it's probably not writing the correct ASCII character for the >delimiter. > >-- >Wendy >[EMAIL PROTECTED] >--- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ > > > Thank you for the reply. I have set the LANG environment setting to C on the server and rebooted it. I did an export LANG=C at the client - My desktop box is both server and client. I also recompiled the java class. Running returned the same results as before. So I removed UD7, downloaded UD6 and installed it- making sure LANG=C was still true. I recompiled the java class against the new asjava.zip. Same results. Very frustrating. The LANG thing seems logical, but it seemed to make no difference. Is there more than one place UD looks for your LANG? Is it possible that because I'm on Fedora 4, UD may not perform as expected? -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UniObjects for Java - UniDynArray question
Hello, I am working with UD71 PE, and UniObjects for Java. I cannot get a UniDynArray object to insert values as expected. Here is some sample code: import asjava.uniclientlibs.*; import asjava.uniobjects.*; public class udTest2 { private static UniSession session; public static void main(String[] args) { session=new UniSession(); String fileName="TEST"; String hostName="localhost"; String userName="testuser"; String passWord="password"; String account="/home/testuser"; try { session.connect(hostName,userName,passWord,account); UniFile file=session.openFile(fileName); UniDynArray outRec=new UniDynArray(); outRec.insert(1,"ATTR 1 VAL 1"); outRec.insert(2,1,"ATTR 2 VAL 1"); outRec.insert(2,2,"ATTR 2 VAL 2"); file.write("2",outRec); UniDynArray inRec=new UniDynArray(file.read("2")); System.out.println("Attribute count: "+inRec.dcount()); System.out.println("Attribute 1: "+inRec.extract(1)); System.out.println("Attribute 2 Value 1: "+inRec.extract(2,1)); System.out.println("Attribute 2 Value 2: "+inRec.extract(2,2)); System.out.println("Value count of attribute 2 is:"+inRec.dcount(2)); System.out.println("Attribute 3: "+inRec.extract(3)); } catch (UniSessionException e) { System.out.println(e.toString()); } catch (UniFileException e) { System.out.println(e.toString()); } } } The output from the above is: java udTest2 Attribute count: 3 Attribute 1: ATTR 1 VAL 1 Attribute 2 Value 1: ATTR 2 VAL 1 Attribute 2 Value 2: Value count of attribute 2 is:1 Attribute 3: ATTR 2 VAL 2 I would have expected to see Attribute 2 contain 2 values, but instead, value two becomes another attribute. The (perceived) error appears to happen during the UniFile.write() function. Can anyone please advise on the proper way to read and write dynamic arrays with UniObjects for Java API? -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniObjects for Java - LANG environment
Y'know I usually try to make a boob out of myself in public *at least* once a year and this was it. I had neglected to add en_US.UTF-8 to sys/LANGGRP for Group 1 Funny how things start working when you get the config right. --- Bob Little <[EMAIL PROTECTED]> wrote: From: Bob Little <[EMAIL PROTECTED]> Date: Sun, 20 Nov 2005 19:28:09 -0800 (PST) To: u2-users@listserver.u2ug.org Subject: [U2] UniObjects for Java - LANG environment Hello, I have been messing about with UniObjects for java on UniData 7.1 PE. I have a little test JSP page and I'm running it on Tomcat5. When I load the page, I get an error message in the logs: asjava.uniobjects.UniSessionException: Error [39207] occurred on server. Possible client-side licensing failure. On a command line java class I get the same error until I do "export LANG=C" then everything works fine. I am not sure if I have a Tomcat issue, or a UniData config issue here. I've set Tomcat's config to export the LANG=C environment variable, but it has not worked. I'd sure appreciate any light any of you can shed. Thanks, Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UniObjects for Java - LANG environment
Hello, I have been messing about with UniObjects for java on UniData 7.1 PE. I have a little test JSP page and I'm running it on Tomcat5. When I load the page, I get an error message in the logs: asjava.uniobjects.UniSessionException: Error [39207] occurred on server. Possible client-side licensing failure. On a command line java class I get the same error until I do "export LANG=C" then everything works fine. I am not sure if I have a Tomcat issue, or a UniData config issue here. I've set Tomcat's config to export the LANG=C environment variable, but it has not worked. I'd sure appreciate any light any of you can shed. Thanks, Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] U2 SQL cache
[EMAIL PROTECTED] wrote: >[EMAIL PROTECTED] wrote: > > >>I'm only a novice when it comes to SQL/RDBMS so forgive me if I sound >>clueless here. >>I'm considering recommending UniData as our next MV platform, and have >>been asked this question: >>"Does UniData do 'result caching' or 'query caching'?" >> >> > >Umm ... this is a catch 22 question. Is the questioner a PHB ticking boxes, or >someone who really wants to know? > > >>I've not been able to find the answer on IBM's website. Can anyone tell >>me or point me to a link? >> >> >> >The correct answer is "what's the point?". I'll explain. > >Query caching is an optimisation technique that is intended to overcome the >inherent limitations of a First Normal Form (relational) database engine. UD >is not FNF, therefore does not suffer this limitation, therefore does not need >(actually, cannot implement) this form of optimisation. > >To give my favourite example ... the invoice. A relational engine will scatter >the data for one invoice across multiple rows in multiple tables. A query >cache optimises and memorises how the query was executed, in order to speed it >up next time. UD will simply store the entire invoice in one record, and you >can't speed up a "got everything first attempt" query. > >The point is, relational THEORY is hopelessly inefficient. MV PRACTICE is very >efficient. So any relational optimisation is a waste of time in the MV world. > >Cheers, >Wol >--- >u2-users mailing list >u2-users@listserver.u2ug.org >To unsubscribe please visit http://listserver.u2ug.org/ > > > Smashing! Thank you. I had a feeling that because I was having such a hard time finding the answer to this question, it was irrelevant to UniData. -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] U2 SQL cache
I'm only a novice when it comes to SQL/RDBMS so forgive me if I sound clueless here. I'm considering recommending UniData as our next MV platform, and have been asked this question: "Does UniData do 'result caching' or 'query caching'?" I've not been able to find the answer on IBM's website. Can anyone tell me or point me to a link? Thanks -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] UD 7.1 PE Limitations
Hello, I installed the latest version of UniData PE on a little PII I have here at home. The java class I wrote for version 6.1 which uses UniObjects for Java will no longer connect to that box. I get a "No RPC connection active" exception. This java class worked just fine under 6.1 PE. So - I reinstalled 6.1 PE and I still cannot connect. I'm trying to connect from another box here at home across my network. I think I read somewhere that the only connection UD7.1 PE will allow now is a straight telnet connection. Is this true? If so then why can't I just uninstall 7.1 and reinstall 6.1 and be back in biz? nmap -sS of the UD box shows port 111 open. netstat -a | grep uvrpc shows tcp0 0 *:uvrpc *:* LISTEN showud USER PID TIME COMMAND root8789 0:00 /usr/ud61/bin/cleanupd -m 10 -t 20 root8784 0:00 /usr/ud61/bin/sbcs -r root8762 0:00 /usr/ud61/bin/smm -t 60 root8777 0:00 /usr/unishared/unirpc/unirpcd Now here's an odd thing: I had at one time installed UD61 PE on a box at work to use to test my remote connectivity. I was able to connect and read a file remotely. I have not touched that box since then. The same java class I have used in the past to test my remote connection, no longer works either. If I run this code from inside the building at work, it connects just fine. No firewall issue that I can tell, as I have port 31438 open. Can anybody shed any light on what I might look at? Java code posted upon necessity. Thanks, Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] [UD] No RPC Connection active.
David Beahm wrote: Only if you want it to work. ;) The UniRPC service is used by UniAdmin, UniObjects, UniObjects for Java, UniData ODBC, UniOLEDB, and UCI to communicate with UniData on the server. Try startunirpcd to get it going again. RTF (Admin) M for a little more info on this. Anyone know what manual gives the debug settings? HTH, David Beahm Andrew McLaughlin wrote: Holy cow! It was working great on Friday. System hasn't been reboot in a month. Now, suddenly, when I try to connect to Unidata, I get this UniSessionException back. What could it be? I notice that unirpcd is not running (just guessing there). Is that important? Andrew Andrew McLaughlin - Business Systems Manager - Shurflo Pump LLC - --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ nohup unirpcd -d9 > rpc.out 2>&1 Will set the debug level at 9 which is apparently the highest, and will log to the file "rpc.out". At least that's what I was using when I was trying to figure out the unirpcd. I am not sure what manual this is in. -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Comparison Unidata and Universe
Stuart Boydell wrote: shift one letter to the right: HAL -> IBM (2001 Space Odessey) VMS -> WNT (Windows NT) ...even the name is unoriginal. Heh hehe. Spooky! -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Comparison Unidata and Universe
Piers Angliss wrote: >IMHO. > >They are very similar, with hundreds of differences - whether any are >significant to you depends on where you're coming from and what you want to >do. > >Where are you coming from and where do you wish to go > We are running AIX/D3 right now. The question has been raised "Do we want to stay with Pick or move to another database?" Common sense, in this case, dictates stay on Pick. I have started looking into the different MV database products available: Revelation(?), jBASE, QM, and the U2 products. My initial question was: "Why two different products? What's the difference?" That's all really. > <>(probably in your original post but I no longer have that, sorry) Yeah, I don't think *I* even have that anymore. 'Twas a while back by now :) <> -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Comparison Unidata and Universe
[EMAIL PROTECTED] wrote: Since this thread seems to be going on forever.. Yes, it does. But we've strayed considerably from my original question which was: What's the difference between UniVerse and UniData? -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Comparison Unidata and Universe
Robert Paterson wrote: In the latest releases UV has the AE editor - so you can have the best of all worlds... The problem with the comparisons is that it all depends on how you are using D3 now and more importantly which elements are "make or break". Everyone's shopping list is different. If you get that list together the rest of us will be better able to advise on things. Don't forget that some of the smaller things can end up real bugbears as well! True, but I think what I'd like to know first off is why two different products? It would seem that one would take on the capabilities of the other over time, and one would be phased out. What's the difference between UniData and UniVerse mainly? Then - it would be good to hear from the users some of the pro's (particularly) and con's in your experience with the product. Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Comparison Unidata and Universe
George Smith wrote: Unidata vs Universe. I have wondered about this myself. It'd be even better for me if someone with jBASE experience could compare the three products also. Bob Little Graphik Dimensions, Ltd. High Point NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniData 6.1 and unirpcd problems.
Noah Hart wrote: When did you download 6.1? I tried this morning and it was still unavailable? Noah Hart Sorry Noah- I mistyped my subject line. I do not have 6.1, I have 6.01. -- Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniData 6.1 and unirpcd problems.
Bob Little wrote: Sorry for the long post and to keep pestering the group on this, but I'm still trying to get a UniObjects connection to work. I was using UniVerse PE, but now I'm trying UniData 6.01, downloaded from IBM's website. The product grid says 7.2 is ok. I put together a clean Linux box with RH7.2 and UniData 6.01, and I'm once again trying to get a UniObjects connection working. Previously (with UniVerse) I was getting a "user name provided is incorrect" error. I found why I was getting the "No RPC connection active" message. UniData was looking for udapi_server in the wrong directory because I screwed up the installation. But now I'm back to the "asjava.uniobjects.UniSessionException: The user name provided is incorrect" issue again. Back to the drawing board. Bob Little Graphik Dimensions, Ltd. High Point, NC --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
[U2] UniData 6.1 and unirpcd problems.
ket RPCPID=2805 - 14:27:58 - In read message RPCPID=2805 - 14:27:58 - before the select RPCPID=2805 - 14:27:58 - after the select rcnt = 1 RPCPID=2805 - 14:27:58 - before the recv RPCPID=2805 - 14:27:58 - after the recv nread = 24 RPCPID=2805 - 14:27:58 - Read resp: read of header ok RPCPID=2805 - 14:27:58 - going to read 16 more chars RPCPID=2805 - 14:27:58 - before the select RPCPID=2805 - 14:27:58 - after the select rcnt = 1 RPCPID=2805 - 14:27:58 - before the recv RPCPID=2805 - 14:27:58 - after the recv nread = 16 RPCPID=2805 - 14:27:58 - message_length=16 VERSION NUMBER SEQNO 0x6c01 0x 0 MESSAGE LENGTH 0x 16 MESSAGE Key 0x 0 HIGH VERSIONCOMPRESSION ENCRYPTION 0x 20x 00x 0 NW RETURN CODE 0x 0 NUM ARGSPROC NAME LEN(PROC NAME) 0x 1 0() START OF ARG ARRAY DATA Element 0 Length type 0x 400 0x 200 ARG DATA RPCPID=2805 - 14:27:58 - In unpack packet RPCPID=2805 - 14:27:58 - length of arg 0 = 4 RPCPID=2805 - 14:27:58 - type of arg 0 = 2 RPCPID=2805 - 14:27:58 - char arg(0x 80bcd50)=uvcs RPCPID=2805 - 14:27:58 - argcount = 1(1: pre-6/10 client,2: SSL client) RPCPID=2805 - 14:27:58 - looking for service uvcs RPCPID=2805 - 14:27:58 - did not find service RPCPID=2805 - 14:27:58 - In send packet RPCPID=2805 - 14:27:58 - In build packet RPCPID=2805 - 14:27:58 - thissize set to 32 RPCPID=2805 - 14:27:58 - thissize set to 32 RPCPID=2805 - 14:27:58 - thissize set to 36 RPCPID=2805 - 14:27:58 - message_length=12 VERSION NUMBER SEQNO 0x 0 0x 0 MESSAGE LENGTH 0x 0 MESSAGE Key 0x 0 HIGH VERSIONCOMPRESSION ENCRYPTION 0x 00x 00x 0 NW RETURN CODE 0x 0 NUM ARGSPROC NAME LEN(PROC NAME) 0x 0 0() START OF ARG ARRAY DATA Element 0 Length type 0x 100 0x 0 ARG DATA RPCPID=2805 - 14:27:58 - message_length=12 VERSION NUMBER SEQNO 0x6c02 0x 2 MESSAGE LENGTH 0x 12 MESSAGE Key 0x 0 HIGH VERSIONCOMPRESSION ENCRYPTION 0x 20x 00x 0 NW RETURN CODE 0x 0 NUM ARGSPROC NAME LEN(PROC NAME) 0x 1 0() START OF ARG ARRAY DATA Element 0 Length type 0x 100 0x 0 ARG DATA VERSION NUMBER SEQNO 0x 200 0x 26c MESSAGE LENGTH 0x201326592 MESSAGE Key 0x 0 HIGH VERSIONCOMPRESSION ENCRYPTION 0x 00x 00x 0 NW RETURN CODE 0x 0 NUM ARGSPROC NAME LEN(PROC NAME) 0x 0 100() START OF ARG ARRAY DATA Element 0 Length type 0x 100 0x 0 ARG DATA RPCPID=2805 - 14:27:58 - In write packet RPCPID=2805 - 14:27:58 - accept failed I can telnet in as "uduser" and get in. I can telnet to port 31438 and get the expected response: telnet 192.168.0.250 31438 Trying 192.168.0.250... Connected to 192.168.0.250. Escape character is '^]'. I don't know what to check next. I'm not firewalling this box, and I am apparently using MD5 password encryption. I have not been able to find how to use DES encryption on a RH box. Any ideas? Thanks, Bob Little Graphik Dimensions, Ltd. High Point, NC. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniSession.connect error
Leroy Dreyfuss wrote: Note that what Mike refers to is only for Windows. UNIX users should start the service in the background and use something like this: unirpcd -d9 > rpc.out 2>&1 from a UNIX prompt. Regards, LeRoy F. Dreyfuss Product Manager IBM UniVerse and UniData (U2) Extended Relational Databases IBM DB2 Information Management Software Tel: 303-672-1254 Fax: 303-294-4832 Mobile: 720-341-4317 Tie-line -770-1254 External email: [EMAIL PROTECTED] WWW: http://www.ibm.com/software/data/u2 Don't miss out on the IBM DB2 Information Management Technical Conference September 19-24, 2004 - Las Vegas, NV "HENDERSON MICHAEL MR" <[EMAIL PROTECTED]> Sent by: cc [EMAIL PROTECTED] stserver.u2ug.org Subject RE: Unclassified RE: [U2] UniSession.connect error 09/13/2004 04:34 PM Please respond to u2-users Bob, From the UniVerse 10.1.4 Release Notes: Issue Number Short Description -- - 32480Beginning at this release, logging is available for the UniRPC services. To enable logging for the unirpc32.dll, you must define the logging level by setting the UNIRPC_DEBUG_LEVEL environment variable. In addition, you must set the UNIRPC_DEBUG_LOGFILE environment variable to define the log file name. Logging is enabled for unirpc.exe by passing arguments to the service, as shown in the following example: -d9 c:\temp\unirpcd.log -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Tuesday, 14 September 2004 03:40 To: [EMAIL PROTECTED] Subject: Re: Unclassified RE: [U2] UniSession.connect error [snip] To All: Is there any way to get unirpcd to log it's activity to a file? I've tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 & but nothing gets dumped. Maybe I'm expecting the wrong thing? The information contained in this Internet Email message is intended for the addressee only and may contain privileged information, but not necessarily the official views or opinions of the New Zealand Defence Force. If you are not the intended recipient you must not use, disclose, copy or distribute this message or the information in it. If you have received this message in error, please Email or telephone the sender immediately. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ [demime 1.01d removed an attachment of type image/gif which had a name of graycol.gif] [demime 1.01d removed an attachment of type image/gif which had a name of pic25328.gif] [demime 1.01d removed an attachment of type image/gif which had a name of ecblank.gif] --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ Yeah, I had sorta stumbled on the debug level earlier today by applying the sendmail command line theory and seeing if it worked. Unfortunately, I didn't really notice anything in the output that helped me. It's been pointed out that the version of UV PE for Linux that is available for download - 10.0.2 - doesn't do MD5 encryption (or doesn't do it correctly or something). And that the problem was fixed in version 10.0.9. Now if I could only get UV PE 10.0.9 or later, I'd be ok. Thanks to all for your help. --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: Unclassified RE: [U2] UniSession.connect error
Brian Leach wrote: AFAIR if you set up PAM to use a windows domain controller, UniRPC ignores that and still looks to the /etc/passwd file. Sorry if I misremember: none of our machines are running PAM. Yes, I think that's true. If that is the case, then PAM is not a factor here. Jim Eply wrote: Bob, As I recall, the UniJava class produces unreliable connections, and also is not required to establish a connection. Try this code instead: UniSession session; session = new UniSession(); That was the method I first tried. I got the same error, and then saw an example using the UniJava class so I tried it. Both methods fail on my system. Jef Lee: Sorry about mis-spelling your name. (note to self: "Jef" != "Jeff") To All: Is there any way to get unirpcd to log it's activity to a file? I've tried nohup /usr/ibm/unishared/unirpc/unirpcd > /tmp/unirpcd.out 2>&1 & but nothing gets dumped. Maybe I'm expecting the wrong thing? --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniSession.connect error
Jef Lee wrote: My 2". I have found that our Linux system has two (2) password verification mechanisms loaded. One is effective at command line login, the other at UniObjects connection login. And, now here's the bother, one does not handle passwords that exceed 8 characters, but there is no warning or error. It just doesn't allow the connection login. Suggestion, spend hours researching or try a shorter password. If the latter works for you, and then you spend hours finding out why, please let me know. Jef Lee IT Vision Level 3 Kirin Centre, 15 Ogilvie Road, APPLECROSS, WA 6153 Tel: (08) 9315 7000 Fax: (08) 9315 7088 P O Box 881, Canning Bridge, WA 6153 A.C.N. 068 914 867 --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ Hello Jeff, Thank you (and all others) for your help. I've shortened the password to 2 characters. Still getting the "The user name provided is incorrect" message. I don't know if that's just a generic "login failed" message, or it really *does* mean it couldn't find this user to validate it. This is a very frustrating problem as it's obvious that it works for others - just not me. Maybe it's a PAM issue. BTW - Too late. I have already spent hours researching this problem. ;-) --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniSession.connect error
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/
Re: [U2] UniSession.connect error
Nope. Unique name, alpha-numeric characters. I've played around with changing the order of the args just to see if there was a documentation irregularity, but this class doesn't appear to authenticate against the /etc/passwd file correctly. I can pass the right username with a delibrately wrong password, and it still stays "invalid user" rather than the expected "invalid password". At least that's the conclusion I've drawn at this point. David Jordan wrote: I am not experienced with java, but is it possible that "user" is used by something else -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Saturday, 11 September 2004 11:18 AM To: [EMAIL PROTECTED] Subject: Re: [U2] UniSession.connect error No. Just alpha-numeric characters. Is there another daemon that must be running besides the rpc daemon? Bob No --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] UniSession.connect error
No. Just alpha-numeric characters. Is there another daemon that must be running besides the rpc daemon? Bob Noah Hart wrote: Does ths user name have any special characters? Noah Hart -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Little Sent: Friday, September 10, 2004 1:16 PM To: [EMAIL PROTECTED] Subject: [U2] UniSession.connect error 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/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
[U2] UniSession.connect error
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/