Forum Stats

  • 3,727,354 Users
  • 2,245,375 Discussions
  • 7,852,756 Comments

Discussions

default security manager is not working with java 1.8

1188063
1188063 Member Posts: 2
edited March 2015 in Java 8 Questions

I have installed weblogic 12c, adf12, java 1.8..i have enabled security manager by using below line

-Djava.security.manager and using default weblogic.policy file.

Weblogic startup is failing with java.home access denied.

Java1.7 is working..

Is there a known issue with java1.8 with security manager?

Answers

  • 1188063
    1188063 Member Posts: 2
    edited March 2015

    I am getting this exception now -

    this is working fine with Java 1.7

    <Mar 17, 2015 1:27:39 PM IST> <Error> <oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean> <J2EE JMX-46045> <An error occurred while processing MBeanInfo for MBean "oracle.dms.event.config.JMXEventConfig".

    java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.version" "read")

        at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)

        at java.security.AccessController.checkPermission(AccessController.java:884)

        at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)

        at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1294)

        at java.lang.System.getProperty(System.java:714)

        at oracle.as.jmx.framework.util.MetaDataUtil.isUsingJDK17(MetaDataUtil.java:111)

        at oracle.as.jmx.framework.util.MetaDataUtil.convertToGenericArrayType(MetaDataUtil.java:56)

        at oracle.as.jmx.framework.generic.MetaDataBuilderBaseImpl.addOpenTypeToDescriptor(MetaDataBuilderBaseImpl.java:664)

        at oracle.as.jmx.framework.standardmbeans.spi.MetaDataBuilderImpl.getMBeanOperationInfoMetaData(MetaDataBuilderImpl.java:696)

        at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.updateOperationInfo(OracleStandardEmitterMBean.java:1445)

        at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.updateMBeanInfo(OracleStandardEmitterMBean.java:1065)

        at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterMBean.<init>(OracleStandardEmitterMBean.java:381)

        at oracle.as.jmx.framework.standardmbeans.spi.OracleStandardEmitterConfigMBean.<init>(OracleStandardEmitterConfigMBean.java:222)

        at oracle.as.jmx.framework.wls.spi.WLSOracleStandardEmitterConfigMBean.<init>(WLSOracleStandardEmitterConfigMBean.java:101)

        at oracle.as.jmx.framework.wls.spi.WLSOracleStandardEmitterChildConfigMBean.<init>(WLSOracleStandardEmitterChildConfigMBean.java:68)

        at oracle.as.jmx.framework.wls.spi.ConfigMBeanFactory.createChildConfigMBean(ConfigMBeanFactory.java:64)

        at oracle.as.jmx.framework.wls.spi.JMXFrameworkProviderImpl.createReadOnlyChildConfigMBean(JMXFrameworkProviderImpl.java:388)

        at oracle.as.jmx.framework.PortableMBeanFactory.createReadOnlyChildConfigMBean(PortableMBeanFactory.java:690)

        at oracle.as.jmx.framework.generic.JMXSupportBaseImpl.createChildConfigMBean(JMXSupportBaseImpl.java:318)

        at oracle.as.jmx.framework.generic.JMXSupportBaseImpl.createAndRegisterChildConfigMBean(JMXSupportBaseImpl.java:344)

        at oracle.dms.config.JMXDMSConfig.registerChildMBeans(JMXDMSConfig.java:256)

        at oracle.dms.config.JMXDMSConfig.postRegister(JMXDMSConfig.java:190)

Sign In or Register to comment.