2 Replies Latest reply on Jul 14, 2003 10:15 PM by Vishal Sharma

    WARN : No Certificates: While Deploying

    Vishal Sharma Expert

      Hi I have got this message while deploying the bean, I ahev no idea what does that mean.

      As I have been trying to access one bean in EJB Module to another bean in another EJB Module


      17:32:33,096 WARN [ClassLoadingTask] Duplicate class found: au.com.tusc.CallerOneSession
      Current CS: (file:/opt/jboss/jboss-3.2.1/server/all/tmp/deploy/server/all/deploy/MyFirstBean.jar/49.MyFirstBean.jar <no certificates>)
      Duplicate CS: (file:/opt/jboss/jboss-3.2.1/server/all/tmp/deploy/server/all/deploy/MySecondBean.jar/48.MySecondBean.jar <no certificates>)
      17:32:33,121 WARN [ClassLoadingTask] Duplicate class found: au.com.tusc.MySessionSession
      Current CS: (file:/opt/jboss/jboss-3.2.1/server/all/tmp/deploy/server/all/deploy/MyFirstBean.jar/49.MyFirstBean.jar <no certificates>)
      Duplicate CS: (file:/opt/jboss/jboss-3.2.1/server/all/tmp/deploy/server/all/deploy/MySecondBean.jar/48.MySecondBean.jar <no certificates>)

      After deployment when Look at the JNDI View I can get the linking between two Beans.

      +- env (class: org.jnp.interfaces.NamingContext)
      | +- ejb (class: org.jnp.interfaces.NamingContext)
      | | +- CallerOneLocal[link -> CallerOneLocal] (class: javax.naming.LinkRef)
      | | +- CallerTwoLocal[link -> null] (class: javax.naming.LinkRef)
      --------------------------

      AS my Deployment descriptors for linking is .

      @ejb.ejb-external-ref
      * view-type="local"
      * link="CallerTwo"
      * ref-name="CallerTwoLocal"
      * ejb-name="CallerTwo"
      * type="Session"
      * home="test.CallerTwoLocalHome"
      * business="test.CallerTwoLocal"

      As I invoke the method on CallerTwoLocal it raises null pointer.
      No surprises here as JNDI view shows linking is not done.

      Any guesses here.

      I hope this info is sufficient for someone to let me know whats wrong.


      Cheers...