From owner-freebsd-java@FreeBSD.ORG Thu Mar 27 05:50:22 2003 Return-Path: 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 6BCCE37B401 for ; Thu, 27 Mar 2003 05:50:21 -0800 (PST) Received: from web40507.mail.yahoo.com (web40507.mail.yahoo.com [66.218.78.124]) by mx1.FreeBSD.org (Postfix) with SMTP id 7F1A243FBD for ; Thu, 27 Mar 2003 05:50:21 -0800 (PST) (envelope-from radhika_narendran@yahoo.com) Message-ID: <20030327135021.79223.qmail@web40507.mail.yahoo.com> Received: from [63.210.218.188] by web40507.mail.yahoo.com via HTTP; Thu, 27 Mar 2003 05:50:21 PST Date: Thu, 27 Mar 2003 05:50:21 -0800 (PST) From: Radhika S To: Westbay Family In-Reply-To: <70AD003C-5F22-11D7-A686-000A9575BE46@seaple.icc.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, hits=-7.1 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,RCVD_IN_NJABL, RCVD_IN_OSIRUSOFT_COM,X_NJABL_DIALUP autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-java@FreeBSD.ORG Subject: Re: jakarta-tomcat 4.1.18 and freebsd 5.0 problems X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Mar 2003 13:50:26 -0000 Hi Michael, Thanks for your mail. To reference your points : 1. checked the log files, and jvm was core dumping almost immediately. 2. put myself in group: www and gave group write permissions. 3. I didnt see anything about ssl. I build jdk1.1.3 using the port /usr/ports/java/jdk13 and what this does is install 2 directories in /usr/local drwxr-xr-x 9 root wheel 512 Feb 11 21:37 jdk1.3.1 drwxr-xr-x 9 root wheel 512 Feb 11 12:25 linux-sun-jdk1.3.1 my JAVA_HOME env variable had been pointing to /usr/local/jdk1.3.1, I changed it to use the linux binary, which was /usr/local/linux-sun... and it worked. So it didnt like something about the freebsd native binary. I do not kow if others have come across this problem. My freebsd version is: java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-jklowden-030211-12:38) Classic VM (build 1.3.1-p7-jklowden-030211-12:38, green threads, nojit) The linux binary says:Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_06-b01) Classic VM (build 1.3.1_06-b01, green threads, nojit) Maybe this can help someone who has a similar problem. Thanks, Radhika --- Westbay Family wrote: > 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/ > ===== It's all a matter of perspective. You can choose your view by choosing where to stand. --Larry Wall __________________________________________________ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com