• Subject: Re: Websphere and classpath
  • From: Nimal Perera <nimal.perera@xxxxxxxxxx>
  • Date: Mon, 19 Jul 1999 11:55:21 -0700
  • Organization: Viodor

Hello, Try the following setting the classpath on the server using ADDENVVAR
command, in the following syntax. Then execute your tasks.. Make sure the
following values are always present as an enviornment variable in your current
job, before you begin your tasks.


 ADDENVVAR  ENVVAR(CLASSPATH)  VALUE(
'/QIBM/ProdData/Java400/lib/java.zip:/QIBM/ProdData
/Java400/lib/sun.zip:/QIBM/ProdData/Java400/:/QJAVA:/your path where your 
classess
are found in the IFS')


SJoaquim@aol.com wrote:

> In a message dated 19/07/99 15:05:54 GMT Daylight Time,
> DeSarFra@mail.divintech.com writes:
>
> << Subj:         Websphere and classpath
>  Date:  19/07/99 15:05:54 GMT Daylight Time
>  From:  DeSarFra@mail.divintech.com (DeSarro Frank)
>  Sender:        owner-java400-l@midrange.com
>  Reply-to:      JAVA400-L@midrange.com
>  To:    ign_list@ignite400.org (ign_list@ignite400.org),
> JAVA400-L@midrange.com (JAVA400-L@midrange.com)
>
>  Hello,
>         I'm new to websphere and I'm having considerable trouble getting
>  websphere on the AS/400 to recognize classes in the classpath as opposed
>  to classes in the servlets directory.  I'm trying to move away from
>  having support classes loaded dynamically like servlets.  To do this
>  instead of placing the classes in a directory specified in
>  servlets.properties, I place them in the classpath specified in
>  jvm.properties.  I've read the websphere documentation for the AS/400
>  (what there is of it), redbooks, and IBM manuals.  I tried every possible
>  variation to try to get websphere to recognize the classes, but it just
>  won't see them.  It is very frustrating.  Any help or suggestions that
>  anyone could provide would be greatly appreciated.  I include the
>  following to help describe my situation:
>         I'm running WebSphere 1.1 on an AS/400 under V4R3
>         If I place the classes in the servlets directory, the classes are
> found
>         I was able to place the AS/400 toolbox file (jt400.jar) in the
>                         classpath and it is found
>         I explicitly use CRTJVAPGM to make sure the Java transformer
>         creates
>  the necessary program objects
>         I've tried placing the individual classes in the classpath and I've
>  tried           making them into a jar file.  Neither variation works.
>         I use HTTP command to check the servers classpath and it is set
>                         correctly.
>  I can't understand how webshere can appear to find the toolbox classes
>  (jt400.jar) in the server classpath, but it can't find my classes.  I
>  can't make sense of it. Anyone have any ideas?  Thanks.
>
>  Frank DeSarro
>  +---
>  | This is the JAVA/400 Mailing List!
>  | To submit a new message, send your mail to JAVA400-L@midrange.com.
>  | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
>  | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
>  | Questions should be directed to the list owner/operator: david@midrange.com
>  +---
>
>
>  ----------------------- Headers --------------------------------
>  Return-Path: <uucp@Uucp1.mcs.net>
>  Received: from  aol.com (rly-yc04.mail.aol.com [172.18.149.36]) by
> air-yc05.mail.aol.com (v60.14) with ESMTP; Mon, 19 Jul 1999 10:05:54 -0400
>  Received: from  Kitten.mcs.com (kitten.mcs.com [192.160.127.90]) by
> rly-yc04.mx.aol.com (v60.14) with ESMTP; Mon, 19 Jul 1999 10:05:31 -0400
>  Received: from uucphost.mcs.net (Uucp1.mcs.net [192.160.127.93]) by
> Kitten.mcs.com (8.8.7/8.8.2) with ESMTP id JAA02531; Mon, 19 Jul 1999
> 09:03:03 -0500 (CDT)
>  Received: (from uucp@localhost)
>         by uucphost.mcs.net (8.8.8/8.8.8) id JAA07855;
>         Mon, 19 Jul 1999 09:03:02 -0500 (CDT)
>  Received: (from majordom@localhost)
>         by midrange.com (8.9.3/8.9.3) id IAA02208
>         for java400-l-outgoing; Mon, 19 Jul 1999 08:50:35 -0500
>  Received: (from uucp@localhost)
>         by midrange.com (8.9.3/8.9.3) with UUCP id IAA02124
>         for JAVA400-L@midrange.com; Mon, 19 Jul 1999 08:50:07 -0500
>  Received: from mail.divintech.com (mail.divintech.com [209.74.42.25])
>         by uucphost.mcs.net (8.8.8/8.8.8) with ESMTP id IAA06239
>         for <JAVA400-L@midrange.com>; Mon, 19 Jul 1999 08:24:41 -0500 (CDT)
>  Received: by mail.divintech.com
>         with MailBeamer v3.23 (WinNT 4.x) ;
>         Mon, 19 Jul 1999 09:24:56 -0400
>  From: DeSarro Frank <DeSarFra@mail.divintech.com>
>  To: "ign_list@ignite400.org" <ign_list@ignite400.org>,
>          "JAVA400-L@midrange.com" <JAVA400-L@midrange.com>
>  Subject: Websphere and classpath
>  Date: Mon, 19 Jul 1999 09:24:00 -0400
>  X-Mailer: MailBeamer v3.23 (WinNT 4.x)
>  Message-ID: <174993896.1618349533.236@mail.divintech.com>
>  X-Priority: 3
>  Mime-Version: 1.0
>  Content-Type: text/plain; charset=us-ascii
>  Content-Transfer-Encoding: 7bit
>  Sender: owner-java400-l@midrange.com
>  Precedence: bulk
>  Reply-To: JAVA400-L@midrange.com
>
>   >>
> Hi Frank!
>
> Are you running the Admin tool via the browser? I think 9527 is the default
> port. You will then find the Java engine configuration settings, where you
> will be able to set the Application Server class path, the Java classpath and
> the lib classpath, as well as any extra reloadable directories.
>
> If you are still having problems, you can e-mail me at
> Simone.Joaquim@chase.com and I can have a look at one of the AS/400 WebSphere
> installations we have.
>
> Best regards,
>
> Simone Joaquim
> +---
> | This is the JAVA/400 Mailing List!
> | To submit a new message, send your mail to JAVA400-L@midrange.com.
> | To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---

+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.