|
Yes you can but you must set the class path for the entire Server. In the Server document Select the Internet Protocols Section then the Web Engine Subsection. You will find the parameter ClassPath. The server must be restarted for the change to take affect. The Classpath is loaded when the server starts so the jar wil already be in memory when the server starts. Walter Scanlan Advisory Software Engineer Domino For AS/400 Team Leader Phone (507)286-6088 Fax (507)286-5028 Pager (507)292-2985 Internet WSCANLAN@US.IBM.COM mandy.shaw@uk.catalyst-solutions.com@midrange.com on 10/14/2000 01:18:39 PM Please respond to DOMINO400@midrange.com Sent by: owner-domino400@midrange.com To: DOMINO400@midrange.com cc: Subject: Re: Optimising Java agents Another quick thought/question - the real problem with my code is its use of the AS/400 Toolbox for Java (jt400.jar) which is very large and performs slowly without optimization. When we use this from an AS/400 command line, the cl;asspath is used to pick it up & it can therefore find an optimized copy & all is well. When we set up a Java agent in Domino, so far we have been, effectively, copying the jt400.jar file into the Domino database, not accessing it via the classpath, thus avoiding the nice optimized copy! Can we tell Domino somehow to use a classpath rather than duplicating code in this way? Thanks a lot Mandy wscanlan@us.ibm.com on 13/10/2000 22:49:25 Please respond to DOMINO400@midrange.com To: DOMINO400@midrange.com cc: (bcc: Mandy Shaw/Pacific/UK) Subject: Re: Optimising Java agents Mandy, The Domino server doesn't have an option to set the optimization level when it passes the class to the OS/400 JVM. You have 2 options. 1 create a java servlet instead of a Java Agent 2. Submit a Design Change Request to Lotus. Walter Scanlan Advisory Software Engineer Domino For AS/400 Team Leader Phone (507)286-6088 Fax (507)286-5028 Pager (507)292-2985 Internet WSCANLAN@US.IBM.COM mandy.shaw@uk.catalyst-solutions.com@midrange.com on 10/13/2000 04:20:55 PM Please respond to DOMINO400@midrange.com Sent by: owner-domino400@midrange.com To: DOMINO400@midrange.com cc: Subject: Re: Optimising Java agents Importing it as an agent. Thanks for the quick reply! wscanlan@us.ibm.com on 13/10/2000 21:48:40 Please respond to DOMINO400@midrange.com To: DOMINO400@midrange.com cc: (bcc: Mandy Shaw/Pacific/UK) Subject: Re: Optimising Java agents Are you importing the Java source as an agent or are you calling it as a servlet? Walter Scanlan Advisory Software Engineer Domino For AS/400 Team Leader Phone (507)286-6088 Fax (507)286-5028 Pager (507)292-2985 Internet WSCANLAN@US.IBM.COM +--- | This is the Domino/400 Mailing List! | To submit a new message, send your mail to DOMINO400@midrange.com. | To subscribe to this list send email to DOMINO400-SUB@midrange.com. | To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: meechamw@ptd.net +--- Regards, Mandy Shaw Catalyst Solutions plc Kingfisher House Frimley Business Park Camberley Surrey GU16 5SG UK http://www.catalyst-solutions.com Email: Mandy.Shaw@uk.catalyst-solutions.com Telephone: +44 (0)870 166 1000 DDI: +44 870 166 1324 Facsimile: +44 870 168 3920 Mobile: +44 410 447966 Email to mobile 'phone: mandyshaw@sms.genie.co.uk ---------------------------------------------------------------------- ---------------------------------------------------------------------- Catalyst Solutions plc. Registered No 2918101. Registered @ Kingfisher House, Frimley Business Park, Frimley, Surrey. GU16 5SG U.K. NOTICE: This message is intended only for the named addressee(s) and may contain confidential and/or privileged information. If you are not the named addressee you should not disseminate, copy or take any action or place any reliance on it. If you have received this message in error please notify postmaster@catalyst-solutions.com and delete the message and any attachments accompanying it immediately. ---------------------------------------------------------------------- +--- | This is the Domino/400 Mailing List! | To submit a new message, send your mail to DOMINO400@midrange.com. | To subscribe to this list send email to DOMINO400-SUB@midrange.com. | To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: meechamw@ptd.net +--- +--- | This is the Domino/400 Mailing List! | To submit a new message, send your mail to DOMINO400@midrange.com. | To subscribe to this list send email to DOMINO400-SUB@midrange.com. | To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: meechamw@ptd.net +--- Regards, Mandy Shaw Catalyst Solutions plc Kingfisher House Frimley Business Park Camberley Surrey GU16 5SG UK http://www.catalyst-solutions.com Email: Mandy.Shaw@uk.catalyst-solutions.com Telephone: +44 (0)870 166 1000 DDI: +44 870 166 1324 Facsimile: +44 870 168 3920 Mobile: +44 410 447966 Email to mobile 'phone: mandyshaw@sms.genie.co.uk ---------------------------------------------------------------------- Catalyst Solutions plc. Registered No 2918101. Registered @ Kingfisher House, Frimley Business Park, Frimley, Surrey. GU16 5SG U.K. NOTICE: This message is intended only for the named addressee(s) and may contain confidential and/or privileged information. If you are not the named addressee you should not disseminate, copy or take any action or place any reliance on it. If you have received this message in error please notify postmaster@catalyst-solutions.com and delete the message and any attachments accompanying it immediately. ---------------------------------------------------------------------- +--- | This is the Domino/400 Mailing List! | To submit a new message, send your mail to DOMINO400@midrange.com. | To subscribe to this list send email to DOMINO400-SUB@midrange.com. | To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: meechamw@ptd.net +--- +--- | This is the Domino/400 Mailing List! | To submit a new message, send your mail to DOMINO400@midrange.com. | To subscribe to this list send email to DOMINO400-SUB@midrange.com. | To unsubscribe from this list send email to DOMINO400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: meechamw@ptd.net +---
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.