Apology, I accidentally submit it withouth providing the full explanation.
Anyway...this is what I have in my module.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<module xmlns="urn:jboss:module:1.1" name="com.<companyname>.configuration">
This is how my jboss-deployment-structure.xml file looks like:
<module name="com.<companyname>" slot="configuration" />
Any idea how to get it to work?
You have specified a slot in your jboss-deployment-structure.xml file, but there isn't a slot specified in your module definitition.
Stephen, I don't think I need to specify the slot in module definition.
No, but then you shouldn't have slot="configuration" either
Nicklas, my slot is configuration. That's where my module definition is.
looking how the jsf 1.2 impl is defined, I would try
<module xmlns="urn:jboss:module:1.1" name="com.<companyname>" slot="configuration">
depending on the structure of your app, the Context class loader may not have visibility to the resource file. Can you try a classloader from an application class that are in the same module of the target resource file?
I can't use the application class to get the resource because this code is inside the framework. Thus, the use of Thread.getContextClassLoader.
I was reading this article specifically about TCCL but it didn't really give me the sample code solution on how to get it to work.