Have a Question?

00998: BBj hangs when starting and attempts to break out of the process cause a core dump


BBj hangs when starting and attempts to break out of the process cause a core dump


Under Linux, a customer installed the 1.4.1_01 JRE and then installed BBj 2.0x+ and any attempt to start a BBj SysConsole window would appear to hang. If an attempt were made to break out of the process (ctrl-break), a core dump would then occur. 

Using the following command line: 

./bbj -tT3 -c../cfg/config.bbx 

where T3 alias line was: 

ALIAS T3 /dev/tty term 

The BBjServices.err file indicated: 

java.lang.UnsatisfiedLinkError: /usr/java/j2re1.4.1_01/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory 
at java.lang.ClassLoader$NativeLibrary.load(Native Method) 

and below the java.lang.ClassLoader$ not being loaded would also include errors indicating that none of the BBj classes could load either. 

This error occurred when the Linux box didn’t have the XWindows library directories available on the system. 


Checking the BBjServices.err file shows the following error: 

        java.lang.UnsatisfiedLinkError: /usr/java/j2re1.4.1_01/lib/i386/libawt.so: libXp.so.6: cannot open         shared object file: No such file or directory 

The libXp.so.6 is an integral part of the XWindows portion of the operating system install and even if XWindows is not configured or going to be used the directories need to be included in the os install. 

This is not a requirement of BBj but instead is required by the Java Runtime Engine. This problem does not occur when the XWindows libraries are resident on the system. 

The path to the above libraries may be different on your system than what is shown in the error message. Set and export the environmental variable: 


to point to the directory where libXp.so.6 resides. This variable may have to point to more than one subdirectory, depending on where each of the library files the JRE requires resides. Setting it for only libXp.so.6 may only solve the problem until it cannot find another library. This variable can be defined to point to multiple directories semi-colon delimited similar the environmental variable for PATH$. 

Last Modified: 12/27/2002 Product: BBj Operating System: Linux

BASIS structures five components of their technology into the BBx Generations.

Table of Contents
Scroll to Top