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 9E62E68A3 for ; Fri, 8 Jul 2011 09:09:54 +0000 (UTC) Received: (qmail 58047 invoked by uid 500); 8 Jul 2011 09:09:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57628 invoked by uid 500); 8 Jul 2011 09:09:39 -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 57596 invoked by uid 99); 8 Jul 2011 09:09:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 09:09:35 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [193.252.22.128] (HELO smtp5.freeserve.com) (193.252.22.128) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2011 09:09:26 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3418.me.freeserve.com (SMTP Server) with ESMTP id E388D1C00097 for ; Fri, 8 Jul 2011 11:09:05 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3418.me.freeserve.com (SMTP Server) with ESMTP id D32E31C001E8 for ; Fri, 8 Jul 2011 11:09:05 +0200 (CEST) Received: from mail.homeinbox.net (unknown [2.24.222.166]) by mwinf3418.me.freeserve.com (SMTP Server) with ESMTP id BA3521C000B3 for ; Fri, 8 Jul 2011 11:09:05 +0200 (CEST) X-ME-UUID: 20110708090905762.BA3521C000B3@mwinf3418.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by mail.homeinbox.net (Postfix) with ESMTP id 6A315EAA108 for ; Fri, 8 Jul 2011 10:09:05 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from mail.homeinbox.net ([127.0.0.1]) by localhost (mail.homeinbox.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IziQqCj414Wh for ; Fri, 8 Jul 2011 10:09:01 +0100 (BST) Received: from [192.168.23.9] (study03.dev.local [192.168.23.9]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.homeinbox.net (Postfix) with ESMTPSA id 16022EAA0FC for ; Fri, 8 Jul 2011 10:09:01 +0100 (BST) Message-ID: <4E16C92B.3050102@apache.org> Date: Fri, 08 Jul 2011 10:08:59 +0100 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-GB; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Embedding tomcat 7 , several connectors References: <4E16C21A.3040906@bitel.ru> In-Reply-To: <4E16C21A.3040906@bitel.ru> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 08/07/2011 09:38, Denis Pimenov wrote: > We are using tomcat 6 and org.apache.catalina.startup.Embedded in our > server application, but class Embedded was deprecated in tomcat 7 and > was replaced by org.apache.catalina.startup.Tomcat. This class has only > one connector , but we use 2 different connectors for http and https > (different ports) . So add another connector to the Service. > Embedded doesn't working in 7.0.16 ( internal > NullPointerException ) . What to do ? If that is all the information you provide, no-one here is going to be able to help you fix that. The Embedded class clearly does work in 7.0.16 since it is the basis for the majority of the unit tests and they all pass. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org