Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-2036

DynamicEnhancer should look for tools.jar in java.home/lib for all JDKs, not just the IBM SDK.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • Enhance
    • XP 64bit Sun/Oracle JDK 64 bit 1.6.0_26
    • Patch Available

    Description

      FINE: java.home=C:\Program Files\Java\jdk1.6.0_26\jre
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: javaHomeFile=C:\Program Files\Java\jdk1.6.0_26\jre
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: toolsJarFile=C:\Program Files\Java\jdk1.6.0_26\jre\lib\tools.jar
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: toolsJarFile.exists()=false
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: absPath=C:\Program Files\Java\jdk1.6.0_26\jre
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: sfx=\jre
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: absPath.endsWith(File.separator + "jre")=true
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: javaHomeFile=C:\Program Files\Java\jdk1.6.0_26
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: toolsJarFile=C:\Program Files\Java\jdk1.6.0_26\lib\tools.jar
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: toolsJarFile.exists()=true
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels$1 trace
      FINE: JPA:org.apache.openjpa.enhance.InstrumentationFactory.getInstrumentation() _inst:sun.instrument.InstrumentationImpl@d8d9850 _dynamicallyInstall:true
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: initialiazing openJPA javaagent... sun.instrument.InstrumentationImpl@d8d9850
      Jul 27, 2011 5:21:15 PM com.carefirst.fep.local.commons.model.claim.TestClaimModels setUp
      FINE: factory created

      Attachments

        1. OPENJPA-2036.diff.txt
          2 kB
          Michael Dick
        2. openjpa-enhancer-findtools-fix.jar
          11 kB
          Jason Pyeron

        Issue Links

          Activity

            People

              mikedd Michael Dick
              jpyeron Jason Pyeron
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: