× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Servlets Using JT400.zip Java Toolbox
  • From: Nick_Vrtis@xxxxxxxxx
  • Date: Thu, 3 Aug 2000 10:56:43 -0400


If you optimize to 40, part of the optimization is to load all the classes
referenced.  This causes problems with the toolkit because it references
some Netscape classes, and some IE classes.  Depending on which brower you
are running, or if you are running batch, one of all of these classes will
not be present, and you get this strange class not found message, even
though you know you will never reference it.

I don't expect that the same problem would occur in customer developed
code, unless you had code paths that references optional classes that might
not always be in the classpath.

Nick




"Tom Heiber-Cobb" <heibercobb@mailbag.com>@midrange.com on 08/02/2000
06:47:32 PM

Please respond to JAVA400-L@midrange.com

Sent by:  owner-java400-l@midrange.com


To:   <JAVA400-L@midrange.com>
cc:

Subject:  Re: Servlets Using JT400.zip Java Toolbox


Lee,
     My "not that experienced" 2 cents worth: If it's possible for your
shop to
upgrade to V4R4 of OS/400 that would be a plus. Also, I think that will
bring you to a more current release level of WebSphere. The 1.1 release is
growing old.
     As far as Eric's comments, I was under the impression that when using
CRTJVAPGM, one should "settle" for optimization lever 30. I can't recall
the circumstances (sorry) but there was something about optimizing to 40
that had the opposite outcome than expected. Maybe someone else can
illuminate that one.
     Did you run the jt400.zip (or .jar) file through CRTJVAPGM. I know in
earlier releases of the toolbox this was not done by default so you might
consider that. Be prepared to wait a while while this runs. As Eric
suggested, this is a SBMJOB all the way. There's a whole of classes in the
toolbox to be processed. Again, as I remember (and this came from the
Partners in Development folks in Rochester) you should optimize to 30.
I'd love to hear some other opinions/ideas on this.
Good luck,
     Tom H-C

----------
From: Lee Bircham <lee.bircham@socl.com>
To: JAVA400-L@midrange.com
Subject: Servlets Using JT400.zip Java Toolbox
Date: Wednesday, August 02, 2000 9:20 AM

Hi,

I have written a few servlets that use the record level access classes in
the AS400 Toolbox For Java (JT400.zip). These are currently small servlets
that take a single HTML form parameter (a container number) and access a
single logical file on the AS400 to display all of the records for that
container. The servlets work very well and are very quick after they have
been called for the first time (approx 1-2 sec). The problem that I have is
that the first time a servlet is called it can take up to 2 minutes to load
and for the output to be displayed in the browser.
Has anyone else had this problem when using the record level access
classes?
Have you any solutions?
The OS we are on is V4R3 and Websphere version 1.1
The servlets are in the /QIBM/ProdData/IBMWebAS/servlets/ folder.

Thanks,
Lee.
+---
| 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: joe@zappie.net
+---



+---
| 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: joe@zappie.net
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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.