|
Actually, it's a rather small program and runs quite well on my PC. It does need to start several threads for the thread pool though. I am not as concerned with the slow initialization time as I am with the fact that the first transaction processes so slowly. Subesequent transactions complete in a heartbeat. Amy |--------+-----------------------------> | | "Ducret, Gilles | | | (CH)" | | | <Gilles.DUCRET@Lloy| | | dsBank.ch> | | | | | | 11/15/2001 08:46 AM| | | Please respond to | | | java400-l | | | | |--------+-----------------------------> >----------------------------------------------------------------------------| | | | To: "'java400-l@midrange.com'" <java400-l@midrange.com> | | cc: (bcc: Amy K Anuszewski/WSC) | | Subject: RE: sluggish java program | >----------------------------------------------------------------------------| This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] Are you sure it is not in the design of the program itself. When you launch the program it starts the JVM, and this takes time, but once it is loaded it works fine. Isn't it your program that load a lot of ressources when the first transaction is called. If it is the case you can add a startup sequence in your server where you load these ressources Gilles -----Original Message----- From: AAnuszewski@hammer.net [mailto:AAnuszewski@hammer.net] Sent: jeudi, 15. novembre 2001 14:35 To: java400-l@midrange.com Subject: sluggish java program We have recently deployed a small TCP/IP server written in java. We used crtjvapgm and set optimization to 30. The java is then called from a CL startup script. We have noticed that the first transaction that comes through the server is extremely sluggish. Everything after the first one processes fine. In addition, it seems to take forever for the program to start up and initialize each day. Is there something I am missing about ensuring the program runs well on a AS/400? Is there anything I can do to improve performance? Amy Anuszewski Weidenhammer Systems Corporation 935 Berkshire Blvd. Wyomissing, PA 19610 Phone: (610) 378-1149 extension 8291 Fax: (610) 378-9409 Email: aanuszewski@hammer.net _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. ********************************************************************** This E-mail and any files transmitted with it are confidential and intended for the exclusive use of the addressee(s) only. You should not disclose its contents to any other person. If you are not the intended recipient please notify the sender immediately. ********************************************************************** _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
As an Amazon Associate we earn from qualifying purchases.
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.