Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2A6B1200D0A for ; Wed, 4 Oct 2017 16:48:17 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28DC51609E2; Wed, 4 Oct 2017 14:48:17 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 708991609D6 for ; Wed, 4 Oct 2017 16:48:16 +0200 (CEST) Received: (qmail 43701 invoked by uid 500); 4 Oct 2017 14:48:14 -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 43690 invoked by uid 99); 4 Oct 2017 14:48:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Oct 2017 14:48:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E9839180AC7 for ; Wed, 4 Oct 2017 14:48:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.499 X-Spam-Level: * X-Spam-Status: No, score=1.499 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, KAM_NUMSUBJECT=0.5, RP_MATCHES_RCVD=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id xUsYojooK17J for ; Wed, 4 Oct 2017 14:48:11 +0000 (UTC) Received: from diver1.aquaticsafaris.com (aquaticsafaris.com [162.196.1.81]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6C0CA5FB57 for ; Wed, 4 Oct 2017 14:48:11 +0000 (UTC) Received: from [127.0.0.1] ([192.168.100.16]) (authenticated bits=0) by diver1.aquaticsafaris.com (8.14.7/8.14.7) with ESMTP id v94Em8ve019065 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Wed, 4 Oct 2017 10:48:09 -0400 Subject: migration from tomcat 7.0 to 8.5 References: To: users@tomcat.apache.org From: Aquatic Safaris Diver X-Forwarded-Message-Id: Message-ID: <730f2208-64df-7bb8-7832-f5db3df96421@aquaticsafaris.com> Date: Wed, 4 Oct 2017 10:53:39 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US archived-at: Wed, 04 Oct 2017 14:48:17 -0000 I've read the migration manuals and have tried to make the changes to my configuration to work correctly in tomcat v8.5, but it's not.  I'm not an experton XML files and JDK so please help me.   I'm sure this is crazy simple for you experts. The server.xml conf file is OK between the two versions.   But my application's deployment is having problems. In my tomcat v7 conf/Catalina/localhost directory, I have ed.xml file for my application containing: After spending about 6 hours and reading tons of other web posts from others trying to do the same thing, I finally have something working, kinda.  My web application at least deploys when tomcat starts.  The Loader part in the .xml was replaced with:                                                However, when I access the JSP page that need to resolve classes in these .jar's, I get org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [20] in the generated java file: [/work/Catalina/localhost/ed/org/apache/jsp/charters_jsp.java] Only a type can be imported. com.google.api.client.json.JsonFactory resolves to a package Line 20 is: import com.google.api.client.json.JsonFactory; I think I'm up to 12 hours messing with this and reading everything I can get my hands on. Something that was so simple in tomcat 7 has turned out to be a nightmare in tomcat 8. I still don't have a good understanding of what webAppMount is or what I should set it to. I changed PostResources to JarResources and nothing changed.   The jar files are not getting found or the classes in the jar files are not getting found. There is no way this can be this hard and complicated in tomcat 8. Please help. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org