-
1. Re: Class loading problem
ehugonnet Mar 7, 2016 2:02 AM (in response to samuele.firpo)Your moudle should be able to 'see' all he classes it needs thus you can't have a cycle war --> module --> war : either put the required jars in your module and add them to the module.xml or don't use a module there.
-
2. Re: Class loading problem
samuele.firpo Mar 7, 2016 10:33 AM (in response to ehugonnet)Hi ehugonnet,
thanks for the reply.
The application server we actually use has a different class loading mechanism (it isnt' module based) in which local classes and parent classes are at same level.
If I understand your answer, the only way to solve my problem is to modify application structure?
It's correct?
Regards
-
3. Re: Class loading problem
ehugonnet Mar 8, 2016 2:47 AM (in response to samuele.firpo)Yes, if your missing classes are in module then they would be available for the module and the war. So in my opinion just moving stuff around should fix your issue
-
4. Re: Class loading problem
garjanice9 Oct 25, 2016 12:36 PM (in response to samuele.firpo)Hi,
I want to take a JBoss 6.4.2 module out, but JBoss throws an error that it can not load this module. I took the module out of the jboss-deployment-structure.xml file, restarted JBoss and computer and I am still getting this message. I do not need this module in JBoss. It was a log4j module, we are now using this as jar in a .war/.ear file.
-
5. Re: Class loading problem
garjanice9 Oct 28, 2016 1:33 PM (in response to garjanice9)Other modules are dependent on that module, so leave it as a module, as I wrote the question and it dawned on me that this module has dependencies.