Cant load plugin libjavaplugin_oji.so

From: Vincent Blondel <vincent_at_xtra-net.org>
Date: Fri, 04 Nov 2005 17:51:51 +0100
Dears,

I get a cisco PIX firewall and to access the built-in web interface (PDM
- PIX Cisco Device Manager), it is highly recommended to use Netscape
Navigator 4.78 and Linux JVM 1.4.1_02.

So I downloaded these two softwares on my current (7.0) FreeBSD system
and installed them in /opt as :

  /opt/netscape-4.78
  /opt/jre1.4.1_02

I configured my system by setting :

  COMPAT="/usr/compat/linux"
  JAVA_HOME="/opt/j2re1.4.1_02"

  export COMPAT JAVA_HOME

  PATH=$JAVA_HOME/bin:$COMPAT/sbin:$COMPAT/bin:$COMPAT/usr/sbin:$
COMPAT/usr/bin:$COMPAT/usr/X11R6/bin:$PATH
  LD_LIBRARY_PATH=$COMPAT/lib:$COMPAT/usr/lib:$COMPAT/usr/X11R6/lib
  DISPLAY=:0.0

  export PATH LD_LIBRARY_PATH DISPLAY

I also created a symbolic link in my home dir to the right JVM with :

/root/.netscape/plugins/libjavaplugin_oji.so
-> /opt/j2re1.4.1_02/plugin/i386/ns600/libjavaplugin_oji.so

Netscape runs correctly but it can't load the JVM plugin. You get below
the resulted output from the 'truss' command.

Can somebody help me ?

Regards

  ---------------

linux_open("/root/.netscape/plugins",0x18800,00) = 14 (0xe)
linux_fstat64(0xe,0xbfbf77b0,0x289d9160)         = 0 (0x0)
linux_fcntl64(0xe,0x2,0x1)                       = 0 (0x0)
linux_getdents64(0xe,0x8b86030,0x1000)           = 88 (0x58)
linux_stat64(0xbfbf7858,0xbfbf7708,0xbfbf7858)   = 0 (0x0)
linux_stat64(0xbfbf7858,0xbfbf76f0,0xbfbf7858)   = 0 (0x0)
linux_open("/root/.netscape/plugins/libjavaplugin_oji.so",0x0,011773) =
15 (0xf)
read(0xf,0xbfbf7240,0x200)                       = 512 (0x200)
linux_fstat64(0xf,0xbfbf715c,0x286a2bfc)         = 0 (0x0)
linux_mmap(0xbfbf708c)                           = 681594880
(0x28a05000)
linux_mmap(0xbfbf708c)                           = 681775104
(0x28a31000)
close(15)                                        = 0 (0x0)
mprotect(0x28a05000,180224,(0x3)PROT_READ|PROT_WRITE) = 0 (0x0)
SIGNAL 14 (SIGALRM)
SIGNAL 14 (SIGALRM)
gettimeofday({1131122073 697734},0x0)            = 0 (0x0)
linux_sigreturn(0xbfbf70a0)                      = 0 (0x0)
munmap(0x28a05000,0x3446c)                       = 0 (0x0)
ERROR: /root/.netscape/plugins/libjavaplugin_oji.so: undefined symbol:
GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager
Cant load plugin /root/.netscape/plugins/libjavaplugin_oji.so. Ignored.
write(2,0xbfbf50fc,208)                          = 208 (0xd0)
linux_getdents64(0xe,0x8b86030,0x1000)           = 0 (0x0)
close(14)                                        = 0 (0x0)
Received on Fri Nov 04 2005 - 15:53:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:47 UTC