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

Failed to register DLL created with ActiveX bridge packager

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 7u6
    • 7
    • deploy
    • x86
    • windows_xp

      FULL PRODUCT VERSION :
      java version "1.7.0_03"
      Java(TM) SE Runtime Environment (build 1.7.0_03-b05)
      Java HotSpot(TM) Client VM (build 22.1-b02, mixed mode, sharing)

      ADDITIONAL OS VERSION INFORMATION :
      Microsof Windows Version 5.1(Build 2600.xpsp_sp3_gdr.101209-1647 : Service pack 3)

      A DESCRIPTION OF THE PROBLEM :
      try to register a dll that has been created by ActiveX Bean packager with regsvr32

      result :
      "DllRegisterServer in MyJavaBean failed Return code was: 0xc0000005"

      REGRESSION. Last worked in version 6u31

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1) Compile a bean, for example:
      public class SimpleBean extends Object implements java.io.Serializable {
        private String property;
        public SimpleBean() {
        }
        public String getProperty() {
          return property;
        }
        public void setProperty(String value) {
          property = value;
        }
      }

      2) Create a jar with this manifest:
      Name: SimpleBean.class
      Java-Bean: True

      3) Package the bean:
      packager SimpleBean.jar SimpleBean

      4.) copy dll to JRE7\AXBRIDGE\bin

      4) Try to register
      REGSVR32.EXE c:\programme\java\jre7\axbridge\bin\simplebean.dll
      => ERROR




      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      "DllRegisterServer in c:\programme\java\jre7\axbridge\bin\simplebean.dll failed
      Return code was: 0xc0000005"


      REPRODUCIBILITY :
      This bug can be reproduced always.

            ccheung Calvin Cheung
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: