From owner-freebsd-java Wed Aug 18 22:38:47 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id A6ADD14F15 for ; Wed, 18 Aug 1999 22:38:44 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id XAA07065; Wed, 18 Aug 1999 23:37:49 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id XAA07649; Wed, 18 Aug 1999 23:37:49 -0600 Date: Wed, 18 Aug 1999 23:37:49 -0600 Message-Id: <199908190537.XAA07649@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: David Richardson Cc: freebsd-java@FreeBSD.ORG Subject: Re: JRun during rc.d In-Reply-To: <37BB7B2E.ABC0513B@davids.org> References: <37BB7B2E.ABC0513B@davids.org> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I have Jrun (a servlet engine) running under my FreeBSD 3.2 w/ jdk 1.1.8 > (jdk1.1.8_ELF.V99-7-19.tar.gz ). It runs great. so I add the startup > commands to a shell script in /usr/local/etc/rc.d. If I run this command > from the my login shell all works. > > But, when I restart the machine, the program appears to start (i.e., all > of the same messages are displayed on the console). By the time I logon, > the program has stopped. It's possible that somehow there is a GUI component in the setup that needs to be initialized, but is never displayed. Because of the way I build the releases and the way the JDK is designed, the 'DISPLAY' environment must be set if any AWT/Swing components are used, even if they are never displayed. It's possible that somehow the JRun setup is using an AWT component, and since the DISPLAY environment is not set in the rc.d scripts, the startup fails since there is nowhere to display anything. Again, even if they are not used, the JDK *thinks* that if an AWT component is used, it must be displayed. However, it may be something completely different. Is there any chance you can get the output of the startup logged to a script somewhere to see what's happening? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message