0 Replies Latest reply on Mar 7, 2012 4:09 PM by Sabari Gandhi

    Jboss workaround for classes.jar !!!

    Sabari Gandhi Newbie



      My application uses JAAS and it accesses import javax.security.auth.Subject; import javax.security.auth.login.*; which is available in classes.jar but whwn i try deploying my application jboss picks up

      org.jboss.security.auth.login.XMLLoginConfigImpl@70781f2a which gives error...... I tried including classes.jar in my applications build path but still jboss picks up the jboss's jar file.


      when i tried to resolve I see the following in the /Users/sgandhi/jboss-as-7.0.2.Final/modules/sun/jdk/main/module.xml ,


        <!-- currently jboss modules has not way of importing services from

              classes.jar so we duplicate them here -->


      Is there a work around to resolve the issue , so that my appication ignores the jboss jar and picks up the classes.jar....


      Thanks in advance,