1 Reply Latest reply on May 8, 2014 11:39 AM by Tomaz Cerar

    Import Apache Commons Lang,Codec for EJB Application

    Paata Lominadze Newbie

      hello team,

       

      I want to import Commons Lang and Commons Codec Library Into My EJB Application. I did it by changing MANIFEST.MF like that :

       

      Manifest-Version: 1.0
      Class-Path:
      Dependencies: com.tibco,org.apache.commons.lang,org.jboss.as.controller-client,org.jboss.dmr,org.apache.commons.codec
      
      

       

      Everything works fine,library is available into my EJB project but I see warning into log file :

       

      11:43:56,042 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.CCareEJB.jar" is using a private module ("org.apache.commons.lang:m
      ain") which may be changed or removed in future versions without notice.                                                                                                           
      11:43:56,042 WARN  [org.jboss.as.dependency.private] (MSC service thread 1-4) JBAS018567: Deployment "deployment.CCareEJB.jar" is using a private module ("org.apache.commons.codec:
      main") which may be changed or removed in future versions without notice.
      
      

       

      Is there any other way to import this libraries ?

      This way which I choose I found it into JBoss Documentation Page.

       

       

      Regards,

      Paata Lominadze

      Magticom LTD.