RE: [U2] [UV] Installing UniObjects [not-secure]

2007-11-09 Thread Hennessey, Mark F.
In my experience the syntax is:
uvrpc   31438/tcp


Mark Hennessey

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, November 08, 2007 10:02 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] [UV] Installing UniObjects

I think I remember one other step I had to do last time I installed it.
In /etc/services, add the line:

31438uvrpc
or is that
31438unirpc

I never can remember, but I think it's the former.

HTH,

Karl


quote who=John Hester
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, 
 Bill
 Sent: Thursday, November 08, 2007 2:23 PM
 To: 'u2-users@listserver.u2ug.org'
 Subject: [U2] [UV] Installing UniObjects

 I want to install UniObjects on the server side on our...
 HP-Ux v11i with
 UniVerse v10.

 I am unable to locate any installation instructions.

 I would like to do UniObjects for Java.

 Suggestions would be appreciated.

 --Bill

 It's been a while since I did a new install, but I think all you need 
 to do on the server side is make sure the unirpc service is running.  
 You can start it from Package -- Rpc administration on the UV master
menu.
 You'll need this file:

 `cat /.unishared`/uojsdk/lib/asjava.zip

 on the client side to connect to the server.  I think it's installed 
 on the server by default when you install UV.  If you're doing desktop

 applets, you may wan't asjava_p.zip too.  It allows a proxy connection

 so you can get data from the client-side java sandbox back to the UV 
 server.

 -John
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/



--
Karl Pearson
Director of I.T.
ATS Industrial Supply, Inc.
[EMAIL PROTECTED]
http://www.atsindustrial.com
800-789-9300 x29
Local: 801-978-4429
Fax: 801-972-3888

To mess up your Linux PC, you have to really work at it;  to mess up a
microsoft PC you just have to work on it.
---
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] [UV] Installing UniObjects

2007-11-09 Thread karlp
I'm on uniVerse version 10.1.7 and it's not there. I'm expecting to
upgrade to 10.2.4 soon, so we'll see.

Karl

quote who=Ray Wurlod
 As far as I'm aware (in version 10) it's just there - you don't need to
 install anything.
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/



-- 
Karl Pearson
Director of I.T.
ATS Industrial Supply, Inc.
[EMAIL PROTECTED]
http://www.atsindustrial.com
800-789-9300 x29
Local: 801-978-4429
Fax: 801-972-3888

To mess up your Linux PC, you have to really work at it;
 to mess up a microsoft PC you just have to work on it.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


[U2] [UV] Installing UniObjects

2007-11-08 Thread Brutzman, Bill
I want to install UniObjects on the server side on our... HP-Ux v11i with
UniVerse v10.

I am unable to locate any installation instructions.

I would like to do UniObjects for Java.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Installing UniObjects

2007-11-08 Thread John Hester
 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of 
 Brutzman, Bill
 Sent: Thursday, November 08, 2007 2:23 PM
 To: 'u2-users@listserver.u2ug.org'
 Subject: [U2] [UV] Installing UniObjects
 
 I want to install UniObjects on the server side on our... 
 HP-Ux v11i with
 UniVerse v10.
 
 I am unable to locate any installation instructions.
 
 I would like to do UniObjects for Java.
 
 Suggestions would be appreciated.
 
 --Bill

It's been a while since I did a new install, but I think all you need to
do on the server side is make sure the unirpc service is running.  You
can start it from Package -- Rpc administration on the UV master menu.
You'll need this file:

`cat /.unishared`/uojsdk/lib/asjava.zip

on the client side to connect to the server.  I think it's installed on
the server by default when you install UV.  If you're doing desktop
applets, you may wan't asjava_p.zip too.  It allows a proxy connection
so you can get data from the client-side java sandbox back to the UV
server.

-John
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] [UV] Installing UniObjects

2007-11-08 Thread karlp
I think I remember one other step I had to do last time I installed it. In
/etc/services, add the line:

31438uvrpc
or is that
31438unirpc

I never can remember, but I think it's the former.

HTH,

Karl


