Thursday, September 6, 2018

WAS pmt opening issue in AIX

Error :

./pmt.sh
XIO:  fatal IO error 57 (The specified file descriptor is not a socket.) on X server "localhost:12.0"
      after 413 requests (408 known processed) with 39 events remaining.
Eclipse:
JVM terminated. Exit code=1
/opt/IBM/WebSphere/AppServer/java/jre/bin/javaw
-Xbootclasspath/a:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar
-Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed
-Declipse.refreshBundles=true
-DJAVA_NATIVE_LIB_DIR=/opt/IBM/WebSphere/AppServer/lib/native/aix/ppc_64/
-DWAS_HOME=/opt/IBM/WebSphere/AppServer
-jar /opt/IBM/WebSphere/AppServer/bin/ProfileManagement/eclipse64//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-os aix
-ws gtk
-arch ppc64
-showsplash
-launcher /opt/IBM/WebSphere/AppServer/bin/ProfileManagement/eclipse64/eclipse
-name Eclipse
--launcher.library /opt/IBM/WebSphere/AppServer/bin/ProfileManagement/eclipse64/plugins/org.eclipse.equinox.launcher.gtk.aix.ppc64_1.0.0.R36x_v20101102/eclipse_1311.so
-startup /opt/IBM/WebSphere/AppServer/bin/ProfileManagement/eclipse64//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
-exitdata 200400
-clean
-perspective com.ibm.ws.pmt.views.standalone.perspectives.standAlonePerspective
-vm /opt/IBM/WebSphere/AppServer/java/jre/bin/javaw
-vmargs
-Xbootclasspath/a:/opt/IBM/WebSphere/AppServer/lib/bootstrap.jar
-Djava.endorsed.dirs=/opt/IBM/WebSphere/AppServer/endorsed_apis:/opt/IBM/WebSphere/AppServer/java/jre/lib/endorsed
-Declipse.refreshBundles=true
-DJAVA_NATIVE_LIB_DIR=/opt/IBM/WebSphere/AppServer/lib/native/aix/ppc_64/
-DWAS_HOME=/opt/IBM/WebSphere/AppServer
-jar /opt/IBM/WebSphere/AppServer/bin/ProfileManagement/eclipse64//plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar



Issue :

-nosplash attribute not available in below line inside pmt.sh file.

./eclipse -perspective com.ibm.ws.pmt.views.standalone.perspectives.standAlonePerspective  -vm "${JAVA_HOME}/jre/bin/javaw" "$@" -vmargs -Xbootclasspath/a:"${WAS_HOME}/lib/bootstrap.jar" -Djava.endorsed.dirs="${WAS_HOME}/endorsed_apis":"${JAVA_HOME}/jre/lib/endorsed" -Declipse.refreshBundles=true -DJAVA_NATIVE_LIB_DIR="${JAVA_NATIVE_LIB_DIR}" -DWAS_HOME="${WAS_HOME}"
cd "${CUR_DIR}"


Resolve :

Add -nosplash in the below line inside pmt.sh file.


./eclipse -perspective com.ibm.ws.pmt.views.standalone.perspectives.standAlonePerspective -nosplash -vm "${JAVA_HOME}/jre/bin/javaw" "$@" -vmargs -Xbootclasspath/a:"${WAS_HOME}/lib/bootstrap.jar" -Djava.endorsed.dirs="${WAS_HOME}/endorsed_apis":"${JAVA_HOME}/jre/lib/endorsed" -Declipse.refreshBundles=true -DJAVA_NATIVE_LIB_DIR="${JAVA_NATIVE_LIB_DIR}" -DWAS_HOME="${WAS_HOME}"
cd "${CUR_DIR}"

2 comments:

  1. perfect, it worked with me after a long troubleshooting day

    ReplyDelete
  2. worked for me too..awesome..what does the nosplash do

    ReplyDelete