users@glassfish.java.net

Error starting Glassfish

From: <glassfish_at_javadesktop.org>
Date: Wed, 21 Jan 2009 05:41:45 PST

I just downloaded and registered Glassfish successfully to Netbeans6.5. I just chose admin/admin as username and password. JDK is 1.6. I am getting this error at the server log:
[b]
|2009-01-20T20:26:39.342-0300|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=a5657efd-0db3-4df4-bfcc-c192b3749ce8;|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:597)
        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:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        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
[/b]

I had uninstalled Netbeans bundled Glassfish because I forgot registered password and was not able to change it through the Tools Menu (it just did not react to changes). There was also a master password to which I did not have any clue.

Thanks,

Luis.
[Message sent by forum member 'laqa' (laqa)]

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