ibm-datapower / ertool Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
sh-3.2$ ant
Buildfile: /Users/xx/Document/GitHub/ertool/framework/build.xml
init:
[mkdir] Created dir: /Users/xx/Document/GitHub/ertool/framework/bin
[mkdir] Created dir: /Users/xx/Document/GitHub/ertool/framework/bin/tools
compile:
[javac] /Users/xx/Document/GitHub/ertool/framework/build.xml:62: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 82 source files to /Users/xx/Document/GitHub/ertool/framework/bin
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
[javac] /Users/xx/Document/GitHub/ertool/framework/src/com/ibm/datapower/er/Analytics/AnalyticsProcessor.java:365: error: ')' expected
[javac] if ( ordField.getFieldValue().startsWith(("{Condition:"))
[javac] ^
[javac] 1 error
[javac] 1 warning
BUILD FAILED
/Users/xx/Document/GitHub/ertool/framework/build.xml:62: Compile failed; see the compiler error output for details.
The log4j libraries in /framework/lib/ are outdated and and should be updated as they cause vulnerability scan issues (CVE-2021-44832).
Hello,
on Mac book - M1 arm there is issue with SWT library.
Tried on intel Mac, on both same java version, intel works, arm not
andrej@Andrejs-MacBook-Pro dist % java --version java 11.0.16 2022-07-19 LTS Java(TM) SE Runtime Environment 18.9 (build 11.0.16+11-LTS-199) Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.16+11-LTS-199, mixed mode)
andrej@Andrejs-MacBook-Pro dist % java -XstartOnFirstThread -jar ErrorReport.jar -gui
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
no swt-cocoa-4948r5 in java.library.path: [/Users/andrej/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
no swt-cocoa in java.library.path: [/Users/andrej/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
no swt in java.library.path: [/Users/andrej/Library/Java/Extensions, /Library/Java/Extensions, /Network/Library/Java/Extensions, /System/Library/Java/Extensions, /usr/lib/java, .]
Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt-cocoa-4948r5.jnilib
Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt-cocoa.jnilib
Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt.jnilib
Can't load library: /Users/andrej/.swt/lib/macosx/aarch64/libswt-cocoa-4948r5.jnilib
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:348)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:257)
at org.eclipse.swt.internal.C.<clinit>(C.java:19)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:107)
at com.ibm.datapower.er.erGUI.<init>(Unknown Source)
at com.ibm.datapower.er.ERTool.GetGUIArgs(Unknown Source)
at com.ibm.datapower.er.ERTool.<init>(Unknown Source)
at com.ibm.datapower.er.ERTool.main(Unknown Source)
We should start to include the following hardware end of life in the error reports
http://www-01.ibm.com/support/docview.wss?uid=swg21317845
I have 64 bit Windows 7, with 32 bit JVM (jdk1.8.0_141).
I compiled the ERTool successfully, but when I try to run the jar it is giving following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: Cannot load 64-bit SWT libraries on 32-bit JVM
Need to review what is so slow reading from archive/writing to file. Want to speed it up to be more like a normal extraction utility if at all possible.
This is really detrimental to API Management archives, not as much an impact to DataPower.
I have noticed in Sun Java 1.8 some formulas are failing (no results will be found for that formula, other times it will work successfully, but rarely). This likely has to do with the multicore support, but haven't yet been able to pinpoint why this change in behavior for Sun Java 1.8.
I have not yet tested IBM Java 1.8, will also see if the same behavior is exhibited.
IBM Java 1.6 - OK
IBM Java 1.7 - OK
IBM Java 1.8 - OK
Sun Java 1.8 - Fails
just a reminder to push the new formla
i have a XI52.4.0.2.0 and do not get the out of support error
Hey
It seems that you refer to libswt-win32.so
Is there a reason that you refer to an environment specific swt library ?
On windows it works like a charm (nice tool btw) on linux it doesn't.
The mapped table formatting introduced by 9b6eb5d needs attention to resolve text formatting only tabbing. Needs proper tabbing/spacing dependent on size of the column values (likely to use system.format).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.