users@glassfish.java.net

Re: Security Problem Debuging glassfish

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Thu, 29 Mar 2007 10:31:58 -0800

The master password is not matched with keystore password in this case.
This must be the same in GlassFish.

glassfish_at_javadesktop.org wrote:
> hi,
>
> [u][b]TEST 1 :[/b][/u]
>
> I git this little trouble on the ApplicationServer class. When i try to initialize the SecurityLifecycle service using onInitialization() method.
>
> Here is the log info : the error is set to Warning but i got a server crash when this append.
>
> |WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=6de6a6d0-e001-48fd-ba77-74af1cd5042d;|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:326)Caused by: java.lang.ExceptionInInitializerError at com.sun.enterprise.security.SecurityLifecycle.onInitialization(SecurityLifecycle.java:88) at com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:245) at com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:93) at com.sun.enterprise.server.PEMain.run(PEMain.java:426) at com.sun.enterprise.server.PEMain.main(PEMain.java:362) ... 5 moreCaused by: java.lang.IllegalStateException: Keystore was tampered with, or password was incorrect at com.sun.enterprise.security.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:101) at com.sun.enterprise.security.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:69) at com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:63) at com.sun.enterprise.security.SecuritySupportImpl.<init>(SecuritySupportImpl.java:58) 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:71) at $Proxy0.getSecuritySupport(Unknown Source) at com.sun.enterprise.security.SecurityUtil.getSecuritySupport(SecurityUtil.java:352) at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:86) ... 10 more|#]
>
> I would like to know if it is possible to dis allow the security check on my server so i could pass the initialization or how to correct this error "java.lang.IllegalStateException: Keystore was tampered with, or password was incorrect"
>
> Thank for your help.
>
> I find some other trouble when restarting after error crash. But that is for latter.
>
> Regards
> Herve Terrolle
> [Message sent by forum member 'hterrolle' (hterrolle)]
>
> http://forums.java.net/jive/thread.jspa?messageID=210419
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>