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) <
[EMAIL PROTECTED]> 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
>