glassfish
  1. glassfish
  2. GLASSFISH-16606

asadmin enable-secure-admin will not work on additional domains

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Works as designed
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: admin_gui
    • Labels:
      None
    • Environment:

      any

      Description

      We have 2 independant domains running on the same server, domain1 was created by the installer and the domain 'ad' through:
      /opt/glassfish3.1/bin/asadmin create-domain --portbase 4900 --savemasterpassword=true ad
      Now,
      /opt/glassfish3.1/bin/asadmin enable-secure-admin
      does not let one choose which domain to secure, instead it always uses domain1 (port 4848). That means, we cannot secure the admin GUI on domain ad.
      We have a high security environment here where unsecured / clear-text admin GUIs are forbidden. So, we cannot use glassfish 3.1 until this bug is resolved.

      Please fix or provide us with a working workaround.

        Activity

        deathtooracle created issue -
        Hide
        Tim Quinn added a comment -

        As with any asadmin command, you must specify the correct admin port on the enable-secure-admin command in order for asadmin to connect to the domain you want.

        The default is 4848. You need to specify the correct admin port for your second domain explicitly, using

        asadmin --host hostName --port portNumber rest-of-command

        The default hostName is the same host where you run the asadmin command, so that part is optional if that's what you want to do.

        Show
        Tim Quinn added a comment - As with any asadmin command, you must specify the correct admin port on the enable-secure-admin command in order for asadmin to connect to the domain you want. The default is 4848. You need to specify the correct admin port for your second domain explicitly, using asadmin --host hostName --port portNumber rest-of-command The default hostName is the same host where you run the asadmin command, so that part is optional if that's what you want to do.
        Tim Quinn made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Anissa Lam [ anilam ] Tim Quinn [ tjquinn ]
        Resolution Works as designed [ 7 ]
        Hide
        deathtooracle added a comment -

        Excellent, thank you very very much.

        Show
        deathtooracle added a comment - Excellent, thank you very very much.

          People

          • Assignee:
            Tim Quinn
            Reporter:
            deathtooracle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: