Admin console doesn't appear after deployments

Solution Verified - Updated -

Issue

  • When we deploy our application and restart JBoss application server, admin console doesn't appear and throws below errors:
java.lang.RuntimeException: Could not create Component: org.jboss.seam.security.ruleBasedPermissionResolver
    org.jboss.seam.init.Initialization.addComponent(Initialization.java:1198)
    org.jboss.seam.init.Initialization.installComponents(Initialization.java:1114)
    org.jboss.seam.init.Initialization.init(Initialization.java:737)
    org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
    org.jboss.on.embedded.LazyStartupListener.initialize(LazyStartupListener.java:182)
    org.jboss.on.embedded.LazyStartupListener.requestInitialized(LazyStartupListener.java:240)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
    org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    java.lang.Thread.run(Thread.java:679)

root cause

java.lang.NoClassDefFoundError: org/drools/runtime/ObjectFilter
    java.lang.Class.getDeclaredMethods0(Native Method)
    java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
    java.lang.Class.privateGetPublicMethods(Class.java:2564)
    java.lang.Class.getMethods(Class.java:1427)
    org.jboss.seam.Component.hasAnnotation(Component.java:1161)
    org.jboss.seam.Component.<init>(Component.java:221)
    org.jboss.seam.Component.<init>(Component.java:208)
    org.jboss.seam.init.Initialization.addComponent(Initialization.java:1182)
    org.jboss.seam.init.Initialization.installComponents(Initialization.java:1114)
    org.jboss.seam.init.Initialization.init(Initialization.java:737)
    org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
    org.jboss.on.embedded.LazyStartupListener.initialize(LazyStartupListener.java:182)
    org.jboss.on.embedded.LazyStartupListener.requestInitialized(LazyStartupListener.java:240)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
    org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    java.lang.Thread.run(Thread.java:679)

root cause

java.lang.ClassNotFoundException: org.drools.runtime.ObjectFilter from BaseClassLoader@42a151fa{vfsfile:/usr/local/jboss-eap-5.1.2/jboss-as/server/myserver/deploy/admin-console.war/}
    org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:477)
    java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    java.lang.Class.getDeclaredMethods0(Native Method)
    java.lang.Class.privateGetDeclaredMethods(Class.java:2444)
    java.lang.Class.privateGetPublicMethods(Class.java:2564)
    java.lang.Class.getMethods(Class.java:1427)
    org.jboss.seam.Component.hasAnnotation(Component.java:1161)
    org.jboss.seam.Component.<init>(Component.java:221)
    org.jboss.seam.Component.<init>(Component.java:208)
    org.jboss.seam.init.Initialization.addComponent(Initialization.java:1182)
    org.jboss.seam.init.Initialization.installComponents(Initialization.java:1114)
    org.jboss.seam.init.Initialization.init(Initialization.java:737)
    org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36)
    org.jboss.on.embedded.LazyStartupListener.initialize(LazyStartupListener.java:182)
    org.jboss.on.embedded.LazyStartupListener.requestInitialized(LazyStartupListener.java:240)
    org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)
    org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)
    org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
    org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
    org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)
    org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)
    java.lang.Thread.run(Thread.java:679)

We are using our own application jars (Drools, Hibernate, jgrops etc)

Environment

  • JBoss Enterprise Application Server
    • EAP 5.1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In