I have problems with a webservice/OSGi application that is bundled as WAR under JBoss 7.
My questions are:
- What modules are available to the application by default? I know how to add a dependeny and how to exclude one. But how do I know the defaults? I think they are called "global modules".
- Which packages of the JDK are provided to the application by default? All? Some? How do I investigate this?
- By concrete error is the following. Some bootstrapping code calls
javax.xml.parsers.DocumentBuilderFactory.newInstance()
. Which results in the exceptionjavax.xml.parsers.FactoryConfigurationError: Provider __redirected.__DocumentBuilderFactory not found
. It seems as in JBoss the system propertyjavax.xml.parsers.DocumentBuilderFactory
points to the above strange implementation__redirected.__DocumentBuilderFactory
.
Thanks for your help!