atom feed1 message in net.java.dev.glassfish.usershowto change master password
FromSent OnAttachments
glas...@javadesktop.orgMar 10, 2008 10:19 am 
Subject:howto change master password
From:glas...@javadesktop.org (glas@javadesktop.org)
Date:Mar 10, 2008 10:19:31 am
List:net.java.dev.glassfish.users

Hi,

I am trying to change the master password without much success any help is very
wellcome!

create domain asadmin change-master-password works as expected

here is the situation I cannot get to work: - central root-owned read-only keystore.jks and truststore.jks - central-password - asadmin change-master-password to "central-password" - alter domain.xml to use central keystore.jks - domain/bin/startserver cli result: [#|2008-03-10T17:56:37.849+0100|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=0ed6fc9b-3ba9-4b75-9f54-1cb19cf9488e;|java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.enterprise.server.PELaunch.main(PELaunch.java:412) Caused by: java.lang.ExceptionInInitializerError at
com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:101) at
com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:262) at
com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:101) at com.sun.enterprise.server.PEMain.run(PEMain.java:401) at com.sun.enterprise.server.PEMain.main(PEMain.java:338) ... 5 more Caused by: java.lang.IllegalStateException: Keystore was tampered with, or
password was incorrect at
com.sun.enterprise.security.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:114) at
com.sun.enterprise.security.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:82) at
com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:76) at
com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:71) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at
com.sun.enterprise.pluggable.PluggableFeatureFactoryBaseImpl.invoke(PluggableFeatureFactoryBaseImpl.java:84) at $Proxy0.getSecuritySupport(Unknown Source) at
com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:365) at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:102) ... 10 more

- using asadmin start-domain seems to work, but domain/bin/startserv throws
exception

Regards Christian [Message sent by forum member 'schaarsc' (schaarsc)]

http://forums.java.net/jive/thread.jspa?messageID=263206