2 Replies Latest reply on Oct 1, 2006 3:30 PM by peterj

    ClassCastException: $Proxy76

    schlumpf

      Hi all,
      I have a problem with an application running in JBoss-4.0.3SP1.
      The tested the application under JBoss-3.2.1-3.2.7 and everything works fine.
      In JBoss-4.0.3SP1 only the deployment of the application works fine. When I execute an action (for your information the application uses struts-1.0.2) then a ClassCastException: $Proxy76-Error appears.
      Can it be a problem with the InitialContext.lookup?
      ...
      try
      {
      InitialContext ic = new InitialContext();
      OSHome oSHome = (OSHome) ic.lookup("OSHOME");
      }
      thanxs
      delta296