Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 18427 invoked by uid 6000); 30 Apr 1999 20:43:01 -0000 Received: (qmail 18404 invoked from network); 30 Apr 1999 20:42:57 -0000 Received: from ns.newbridge.com (192.75.23.67) by taz.hyperreal.org with SMTP; 30 Apr 1999 20:42:57 -0000 Received: (from smtpd@localhost) by ns.newbridge.com (8.8.8/8.6.12) id QAA23993 for apache-bugdb@apache.org; Fri, 30 Apr 1999 16:42:54 -0400 (EDT) Received: from portal1.newbridge.com(192.75.23.76) via SMTP by ns.newbridge.com, id smtpdFAAa23925; Fri Apr 30 16:42:39 1999 Received: from kanata-mh1.ca.newbridge.com by portal1.newbridge.com via smtpd (for ns.newbridge.com [192.75.23.67]) with SMTP; 30 Apr 1999 20:46:52 UT Received: from [192.168.208.37] by kanata-mh1.ca.newbridge.com; Fri, 30 Apr 1999 16:38:11 -0400 Received: from starvision.com by kong.starvision (SMI-8.6/SMI-SVR4) id NAA01163; Fri, 30 Apr 1999 13:37:54 -0700 Message-Id: <372A15ED.8B6D8F7F@starvision.com> Date: Fri, 30 Apr 1999 13:43:25 -0700 From: Bryan Woods Organization: Starvision Multimedia Corp. X-Mailer: Mozilla 4.51 [en]C-CCK-MCD (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: apbugs@hyperreal.org, apache-bugdb@apache.org Subject: Re: config/4336: Does not look for .class files and .jar files in right place References: <19990429233003.7788.qmail@hyperreal.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: apache-bugdb-owner@apache.org Precedence: bulk Found a work-around: - Assume is where you installed apache (e.g. "C:\apache") - Assume is where you installed JDK 1.2 (e.g. "C:\java") 1. Make an applet directory, e.g. \htdocs\applets 2. cd to that directory 3. Copy \jre\lib\rt.jar 4. Unpack the rt.jar archive with: jar -xvf rt.jar This will leave you with a tree of directories containing class files used by the runtime. Remeber to delete the rt.jar file after unpacking. 5. Wherever the html files that use the applets reside, make sure they use "/applets/" as the codebase. >From there, apache will be able to find the subdirectories needed to load the class files. PROS: + do not have to change Apache + do not have to change any Apache configuration files + do not have to mess around with getting other ORB's, plugins, etc. CONS: - the rt.jar is 10.5 MBytes, even more when unpacked. At least you would only have to do this once if you put all your applets in that directory - have to copy applets to \htdocs\applets and make sure that idl-compiled subdirectories are there too. - a preferable solution would still be to somehow get apache to load class files from jar files from configurable locations A line in httpd.conf might look like: ClassFiles \jre\lib\rt.jar;\lib\*.jar