bookmarks of the day 02/17/2010

Posted by Toshi | | Posted On Feb 17, 2010 at 11:30 PM

  • tags: jni, axis, error

    • Applications that
      require native libraries must ensure that the libraries have
      been loaded
      prior to use.  Typically, this is done with a call like:

      static {

      in some
      class.  However, the application must also ensure that the library
      not loaded more than once.  If the above code were placed in a class
      the web application (i.e. under /WEB-INF/classes or /WEB-INF/lib), and
      application were reloaded, the loadLibrary() call would be attempted a

      To avoid this problem, place classes that load native
      libraries outside of the
      web application, and ensure that the loadLibrary()
      call is executed only once
      during the lifetime of a particular

Posted from Diigo. The rest of my favorite links are here.
blog comments powered by Disqus