- This topic has 2 replies, 2 voices, and was last updated 15 years, 11 months ago by support-joy.
-
AuthorPosts
-
newbie2009MemberHi,
I am facing the below exception on starting the glassfish V2 server through the myeclipse connector. The domain starts up properly when invoked through the command line.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 moreI am using MyEclipse7.0.1
Thanks.
newbie2009MemberThe error disappeared as soon as I changed the keystore password back to the default – “changeit”. Is there a way I can change the master password in glassfish and use the same while starting from MyEclipse?
support-joyMemberTo change the master password, follow these steps:
1. Stop the Enterprise Server for the domain. Use the asadmin change-master-password
command, which prompts for the old and new passwords, then re-encrypts all dependent
items. For example:from
%Glassfish Home directory%/bin>asadmin change-master-password
Please enter the master password>
Please enter the new master password>
Please enter the the new master password again>2. Restart the Enterprise Server.
Caution – At this point in time, server instances that are running must not be started and
running server instances must not be restarted until the SMP on their corresponding node
agent has been changed. If a server instance is restarted before changing its SMP, it will fail to
come up.Note: If you maintain agent nodes then needs to continue with the following steps also.
3. Stop each node agent and its related servers one at a time. Run the asadmin
change-master-password command again, and then restart the node agent and its related
servers.
4. Continue with the next node agent until all node agents have been addressed. In this way, a
rolling change is accomplished.You don’t need to change anything in ME, as it looks only for the glassfish installation directly, and the master password changed is directly picked up.
-
AuthorPosts