[CORE-21] i2b2 v1.4 - CRC BUILD Failed Created: 19/Mar/10  Updated: 05/Jun/14  Resolved: 27/Oct/11

Status: Closed
Project: i2b2 Core Software
Component/s: CRC Cell, Install, VM Image
Affects Version/s: 1.4.00
Fix Version/s: 1.6.00

Type: Bug Priority: Major
Reporter: Peter Beninato Assignee: Mike Mendis
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: LINUX VM - JAVA 1.6

Rank: 0|i001av:
Participant/s:

 Description   
Below is the error message when running the ant target both on the crcloader and the crc. I have installed v1.4 on a local wintel box. We had v1.3 running on a LINUX VM, I was going through the UPGRADE process.

The crcloader ant target shows BUILD SUCCESSFUL but I thougth maybe it's warnings would be of interest (if related).

I have reviewed the config files and I believe I have them set correctly.

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)


...---......---......---......---......---......---......---......---......---......---...
CRC LOADER

compile:
    [javac] Compiling 216 source files to /i2-v1.4/src/edu.harvard.i2b2.crc.loader/classes
    [javac] /i2-v1.4/src/edu.harvard.i2b2.crc.loader/src/server/edu/harvard/i2b2/crc/loader/util/security/HighEncryption.java:17: warning: e
    [javac] import sun.misc.BASE64Decoder;
    [javac] ^
    [javac] /i2-v1.4/src/edu.harvard.i2b2.crc.loader/src/server/edu/harvard/i2b2/crc/loader/util/security/RijndaelAlgorithm.java:102: warnie
    [javac] return new String(new sun.misc.BASE64Encoder().encodeBuffer(encrypt(source.getBytes("UTF-8"))));
    [javac] ^
    [javac] /i2-v1.4/src/edu.harvard.i2b2.crc.loader/src/server/edu/harvard/i2b2/crc/loader/util/security/RijndaelAlgorithm.java:130: warnie
    [javac] new sun.misc.BASE64Decoder().decodeBuffer(source)), "UTF-8");
    [javac] ^
    [javac] Note: /i2-v1.4/src/edu.harvard.i2b2.crc.loader/src/test/edu/harvard/i2b2/crc/loader/ws/CRCAxisAbstract.java uses or overrides a.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 warnings

dist:
     [echo] CRCLoader: Creating the ejb archive package!
      [jar] Building jar: /i2-v1.4/src/edu.harvard.i2b2.crc.loader/dist/CRCLoader-EJB.jar

common_init:

common-classpath:

init:

compile:

dist-server:
     [echo] CRCLoader: Creating the server archive package!
      [jar] Building jar: /i2-v1.4/src/edu.harvard.i2b2.crc.loader/dist/CRCLoader-Server.jar

axis2aar:
      [jar] Building jar: /i2-v1.4/src/edu.harvard.i2b2.crc.loader/dist/CRCLoader.aar

fr-ejb:
      [jar] Building jar: /i2-v1.4/src/edu.harvard.i2b2.crc.loader/dist/CRCLoaderFR-EJB.jar

BUILD SUCCESSFUL
Total time: 30 seconds
[edu.harvard.i2b2.crc.loader]
...---......---......---......---......---......---......---......---......---......---...
...---......---......---......---......---......---......---......---......---......---...
CRC COMPILE
compile:
    [javac] Compiling 463 source files to /i2-v1.4/src/edu.harvard.i2b2.crc/classes
    [javac] /i2-v1.4/src/edu.harvard.i2b2.crc/src/server/edu/harvard/i2b2/crc/ejb/analysis/QueryExecutor.java:30: cannot find symbol
    [javac] symbol : method getVersion()
    [javac] location: class edu.harvard.i2b2.crc.datavo.setfinder.query.AnalysisDefinitionType
    [javac] String version = analysisDefinition.getVersion();
    [javac] ^
    [javac] /i2-v1.4/src/edu.harvard.i2b2.crc/src/server/edu/harvard/i2b2/crc/ejb/analysis/StartAnalysis.java:91: cannot find symbol
    [javac] symbol : method getVersion()
    [javac] location: class edu.harvard.i2b2.crc.datavo.setfinder.query.AnalysisDefinitionType
    [javac] .getVersion(), msgHelper.getProjectId());
    [javac] ^
    [javac] /i2-v1.4/src/edu.harvard.i2b2.crc/src/server/edu/harvard/i2b2/crc/quartz/AnalysisJobStarter.java:86: cannot find symbol
    [javac] symbol : method getVersion()
    [javac] location: class edu.harvard.i2b2.crc.datavo.setfinder.query.AnalysisDefinitionType
    [javac] String version = analysisDefType.getVersion();
    [javac] ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 errors

BUILD FAILED
...---......---......---......---......---......---......---......---......---......---...

 Comments   
Comment by Mike Mendis [ 27/Oct/11 ]
Resolved building in 1.6
Generated at Tue Apr 16 09:15:39 UTC 2024 using Jira 8.20.11#820011-sha1:0629dd8d260e3954ece49053e565d01dabe11609.