JBoss Community

Re: HornetQ Native Libs

created by David Lloyd in JBoss AS7 Development - View the full discussion

First thing you have to do is add a resource directory called "lib" to your module.xml.

 

Once you've done that, you have to file your native libs in the proper platform-specific directory.  The directory name format is <osname>-<osarch> where <osname> is one of:

  • linux
  • macosx
  • win
  • os2
  • solaris
  • mpeix
  • hpux
  • aix
  • os390
  • freebsd
  • irix
  • digitalunix
  • osf1
  • openvms

 

...and <osarch> is one of:

  • sparcv9
  • sparc
  • x86_64
  • i686
  • ppc64
  • ppc
  • arm
  • parisc
  • alpha
  • mips

 

Then put your .so/.dll/etc files in the appropriate directories and you should be set.

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community