From owner-freebsd-java Tue Mar 25 16:32:47 2003 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F42137B404 for ; Tue, 25 Mar 2003 16:32:43 -0800 (PST) Received: from uhpux01.beacon-it.co.jp (bconns1.beacon-it.co.jp [61.120.53.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DB4B43FA3 for ; Tue, 25 Mar 2003 16:32:39 -0800 (PST) (envelope-from westbay@seaple.icc.ne.jp) Received: from seaple.icc.ne.jp (uhvsrv.beacon-it.co.jp [172.22.106.252]) by uhpux01.beacon-it.co.jp (8.9.3/8.9.3) with ESMTP id JAA30269; Wed, 26 Mar 2003 09:46:34 +0900 Date: Wed, 26 Mar 2003 09:32:35 +0900 Subject: Re: jakarta-tomcat 4.1.18 and freebsd 5.0 problems Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v551) Cc: freebsd-java@FreeBSD.ORG To: Radhika S From: Westbay Family In-Reply-To: <20030325142011.61694.qmail@web40501.mail.yahoo.com> Message-Id: <70AD003C-5F22-11D7-A686-000A9575BE46@seaple.icc.ne.jp> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.551) X-Spam-Status: No, hits=-11.9 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,USER_AGENT_APPLEMAIL autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On 2003.3.25, at 11:20 PM, Radhika S-san wrote: > bin/startup.sh, I notice the cpu and memory for the java > process start rising up and in about 2 minutes, the process > aborts adn i have a core file, java.core in my > $CATALINA_HOME/bin directory. > > What am i doing wrong. I do not have another server running > on port 8080. These are the two things that I find are the cause of core dumps: 1. Check $CATALINA_HOME/logs for a hint. File access problems are a common failure point. 2. Check $CATALINA_HOME/conf/server.xml to see if you have the https connector enabled without having SSL properly setup. For #1, the port will install everything with the www:www user/group. That means that if you're trying to start as your logged in user, you generally won't have write permission in the logs (or any other) directory. That will cause Tomcat to crash. If this is the case, chmod -R g+w $CATALINA_HOME and be sure that your user is a member of the www group. For #2, follow the SSL enabling instructions explained in the tomcat-documentation (or something similar) context. If it's on your local computer, you can browse the documentation directly. If it's on a remote machine, lynx or w3m (both in ports) will allow you to view the documentation without having to startup Tomcat. Hope this helps. --- Michael Westbay Work: Beacon-IT http://www.beacon-it.co.jp/ Home: http://www1.seaple.icc.ne.jp/westbay Commentary: http://www.japanesebaseball.com/forum/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message