I fixed it referencing JClouds module in the
META-INF/jboss-deployment-structure.xml with:
<module name="org.jclouds" services="import"/>
Am I understanding correctly that it's working now? That's great! So,
to summarize:
To use jclouds in Jboss 7, you can:
1) Install jclouds as a module as described in e.g. [1]:
2) Add the following dependencies to the module.xml for that module:
<dependencies>
<module name="sun.jdk"/>
<module name="javax.api"/>
<module name="javax.xml.bind.api"/>
</dependencies>
3) Reference the module via the
META-INF/jboss-deployment-structure.xml in your app as follows:
<module name="org.jclouds" services="import"/>
Is that roughly correct? If so, would you be interested in putting
that into a quick blog post..? ;-)
Regards
ap
[1]
http://www.mastertheboss.com/jboss-as-7/how-to-install-a-module-on-jboss-as-7