Re: [U2] Uniobjects for Java and Domino 8

2011-12-14 Thread Brett Callacher
-users@listserver.u2ug.org Date: 12/07/2011 05:00 PM Subject:Re: [U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun...@listserver.u2ug.org I missed this email. Q: Will UOJ be further developed and supported by Rocket in the future? A: Yes. There are no plans

Re: [U2] Uniobjects for Java and Domino 8

2011-12-14 Thread Daniel McGrath
Subject: Re: [U2] Uniobjects for Java and Domino 8 Hi Dan, Thanks for this information. Can you tell us if Rocket has any plans to further develop / support the original COM/OLE version of UniObjects? And in particular, are there any plans to release a 64 bit version? Thank you, Jim Stoner

Re: [U2] Uniobjects for Java and Domino 8

2011-12-14 Thread Charles_Shaffer
I've used both. There are syntax differences, especially with the UO,NET since it adheres to the CLR. Both libraries did what I needed. I don't know if UO,NET is a better solution, but it looks to me like it has been kept up-to-date better. I am interested in UOJ because of new

Re: [U2] Uniobjects for Java and Domino 8

2011-12-13 Thread Jim . Stoner
dmcgr...@rocketsoftware.com To: U2 Users List u2-users@listserver.u2ug.org Date: 12/07/2011 05:00 PM Subject:Re: [U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun...@listserver.u2ug.org I missed this email. Q: Will UOJ be further developed and supported by Rocket

Re: [U2] Uniobjects for Java and Domino 8

2011-12-13 Thread Jim . Stoner
for any insights you care to share! Jim Stoner From: Symeon Breen syme...@gmail.com To: 'U2 Users List' u2-users@listserver.u2ug.org Date: 12/07/2011 01:18 PM Subject:Re: [U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun...@listserver.u2ug.org Considering UOJ

Re: [U2] Uniobjects for Java and Domino 8

2011-12-13 Thread John Hester
] On Behalf Of jim.sto...@esc.edu Sent: Tuesday, December 13, 2011 1:40 PM To: U2 Users List Subject: Re: [U2] Uniobjects for Java and Domino 8 Hi, If Rocket is not going to be updating / supporting the original UniObjects, we're looking at either creating a wrapper for UO.net, or using UOJ. UOJ

Re: [U2] Uniobjects for Java and Domino 8

2011-12-13 Thread Symeon Breen
: 14 December 2011 00:21 To: U2 Users List Subject: Re: [U2] Uniobjects for Java and Domino 8 I only have experience with UOJ, so I can't offer any comparison, but I'd suggest the extensiveness of the feature set of each API may be a moot point depending on how you use them. For example, I've never

Re: [U2] Uniobjects for Java and Domino 8

2011-12-08 Thread Tony Gravagno
It was confirmed that UOJ isn't going away, which is good for legacy development. But my whole point was that for new development we don't need it, never did. From: Charles_Shaffer Tony, What you say is true, and those tools would be great in the right situation. But I am concerned about

Re: [U2] Uniobjects for Java and Domino 8

2011-12-08 Thread Charles_Shaffer
Analyst NTN-Bower Corporation From: Tony Gravagno 3xk547...@sneakemail.com To: u2-users@listserver.u2ug.org, Date: 12/08/2011 03:32 PM Subject:Re: [U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun...@listserver.u2ug.org It was confirmed that UOJ isn't going

Re: [U2] Uniobjects for Java and Domino 8

2011-12-08 Thread Tony Gravagno
From: Charles_Shaffer Maybe I am asking the wrong question. Is there a better way to interface Domino 8.5 to Unidata than UOJ? IMO, UOJ probably is the best way. In the absence of anything approaching a IBM Domino Connector for U2, I'm thinking ODBC via Easysoft might be the only other

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread Charles_Shaffer
Great information John and Robert. Looks like UOJ is getting mature. In my situation, it is attractive since we use Domino and Unidata extensively. But, I do not want to invest my time in something that won't be supported in the future. My question for Rocket is Will UOJ be further

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread Symeon Breen
Subject: Re: [U2] Uniobjects for Java and Domino 8 Great information John and Robert. Looks like UOJ is getting mature. In my situation, it is attractive since we use Domino and Unidata extensively. But, I do not want to invest my time in something that won't be supported in the future. My

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread John Hester
Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of charles_shaf...@ntn-bower.com Sent: Wednesday, December 07, 2011 9:22 AM To: U2 Users List Subject: Re: [U2] Uniobjects for Java and Domino 8 Great information John and Robert. Looks

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread Tony Gravagno
From: Charles Shaffer My question for Rocket is Will UOJ be further developed and supported by Rocket in the future? From: Symeon Breen Considering UOJ and UO.net are the only api's available for u2 I would have thought yes There's no good reason for that condition to exist. Rocket

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread Daniel McGrath
- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of charles_shaf...@ntn-bower.com Sent: Wednesday, December 07, 2011 10:22 AM To: U2 Users List Subject: Re: [U2] Uniobjects for Java and Domino 8 Great information John and Robert. Looks like

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread Charles_Shaffer
Tony, What you say is true, and those tools would be great in the right situation. But I am concerned about the future of UOJ. My understanding is that the new Domino will allow jars to be directly accessed from the Domino Designer. Just want to make sure that UOJ is not going to be

Re: [U2] Uniobjects for Java and Domino 8

2011-12-07 Thread Robert Colquhoun
Hello, Ok created a quick test routine to show problem(attached to end of post). It simply gets a record from the demo database and dumps the output, first the the system default character encoding, then setting file.encoding and finally clientencoding: $ echo $LANG en_US.UTF-8 $ java

Re: [U2] Uniobjects for Java and Domino 8

2011-12-05 Thread Robert Colquhoun
Hi John, On Fri, Dec 2, 2011 at 10:01 AM, John Hester jhes...@momtex.com wrote: We've been using UOJ with WebSphere App Server since around 2003.  Not quite the same as Domino, I realize, but at least under the same IBM Java middleware umbrella.  I can't offer a lot the way of best practices,

Re: [U2] Uniobjects for Java and Domino 8

2011-12-05 Thread Robert Colquhoun
On Tue, Dec 6, 2011 at 1:43 PM, Robert Colquhoun robert.colquh...@gmail.com wrote: It would be better for the rocket engineers to decide on a character encoding to talk to the server with and set it as a separate define(or hard code it maybe), according to oracle the basic encodings below

Re: [U2] Uniobjects for Java and Domino 8

2011-12-02 Thread Charles_Shaffer
The RedHat default is incorrect for UOJ (at least up to EL 5) and will result in MV delimiters being incorrectly translated into other ascii characters. Thanks for the tip. Looks like we do have a problem with the LANG setting. LANG=en_US.UTF-8 I'll check with IBM and see if changing it

Re: [U2] Uniobjects for Java and Domino 8

2011-12-02 Thread Charles_Shaffer
Thanks. This is very helpful. Charles Shaffer Senior Analyst NTN-Bower Corporation From: Tony Gravagno 3xk547...@sneakemail.com To: u2-users@listserver.u2ug.org, Date: 12/01/2011 10:18 PM Subject:Re: [U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun

[U2] Uniobjects for Java and Domino 8

2011-12-01 Thread Charles_Shaffer
Has anyone used Uniobjects for Java with Domino 8? If so, have you had luck with it. Any best practice suggestions? Charles Shaffer Senior Analyst NTN-Bower Corporation ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] Uniobjects for Java and Domino 8

2011-12-01 Thread Jim . Stoner
SUNY Empire State College From: charles_shaf...@ntn-bower.com To: u2-users@listserver.u2ug.org, Date: 12/01/2011 03:38 PM Subject:[U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun...@listserver.u2ug.org Has anyone used Uniobjects for Java with Domino 8

Re: [U2] Uniobjects for Java and Domino 8

2011-12-01 Thread Charles_Shaffer
To: U2 Users List u2-users@listserver.u2ug.org, Date: 12/01/2011 02:53 PM Subject:Re: [U2] Uniobjects for Java and Domino 8 Sent by:u2-users-boun...@listserver.u2ug.org Hi, I'm also interested in any advice / best practices for UO for Java on Domino. It would certainly be nice

Re: [U2] Uniobjects for Java and Domino 8

2011-12-01 Thread John Hester
] On Behalf Of charles_shaf...@ntn-bower.com Sent: Thursday, December 01, 2011 1:08 PM To: U2 Users List Subject: Re: [U2] Uniobjects for Java and Domino 8 Jim Stoner Said It would certainly be nice to find a small user group to ask questions and bounce around best practices. I would definitely

Re: [U2] Uniobjects for Java and Domino 8

2011-12-01 Thread Tony Gravagno
I follow John's policy in all web integration. All external access comes through a single entry point which identifies the purpose of the connection and transfers to an appropriate subroutine. I also include logging abilities in most code, just in case. Code below is made up for this example

Re: [U2] Uniobjects and java

2011-03-16 Thread Doug Chanco
Thanks everyone that makes great sense As I get into uoj and java I am Sure I'll have more questions for all the experts on here Once again thanks Dougc email signature There are 10 kinds of people in the world, those that know binary and those that do not On Mar 15, 2011, at 10:58, Kevin

Re: [U2] Uniobjects and java

2011-03-15 Thread Brian Leach
To: U2 Users List Subject: Re: [U2] Uniobjects and java thanks,can you give me some of the pros/con's? I have some ideas, (not passing huge amounts of data back and forth for one) but I'd be interested in hearing others, for the moment I think I will be calling subroutines but maybe down

Re: [U2] Uniobjects and java

2011-03-15 Thread Kevin King
I agree with Brian for all of the reasons mentioned plus the performance can be much better on the server for processing when the server can simply do what it needs to do without an ongoing I/O dialogue with the client. -Kevin http://www.PrecisOnline.com

Re: [U2] Uniobjects and java

2011-03-13 Thread doug chanco
thanks,can you give me some of the pros/con's? I have some ideas, (not passing huge amounts of data back and forth for one) but I'd be interested in hearing others, for the moment I think I will be calling subroutines but maybe down the road that may change (if the benefits out weigh a

Re: [U2] Uniobjects and java

2011-03-13 Thread doug chanco
interesting blog Tony, thanks to everyone who sent me links/code to look at, I greatly appreciate it For now while I am getting up to speed I am pretty sure I will be calling a subroutine for info from the DB but another project may call for a direct access to the DB thanks again everyone

[U2] Uniobjects and java

2011-03-11 Thread Doug Chanco
Hey all, I am beginning to use uniobjects and java anyone know/have any good examples of both accessing the data directly and calling subroutines that return data I have the uniobjects for java manual and I will begin looking at that this week-end but any additional code samples would be

Re: [U2] Uniobjects and java

2011-03-11 Thread Steve Romanow
Check out judaw on github. He has some wrapper classes with examples. On Fri, Mar 11, 2011 at 3:04 PM, Doug Chanco d...@chancofamily.com wrote: Hey all,     I am beginning to use uniobjects and java anyone know/have any good examples of both accessing the data directly and calling

Re: [U2] Uniobjects and java

2011-03-11 Thread Charles_Shaffer
...@chancofamily.com Sent by: u2-users-boun...@listserver.u2ug.org 03/11/2011 02:04 PM Please respond to U2 Users List To: U2 Users List u2-users@listserver.u2ug.org cc: Subject:[U2] Uniobjects and java email signature There are 10 kinds of people in the world, those

Re: [U2] Uniobjects and java

2011-03-11 Thread Bill Brutzman
While the Rocket manual is very good, I had a problem with some of the code until one of our U2UG colleagues suggested using the Java commands try and catch in one spot. --Bill ___ U2-Users mailing list U2-Users@listserver.u2ug.org

Re: [U2] Uniobjects and java

2011-03-11 Thread Symeon Breen
:05 To: U2 Users List Subject: [U2] Uniobjects and java Hey all, I am beginning to use uniobjects and java anyone know/have any good examples of both accessing the data directly and calling subroutines that return data I have the uniobjects for java manual and I will begin looking

Re: [U2] Uniobjects and java

2011-03-11 Thread Stephen Jackson
public static void main(String[] argss) { try { UniJava uJava = new UniJava(); System.err.println(Version Number : + uJava.getVersionNumber()); UniSession session = uJava.openSession(); session.connect(server name, id, password, /file/);

Re: [U2] Uniobjects and java

2011-03-11 Thread Tony Gravagno
From: Symeon Breen ...you can just use it to call a sub and the sub does all the work and returns the data that you need (a quick in and out), or you can do all the file and record manipulation in the java layer One of my recent blogs focused on that concept:

Re: [U2] UniObjects for Java on Ubuntu anyone?

2009-02-16 Thread Charles_Shaffer
Jeff, We use Uniobjects for Java on Ubuntu 7.1 (Gutsy Gibbon) to access our MRP system (Unidata 7.1). I use a tool called the JavaBridge to provide data access from PHP. In our case, Uniobjects is only being used to handle sessions and calls to UniBasic subroutines. Results are returned in

Re: [U2] UniObjects for Java on Ubuntu anyone?

2009-02-16 Thread Jeff Powell
That did it. Thanks. On Fri, 2009-02-13 at 16:42 -0800, Richard Nuckolls wrote: I have not used Ubuntu, but try optioning Java with - Dfile.encoding=iso8859-1 If you are were tomcat, this would go in the CATALINA_OPTS environment variable. (setenv.sh) -Rick On Feb 13, 2009,

Re: [U2] UniObjects for Java on Ubuntu anyone?

2009-02-16 Thread Rick Nuckolls
There is rather a significant oversight in UOJ: it fails to specify the encoding when it translates bytes to Java characters, and vice versa. Beware too, of the 32 file limit in UOJ. There are a number of solutions to this problem, but you should probably start by creating your own

[U2] UniObjects for Java on Ubuntu anyone?

2009-02-13 Thread Jeff Powell
The LANG variable issue takes a new twist with Ubuntu Server 8.10. Neither LANG=C (IBM recommended) or LANG=en_US.iso885915 (must use for RedHat) will work. The value marks are wrongly used as field marks. And in case you're wondering no, LANG=en_US.UTF-8 also does not work. Has anyone made

Re: [U2] UniObjects for Java on Ubuntu anyone?

2009-02-13 Thread Richard Nuckolls
I have not used Ubuntu, but try optioning Java with - Dfile.encoding=iso8859-1 If you are were tomcat, this would go in the CATALINA_OPTS environment variable. (setenv.sh) -Rick On Feb 13, 2009, at 2:34 PM, Jeff Powell wrote: The LANG variable issue takes a new twist with Ubuntu Server

Re: [U2] Uniobjects for Java

2008-08-19 Thread Adrian Merrall
Charles, PHP calls a method in a U2 object, which uses Uniobjects for Java to invoke a UniBasic Subroutine on our Unidata 7.1 redhat based server. Recently I have intermittently received the following error message. I haven't seen any replies on this so I'll take a guess (no harm in making a

Re: [U2] Uniobjects for Java

2008-08-19 Thread Charles_Shaffer
Adrian says In your code sample, the two possible uniobjects exceptions are being swallowed. It would be worth adding some log4j statements in there to at least log the stack trace and see. On this subject, something is wrapping the NoSuchNameException in a java.lang.Exception so the

[U2] Uniobjects for Java

2008-08-15 Thread Charles_Shaffer
Hello, I am accessing our Unidata server from PHP using the java bridge for a few months It has been working pretty well up until the current project I am working on. PHP calls a method in a U2 object, which uses Uniobjects for Java to invoke a UniBasic Subroutine on our Unidata 7.1 redhat

Re: [U2] Uniobjects for Java

2008-06-17 Thread Charles_Shaffer
Thanks. Both good suggestions. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

[U2] Uniobjects for Java

2008-06-16 Thread Charles_Shaffer
Using Java with Uniobjects for Java to call a UniBasic routine. The UniBasic routine has two parameters; part number and result (html code). As long as it is passed a valid part number, it works OK. However, when the part number is not valid it returns an empty string RESULT = '' (two single

Re: [U2] Uniobjects for Java

2008-06-16 Thread Rex Gozar
should be: if (.equals(result)) { return null; } else { return result; } [EMAIL PROTECTED] wrote: Using Java with Uniobjects for Java to call a UniBasic routine. The UniBasic routine has two parameters; part number and result (html code). As long as it is passed a valid

Re: [U2] Uniobjects for Java

2008-06-16 Thread Jeff Powell
I usually check the length 0 after I check for null. On Mon, 2008-06-16 at 13:53 -0500, [EMAIL PROTECTED] wrote: Using Java with Uniobjects for Java to call a UniBasic routine. The UniBasic routine has two parameters; part number and result (html code). As long as it is passed a valid

RE: [U2] Uniobjects for Java

2008-05-30 Thread Brian Leach
: [U2] Uniobjects for Java Hello, I have been working with Uniobjects for Java on my Windows machine and I am ready to move some stuff up to our Linux based web server. Do I get the libraries off of the client CD? Or do I need to download the packages form the Internet? If so, where

Re: [U2] Uniobjects for Java

2008-05-30 Thread Adrian Merrall
Charles, From memory, all you need is the asjava.jar file (the as bit is a hangover from that company formed before informix - can't remember the name - ascentia maybe?). As long as this file is in your classpath you should be fine. If you are writing for Tomcat, just dump it into

RE: [U2] Uniobjects for Java

2008-05-30 Thread Charles_Shaffer
Thanks. I hadn't thought of pulling them off of my machine. Charles Shaffer Senior Analyst NTN-Bower Corporation --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] Uniobjects for Java

2008-05-30 Thread Charles_Shaffer
Some old versions of UOJ shipped with the file called asjava.zip. I would be surprised if this is what you have but if so, just rename it asjava.jar. The jar format is just a zip file with a specific structure. I must have an old version because it was asjava.zip and it seems to be

Re: [U2] Uniobjects for Java

2008-05-30 Thread Adrian Merrall
Charles, I must have an old version because it was asjava.zip and it seems to be working OK on Linux. I have the web server talking to the Unidata db server. Thanks. Is there any way to get the latest version? Ah, the danger of working from memory. I just checked and on my notebook I

[U2] Uniobjects for Java

2008-05-29 Thread Charles_Shaffer
Hello, I have been working with Uniobjects for Java on my Windows machine and I am ready to move some stuff up to our Linux based web server. Do I get the libraries off of the client CD? Or do I need to download the packages form the Internet? If so, where do I get them? Charles Shaffer

[U2] Uniobjects for Java

2008-01-22 Thread Charles_Shaffer
I am checking out Uniobjects for Java and am putting together a test app. I include the line import asjava.uniobjects.*; outside of the Class, but get a message The import asjava cannot be resolved. The Uniobjects software from the client disc is installed at C:\IBM\UniDK\uojsdk. Do I

Re: [U2] Uniobjects for Java

2008-01-22 Thread John_Appleyard
cc Subject 22/01/2008 16:34 [U2] Uniobjects for Java

Re: [U2] Uniobjects for Java

2008-01-22 Thread Richard Nuckolls
You need to set your classpath, which indicates where you need to look for code. In your case, were you are probably executing javac in the same location that you have placed the test program, try set CLASSPATH=C:\IBM\UniDK\uojsdk\asjava.zip;. Note the period after the semicolon which

Re: [U2] Uniobjects for Java

2008-01-22 Thread Charles_Shaffer
-users@listserver.u2ug.org cc: Subject:Re: [U2] Uniobjects for Java Charles, does your CLASSPATH environment variable correctly point at asjava.zip - it should include the full path to this file. John Appleyard [EMAIL PROTECTED] tn

RE: [U2] UniObjects 101 - Java

2007-11-21 Thread Brutzman, Bill
This helps a lot. Thanks so much. --Bill -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Dawn Wolthuis Sent: Tuesday, November 20, 2007 9:02 PM To: u2-users@listserver.u2ug.org Subject: Re: [U2] UniObjects 101 - Java I just checked and my efforts

RE: [U2] UniObjects 101 - Java

2007-11-21 Thread Hona, David S
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill Sent: Thursday, November 22, 2007 2:02 AM To: 'u2-users@listserver.u2ug.org' Subject: RE: [U2] UniObjects 101 - Java This helps a lot. Thanks so much. --Bill --- u2-users mailing list u2

[U2] UniObjects 101 - Java

2007-11-20 Thread Brutzman, Bill
I am struggling with the UniObjects demos in the c:\IBM\UniDK\lib\asjava. Are there any easier beginner-level (Hello World) examples of UniObject Java code available? --Bill --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/

Re: [U2] UniObjects 101 - Java

2007-11-20 Thread Dawn Wolthuis
I just checked and my efforts with UOJ have been backed up and are not handy right now, but I thought that Wendy put some examples on the pickwiki.com site under the Java and JSP examples at http://www.pickwiki.com/cgi-bin/wiki.pl?SourceCode I did not review them now to be sure, but I suspect

[U2] UniObjects for Java + GLOBUS (UniVerse) = UniVerse license expired!?

2006-06-08 Thread Guido Sohne
Dear List: I am trying to extract data from a GLOBUS application (which runs atop U2). I'm using the UniObjects for Java API to connect to the database. When I use the right username/password, instead of connecting, it tells me that the UniVerse license has expired.

Re: [U2] UniObjects for Java + GLOBUS (UniVerse) = UniVerse license expired!?

2006-06-08 Thread John Hester
Guido Sohne wrote: I am trying to extract data from a GLOBUS application (which runs atop U2). I'm using the UniObjects for Java API to connect to the database. When I use the right username/password, instead of connecting, it tells me that the UniVerse license has expired. What version of

[U2] UniObjects for Java on Linux

2006-01-11 Thread PJ Velzeboer
Greetings, I have an interesting problem. I have written a jsp page which queries data from a UniVerse database using UniObjects for java (asjava.uniobjects.*). Whenever I read a field from a file the contents of the UniString are in the following format field1?field2?field3?filed4 etc.

Re: [U2] UniObjects for Java on Linux

2006-01-11 Thread John Hester
PJ Velzeboer wrote: I have an interesting problem. I have written a jsp page which queries data from a UniVerse database using UniObjects for java (asjava.uniobjects.*). Whenever I read a field from a file the contents of the UniString are in the following format field1?field2?field3?filed4 etc.

Re: [U2] UniObjects for Java on Linux

2006-01-11 Thread Wendy Smoak
On 1/11/06, PJ Velzeboer [EMAIL PROTECTED] wrote: I have an interesting problem. I have written a jsp page which queries data from a UniVerse database using UniObjects for java (asjava.uniobjects.*). Whenever I read a field from a file the contents of the UniString are in the following format

RE: [U2] UniObjects for Java on Linux

2006-01-11 Thread PJ Velzeboer
: [U2] UniObjects for Java on Linux PJ Velzeboer wrote: I have an interesting problem. I have written a jsp page which queries data from a UniVerse database using UniObjects for java (asjava.uniobjects.*). Whenever I read a field from a file the contents of the UniString are in the following

Re: [U2] UniObjects for Java - UniDynArray question

2005-12-07 Thread John Hester
Bob Little wrote: 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

[U2] UniObjects for Java - UniDynArray question

2005-12-06 Thread Bob Little
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

Re: [U2] UniObjects for Java - UniDynArray question

2005-12-06 Thread Wendy Smoak
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

Re: [U2] UniObjects for Java - UniDynArray question

2005-12-06 Thread Bob Little
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

[U2] UniObjects for Java - LANG environment

2005-11-20 Thread Bob Little
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.

Re: [U2] UniObjects for Java - LANG environment

2005-11-20 Thread Bob Little
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

RE: [U2] UniObjects for Java Unnamed Common Corruption

2004-12-10 Thread Horn, John
Behalf Of Sean W Ferguson I have recently encountered a very strange UniObjects bug. I have an application that includes a file containing unnamed commons. The application calls a subroutine that also includes that same unnamed common. In my experience unnamed commons tend to get a

RE: [U2] UniObjects for Java Unnamed Common Corruption

2004-12-09 Thread Cordes, Tom (contractor)
W Ferguson [mailto:[EMAIL PROTECTED] Sent: December 08, 2004 7:16 PM To: [EMAIL PROTECTED] Subject:Re: [U2] UniObjects for Java Unnamed Common Corruption /* * Created on Dec 6, 2004 */ package com.docmagic.rd; import asjava.uniobjects.*; /** * @author jay */ public class

[U2] UniObjects for Java Unnamed Common Corruption

2004-12-08 Thread Sean W Ferguson
I have recently encountered a very strange UniObjects bug. I have an application that includes a file containing unnamed commons. The application calls a subroutine that also includes that same unnamed common. I also have a command that includes the unnamed comman and calls the same

Re: [U2] UniObjects for Java Unnamed Common Corruption

2004-12-08 Thread Sean W Ferguson
/* * Created on Dec 6, 2004 */ package com.docmagic.rd; import asjava.uniobjects.*; /** * @author jay */ public class TestCommons { UniSession session = null; static String host, username, password, accountPath; public static void main(String[] args) { if(args.length 4) {

[U2] Uniobjects for Java

2004-09-24 Thread John Castilletti
How would I make the following work. command.setCommand(RUN BP TEST + @FM + DATA PRINT); It is failing on the @FM. Any help would be greatly appreciated! TIA, John __ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone.

RE: [U2] Uniobjects for Java

2004-09-24 Thread Wendy Smoak
John Castilletti wrote: How would I make the following work. command.setCommand(RUN BP TEST + @FM + DATA PRINT); It is failing on the @FM. Any help would be greatly appreciated! You're doing _Java_ string concatenation there, the Java compiler doesn't know what you mean by @FM. You can ask

RE: [U2] Uniobjects for Java

2004-09-24 Thread Brian Leach
Just to complete the reply - FM is 254, not 252. Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Wendy Smoak Sent: 24 September 2004 16:54 To: [EMAIL PROTECTED] Cc: John Castilletti Subject: RE: [U2] Uniobjects for Java John Castilletti wrote

RE: [U2] UniObjects for Java and Type 1 files

2004-07-22 Thread Wendy Smoak
Tsombakos, John wrote: However, I tried changing the sample code to read from a BP / source code file and it gives an error - asjava.uniobjects.UniFileException: This Record was not found. I even tried using (non java) Uniobjects and got the same error. Is there a problem with UniObjects

RE: [U2] UniObjects for Java and Type 1 files

2004-07-22 Thread Tsombakos, John
: Thursday, July 22, 2004 12:42 PM To: [EMAIL PROTECTED]; Tsombakos, John Subject: RE: [U2] UniObjects for Java and Type 1 files Tsombakos, John wrote: However, I tried changing the sample code to read from a BP / source code file and it gives an error - asjava.uniobjects.UniFileException

RE: [U2] UniObjects for Java and Type 1 files

2004-07-22 Thread Wendy Smoak
From: Tsombakos, John [mailto:[EMAIL PROTECTED] Well, I played around some more, and checks the docs again. The file is a type 19 file, and using that exact code (chaning the file name of course). Since type 19 and type 1 are directory files, I changed to use sequential files: