Closed lyssphacker closed 6 years ago
I have same issue with weblogic
starting weblogic server...
HOTSWAP AGENT: 07:49:15.177 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.1.0-SNAPSHOT} - unlimited runtime class redefinition.
HOTSWAP AGENT: 07:49:16.512 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, WatchResources, AnonymousClassPatch, ClassInitPlugin, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, JavaBeans, GlassFish]
Listening for transport dt_socket at address: 30199
java: relocation error: /usr/java/jdk1.8.0_131/jre/lib/amd64/libresource.so: symbol JVM_GetManagementExt, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
java -version is OK:
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-9, mixed mode)
I've been able to resolve the issue by using OpenJDK 1.8.0_91.
@lyssphacker @skybber
see https://www.linuxquestions.org/questions/linux-desktop-74/java-issue-in-my-linux-machine-943077/
rm /usr/bin/java
update-alternatives --config java
rm /usr/bin/javac
update-alternatives --config javac
/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/jli/libjli.so
rm /usr/lib/jvm/java-8-openjdk-amd64/bin/java
ln -s /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java /usr/lib/jvm/java-8-openjdk-amd64/bin/java
I have same issue with weblogic
starting weblogic server... HOTSWAP AGENT: 07:49:15.177 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.1.0-SNAPSHOT} - unlimited runtime class redefinition. HOTSWAP AGENT: 07:49:16.512 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, WatchResources, AnonymousClassPatch, ClassInitPlugin, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, JavaBeans, GlassFish] Listening for transport dt_socket at address: 30199 java: relocation error: /usr/java/jdk1.8.0_131/jre/lib/amd64/libresource.so: symbol JVM_GetManagementExt, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
java -version is OK:
java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-9, mixed mode)
I'm facing same issue, can you help
Most likely version of alternative JVM (dcevm) does not match version of hosting JVM
I have same issue with weblogic
starting weblogic server... HOTSWAP AGENT: 07:49:15.177 INFO (org.hotswap.agent.HotswapAgent) - Loading Hotswap agent {1.1.0-SNAPSHOT} - unlimited runtime class redefinition. HOTSWAP AGENT: 07:49:16.512 INFO (org.hotswap.agent.config.PluginRegistry) - Discovered plugins: [Hotswapper, WatchResources, AnonymousClassPatch, ClassInitPlugin, Hibernate, Hibernate3JPA, Hibernate3, Spring, Jersey1, Jersey2, Jetty, Tomcat, ZK, Logback, Log4j2, MyFaces, Mojarra, Seam, ELResolver, WildFlyELResolver, OsgiEquinox, Owb, Proxy, WebObjects, Weld, JBossModules, ResteasyRegistry, Deltaspike, JavaBeans, GlassFish] Listening for transport dt_socket at address: 30199 java: relocation error: /usr/java/jdk1.8.0_131/jre/lib/amd64/libresource.so: symbol JVM_GetManagementExt, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
java -version is OK:
java version "1.8.0_131" Java(TM) SE Runtime Environment (build 1.8.0_131-b11) Dynamic Code Evolution 64-Bit Server VM (build 25.71-b01-dcevmlight-9, mixed mode)
I'm facing same issue, can you help
Hello, i have same problem with weblogic, and oracle jdk 1.8.0_181. Did you solve this issue?
I've been able to resolve the issue by using OpenJDK 1.8.0_91.
Weblogic doesnt work with openjdk
I've been able to resolve the issue by using OpenJDK 1.8.0_91.
Weblogic doesnt work with openjdk
@Nahalovka
git clone https://github.com/vulhub/vulhub
cd vulhub/weblogic/CVE-2020-14882
docker-compose up -d
docker ps -a
docker cp ${docker id}:/root/jdk/jdk1.6.0_45 .
How you use openjdk with weblogic?
I m using weblogic 12c oracle jdk, how resolve this issue?
Any luck with this one? Anybody? Downgrading weblogic's oracle jdk to the same version as dcevm 8 (1.8.0_181) doesn't seem to help.
@Nahalovka @Neetesh0145 I found WLS will start only on these two combination of dcevm and openjdk versions:
For other combinations WLS usually crashes with this SUNWprivate_1.1 not defined in file libjvm.so
error.
see this answer on SO for more details.
I'm using latest release of DCEVM and HotswapAgent with JDK 1.8.0_77 and WebLogic on Ubuntu 14.04.5 LTS. I cannot start WebLogic because of the following error:
$HOME/Oracle/Middleware/Oracle_Home/oracle_common/jdk/bin/java: relocation error: $HOME/Oracle/Middleware/Oracle_Home/oracle_common/jdk/jre/lib/amd64/libresource.so: symbol JVM_GetManagementExt, version SUNWprivate_1.1 not defined in file libjvm.so with link time reference
I am getting the same error on Fedora 25, but not on Windows 10. I tried to use different JDK versions, but without success. Is this known issue on some GNU/Linux distributions?
On HotswapAgent Issues page I got the following answer for my issue:
It is DCEVM related problem, not HotswapAgent. But you're probably mixing Oracle JVM libs with OpenJDK runtime.
I pretty sure I am not mixing Oracle JVM libs with OpenJDK runtime.