-
1. Re: Installing module in JBoss 7.1.1 - troubles !
f_marchioni Jun 21, 2012 4:02 PM (in response to mylos78)Umm why are you adding dependencies which are not required? I was able to install iText library flawlessy with the following module configuration:
<module xmlns="urn:jboss:module:1.1" name="com.lowagie.itext">
<properties>
<property name="jboss.api" value="private"/>
</properties>
<resources>
<resource-root path="itext-2.1.7.jar"/>
</resources>
<dependencies>
</dependencies>
</module>
Of course you have to create the path com.lowagie.itext under "modules".
>One more thing: looking at the folder C:\jboss-as-7.1.1.Final\modules\org\itext\main I can see that the file itext.jar.index is not even created so it seems that the application server does not initialize properly >this module.
That won't happen when the server boots but just when the module is triggered by an application. Everything around AS 7 works with this concept.
By the way check out MTB tomorrow as I'm going to add an article about iText + POI on AS7. :-)
Cheers
Francesco
-
2. Re: Installing module in JBoss 7.1.1 - troubles !
mylos78 Jun 22, 2012 3:10 AM (in response to f_marchioni)Thanks a lot ! it works with your setting and the library itext-2.1.7.jar.