Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 5931 invoked from network); 7 Aug 2007 07:37:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Aug 2007 07:37:22 -0000 Received: (qmail 53239 invoked by uid 500); 7 Aug 2007 07:37:07 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 53212 invoked by uid 500); 7 Aug 2007 07:37:07 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 53201 invoked by uid 99); 7 Aug 2007 07:37:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 00:37:07 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of zosbloke@gmail.com designates 209.85.198.187 as permitted sender) Received: from [209.85.198.187] (HELO rv-out-0910.google.com) (209.85.198.187) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Aug 2007 07:37:03 +0000 Received: by rv-out-0910.google.com with SMTP id f1so1143666rvb for ; Tue, 07 Aug 2007 00:36:42 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=dxH6pkYiop8NBLtbAuoZ3nr7A4HB3b95QLxvn4x6OoNFNUBeItXXQD5Y5PaZIK/2MGkjAXx9+9RMf6ohq4TsxthDBO4tw1YCOF+6PEnGPTEBIgBmKEp0b3+Xq79smLgEMboLM2JIHkKf1AwFPWh8/fKVAibXm/0N3CXcvV+EXvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=uMNQmfagGEK4pXmC0CJCnvLioxfTsgiJNf9L7fxN+GNsavlwr8WAPETUFT5GTr3HlFOLwdI3/vXnQ1gf6evc/SgoFHWOLuY04hYNWulKMTSiSH/7d27no9cjvJxTDR8KHzNzKpVvaZxcpRjbDB+qxMKc8XxNyHy6Lua1nyBj+KQ= Received: by 10.141.210.5 with SMTP id m5mr2426430rvq.1186472202486; Tue, 07 Aug 2007 00:36:42 -0700 (PDT) Received: from ?192.168.130.105? ( [165.228.165.178]) by mx.google.com with ESMTPS id l38sm12389118rvb.2007.08.07.00.36.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Aug 2007 00:36:41 -0700 (PDT) Message-ID: <46B820FD.9030904@gmail.com> Date: Tue, 07 Aug 2007 17:36:29 +1000 From: Nagesh Reply-To: Nagesh User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Tomcat Subject: InvocationTargetException when starting up Tomcat Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am installing Tomcat server on a machine that runs Unix but does not have a graphical interface. I have unpacked the zip file (jakarta-tomcat-5.0.28.zip) and trying to start the server with the script below. The startup always fails with the following message in STDERR. Can someone please advise me, what am I missing ? Aug 7, 2007 3:08:55 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 0 ms java.lang.reflect.InvocationTargetException .at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) .at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85) .at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58) .at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60) .at java.lang.reflect.Method.invoke(Method.java:391) .at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287) .at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425) Caused by: java.lang.NullPointerException .at org.apache.catalina.startup.Catalina.await(Catalina.java:619) .at org.apache.catalina.startup.Catalina.start(Catalina.java:579) .... 7 more The STDOUT shows : Can't load server.xml Can't load server.xml SCRIPT : for i in "$CATALINA_HOME"/bin/*.jar; do CLASSPATH="$CLASSPATH":"$i" done export CLASSPATH # for i in "$CATALINA_HOME"/server/lib/*.jar; do CLASSPATH="$CLASSPATH":"$i" done export CLASSPATH # java org.apache.catalina.startup.Bootstrap >$CATALINA_HOME/startup_log 2>$CATALINA_HOME/startup_err The options in effect are : Dprogram.name=startup.sh Dsun.rmi.dgc.client.gcInterval=3600000 Dsun.rmi.dgc.server.gcInterval=3600000 Djava.endorsed.dirs=$CATALINA_HOME/common/endorsed Regards, Nags. -- *Debugging tip: * When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth. ---*/Sherlock Holmes./* --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org