1 Reply Latest reply on Apr 30, 2002 4:45 PM by vvarimo

    problems while looking up local home interface

    vvarimo

      Hi,

      I have a web application which tries to use a stateful session EJB by using local interfaces. Everything works just fine, but lookup method doesn't return correct home interface. Instead of home interface some $Proxy60 class is returned.

      I'm also sure that none of ejb related classes are included in WAR file (there was some posting about that earlier).

      Container says also in log file: "2002-04-30 17:59:10,357 DEBUG [org.jboss.web.catalina.EmbeddedCatalinaServiceSX] Linking ejb-local-ref: ejb/EditProjectEJBLocalRef to JNDI name: testproject/EditProjectEJBLocal". So ejb-local-ref
      is probably working.

      All configuration files and servlet code are included as attachments.

      I'm using JBoss 3.0 RC1 with Catalina 4.0.3.

      We have just changed WAS to JBoss and I'm kind of newbie with JBoss, so forgive me if this is stupid question.

      Thank you for your help!

        • 1. Re: problems while looking up local home interface
          vvarimo


          Ok, my fault.

          I had some ejb classes in WAR file first and I got ClassCastExceptions with the Proxy class returned from JNDI. Then I changed the code to print class name instead of casting class and therefore I couldn't see that removing those classes from WAR file probably solved the problem.

          Anyways this forum was great psychological help for me.

          Thanks, JBoss is great.