glassfish
  1. glassfish
  2. GLASSFISH-8455

Need to detect wrong user is at the controls

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: future release
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

      Description

      This is a Felix Issue – but there is no Subcomponent for core or startup or
      OSGi so I just set it to Admin for now.

      ==================================
      Scenario:

      Normal GF installation.
      logged in as non-root user
      start the domain
      stop the domain
      login as root
      start the domain
      stop the domain
      login as normal user again.

      That's all folks – you can never start the server again. Only root can.

      No messages appear in server.log.

      But ALL the messages appear in the window when starting this way:
      asadmin start-domain --verbose

      There are hundreds of the following errors (I just have a few here because they
      are all very similar)

      Auto-properties install: org.osgi.framework.BundleException: Unable to cache
      bundle: file:/export/home/bnlocal/glassfishv3/glassfish/modules/osgi-main.jar
      Auto-properties start: org.osgi.framework.BundleException: Unable to cache
      bundle: file:/export/home/bnlocal/glassfishv3/glassfish/modules/osgi-main.jar
      ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive.
      (java.io.FileNotFoundException:
      /export/home/bnlocal/glassfishv3/glassfish/domains/domain1/felix-cache/gf/bundle140/version0.0/revision.location
      (Permission denied))
      ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive.
      (java.io.FileNotFoundException:
      /export/home/bnlocal/glassfishv3/glassfish/domains/domain1/felix-cache/gf/bundle141/version0.0/revision.location
      (Permission denied))
      ERROR: org.apache.felix.framework.cache.BundleCache: Error creating archive.
      (java.io.FileNotFoundException:
      /export/home/bnlocal/glassfishv3/glassfish/domains/domain1/felix-cache/gf/bundle142/version0.0/revision.location
      (Permission denied))

        Activity

          People

          • Assignee:
            kumara
            Reporter:
            Byron Nevins
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: