Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 26841 invoked from network); 22 Apr 2008 17:32:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2008 17:32:53 -0000 Received: (qmail 42979 invoked by uid 500); 22 Apr 2008 17:32:53 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 42658 invoked by uid 500); 22 Apr 2008 17:32:52 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 42644 invoked by uid 99); 22 Apr 2008 17:32:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 10:32:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of c1vamsi1c@gmail.com designates 74.125.46.28 as permitted sender) Received: from [74.125.46.28] (HELO yw-out-2324.google.com) (74.125.46.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Apr 2008 17:32:08 +0000 Received: by yw-out-2324.google.com with SMTP id 9so1181496ywe.85 for ; Tue, 22 Apr 2008 10:32:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=fqJxzSMBKVvEIMhR06CaLR+o5s3PJPA02WMvoUriiRw=; b=MnEXOkWFSFcPvEDHGDUtNJbG3RbWbia23LPsO3CGstS8skck7FrGNXUB9VeYVqLImvJbtm9gEBw6tmheGlDrYxQzouXCyIUgVID5bSGcMjeDPSiCdn+DPp3LCzSyYGHBSKmPE/UKHnza82UrrKINFV+NIPuckmggMjgT1hYEYMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=w6hHTUP6hEctf9dUz/vYbcU732KgrhbEaKrdEu0ndxoOfUc3dyupc8p44wZRdYqKyqerEVwBaEPrlhLwp99su/E15//WXhOf2XeAvLeod9t2GhfvD6NrPfqJplxTFXJ6LUUfTigI/RyAs9hEDoD6qlC6dUFWHtmYimrAvaBdbAQ= Received: by 10.143.163.10 with SMTP id q10mr5901wfo.141.1208885539890; Tue, 22 Apr 2008 10:32:19 -0700 (PDT) Received: by 10.142.233.12 with HTTP; Tue, 22 Apr 2008 10:32:19 -0700 (PDT) Message-ID: <22d56c4d0804221032o25b4a157u3466e21ee87fb940@mail.gmail.com> Date: Tue, 22 Apr 2008 23:02:19 +0530 From: "Vamsavardhana Reddy" To: user@geronimo.apache.org Subject: Re: Locked keystore, forgive me I'm just a newbie In-Reply-To: <06F0705F2FE41247888B0AAF3FC96222011A01E1@fsmail3.ui.uillinois.edu> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15439_31402023.1208885539885" References: <16824270.post@talk.nabble.com> <06F0705F2FE41247888B0AAF3FC96222011A01E1@fsmail3.ui.uillinois.edu> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15439_31402023.1208885539885 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline After replacing the geronimo-default keystore, edit var/config/config.xml and locate the following xml fragment: Replace the above with: and start the server. Let us know if it helped. ++Vamsi On Tue, Apr 22, 2008 at 10:09 PM, Ashwill, Steve (Facilities & Services) < sashwill@uiuc.edu> wrote: > I have managed to mess-up my keystore and now Geronimo(2.1) won't > start. I made the geronimo-default file editable and then I deleted the > entry within it.(Don't ask why, just for fun, I guess) Is there a way to > recover from this? I added the file itself back to the > var/security/keystores folder but now it tells me that the keystore is > locked. Am I hopeless or can I restore a few folders from the install > to get back to square one, but leave all the database pools intact or is > there an even better way to recover. > > Thanks, > > Steven Ashwill > ------=_Part_15439_31402023.1208885539885 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline After replacing the geronimo-default keystore, edit var/config/config.xml and locate the following xml fragment:

    <module name="org.apache.geronimo.framework/server-security-config/2.1/car">
        <gbean name="org.apache.geronimo.framework/server-security-config/2.1/car?ServiceModule=org.apache.geronimo.framework/server-security-config/2.1/car,j2eeType=Keystore,name=geronimo-default">
            <attribute name="keyPasswords"/>
            <attribute name="keystorePassword"/>
        </gbean>
    </module>

Replace the above with:
    <module name="org.apache.geronimo.framework/server-security-config/2.1/car"/>

and start the server.

Let us know if it helped.

++Vamsi

On Tue, Apr 22, 2008 at 10:09 PM, Ashwill, Steve (Facilities & Services) <sashwill@uiuc.edu> wrote:
 I have managed to mess-up my keystore and now Geronimo(2.1) won't
start. I made the geronimo-default file editable and then I deleted the
entry within it.(Don't ask why, just for fun, I guess) Is there a way to
recover from this?  I added the file itself back to the
var/security/keystores folder but now it tells me that the keystore is
locked.  Am I hopeless or can I restore a few folders from the install
to get back to square one, but leave all the database pools intact or is
there an even better way to recover.

Thanks,

Steven Ashwill

------=_Part_15439_31402023.1208885539885--