"NoClassDefFoundError: sun/security/action/GetPropertyAction" from ORB code on EAP 6

Solution Verified - Updated -

Issue

We see the following error when deploying our application on EAP 6

ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/myapp]] (ServerService Thread Pool -- 1) JBWEB000284: Exception starting filter MyFilter: java.lang.NoClassDefFoundError: sun/security/action/GetPropertyAction
    at com.sun.corba.ee.internal.corba.ORB.getSystemProperty(ORB.java:672) [j2ee.jar:1.3.1]
    at com.sun.corba.ee.internal.corba.ORB.findORBPropertiesFromSystem(ORB.java:778) [j2ee.jar:1.3.1]
    at com.sun.corba.ee.internal.corba.ORB.set_parameters(ORB.java:450) [j2ee.jar:1.3.1]
    at com.sun.corba.ee.internal.POA.POAORB.set_parameters(POAORB.java:156) [j2ee.jar:1.3.1]
    at com.sun.corba.ee.internal.Interceptors.PIORB.set_parameters(PIORB.java:336) [j2ee.jar:1.3.1]
    at org.omg.CORBA.ORB.init(ORB.java:62) [jacorb-2.3.2.redhat-5.jar:2.3.2.redhat-5]
    at com.sun.enterprise.util.ORBManager.createORB(ORBManager.java:138) [j2ee.jar:1.3.1]
    at com.sun.enterprise.util.ORBManager.init(ORBManager.java:65) [j2ee.jar:1.3.1]
    at com.sun.enterprise.naming.SerialInitContextFactory.<init>(SerialInitContextFactory.java:31) [j2ee.jar:1.3.1]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [classes.jar:1.6.0_65]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [classes.jar:1.6.0_65]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [classes.jar:1.6.0_65]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [classes.jar:1.6.0_65]
    at java.lang.Class.newInstance0(Class.java:357) [classes.jar:1.6.0_65]
    at java.lang.Class.newInstance(Class.java:310) [classes.jar:1.6.0_65]
    at org.jboss.as.naming.InitialContextFactoryBuilder.createInitialContextFactory(InitialContextFactoryBuilder.java:62)
    at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:664) [classes.jar:1.6.0_65]
    at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) [classes.jar:1.6.0_65]
    at javax.naming.InitialContext.init(InitialContext.java:223) [classes.jar:1.6.0_65]
    at javax.naming.InitialContext.<init>(InitialContext.java:175) [classes.jar:1.6.0_65]
    ...

Environment

  • JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content