Git Product home page Git Product logo

Comments (16)

DomiStyle avatar DomiStyle commented on May 24, 2024

I shortly looked into it but since I'm not a Java guru I have no idea why it isn't loading the libraries. They exist and the library path is set.

If somebody gets them working I'm more than happy to accept a pull request.

from docker-idrac6.

wer38 avatar wer38 commented on May 24, 2024

Well too bad i dont know java :( really handy tool btw

from docker-idrac6.

antpk avatar antpk commented on May 24, 2024

I think you are missing a lib for this to work. see lib/avmWinLib.so

from docker-idrac6.

DomiStyle avatar DomiStyle commented on May 24, 2024

I think you are missing a lib for this to work. see lib/avmWinLib.so

I was under the impression that these are for Windows only but I will give it a try. I also haven't actually tried extracting the .so files from the jar files so I might give that I try when I have some time.

Thanks for the link.

from docker-idrac6.

antpk avatar antpk commented on May 24, 2024

Yea the dlls aren't what you need. I tried extracting the .so files and it does change the behavior. It tries to load the native library now but crashes the jvm. Probably needs a specific libgcc/libc or equivalent being present. Haven't checked but what I was going to look at next was what the base image for the vnc client is using. Suspect it needs to be changed from alpine.

from docker-idrac6.

DomiStyle avatar DomiStyle commented on May 24, 2024

Haven't checked but what I was going to look at next was what the base image for the vnc client is using.

jlesage/baseimage-gui also has an Ubuntu and Debian version, but the Dockerfile probably needs adjustments to use apt-get instead of apk.

Some also say that the libraries need to be in the root folder together with the main jar, so it might also be worth extracting all the .so files and placing the .jar and the .so files in both the lib and the root folder just to be sure.

If the change to Ubuntu/Debian doesn't work it might also be worth it to look into using the Oracle JRE instead of OpenJDK, maybe there's an issue there.

from docker-idrac6.

JoshkVFX avatar JoshkVFX commented on May 24, 2024

Just to jump in here, from some discussions I've seen it looks like using the 32bit java would resolve this issue. I've had no luck trying to find a way to actually install the 32bit version though so I can't say for sure

EDIT: Unable to find a way to install it where it actually gets used

from docker-idrac6.

JoshkVFX avatar JoshkVFX commented on May 24, 2024

Scratch the above, may have figured out the issue and it's completely different. Will update shortly

from docker-idrac6.

JoshkVFX avatar JoshkVFX commented on May 24, 2024

Following up on this, I seem to be hitting the same issue as antpk, where loading the .so files crashes the JVM. I can't find any way to get logging on what's actually crashing though

from docker-idrac6.

DomiStyle avatar DomiStyle commented on May 24, 2024

Following up on this, I seem to be hitting the same issue as antpk, where loading the .so files crashes the JVM.

There's a few things that can still be tried:

  • Ubuntu instead of Alpine
  • x86 OpenJDK instead of x64 OpenJDK
  • Oracle JRE instead of OpenJDK
  • OpenJDK 6 instead of 7

from docker-idrac6.

antpk avatar antpk commented on May 24, 2024

Just to update. I managed to get it to work. It's a little not fully automated yet. Had to use ubuntu1604 and jdk7 from ppa.

from docker-idrac6.

DomiStyle avatar DomiStyle commented on May 24, 2024

Just to update. I managed to get it to work. It's a little not fully automated yet. Had to use ubuntu1604 and jdk7 from ppa.

Which ppa and did you extract any of the libraries or just used the jar files directly?

from docker-idrac6.

antpk avatar antpk commented on May 24, 2024

Sorry @DomiStyle , didnt see the reply till now. I extracted the .so files and had to keep the jar files too. I have uploaded my current config to my github. See https://github.com/antpk/docker-idrac6
I use docker-compose to map the app folder/build. The bit that is missing is downloading the jars and extracting them. Sorry was wanting to get that done but didn't have time and what I have now is working for me. I know its not perfect.

from docker-idrac6.

DomiStyle avatar DomiStyle commented on May 24, 2024

Sorry was wanting to get that done but didn't have time and what I have now is working for me. I know its not perfect.

No worries, will take a look at it once I get home.

from docker-idrac6.

DomiStyle avatar DomiStyle commented on May 24, 2024

Libraries are now correctly loaded in the latest version.
https://github.com/DomiStyle/docker-idrac6/releases/tag/v0.3

from docker-idrac6.

simonk83 avatar simonk83 commented on May 24, 2024

Nice work guys :)

from docker-idrac6.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.