Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 27479 invoked from network); 22 Apr 2005 20:58:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Apr 2005 20:58:08 -0000 Received: (qmail 8384 invoked by uid 500); 22 Apr 2005 20:58:10 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 8372 invoked by uid 500); 22 Apr 2005 20:58:10 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 8357 invoked by uid 99); 22 Apr 2005 20:58:10 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of smithsa@sericontech.com designates 69.59.195.3 as permitted sender) Received: from pyramid-02.kattare.com (HELO pyramid-02.kattare.com) (69.59.195.3) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 22 Apr 2005 13:58:10 -0700 Received: from localhost (localhost [127.0.0.1]) by pyramid-02.kattare.com (8.12.10/8.12.11) with ESMTP id j3MKveux017120 for ; Fri, 22 Apr 2005 13:57:40 -0700 Received: from 24.112.119.112 ( [24.112.119.112]) as user smithsa@localhost by www.kattare.com with HTTP; Fri, 22 Apr 2005 16:57:40 -0400 Message-ID: <1114203460.4269654424b25@www.kattare.com> Date: Fri, 22 Apr 2005 16:57:40 -0400 From: "Sander A. Smith" To: tomcat-user@jakarta.apache.org Subject: Adding Connectors to embedded Tomcat on the fly MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I've got an embedded Tomcat application that's running on 5.0.24 and it works great. Something I need to do is open and close ports while the application runs. The documentation says that you can do this on the fly in the form of adding/deleting Connectors to the Embedded object. I've got this up and running, although I have noticed that the Connectors are in a inactive state when first added, and must be initialized. I couldn't figure out if I must call start() or initialize () so I call both. Anyway, things are working fine until I try to open a secure port. I have secure ports that were created at startup, so I know that the infrastructure (ie how I create the connectors, the state of my keystore, etc) is okay. When I call start() on a secure connector I'm getting an exception that says: java.io.FileNotFoundException: C:\Documents and Settings\Sander\.keystore (The system cannot find the file specified) This seems odd because it is trying to go after the default keystore (which doesn't exist, mine is named something else). I'm verifying that I've properly set the keystore file in the connector, but this seems to be ignored. Any ideas why this is happening and my keystore is being ignored? Sander -- Sander A. Smith President Sericon Technology Inc. 71 Marquette Ave. Toronto, Ontario M6A 1X8 (416)781-3988 www.sericontech.com --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org