HP3000-L Archives

January 2001, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Heter, Alan" <[log in to unmask]>
Reply To:
Heter, Alan
Date:
Tue, 23 Jan 2001 15:05:55 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (210 lines)
Forwarded from the java list with permission from Mike Yawn for completeness
of this thread on this list.


-----Original Message-----
From:   YAWN,MICHAEL (HP-Cupertino,ex1) [SMTP:[log in to unmask]]
<mailto:[SMTP:[log in to unmask]]>
Sent:   Tuesday, January 23, 2001 3:10 PM
To:     'Heter, Alan'; YAWN,MICHAEL (HP-Cupertino,ex1); [log in to unmask]
<mailto:[log in to unmask]>
Subject:        RE: [JAVA:491] Turboimage class library


If you run java from the command line, the /ext directory is searched
automatically.  But your message looks like you may be running a servlet,
and the search rules for servlets are different (see the ongoing thread
started by Courtlandt).  I'm not sure how you get something added to the
Servlet classpath, but that's probably what you need to do.
The LD_LIBRARY_PATH no longer needs to be set to find the standard Java
libraries, but it does need to be set if you add any libraries outside of
the directories where the system libraries reside.  So you either need to
set LD_LIBRARY_PATH or place your .sl file in
/usr/local/java/<version>/jre/lib/PA-RISC.
I tend to prefer setting the path simply because otherwise, you'll update
your version of Java at some point and wonder why the turboimage class
library suddenly stopped working.  You'll then need to copy the file into
the hierarchy of the newly installed JDK to get it going again.
Mike
        > -----Original Message-----
        > From: Heter, Alan [mailto:[log in to unmask]]
<mailto:[mailto:[log in to unmask]]>
        > Sent: Tuesday, January 23, 2001 1:01 PM
        > To:   'YAWN,MICHAEL (HP-Cupertino,ex1)'; [log in to unmask]
<mailto:[log in to unmask]>
        > Subject:      RE: [JAVA:491] Turboimage class library
        >
        >
        > I  would request that you keep the one on jazz up to date,
        > please.  The
        > Interex site is really hard to work with.  It is so much
        > better to go to the
        > jazz site and pull a tar file off and be done with it.  Maybe I do
not
        > understand the Interex download, but it is a pain to pull
        > every file and
        > then compile.
        >
        > Since there is no makefile with the image.tar version, would
        > I be correct in
        > assuming that all I need to do is move the turboimage.jar into
        > /usr/local/java/latest/jre/lib/ext directory, since I am using
version
        > 1.2.2. This also would imply that the file libTurboIMAGE.sl
        > should reside in
        > /usr/local/java/latest/jre/lib/PA-RISC.  With the correct
        > permissions on
        > these files, java can access them.
        >
        > The error I am getting is:
        >
        > alsj09$alsj09HttpServlet: init
        >  95001-INITIALIZATION AT 94558
        >  OPEN   CUST.DATA
        >  java.lang.NoClassDefFoundError: com/hp/turboimage/DBStatus
        >         at
        > com.synkronix.cobol.DBOPEN.callGiving([DashoPro-V1.2-120198])
        >         at
        > com.synkronix.cobol.cobolThread.calling([DashoPro-V1.2-120198])
        >
        > The documentation on JAZZ states that with JDK 1.2 the ext
        > directory is
        > searched automatically.  It also states that the
        > LD_LIBRARY_PATH variable is
        > no longer necessary for jdk 1.2.  Are these statements
        > incorrect for JDK
        > 1.2.2?
        >
        >
        > Alan Heter
        > Senior Programmer Analyst - Information Systems
        > Alliant Foodservice - Minneapolis
        > 2864 Eagandale Boulevard
        > Eagan, MN 55121
        > (651) 683-4206
        > (651) 683-4438 fax
        > e-mail: [log in to unmask] <mailto:[log in to unmask]>
<mailto:[log in to unmask] <mailto:[log in to unmask]> >
        >
        >
        >       -----Original Message-----
        >       From:   YAWN,MICHAEL (HP-Cupertino,ex1)
