users@glassfish.java.net

GF b52 won't start with HTTP Monitoring on

From: Sebastien Stormacq <Sebastien.Stormacq_at_Sun.COM>
Date: Mon, 02 Jul 2007 09:44:46 +0200

Hello,

Using GF b52 and NB 20070627 on Mac OS X x86
I tried to enable HTTP Monitoring from the NB's App Server property
dialog and restarted GF.
I received this error

[#|2007-07-02T09:17:14.700+0200|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=10;_ThreadName=main;|/Applications/Others/Sun/OpenESB2/glassfish-v2-b53/domains/domain1/config/.__com_sun_appserv_pid|#]

[#|2007-07-02T09:17:15.038+0200|INFO|sun-appserver9.1|javax.enterprise.system.tools.admin|_ThreadID=10;_ThreadName=main;|ADM0001:SunoneInterceptor
is now enabled|#]

[#|2007-07-02T09:17:15.235+0200|WARNING|sun-appserver9.1|javax.enterprise.system.stream.err|_ThreadID=10;_ThreadName=main;_RequestID=d0a0d7d6-9fe2-43e9-845e-1af964e6e0b1;|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:294)
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:
java.security.UnrecoverableKeyException: Cannot recover key
        at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:128)
        ... 10 more
Caused by: java.security.UnrecoverableKeyException: Cannot recover key
        at sun.security.provider.KeyProtector.recover(KeyProtector.java:301)
        at
sun.security.provider.JavaKeyStore.engineGetKey(JavaKeyStore.java:120)
        at java.security.KeyStore.getKey(KeyStore.java:731)
        at
com.sun.net.ssl.internal.ssl.SunX509KeyManagerImpl.<init>(SunX509KeyManagerImpl.java:111)
        at
com.sun.net.ssl.internal.ssl.KeyManagerFactoryImpl$SunX509.engineInit(KeyManagerFactoryImpl.java:41)
        at javax.net.ssl.KeyManagerFactory.init(KeyManagerFactory.java:192)
        at
com.sun.enterprise.security.SSLUtils.initKeyManagers(SSLUtils.java:320)
        at com.sun.enterprise.security.SSLUtils.<clinit>(SSLUtils.java:106)
        ... 10 more
|#]


Having turned HTTP Monitoring OFF won't allow me to start GF.

Here are my questions :

1) how to start GF again ? Deleting & recreating the domain is working
- but I would like to know other options
2) how to enable HTTP Monitoring .... is this a know problem with b52 ?

Thanks for your help

Seb
-- 
<http://www.java.com> 	*Sebastien Stormacq*
Software Architect
GSS, Software Practice
Belgium & Luxembourg
	*Sun Microsystems, sarl*
Parc d'Activités 77-79
Capellen L8308
Phone x48356/+352 49 11 33 56
Mobile +352 621 503 626
Fax +352 49 11 33 33
Email sebastien.stormacq_at_sun.com