OIA Startup Error : Failed to import bean definition security-acls-context.xml

This post covers issue encountered during OIA 11g deployment including error message and fix.

Issue : OIA (RBACX) deployment on standalone Weblogic server was working fine. OIA application (RBACX) failed to start after extending Weblogic domain to include OIM.

Error in WebLogic Server Log :

_____

<Jun 6, 2012 2:50:48 PM UTC> <Error> <org.apache.beehive.netui.pageflow.internal.AdapterManager> <BEA-000000> <ServletContainerAdapter manager not initialized correctly.>

<Jun 6, 2012 2:50:52 PM UTC> <Error> <org.springframework.web.context.ContextLoader> <BEA-000000> <Context initialization failed org. springframework. beans. factory. parsing. BeanDefinition ParsingException: Configuration problem: Failed to import bean definitions from relative location [security-acls-context.xml] Offending resource: ServletContext resource [/WEB-INF/security-context-server.xml]; nested exception is org. springframework. beans. factory. BeanDefinition StoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/security-acls-context.xml]; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/reflect/ ReflectionWorld$ReflectionWorldException
at org. springframework. beans.factory.parsing. FailFastProblemReporter. error(FailFastProblem Reporter.java:68)
at org.springframework. beans.factory.parsing. ReaderContext.error (ReaderContext.java:85)

Caused By: org. springframework. beans.factory. BeanDefinition StoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/ security-acls-context.xml]; nested exception is java.lang.NoClassDefFoundError: org/aspectj/weaver/ reflect/ReflectionWorld$ ReflectionWorldException
at org. springframework. beans.factory.xml. XmlBeanDefinitionReader. doLoadBeanDefinitions( XmlBeanDefinitionReader.java:420)
at org.springframework.beans. factory.xml.XmlBeanDefinitionReader. loadBeanDefinitions(XmlBeanDefinitionReader.java:342)
Caused By: java.lang.NoClassDefFoundError: org/ aspectj/weaver/reflect/ ReflectionWorld$ReflectionWorldException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)

______

 

Fix: Create weblogic.xml in $RBACX_STAGING/WEB-INF/ with contents as mentioned here

 

After this I received another error “java.lang.NoClassDefFoundError: javax/xml/namespace/QName” and for fix click here

 

References/Related 

 

Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment: