users@glassfish.java.net

Security Problem Debuging glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 28 Mar 2007 23:35:08 PST

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