How do I disable all builtins in JBoss AS 7.1?

From time to time I get exceptions like MethodNotFoundException and ClassNotFoundException when deploying my web application to JBoss AS 7.1 server. The reason for this is because JBoss has its own built-ins, which it prefers in libraries in my own war. I know that I can selectively exclude modules using jboss-deployment-structure.xml, but I just don't think about it and work exactly the same as when deploying it like Jetty.

Is it possible to configure JBoss to not have any modules?

What are the use cases for builtins? In my opinion, the duplicate libraries that I would have to provide when deploying multiple war do not outweigh the disadvantage of the possible behavior versus the environment in which I run the automated tests. I lack a life advantage.

+3


source to share





All Articles