Skip to Content
author's profile photo Former Member
Former Member

Exception in thread "main" java.lang.UnsatisfiedLinkError: awt

Hello,

I installed Solman 7.1 Successfully. when i wanted to install th license for the java stack using the /configtool.sh under SID adm i got the following error :

SD1ODYLSV1:sd1adm 9> ./configtool.sh

Exception in thread "main" java.lang.UnsatisfiedLinkError: awt (libXp.so.6: cannot open shared object file: No such file or directory)

at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:990)

at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:954)

at java.lang.System.loadLibrary(System.java:409)

at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:76)

at java.security.AccessController.doPrivileged(AccessController.java:197)

at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:81)

at sun.awt.DebugHelper.<clinit>(DebugHelper.java:56)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)

at java.awt.Component.<clinit>(Component.java:571)

at java.lang.J9VMInternals.initializeImpl(Native Method)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)

at java.lang.reflect.Method.invoke(Method.java:391)

at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)

I logon successfully to Java stack, can i install the license from there instead of using the script: configtool?

The Solman is uning the SAPJVM for the jaba stack.

Thanks for your help

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 03, 2011 at 11:05 AM

    Hi,

    Kindly refer the SAP note: 1203597 for the said problem.

    Thanks,

    Anil Bhandary

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello and thanks for your reply,

      I have dowloaded the package : xorg-x11-deprecated-libs-6.8.2-1.EL.13.6.i386.rpm but it didnt help i still have the same error. actually in the note 1203597 the error was regarding jdk/jre/lib/i386/libawt.so but in my case it is about "main" java.lang.UnsatisfiedLinkError: awt.

      I have checked in lots of note and forums but i didnt find anything similar. I do not know if it is connected to the SAP jvm.

      Thanks

  • author's profile photo Former Member
    Former Member
    Posted on Nov 03, 2011 at 04:11 PM

    Hi,

    Exception in thread "main" java.lang.UnsatisfiedLinkError: awt (libXp.so.6: cannot open shared object file: No such file or directory)

    This points to problem with your X server. This shared object is needed for X env and most probably you dont have X server installed (e.g. Humming Bird, Xmanager, etc) and running.

    Please check if the software is installed and running in the background.

    Hope this helps.

    Regards,

    Varun

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello.

      I faced exactly same problem with start configtool too. My environment RedHat EL 5 + Oracle 11+ IBMJava2-AMD64-142.

      I've solved it by installation 64-bit version libXp:

      1. rpm -i libXp-1.0.0-8.1.el5.x86_64.rpm

      Try it.

      To tell the truth I had to deinstall 32-bit package first and IBM JAVA Package as dependent and install it again then:

      1. rpm -e libXp

      error: Failed dependencies:

      libXp.so.6 is needed by (installed) IBMJava2-AMD64-142-SDK-1.4.2-9.0.x86_64

      1. rpm -e IBMJava2-AMD64-142-SDK-1.4.2-9.0.x86_64

      2. rpm -e libXp

      3. rpm -i libXp-1.0.0-8.1.el5.x86_64.rpm

      4. rpm -i IBMJava2-AMD64-142-SDK-1.4.2-9.0.x86_64.rpm

      error: Failed dependencies:

      libXp.so.6 is needed by IBMJava2-AMD64-142-SDK-1.4.2-9.0.x86_64

      1. rpm -i libXp-1.0.0-8.1.el5.i386.rpm

      2. rpm -i IBMJava2-AMD64-142-SDK-1.4.2-9.0.x86_64.rpm

      Best regards,

      Andrey Pereyaslovets

      Edited by: Andrey Pereyaslovets on Nov 21, 2011 12:35 PM

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2011 at 11:03 AM

    Hi Hassan,

    Are you talking about permanent license for Java stack?

    Why are installing license manually for java stack on Solman? We only need to install license in ABAP stack (SLICENSE) for dual-stack systems. There is no need to install license for Java stack on dual-stack systems.

    Please clarify.

    Thanks,

    Siva Kumar

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Hasan,

      As far as I know, we don't need to install manually in Java stack, if system is dual-stack. That is the reason, we use to select "Standard ABAP+JAVA" from drop down list while requesting permanent license.

      Seems like Visual Admin does not show Java license because we install permanent license in ABAP stack, but note sure.

      Thanks,

      Siva Kumar

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.