glassfish
  1. glassfish
  2. GLASSFISH-14267

Realm: Cannot set default realm in GlassFish 3.1 b 25

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1_ms07
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Linux

      Description

      I created a new realm in GlassFish 3.1 b 25
      Went to configurations -> server config -> Security
      selected my new realm and clicked save.
      (The save does not save)

      The admin GUI shows :
      org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data
      type: java.lang.Boolean

      Server log :
      [#|2010-10-28T10:39:31.219+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|java.util.logging.ErrorManager:
      5: Error in extracting Name Value Pairs|#]

      [#|2010-10-28T10:39:31.220+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|java.lang.NullPointerException|#]

      [#|2010-10-28T10:39:31.221+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at
      com.sun.enterprise.server.logging.UniformLogFormatter.getNameValuePairs(UniformLogFormatter.java:208)|#]

      [#|2010-10-28T10:39:31.221+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at
      com.sun.enterprise.server.logging.UniformLogFormatter.uniformLogFormat(UniformLogFormatter.java:276)|#]

      [#|2010-10-28T10:39:31.221+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at
      com.sun.enterprise.server.logging.UniformLogFormatter.format(UniformLogFormatter.java:161)|#]

      [#|2010-10-28T10:39:31.221+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at java.util.logging.StreamHandler.publish(StreamHandler.java:179)|#]

      [#|2010-10-28T10:39:31.222+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at java.util.logging.ConsoleHandler.publish(ConsoleHandler.java:88)|#]

      [#|2010-10-28T10:39:31.222+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at java.util.logging.Logger.log(Logger.java:458)|#]

      [#|2010-10-28T10:39:31.222+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at java.util.logging.Logger.doLog(Logger.java:480)|#]

      [#|2010-10-28T10:39:31.222+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at java.util.logging.Logger.log(Logger.java:544)|#]

      [#|2010-10-28T10:39:31.222+0200|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|
      at
      org.glassfish.admingui.common.handlers.RestApiHandlers.parseResponse(RestApiHandlers.java:277)|#]

        Activity

        Hide
        srinik76 added a comment -

        Tested the case with the latest source code. Not able to reproduce.

        Show
        srinik76 added a comment - Tested the case with the latest source code. Not able to reproduce.
        Hide
        rjdkolb added a comment -

        I am able to reproduce on 3.1 B30

        I start a new GlassFish 3.1 B30

        Went to configurations -> server config -> Security
        selected admin realm and clicked save.

        Got this exception :
        org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean

        Server.log is :
        [#|2010-11-30T14:07:41.635+0200|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-1;|RestResponse.getResponse() failed. endpoint = 'http://localhost:4848/management/domain/configs/config/default-config/security-service'; attrs = '

        {mappedPrincipalClass=null, auditEnabled=null, defaultRealm=admin-realm, anonymousRole=AttributeDeprecated, defaultPrincipalPassword=null, defaultPrincipal=null, jacc=default, activateDefaultPrincipalToRoleMapping=null, auditModules=default}'; RestResponse: {"message":"org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean","exit_code":"FAILURE"}"|#]

        [#|2010-11-30T14:09:03.499+0200|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-1;|RestResponse.getResponse() failed. endpoint = 'http://localhost:4848/management/domain/configs/config/default-config/security-service'; attrs = '{mappedPrincipalClass=null, auditEnabled=null, defaultRealm=file, anonymousRole=AttributeDeprecated, defaultPrincipalPassword=null, defaultPrincipal=null, jacc=default, activateDefaultPrincipalToRoleMapping=null, auditModules=default}'; RestResponse: {"message":"org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean","exit_code":"FAILURE"}"|#]

        [#|2010-11-30T14:11:24.852+0200|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-1;|RestResponse.getResponse() failed. endpoint = 'http://localhost:4848/management/domain/configs/config/default-config/security-service'; attrs = '{mappedPrincipalClass=null, auditEnabled=null, defaultRealm=admin-realm, anonymousRole=AttributeDeprecated, defaultPrincipalPassword=null, defaultPrincipal=null, jacc=default, activateDefaultPrincipalToRoleMapping=null, auditModules=default}

        '; RestResponse:

        {"message":"org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean","exit_code":"FAILURE"}

        "|#]

        Show
        rjdkolb added a comment - I am able to reproduce on 3.1 B30 I start a new GlassFish 3.1 B30 Went to configurations -> server config -> Security selected admin realm and clicked save. Got this exception : org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean Server.log is : [#|2010-11-30T14:07:41.635+0200|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-1;|RestResponse.getResponse() failed. endpoint = 'http://localhost:4848/management/domain/configs/config/default-config/security-service'; attrs = ' {mappedPrincipalClass=null, auditEnabled=null, defaultRealm=admin-realm, anonymousRole=AttributeDeprecated, defaultPrincipalPassword=null, defaultPrincipal=null, jacc=default, activateDefaultPrincipalToRoleMapping=null, auditModules=default}'; RestResponse: {"message":"org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean","exit_code":"FAILURE"}"|#] [#|2010-11-30T14:09:03.499+0200|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-1;|RestResponse.getResponse() failed. endpoint = 'http://localhost:4848/management/domain/configs/config/default-config/security-service'; attrs = '{mappedPrincipalClass=null, auditEnabled=null, defaultRealm=file, anonymousRole=AttributeDeprecated, defaultPrincipalPassword=null, defaultPrincipal=null, jacc=default, activateDefaultPrincipalToRoleMapping=null, auditModules=default}'; RestResponse: {"message":"org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean","exit_code":"FAILURE"}"|#] [#|2010-11-30T14:11:24.852+0200|SEVERE|glassfish3.1|org.glassfish.admingui|_ThreadID=16;_ThreadName=Thread-1;|RestResponse.getResponse() failed. endpoint = 'http://localhost:4848/management/domain/configs/config/default-config/security-service'; attrs = '{mappedPrincipalClass=null, auditEnabled=null, defaultRealm=admin-realm, anonymousRole=AttributeDeprecated, defaultPrincipalPassword=null, defaultPrincipal=null, jacc=default, activateDefaultPrincipalToRoleMapping=null, auditModules=default} '; RestResponse: {"message":"org.jvnet.hk2.config.ValidationException: Validation Failed: is not of data type: java.lang.Boolean","exit_code":"FAILURE"} "|#]
        Hide
        rjdkolb added a comment -

        Able to reproduce in Build 31 as well.
        I don't seem to be able to re-open this issue, so I hope it does not fall off the radar.
        (someone, please re-open)

        Show
        rjdkolb added a comment - Able to reproduce in Build 31 as well. I don't seem to be able to re-open this issue, so I hope it does not fall off the radar. (someone, please re-open)
        Hide
        srinik76 added a comment -

        Reopening the issue

        Show
        srinik76 added a comment - Reopening the issue
        Hide
        shaline added a comment -

        I used the nightly dated 12/01, and was able to reproduce.
        After installation, and start domain, I launched Console, and I selected server-config/security/realms/admin-realm/ and just hit the SAVE button, without actually adding any new values to the realm. In the Console it showed "new values saved succesfully". but in the server.log, the below Exception is seen:
        [#|2010-12-01T12:10:47.137-0800|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=15;_ThreadName=Thread-1;|Realm admin-realm successfully deleted.|#]

        [#|2010-12-01T12:10:47.224-0800|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|Exception while processing config bean changes :
        java.lang.RuntimeException: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists.
        at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:268)
        at com.sun.enterprise.security.SecurityConfigListener$1.handleRemoveEvent(SecurityConfigListener.java:173)
        at com.sun.enterprise.security.SecurityConfigListener$1.changed(SecurityConfigListener.java:140)
        at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:315)
        at com.sun.enterprise.security.SecurityConfigListener.changed(SecurityConfigListener.java:118)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:376)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:366)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:256)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:254)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:662)
        Caused by: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists.
        at com.sun.enterprise.security.auth.realm.Realm.getInstance(Realm.java:484)
        at com.sun.enterprise.security.auth.realm.Realm.unloadInstance(Realm.java:409)
        at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:266)
        ... 13 more

        #]
        Show
        shaline added a comment - I used the nightly dated 12/01, and was able to reproduce. After installation, and start domain, I launched Console, and I selected server-config/security/realms/admin-realm/ and just hit the SAVE button, without actually adding any new values to the realm. In the Console it showed "new values saved succesfully". but in the server.log, the below Exception is seen: [#|2010-12-01T12:10:47.137-0800|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=15;_ThreadName=Thread-1;|Realm admin-realm successfully deleted.|#] [#|2010-12-01T12:10:47.224-0800|SEVERE|glassfish3.1|null|_ThreadID=15;_ThreadName=Thread-1;|Exception while processing config bean changes : java.lang.RuntimeException: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists. at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:268) at com.sun.enterprise.security.SecurityConfigListener$1.handleRemoveEvent(SecurityConfigListener.java:173) at com.sun.enterprise.security.SecurityConfigListener$1.changed(SecurityConfigListener.java:140) at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:315) at com.sun.enterprise.security.SecurityConfigListener.changed(SecurityConfigListener.java:118) at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:376) at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:366) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:256) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:254) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists. at com.sun.enterprise.security.auth.realm.Realm.getInstance(Realm.java:484) at com.sun.enterprise.security.auth.realm.Realm.unloadInstance(Realm.java:409) at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:266) ... 13 more #]
        Hide
        srinik76 added a comment -

        [#|2010-12-03T15:53:27.617+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-1;|Realm admin-realm successfully deleted.|#]

        [#|2010-12-03T15:53:27.622+0530|SEVERE|glassfish3.1|null|_ThreadID=17;_ThreadName=Thread-1;|Exception while processing config bean changes :
        java.lang.RuntimeException: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists.
        at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:268)
        at com.sun.enterprise.security.SecurityConfigListener$1.handleRemoveEvent(SecurityConfigListener.java:173)
        at com.sun.enterprise.security.SecurityConfigListener$1.changed(SecurityConfigListener.java:140)
        at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:315)
        at com.sun.enterprise.security.SecurityConfigListener.changed(SecurityConfigListener.java:118)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:376)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:366)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:256)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:254)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
        Caused by: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists.
        at com.sun.enterprise.security.auth.realm.Realm.getInstance(Realm.java:484)
        at com.sun.enterprise.security.auth.realm.Realm.unloadInstance(Realm.java:409)
        at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:266)
        ... 13 more

        #]

        [#|2010-12-03T15:53:27.636+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-1;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#]

        The exception logged is happening because of delete operation.

        Even when we do a delete operation of a realm the above message is logged. Error with delete operation.

        Tried the following command in asadmin

        -bash-3.00# ./asadmin delete-auth-realm test
        Command delete-auth-realm executed successfully.

        I get the following exception

        [#|2010-12-03T15:56:38.635+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-1;|Realm test successfully deleted.|#]

        [#|2010-12-03T15:56:38.637+0530|SEVERE|glassfish3.1|null|_ThreadID=17;_ThreadName=Thread-1;|Exception while processing config bean changes :
        java.lang.RuntimeException: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm test does not exists.
        at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:268)
        at com.sun.enterprise.security.SecurityConfigListener$1.handleRemoveEvent(SecurityConfigListener.java:173)
        at com.sun.enterprise.security.SecurityConfigListener$1.changed(SecurityConfigListener.java:140)
        at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:315)
        at com.sun.enterprise.security.SecurityConfigListener.changed(SecurityConfigListener.java:118)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:376)
        at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:366)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:256)
        at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:254)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
        at java.util.concurrent.FutureTask.run(FutureTask.java:138)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:619)
        Caused by: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm test does not exists.
        at com.sun.enterprise.security.auth.realm.Realm.getInstance(Realm.java:484)
        at com.sun.enterprise.security.auth.realm.Realm.unloadInstance(Realm.java:409)
        at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:266)
        ... 13 more

        #]
        Show
        srinik76 added a comment - [#|2010-12-03T15:53:27.617+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-1;|Realm admin-realm successfully deleted.|#] [#|2010-12-03T15:53:27.622+0530|SEVERE|glassfish3.1|null|_ThreadID=17;_ThreadName=Thread-1;|Exception while processing config bean changes : java.lang.RuntimeException: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists. at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:268) at com.sun.enterprise.security.SecurityConfigListener$1.handleRemoveEvent(SecurityConfigListener.java:173) at com.sun.enterprise.security.SecurityConfigListener$1.changed(SecurityConfigListener.java:140) at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:315) at com.sun.enterprise.security.SecurityConfigListener.changed(SecurityConfigListener.java:118) at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:376) at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:366) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:256) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:254) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm admin-realm does not exists. at com.sun.enterprise.security.auth.realm.Realm.getInstance(Realm.java:484) at com.sun.enterprise.security.auth.realm.Realm.unloadInstance(Realm.java:409) at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:266) ... 13 more #] [#|2010-12-03T15:53:27.636+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-1;|SEC1115: Realm [admin-realm] of classtype [com.sun.enterprise.security.auth.realm.file.FileRealm] successfully created.|#] The exception logged is happening because of delete operation. Even when we do a delete operation of a realm the above message is logged. Error with delete operation. Tried the following command in asadmin -bash-3.00# ./asadmin delete-auth-realm test Command delete-auth-realm executed successfully. I get the following exception [#|2010-12-03T15:56:38.635+0530|INFO|glassfish3.1|javax.enterprise.system.core.security.com.sun.enterprise.security.auth.realm|_ThreadID=17;_ThreadName=Thread-1;|Realm test successfully deleted.|#] [#|2010-12-03T15:56:38.637+0530|SEVERE|glassfish3.1|null|_ThreadID=17;_ThreadName=Thread-1;|Exception while processing config bean changes : java.lang.RuntimeException: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm test does not exists. at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:268) at com.sun.enterprise.security.SecurityConfigListener$1.handleRemoveEvent(SecurityConfigListener.java:173) at com.sun.enterprise.security.SecurityConfigListener$1.changed(SecurityConfigListener.java:140) at org.jvnet.hk2.config.ConfigSupport.sortAndDispatch(ConfigSupport.java:315) at com.sun.enterprise.security.SecurityConfigListener.changed(SecurityConfigListener.java:118) at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:376) at org.jvnet.hk2.config.Transactions$ConfigListenerJob.process(Transactions.java:366) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:256) at org.jvnet.hk2.config.Transactions$ConfigListenerNotifier$1$1.call(Transactions.java:254) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: com.sun.enterprise.security.auth.realm.NoSuchRealmException: Realm test does not exists. at com.sun.enterprise.security.auth.realm.Realm.getInstance(Realm.java:484) at com.sun.enterprise.security.auth.realm.Realm.unloadInstance(Realm.java:409) at com.sun.enterprise.security.SecurityConfigListener.authRealmDeleted(SecurityConfigListener.java:266) ... 13 more #]
        Hide
        srinik76 added a comment -

        Raised a Issue 14973 - Deleting a realm returns successfully but logs a exception in the server.log
        under security

        Show
        srinik76 added a comment - Raised a Issue 14973 - Deleting a realm returns successfully but logs a exception in the server.log under security
        Hide
        srinik76 added a comment -

        14973 issue fix is checked in so closing the issue.

        Show
        srinik76 added a comment - 14973 issue fix is checked in so closing the issue.

          People

          • Assignee:
            srinik76
            Reporter:
            rjdkolb
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: