Jaspreet,
if you have TWS, you probably have a support contract. My first suggestion is to open a support case at IBM ;-)
My second suggestion is to check files which are referenced in the error message:
/usr/common/TWS/agent.installer.aix.gtk.ppc_1.9.2007.20240131_1836/configuration/org.eclipse.osgi/783/0/.cp/libswt-pi-gtk-4630.a
/usr/common/TWS/agent.installer.aix.gtk.ppc_1.9.2007.20240131_1836/configuration/org.eclipse.osgi/783/0/.cp/liblibswt-pi-gtk-4630.a.so
/roothome/.swt/lib/aix/ppc/libswt-pi-gtk-4630.a
/roothome/.swt/lib/aix/ppc/liblibswt-pi-gtk.a.so
If they don't exist, I think you reinstall your software.
It is too TWS-specific case and I think only IBM support can advise you something here. Or you can post into a TWS community, but I don't know which one it is.
------------------------------
Andrey Klyachkin
https://www.power-devops.com------------------------------
Original Message:
Sent: Mon March 04, 2024 08:40 AM
From: Jaspreet Chadda
Subject: Error while installing TWS on AIX server.
While installing TWS upgraded version, getting below error.
00:00.63 ERROR [main] com.ibm.cic.agent.internal.ui.AgentUI reportStatus
Could not load SWT library. Reasons:
/usr/common/TWS/agent.installer.aix.gtk.ppc_1.9.2007.20240131_1836/configuration/org.eclipse.osgi/783/0/.cp/libswt-pi-gtk-4630.a ( 0509-022 Cannot load module /usr/common/TWS/agent.installer.aix.gtk.ppc_1.9.2007.20240131_1836/configuration/org.eclipse.osgi/783/0/.cp/liblibswt-pi-gtk-4630.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
swt-pi-gtk (Not found in java.library.path)
/roothome/.swt/lib/aix/ppc/libswt-pi-gtk-4630.a ( 0509-022 Cannot load module /roothome/.swt/lib/aix/ppc/liblibswt-pi-gtk-4630.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
/roothome/.swt/lib/aix/ppc/libswt-pi-gtk.a ( 0509-022 Cannot load module /roothome/.swt/lib/aix/ppc/liblibswt-pi-gtk.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:
/usr/common/TWS/agent.installer.aix.gtk.ppc_1.9.2007.20240131_1836/configuration/org.eclipse.osgi/783/0/.cp/libswt-pi-gtk-4630.a ( 0509-022 Cannot load module /usr/common/TWS/agent.installer.aix.gtk.ppc_1.9.2007.20240131_1836/configuration/org.eclipse.osgi/783/0/.cp/liblibswt-pi-gtk-4630.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
swt-pi-gtk (Not found in java.library.path)
/roothome/.swt/lib/aix/ppc/libswt-pi-gtk-4630.a ( 0509-022 Cannot load module /roothome/.swt/lib/aix/ppc/liblibswt-pi-gtk-4630.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
/roothome/.swt/lib/aix/ppc/libswt-pi-gtk.a ( 0509-022 Cannot load module /roothome/.swt/lib/aix/ppc/liblibswt-pi-gtk.a.so.
0509-026 System error: A file or directory in the path name does not exist.)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:327)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:26)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
Please suggest
------------------------------
Jaspreet Chadda
------------------------------