-
Story
-
Resolution: Done
-
Major
-
2.5.0.CR1
-
None
Reported by Meissa M'baye Sakho <msakho@redhat.com>
Not all the JDK classes are loaded by JBoss. It happens on certain cases, that applications uses transaction provided by JTOM which depends on
org.w2.carol api. These api requires sun/rmi/server/UnicastServerRef classes. It's the same for com/sun/corba classes. They are not loaded by JBoss.
The jdk classes that are loaded are specified through the $JBOSS_HOME/modules/system/layers/base/sun/jdk/main/module.xml
If a jdk class is required by an application and not loaded through this module at deployment, we have a java.lang.NoClassDefFoundError error.
It sounds strange for some customers to use the JDK and to discover that some classes are not loaded.
There is a solution to this problem that is described through the link below:
https://access.redhat.com/solutions/1217863
the enhancement would be to detect the classes that a part of the jdk and that are not loaded by JBoss and then point them the ulr solution above.
The use of tattletale in combination of windup might help detecting these classes.