quote who=John Hester
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of
 Brutzman, Bill
 Sent: Thursday, November 08, 2007 2:23 PM
 To: 'u2-users@listserver.u2ug.org'
 Subject: [U2] [UV] Installing UniObjects

 I want to install UniObjects on the server side on our...
 HP-Ux v11i with
 UniVerse v10.

 I am unable to locate any installation instructions.

 I would like to do UniObjects for Java.

 Suggestions would be appreciated.

 --Bill

 It's been a while since I did a new install, but I think all you need to
 do on the server side is make sure the unirpc service is running.  You
 can start it from Package -- Rpc administration on the UV master menu.
 You'll need this file:

 `cat /.unishared`/uojsdk/lib/asjava.zip

 on the client side to connect to the server.  I think it's installed on
 the server by default when you install UV.  If you're doing desktop
 applets, you may wan't asjava_p.zip too.  It allows a proxy connection
 so you can get data from the client-side java sandbox back to the UV
 server.

 -John
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/



-- 
Karl Pearson
Director of I.T.
ATS Industrial Supply, Inc.
[EMAIL PROTECTED]
http://www.atsindustrial.com
800-789-9300 x29
Local: 801-978-4429
Fax: 801-972-3888

To mess up your Linux PC, you have to really work at it;
 to mess up a microsoft PC you just have to work on it.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Installing UniObjects

2007-11-08 Thread Ray Wurlod
As far as I'm aware (in version 10) it's just there - you don't need to 
install anything.
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] [UV] Installing UniObjects

2007-11-08 Thread Richard Nuckolls
The unirpcd is the only thing that is necessary on the server side,  
and this comes with 10  above.  asjava.zip needs to be in the  
classpath on the client.


You will ultimately be better off, I think, if you do two things:

Create wrapper classes around the primary asjava classes so that you  
can modify their behavior.
Plan on using middleware, such as servlets,  for actually accessing  
Universe in a production situation.


The list could extend for quite a ways.  There are enough booby traps  
there to keep you entertained for a while.


More advice:

Use subroutines as much as reasonably possible.
Create a UvSession interface, and program to it rather than to  
UniSession.  This will help in many ways in the long run.
Use a UV subroutine that opens files to common on the back end and  
hands out the index to the location.  (You can only open a small,  
arbitrary number of UniFiles simultaneously, so the common will allow  
you to extend that number.)
Try to do as much conversion as you can on the host, prior to moving  
data to the client.  The asjava routines do conversions by calling  
back to the host, which is terrible inefficient.  (Or, if you are  
slightly nuts, you can re-implement the common conversions in Java.   
Hmmm, maybe I was nuts a while back.)


The innards of UniObjects can be confusing at points.  If you try to  
access UV delimited strings outside of the UniDynArray class, you  
will eventually stumble on character encoding issues, wherein the  
delimiters are improperly mapped.  The problem is that some platforms  
default to UTF-8 for converting between bytes and characters.  The  
asjava classes could easily deal with this, but they have not.  This  
can be mitigated by using the following option on the Java executable:


-Dfile.encoding=iso8859-1

There was an issue, #8776, that was finally fixed in 10.1.22 ( I  
think), and also in 10.2.1, that can affect Universe adversely if a  
client session times out or otherwise terminates abruptly.  If you  
are running any client software (UCI, UniObjects for Java, or the  
other kind), and use dynamic files, then move to a version without  
this issue.  Dangling group locks can be irksome.


Good luck!
-Rick



On Nov 8, 2007, at 6:43 PM, Ray Wurlod wrote:

As far as I'm aware (in version 10) it's just there - you don't  
need to install anything.

---
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] [UV] Installing UniObjects

2007-11-08 Thread Hona, David S
UniObjects is the client API. 

UniRPC Daemon the server component. It is installed and configured by
default, unless you have a TCP port conflict. Check for a process
executing called unirpcd on your HP-UX system.

Unless you're running a web/app server on your HP-UX server and it will
require it, then there is generally no need to install UniObjects for
Java on it.

Are you using the IBM U2 UniAdmin client already? If so, that proves
that UniRPC daemon is up and operational already.

If is not operation on your system...take the time to read/browse the
manual... Administrative Supplement for Client APIs. Give the list a
shout, if you're still having probs...lots of suggestions have already
been made.

UniObjects and (all) other the U2 APIs are not for the faint hearted or
inexperienced (especially in your Prod environment).

Regards
David



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Brutzman, Bill
Sent: Friday, November 09, 2007 9:23 AM
To: 'u2-users@listserver.u2ug.org'
Subject: [U2] [UV] Installing UniObjects

I want to install UniObjects on the server side on our... HP-Ux v11i
with UniVerse v10.

I am unable to locate any installation instructions.

I would like to do UniObjects for Java.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/