users@glassfish.java.net

Re: Can't start 3.1.2 instance

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Fri, 2 Mar 2012 16:39:23 -0600

Hi, John.

The log output you sent is definitely from the 3.1.1 upgrade.

The output suggests that there is an entry in your 3.1.1 keystore
which has expired. Due to some enhancements in 3.1.2 regarding secure
administration, GlassFish needs to apply a small change to the
configuration in domain.xml from 3.1.1. As part of that work the
upgrade code has to get some information about the certificate in your
keystore, which requires loading the keystore into memory. That load
attempt is failing because of the expired cert, and that is stopping
the server start-up.

 From the log output that cert has expired.

Have you started this domain recently, prior to trying the update?

Having said all that, the fresh install brings in its own keystore
which contains no expired certs. So I cannot explain why starting up
a fresh install of 3.1.2 gives a similar problem, unless you configure
the new 3.1.2 installation to use the same keystore that 3.1.1 is
using -- or unless you copied the keystore from 3.1.1 into 3.1.2.

- Tim




On Mar 2, 2012, at 3:30 PM, John Lister wrote:

> Either from a fresh download or when upgrading a working 3.1.1
> instance
>
> The full log is given below. This is running on ubuntu oneiric with
> openjdk 1.6.0_23
>
> I've tried getting rid of the certstores but doesn't seem to make a
> difference.. any ideas?
>
> Thanks
>
> John
>
> Logfile
> ====================
>
> Launching GlassFish on Felix platform
> [#|2012-03-02T21:27:34.855+0000|INFO|glassfish3.1.2|
> com.sun.enterprise.server.logging.GFFileHandler|
> _ThreadID=1;_ThreadName=main;|Running GlassFish Version: GlassFish
> Server Open Source Edition 3.1.2 (build 23)|#]
>
> [#|2012-03-02T21:27:34.855+0000|WARNING|glassfish3.1.2|
> com.sun.enterprise.server.logging.GFFileHandler|
> _ThreadID=1;_ThreadName=main;|Can't find maxHistoryFiles property
> from logging config file so using default.|#]
>
> [#|2012-03-02T21:27:37.663+0000|WARNING|glassfish3.1.2|
> javax.enterprise.system.core.org.glassfish.javaee.services|
> _ThreadID=10;_ThreadName=main;|JK configuration file /home/
> glassfishv3/glassfish/domains/domain1/config/glassfish-jk.properties
> is not found.|#]
>
> [#|2012-03-02T21:27:37.725+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|
> _ThreadID=11;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework
> 1.9.46 started in: 225ms - bound to [0.0.0.0:8181]|#]
>
> [#|2012-03-02T21:27:37.729+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|
> _ThreadID=14;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework
> 1.9.46 started in: 400ms - bound to [0.0.0.0:8080]|#]
>
> [#|2012-03-02T21:27:37.726+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|
> _ThreadID=13;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework
> 1.9.46 started in: 39ms - bound to [:8009]|#]
>
> [#|2012-03-02T21:27:37.726+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|
> _ThreadID=12;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework
> 1.9.46 started in: 131ms - bound to [0.0.0.0:4848]|#]
>
> [#|2012-03-02T21:27:37.778+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|
> _ThreadID=15;_ThreadName=Grizzly-kernel-thread(1);|Grizzly Framework
> 1.9.46 started in: 34ms - bound to [0.0.0.0:3700]|#]
>
> [#|2012-03-02T21:27:38.365+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.admin.adapter|
> _ThreadID=10;_ThreadName=main;|The Admin Console is already
> installed, but not yet loaded.|#]
>
> [#|2012-03-02T21:27:39.651+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0169: Created HTTP listener [http-
> listener-1] on host/port [0.0.0.0:8080]|#]
>
> [#|2012-03-02T21:27:39.721+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0169: Created HTTP listener [http-
> listener-2] on host/port [0.0.0.0:8181]|#]
>
> [#|2012-03-02T21:27:39.782+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0169: Created HTTP listener [admin-
> listener] on host/port [0.0.0.0:4848]|#]
>
> [#|2012-03-02T21:27:39.814+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0169: Created HTTP listener [jk-
> connector] on host/port [:8009]|#]
>
> [#|2012-03-02T21:27:40.028+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0171: Created virtual server
> [server]|#]
>
> [#|2012-03-02T21:27:40.037+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0171: Created virtual server
> [__asadmin]|#]
>
> [#|2012-03-02T21:27:40.056+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0171: Created virtual server
> [housepricedrops]|#]
>
> [#|2012-03-02T21:27:40.063+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0171: Created virtual server
> [financegoblin]|#]
>
> [#|2012-03-02T21:27:41.159+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0172: Virtual server [server]
> loaded default web module []|#]
>
> [#|2012-03-02T21:27:41.241+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0172: Virtual server
> [housepricedrops] loaded default web module []|#]
>
> [#|2012-03-02T21:27:41.302+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.container.web.com.sun.enterprise.web|
> _ThreadID=10;_ThreadName=main;|WEB0172: Virtual server
> [financegoblin] loaded default web module []|#]
>
> [#|2012-03-02T21:27:46.618+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.services.impl|
> _ThreadID=10;_ThreadName=main;|core.start_container_done|#]
>
> [#|2012-03-02T21:27:46.773+0000|INFO|glassfish3.1.2|
> org.hibernate.validator.util.Version|_ThreadID=10;_ThreadName=main;|
> Hibernate Validator 4.2.0.Final|#]
>
> [#|2012-03-02T21:27:47.310+0000|SEVERE|glassfish3.1.2|
> javax
> .enterprise.system.ssl.security.com.sun.enterprise.security.ssl.impl|
> _ThreadID=10;_ThreadName=main;|SEC5054: Certificate has expired: [
> [
> Version: V1
> Subject: OU=Secure Server Certification Authority, O="RSA Data
> Security, Inc.", C=US
> Signature Algorithm: MD2withRSA, OID = 1.2.840.113549.1.1.2
>
> Key: Sun RSA public key, 1000 bits
> modulus:
> 6144706769222379850430183405655235862870193813433361902309516534729547168229223442088128897090426025874990958624426272027915771330043379079076269082776443120496525109458437435793974957144923190172655546279112796066635455545786300647745888353781002359412766112775410851780140804282673804950495744761467
> public exponent: 65537
> Validity: [From: Wed Nov 09 00:00:00 GMT 1994,
> To: Thu Jan 07 23:59:59 GMT 2010]
> Issuer: OU=Secure Server Certification Authority, O="RSA Data
> Security, Inc.", C=US
> SerialNumber: [ 02ad667e 4e45fe5e 576f3c98 195eddc0]
>
> ]
> Algorithm: [MD2withRSA]
> Signature:
> 0000: 65 DD 7E E1 B2 EC B0 E2 3A E0 EC 71 46 9A 19 11
> e.......:..qF...
> 0010: B8 D3 C7 A0 B4 03 40 26 02 3E 09 9C E1 12 B3
> D1 ......@&.>......
> 0020: 5A F6 37 A5 B7 61 03 B6 5B 16 69 3B C6 44 08 0C Z.7..a..
> [.i;.D..
> 0030: 88 53 0C 6B 97 49 C7 3E 35 DC 6C B9 BB AA DF
> 5C .S.k.I.>5.l....\
> 0040: BB 3A 2F 93 60 B6 A9 4B 4D F2 20 F7 CD 5F 7F
> 64 .:/.`..KM. .._.d
> 0050: 7B 8E DC 00 5C D7 FA 77 CA 39 16 59 6F 0E EA D3 ....\..w.
> 9.Yo...
> 0060: B5 83 7F 4D 4D 42 56 76 B4 C9 5F 04 F8 38 F8
> EB ...MMBVv.._..8..
> 0070: D2 5F 75 5F CD 7B FC E5 8E 80 7C FC 50 ._u_........P
>
> ]|#]
>
> [#|2012-03-02T21:27:47.782+0000|SEVERE|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.server|
> _ThreadID=10;_ThreadName=main;|Startup service failed to start :
> com.sun.enterprise.security.admin.cli.SecureAdminStartupCheck|#]
>
> [#|2012-03-02T21:27:47.845+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.tools.admin.com.sun.enterprise.v3.admin|
> _ThreadID=16;_ThreadName=Thread-25;|Server shutdown initiated|#]
>
> [#|2012-03-02T21:27:47.852+0000|INFO|glassfish3.1.2|
> javax.enterprise.system.core.com.sun.enterprise.v3.server|
> _ThreadID=16;_ThreadName=Thread-25;|Already stopped, so just
> returning|#]
>
>
>
> --
> www.pricegoblin.co.uk
>