Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4C1FC1050A for ; Tue, 2 Jul 2013 01:31:50 +0000 (UTC) Received: (qmail 86048 invoked by uid 500); 2 Jul 2013 01:31:47 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 85924 invoked by uid 500); 2 Jul 2013 01:31:46 -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 85915 invoked by uid 99); 2 Jul 2013 01:31:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 01:31:46 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sunildath@gmail.com designates 209.85.214.171 as permitted sender) Received: from [209.85.214.171] (HELO mail-ob0-f171.google.com) (209.85.214.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Jul 2013 01:31:41 +0000 Received: by mail-ob0-f171.google.com with SMTP id dn14so4934966obc.2 for ; Mon, 01 Jul 2013 18:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DDCreaTZQh466Ugpwk0uPs0qZ8v8isyqNpBqEuz88Io=; b=Z0N++1EGbiUgvoNhnd0IGNMUwZWOIbEaijdc0//f5OM196jzQV/hXEy3t6VD5JcwVW R8oQnnFr0SoFHUrUNTls61SAxqv5T3akSD61vbdNchX/4rdedbhL/HKBEImYDW6l2DKS Mz97gYApdSJjqgOWBk1DP2D1oKVCxmAr7nv3nZRpzqOe9JnhqOPcgWFJyMj8LUvwOFRp HMbhYSbYUowU4xoFU9d1/3MASNgXAEzalU5ETMbpXvgVPdd5n4olUK8Lsi84lSbHFyHd ay2MLNY1IIFS4Pl3CAJNKItK8GBgQjgOQ+33xMZc5rvhOv/FmiLHczWNzX0aNnhEOVLR IAhg== MIME-Version: 1.0 X-Received: by 10.182.213.10 with SMTP id no10mr12030864obc.76.1372728680336; Mon, 01 Jul 2013 18:31:20 -0700 (PDT) Received: by 10.182.81.169 with HTTP; Mon, 1 Jul 2013 18:31:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 1 Jul 2013 18:31:20 -0700 Message-ID: Subject: Unable to start running Tomcat "startup" script From: Sunil Dath To: users@tomcat.apache.org Content-Type: multipart/alternative; boundary=001a11c2deaa5d55f604e07d4d0a X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2deaa5d55f604e07d4d0a Content-Type: text/plain; charset=ISO-8859-1 Hello, I am using apache-tomcat-7.0.41 and I have downloaded the - 64-bit Windows zip (pgp , md5 ) binary distribution. I have copied it to C:\ directory on my Windows machine (which is running as a VM). I have installed jdk-7u25-windows-x64 for Windows. Before starting the Tomcat server, I created a file named setenv.bat under CATALINA_HOME/bin directory. The contents of the file are, set "JAVA_HOME=%ProgramFiles%\Java\jdk1.7.0_25" set "JRE_HOME=%ProgramFiles%\Java\jre7" exit /b 0 Then, I launch the command window and went to "C:\apache-tomcat-7.0.41\bin" directory and ran "startup" script. But the script exits with the following error message, C:\apache-tomcat-7.0.41\bin>startup Using CATALINA_BASE: "C:\apache-tomcat-7.0.41" Using CATALINA_HOME: "C:\apache-tomcat-7.0.41" Using CATALINA_TMPDIR: "C:\apache-tomcat-7.0.41\temp" Using JRE_HOME: "C:\Program Files\Java\jre7" Using CLASSPATH: "C:\apache-tomcat-7.0.41\bin\bootstrap.jar;C:\apache-tomc at-7.0.41\bin\tomcat-juli.jar" C:\apache-tomcat-7.0.41\bin>shutdown Using CATALINA_BASE: "C:\apache-tomcat-7.0.41" Using CATALINA_HOME: "C:\apache-tomcat-7.0.41" Using CATALINA_TMPDIR: "C:\apache-tomcat-7.0.41\temp" Using JRE_HOME: "C:\Program Files\Java\jre7" Using CLASSPATH: "C:\apache-tomcat-7.0.41\bin\bootstrap.jar;C:\apache-tomc at-7.0.41\bin\tomcat-juli.jar" Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/juli/loggi ng/LogFactory at org.apache.catalina.startup.Bootstrap.(Bootstrap.java:60) Caused by: java.lang.ClassNotFoundException: org.apache.juli.logging.LogFactory at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 1 more C:\apache-tomcat-7.0.41\bin> I tried multiple options without any luck. Can someone please advise on how to get the Tomcat application server working? Thanks, Sunil. --001a11c2deaa5d55f604e07d4d0a--