Hello,
I am just doing some initial verification of Gen 8.6 Complete Release. Testing our shop configuration and verifying that all our current builds are working correctly.
I ran into a problem trying to build the Java Proxy using Complete Release. I do not have this problem at our current PTF level of 8.6.
Here is the error I am getting from the Build Tool output using the Gen sample model as source:
____________________________________________________________________________
CA Gen Build Tool Compose
Copyright (c) 2016 CA. All rights reserved.
Compose Succeeded
Microsoft Windows [Version 10.0.17134.1246]
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Program Files (x86)\CA\Gen86\gen>"C:\Program Files (x86)\CA\SharedComponents\JRE\1.8.0_60\\bin\java.exe " -classpath "C:\Program Files (x86)\CA\Gen86\gen\bt\bt.jar" com.ca.gen.bt.Execute "C:\models86\sample.ief\proxy\java\P900.bat"
=====================Load Module Script Environment=================
Operating System: JVM
Environment: JAVAVM
Language: JAVA
Codepage:
Proxy Version: 2
ISO Encoding: UTF-8
==============================SUMMARY===============================
Summary of Load Module Script Results for Load Module P900:
==============================LEGEND================================
Legend: ... precedes information about an operation to be performed.
--- precedes results from an operation which just completed.
*** precedes error info from an operation which just failed.
(Symbols preceding info are indented to convey step levels.)
==============================DETAILS===============================
Details of P900 Load Module Script Results:
CLASSPATH=C:\models86\sample.ief\proxy\java\\src;C:\Program Files (x86)\CA\Gen86\gen\classes\csu.jar;C:\Program Files (x86)\CA\Gen86\gen\classes\vwrt.jar;C:\Program Files (x86)\CA\Gen86\gen\classes\odc.jar;C:\Program Files (x86)\CA\Gen86\gen\classes\jprt.jar;C:\Program Files (x86)\CA\Gen86\gen\classes\jprt.xml.jar;C:\Program Files (x86)\CA\Gen86\gen\bt\bt.jar;c:\java\lib\tools.jar;.;C:\PROGRA~2\IBM\IBMDAT~1\java\db2jcc.jar;C:\PROGRA~2\IBM\IBMDAT~1\java\sqlj.zip;C:\PROGRA~2\IBM\IBMDAT~1\bin
Exception in thread "main" java.lang.ClassFormatError: JVMCFRE067 unknown constant pool entry tag; class=org/apache/tools/ant/Main, offset=66 at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:275)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:69)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:540)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:451)
at java.net.URLClassLoader.access$300(URLClassLoader.java:79)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1038)
at java.security.AccessController.doPrivileged(AccessController.java:284)
at java.net.URLClassLoader.findClass(URLClassLoader.java:429)
at java.lang.ClassLoader.loadClass(ClassLoader.java:653)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:358)
at java.lang.ClassLoader.loadClass(ClassLoader.java:619)
Could not find the main class: org.apache.tools.ant.Main. Program will exit.IEFSIGNAL:FAIL
*** Build for Load Module P900 Failed. ***
Important! Review above for any errors.
C:\Program Files (x86)\CA\Gen86\gen>
____________________________________________________________________
Does anyone have an idea of what I might be doing wrong?
I have not yet opened a support case, but am wondering if anyone else has run into this problem.
------------------------------
Doug Seaver
Systems Development Services Specialist
CA Gen Tool Support
WisDOT
Madison, WI, USA
------------------------------