[SMTP:[log in to unmask]] <mailto:[SMTP:[log in to unmask]]>
        >       Sent:   Tuesday, January 23, 2001 1:19 PM
        >       To:     [log in to unmask] <mailto:[log in to unmask]>
        >       Subject:        RE: [JAVA:491] Turboimage class library
        >
        >
        >       Several comments & questions:
        >
        >       - I should really kill this off of Jazz; the official
        > distribution
        >         is at interex.org and the one on Jazz will become
increasingly
        >         out of date.  I'm not sure how bad the problem is at
        > the moment-
        >         probably not too bad since we haven't had any new
        > code submitted
        >         in a while-but it will get worse over time.
        >
        >       - There are two distributions; a runtime only (image.tar)
and a
        >         full distribution including source (imageall.tar).
        > The Makefile
        >         is only in the full distribution.  I believe the
documentation
        >         still refers to using the 'install' feature of the
Makefile
        >         even on the runtime only distribution; this is something
that
        >         should be corrected in the documentation.
        >
        >       - What error are you getting when you try to access the
        > turboimage
        >         intrinsics?  The first think I'd look at would be
permissions
        >         (read permission on turboimage.jar, read & execute on the
        >         library).  CLASSPATH must be set to the directory above
the
        >         'com' directory; LD_LIBRARY_PATH must be set to the
directory
        >         where libturboimage.sl is installed.
        >
        >       Mike
        >
                >       > -----Original Message-----
                >       > From: Heter, Alan [mailto:[log in to unmask]]
<mailto:[mailto:[log in to unmask]]>
                >       > Sent: Tuesday, January 23, 2001 11:05 AM
                >       > To:   [log in to unmask] <mailto:[log in to unmask]>
                >       > Subject:      [JAVA:490] Turboimage class library
                >       >
                >       >
                >       > I downloaded the turboimage class library from
Jazz.  I got
                >       > the following
                >       > file:
                >       >
                >       > shell/iX> ls -l image.tar
                >       > -rwxrwxr-x   1 MANAGER.SYS       0         242176
Jan 23
                >       > 11:33 image.tar
                >       >
                >       >
                >       > After running the command:
                >       >
                >       > Tar -xovpf image.tar
                >       >
                >       >
                >       > The following file were unpackaged:
                >       >
                >       > shell/iX> cd /com/hp/turboimage
                >       > shell/iX> ls -l
                >       > total 282
                >       > -rwxr-xr-x   1 MANAGER.SYS       0           4027
Apr  9  1999
        > README
                >       > drwxr-xr-x   8 MANAGER.SYS       0            800
Apr  9
                >       > 1999 examples
                >       > -rwxr-xr-x   1 MANAGER.SYS       0          80384
Apr  9  1999
                >       > libTurboIMAGE.sl
                >       > -rw-r-r--   1 MANAGER.SYS       0          58641
Apr  9  1999
                >       > turboimage.jar
                >       >
                >       > The instructions from the JAZZ site are to change
into the
                >       > /com/hp/turboimage directory and alter the
makefile. The
                >       > makefile moves
                >       > these files to the respective directory for java
release
                >       > 1.2.2. I don't see
                >       > any file called makefile.  I tried to move the
files
        > mentioned in
        > the
                >       > documentation(libTurboIMAGE.sl and
turboimage.jar).  I am
                >       > still not able to
                >       > call image intrinsics from java.  Has anyone
successfully
                >       > used this download
                >       > to install the image intrinsics for java?
                >       >
                >       >
                >       >
                >       > Alan Heter
                >       > Senior Programmer Analyst - Information Systems
                >       > Alliant Foodservice - Minneapolis
                >       > 2864 Eagandale Boulevard
                >       > Eagan, MN 55121
                >       > (651) 683-4206
                >       > (651) 683-4438 fax
                >       > e-mail: [log in to unmask]
<mailto:[log in to unmask]>
<mailto:[log in to unmask] <mailto:[log in to unmask]> >
                >

ATOM RSS1 RSS2