From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Manuel Monteiro Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: Tomcat and java SDK 1.4.0-1 Date: Wed, 29 Jan 2003 16:31:40 +0000 Organization: =?US-ASCII?Q?Centro_de_Astrofisica?= Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <000501c2c7b3$e9f583d0$643088c1@astro.up.pt> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1043857904 18637 80.91.224.249 (29 Jan 2003 16:31:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 29 Jan 2003 16:31:44 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.22.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18dv6c-0004lY-00 for ; Wed, 29 Jan 2003 17:30:30 +0100 Original-Received: (qmail 23360 invoked by uid 5); 29 Jan 2003 16:32:05 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23351 invoked by uid 49493); 29 Jan 2003 16:32:05 -0000 Original-Received: from nelo@astro.up.pt by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.54. spamassassin: 2.50-cvs. Clear:SA:0(-1.0/5.0):. Processed in 0.407916 secs); 29 Jan 2003 16:32:05 -0000 Original-Received: from unknown (HELO emroute3.ornl.gov) (160.91.4.110) by 0 with SMTP; 29 Jan 2003 16:32:04 -0000 Original-Received: from emroute3.ornl.gov (localhost [127.0.0.1]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9H00710HXERG@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 Jan 2003 11:32:03 -0500 (EST) Original-Received: from pulsar.astro.up.pt (pulsar.astro.up.pt [193.136.48.200]) by emroute3.ornl.gov (PMDF V6.2 #30669) with ESMTP id <0H9H00B7YHWYA5@emroute3.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 29 Jan 2003 11:31:48 -0500 (EST) Original-Received: from mam (mam.astro.up.pt [193.136.48.100]) by pulsar.astro.up.pt (8.12.1/8.12.1) with ESMTP id h0TGVj3U013349 for ; Wed, 29 Jan 2003 16:31:45 +0000 (GMT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:3124 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:3124 Dear managers, First I'd like to thank to all who responded. Russ Fish gave to correct hint, is answer: ----------------------- If you are using the Korn shell (/bin/ksh) as your shell, either modify the shebang line in $CATALINA_HOME/bin/startup.sh to invoke ksh (rather than /bin/sh which I think is the default), or just take the shebang line out. I think either way will work. BTW I have the same problem with the Apache startup scripts, and this fixes them too. ----------------------- I'm using tcsh as default shell. Changing the shebang line to /bin/ksh in $CATALINA_HOME/bin/catalina.sh solved the problem. Original question bellow. Regards, Manuel Monteiro ------------------------ I'm trying to run a stand-alone version of Jakarta Tomcat without success. Here's the description Tru64 Unix 4.0F PK7 Java SDK 1.4.0-1 as default java environment Tomcat 4.1.18 from binary distribution I've installed everything as described in the RUNNING.txt file from Tomcat, setup environment variables JAVA_HOME /usr/opt/java140 CATALINA_HOME /usr/jakarta-tomcat-4.1.18 When I try to start tomcat $CATALINA_HOME/bin/startup.sh just get the following message in tomcat's log: ---- usage: java org.apache.catalina.startup.Catalina [-config {pathname} ] [ -debug ] [ -nonaming ] { start | stop } ---- Any hints? Thanks in advance. Regards, ________________________________________________________________ Manuel Monteiro Centro de Astrofisica Internet : http://www.astro.up.pt Universidade do Porto E-mail : nelo@astro.up.pt Rua das Estrelas Tel. Directo: (+351) 226 089 847 4150-762 Porto Tel. Geral : (+351) 226 089 830 Portugal Fax : (+351) 226 089 831