Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4867045

activeXbridge can't find classes outside of activeXbridge jar file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.2
    • deploy
    • x86
    • windows_xp



      Name: rl43681 Date: 05/20/2003


      FULL PRODUCT VERSION :
      java version "1.4.2-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b19)
      Java HotSpot(TM) Client VM (build 1.4.2-beta-b19, mixed mode)

      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Internet Explorer 6.0.2800

      A DESCRIPTION OF THE PROBLEM :
      I built a .jar for an activeXbridge object based on the tutorial. If I make references to classes outside that jar then those classes can't be found, even if they are in the system class path.

      REGRESSION. Last worked in version mantis-beta

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      build an activeXbridge object based on the tutorial.
      instantiate a class from outside the jar, e.g. jdbc driver class.
      that class can't be found, even though it's in the class path

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      class should be found if it is in the class path
      ACTUAL -
      class not found exception

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      class not found exception

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      see activeXbridge tutorial
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      put all classes in the activeXbridge jar file (not really a work around)
      (Review ID: 185201)
      ======================================================================

            ccheung Calvin Cheung
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: