Hi Andrew, yes, it’s working. Softlayer provider on JBoss 7.1.3 and in a Singleton Session EJB deployed in a .jar (I got available Images and Locations retrieved OK) I’m now including that .jar in a web application WEB-INF/lib/ (I don’t use .ear files anymore since EJBs run in web apps) but haven’t finished that. Once I have the full application finished I will prepare that blog post with a downloadable .war file.
Ignacio de Córdoba [email protected] Red Skios S.A. - www.skios.es On 3 Jan 2014, at 12:39, Andrew Phillips <[email protected]> wrote: >> 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
