java-gateway in Ubuntu 18.04.1 LTS to monitor Java based applications.But i was not able to start zabbix-java-gateway.I am getting below error.
Error: A JNI error has occurred, please check your installation and try again
zabbix_java_gateway[34235]: Exception in thread "main" java.lang.UnsupportedClassVersionError: com/zabbix/gateway/JavaGat
Os Details:
Ubuntu 18.04.1 LTS
Zabbix server details:
zabbix_server (Zabbix) 3.4.10
zabbix-java-gateway version:
Version: 1:3.4.13-1+bionic
You run with a Java Version less the Version which was used to compile the classes
java.lang.UnsupportedClassVersionError: com/zabbix/gateway/JavaGat
Update your Java version
Related
I used npx create-cljs-project my-app and revived error when I tried to start with npm start
I have tried few java ask version, but I get same error anyway.
shadow-cljs - config: /Users/tomaszsikora/dev/my-app/shadow-cljs.edn
Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2398).
Can't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna1171015707293329039.tmp
Full report at:
/var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/clojure-11795200488797552517.edn
and it starts like this, but it's too long to paste here.
{:clojure.main/message
"Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2398).\nCan't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna14133068692257536681.tmp\n",
:clojure.main/triage
{:clojure.error/class java.lang.UnsatisfiedLinkError,
:clojure.error/line 2398,
:clojure.error/cause
"Can't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna14133068692257536681.tmp",
:clojure.error/symbol java.lang.ClassLoader/loadLibrary,
:clojure.error/source "ClassLoader.java",
:clojure.error/phase :execution},
:clojure.main/trace
{:via
[{:type java.lang.UnsatisfiedLinkError,
:message
"Can't load library: /var/folders/x7/k_6f989d60z2k0pz_cz_3y_40000gn/T/jna14133068692257536681.tmp",
:at [java.lang.ClassLoader loadLibrary "ClassLoader.java" 2398]}],
:trace
java version
tomaszsikora#DeadBook-Void my-app % java --version
openjdk 18.0.2.1 2022-08-18
OpenJDK Runtime Environment Homebrew (build 18.0.2.1+0)
OpenJDK 64-Bit Server VM Homebrew (build 18.0.2.1+0, mixed mode, sharing)
I am looking for an advisable version of JRuby that supports OpenJDK-8 (Zulu-JDK) to run on a Rails project.
Rails version- 4.0.13.
All versions of JRuby since version 9.2.0.0 will run on JDK 8. Since Zulu 8 is a build of OpenJDK 8 that means any appropriate JRuby version will run on Zulu 8.
Follow up question (using answer section to get better code formatting then commenting on the answer above).
I'm trying to get JRuby > 9.2.0.0 running Zulu 8 for MacOS ARM 64-bit (M1 chip).
I did a reinstall of the JRuby versions after installing that JDK.
$ rvm list
jruby-1.7.27 [ x86_64 ]
=> jruby-9.2.13.0 [ aarch64 ]
Check ruby version and try irb:
$ ruby -v
jruby 9.2.13.0 (2.5.7) 2020-08-03 9a89c94bcc OpenJDK 64-Bit Server VM 25.302-b08 on 1.8.0_302-b08 +jit [darwin-aarch64]
$ irb
NotImplementedError: fstat unimplemented unsupported or native support failed to load; see https://github.com/jruby/jruby/wiki/Native-Libraries
initialize at org/jruby/RubyIO.java:1015
open at org/jruby/RubyIO.java:1156
initialize at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb/input-method.rb:141
initialize at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb/context.rb:70
initialize at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb.rb:410
start at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/lib/ruby/stdlib/irb.rb:381
<main> at /Users/rrickerts/.rvm/rubies/jruby-9.2.13.0/bin/irb:13
I need to install MySQL and WorkBench tool on Windows Server 2012 R2. As the prerequesites it needs Visual C++ Redistributable 2015. So I downloaded and tried to install but getting below error:
Log details:
[12E4:1754][2019-11-28T23:04:18]i301: Applying execute package: vcRuntimeAdditional_x86, action: Install, path: C:\ProgramData\Package Cache{BE960C1C-7BAD-3DE6-8B1A-2616FE532845}v14.0.23026\packages\vcRuntimeAdditional_x86\vc_runtimeAdditional_x86.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
[1680:17F8][2019-11-28T23:04:18]i319: Applied execute package: vcRuntimeAdditional_x86, result: 0x0, restart: None
[12E4:1754][2019-11-28T23:04:18]i325: Registering dependency: {74d0e5db-b326-4dae-a6b2-445b9de1836e} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v14, package: vcRuntimeAdditional_x86
[12E4:1754][2019-11-28T23:04:18]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
[12E4:1754][2019-11-28T23:04:19]e000: Error 0x80240017: Failed to execute MSU package.
[1680:17F8][2019-11-28T23:04:19]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[1680:17F8][2019-11-28T23:04:19]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
[1680:17F8][2019-11-28T23:04:19]e000: Error 0x80240017: Failed to execute MSU package.
[12E4:1754][2019-11-28T23:04:19]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: ARP, restart: None, disable resume: No
[12E4:1754][2019-11-28T23:04:19]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{74d0e5db-b326-4dae-a6b2-445b9de1836e}, resume: ARP, restart initiated: No, disable resume: No
[1680:17F8][2019-11-28T23:04:19]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart: No
OS: Windows Server R2
System Type: 64 bit OS, x64-based processor
Updated: Yes
MySQL Version: 5.5
WorkBench Version: 8.0.18
What could the reason behind this?
I was also getting similar error 0x80240017 while installing VC++ redistributables as pre-requisites for WAMP Server on Windows 2012 Server. I performed following steps to resolve the issue:
Install Update for Windows Server 2012 R2 (KB2939087):
https://www.microsoft.com/en-us/download/details.aspx?id=42365
Install Update for Windows Server 2012 R2 (KB2975061):
https://www.microsoft.com/en-us/download/details.aspx?id=43531
Install KB2919355 (https://www.microsoft.com/en-US/download/details.aspx?id=42334),
Restart computer
Install KB2999226 (https://www.microsoft.com/en-in/download/details.aspx?id=49071)
The solution is:
Check for Windows Update
Control Panel > Windows Update
Install the all suggested and important updates
Restart the computer
Then try to install vc_redist.[x64 OR x84].exe again > if already install then uninstall and then re-install it.
Then the setup must be successful, then install the Workbench again, will work fine.
chrome version : 57.0.2987.98 m (64-bit)
"protractor": "4.0.11",
"protractor-console-plugin": "0.1.1",
"protractor-jasmine2-html-reporter": "0.0.6",
"protractor-notify-plugin": "1.0.0",
protractor failed to launch chrome with the following error:
unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html
(Session info: chrome=57.0.2987.98)
(Driver info: chromedriver=2.26.436362 (5476ec6bf7ccbada1734a0cdec7d570bb042aa30),platform=Windows NT 6.1.7601 SP1 x86_64) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 10.10 seconds
Build info: version: '2.53.1', revision: 'a36b8b1', time: '2016-06-30 17:37:03'
You are using incompatible versions of chromedriver=2.26.436362 and chrome=57.0.2987.98.
As per Chrome driver release notes the error is fixed in ver 2.28 so you should upgrade your Chrome driver (or downgrade the Chrome browser).
upd: if you use angular/webdriver-manager to run Selenium server then you can achieve this by running the following commands:
webdriver-manager update --versions.chrome=2.28
webdriver-manager start --versions.chrome=2.28
Yes, you can use this as a workaround
node ./node_modules/protractor/bin/webdriver-manager update --versions.chrome 2.28
node ./node_modules/protractor/bin/webdriver-manager start --versions.chrome 2.28
Works for my team. Hope it can help you.
Upgrading your protractor version to 5+ should do it. I got the same error, upgraded from 4.0.14 to 5.1.1, and now all my UI tests are passing again.
It seems that protractor doesn't start grabbing the latest version of the chrome driver until Protractor version 5.0, so when you upgrade to a version of Chrome that's incompatible with protractor's chrome driver, it will break your tests in this fun new way.
Source: https://github.com/angular/protractor/blob/master/CHANGELOG.md
This might be because webdriver failed to deal with 3-party Chrome extension.
You can try to set below capabilities in your conf.js file to disable extensions usage:
capabilities: {
'browserName': 'chrome',
'chromeOptions': {
'args': ['--disable-extensions']
}
}
I am following the installation process outlined in the link:
http://www.srccodes.com/p/article/38/build-install-configure-run-apache-hadoop-2.2.0-microsoft-windows-os
When running the 'start-dfs' command I get the following error:
FATAL namenode.NameNode: Exception in namenode join
java.lang.UnsatisfiedLinkError: org.apache.hadoop.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
Any suggestions on how to fix this and finish configuring Hadoop? Thanks!