Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1775

ClassCast Exception after successfull lookup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • JBossAS-4.0.2 Final
    • None
    • None

      After retrieving the object reference with contect.lookup() the cast to the home interface results in a ClassCasst Exception. Calling out.println(objRef.getClass().getName() + "<br>"); shows the correct classname.

      Shortest example I could make: http://development.askesis.nl/Servlet.zip

      Works OK in 4.0.1SP1 but not in 4.0.2.

            Unassigned Unassigned
            askesis_jira Joost Kraaijeveld (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: