Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-7437

Active mq web console error in karaf with java.security.policy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 5.15.11
    • None
    • Web Console
    • None
    • (Docker) java: amazoncorretto:8u242

      Activemq : 5.15.11

      Karaf: 4.2.8

      Pax-web-features: 7.3.6 (Overwritten repo)

      Spring: 5.1.9.RELEASE_1 (using classpath xsd url in activemq.xml)

      Camel :  2.22.1

       

    Description

      Running karaf with java.security.policy=${karaf.etc}/all.policy (preset in system properties, just uncommented) i get a stacktrace when accessing activemq web console. 

       

      Contents of all.policy(removed license for readability):

      grant

      { permission java.security.AllPermission; }

      ;

       

      I need to have the java security manager active because our applicaties still relies on RMI and the RMIClassloader won't work without a securitymanager. Unfortunately for the web console i get this exception:

      java.security.AccessControlException: access denied ("javax.security.auth.AuthPermission" "getSubject")

       

      I added a text file with the full stack trace. I am unsure in which component the problem lies, but the rest of karaf seems to work.

      Attachments

        1. stacktrace.txt
          25 kB
          Willem Borgesius

        Activity

          People

            Unassigned Unassigned
            wborgesius Willem Borgesius
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: