Closed
Bug 211110
Opened 22 years ago
Closed 22 years ago
Does not startup when javaplugin.so is present
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: martin.schmidt, Assigned: joshua.xia)
Details
User-Agent: Mozilla/5.0 (X11; U; AIX 0052A7FA4C00; en-US; rv:1.4b) Gecko/20030513
Build Identifier: Mozilla/5.0 (X11; U; AIX 0052A7FA4C00; en-US; rv:1.4b) Gecko/20030513
The mozilla-1.4b for AIX does not work with Java.
AIX oslevel: 5100-01
Java 14 : latest available version (30.06.2003)
Reproducible: Always
Steps to Reproduce:
1.Install mozilla by untaring the downloaded file
2.copy javaplugin.so to ./plugins
3.add the path to the java-libraries to all path defined in
run-mozilla, add lines to echo the paths
4.start mozilla
this gives an error message - see below
5.remove ./plugins/javaplugin.so
-> mozilla works, but at pages using Java (Javamaps ...) mozilla prompts to
download a plugin
6. I have tried to put libjavaplugin_oji.so at all places, where libraries are
expected by default. The error remains the same.
Actual Results:
INTERNAL ERROR on Browser End: Could not load libjavaplugin_oji.so: linking
error=A file or directory in
the path name does not exist.
System error?:: A file or directory in the path name does not exist.
The file
libjavaplugin_oji.so is present readable and executable.
Expected Results:
mozilla should work with Java. Even netscape 4.79 does this.
May be my Java installation is not correct, however, netscape works well.
Information on the expected path of libraries would be of great help.
Greetings,
Martin Schmidt
Comment 1•22 years ago
|
||
You have to symlink it, not copy it. It works this way with linux, so it should
work the same way with AIX ?
Summary: Does not startup when javaplugin.so is present → Does not startup when javaplugin.so is present
Comment 2•22 years ago
|
||
This same problem exists and does a very similar thing in Linux 7.3 and released
mozilla 1.4 (mozilla won't load with JVM 1.4.2 plugin installed) (Mozilla/5.0
(X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624):
blah:/home/bwright> ls -l
/usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 312688 Jun 20 02:33
/usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so
blah:/usr/local/mozilla/plugins> ln -s
/usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so
blah:/usr/local/mozilla/plugins> ls -la
total 1644
drwxr-xr-x 2 bwright root 4096 Jul 2 17:29 .
drwxr-xr-x 9 bwright root 4096 Jul 2 16:52 ..
-rwxr-xr-x 1 bwright bwright 856 May 15 19:01 flashplayer.xpt
-rwxr-xr-x 1 bwright bwright 1470464 May 15 19:01 libflashplayer.so
lrwxrwxrwx 1 root root 58 Jul 2 17:29 libjavaplugin_oji.so ->
/usr/java/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so
-rwxr-xr-x 1 bwright root 20448 Jun 24 08:38 libnullplugin.so
-rwxr-xr-x 1 bwright bwright 30857 May 15 19:01 plugger.so
-r-xr-xr-x 1 bwright bwright 131580 May 15 19:02 rpnp.so
-r--r--r-- 1 bwright bwright 2363 May 15 19:02 ShockwaveFlash.class
blah:/usr/local/mozilla/plugins> mozilla
INTERNAL ERROR on Browser End: No manager for initializing factory?
System error?:: Success
---------
When earlier Java VMs are tried, it gives something similar to the following:
LoadPlugin: failed to initialize shared library
/usr/java/j2re1.4.1_02/plugin/i386/ns610/libjavaplugin_oji.so
[/usr/java/j2re1.4.1_02/plugin/i386/ns610/libjavaplugin_oji.so: undefined
symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]
OR
LoadPlugin: failed to initialize shared library
/usr/java/jre1.3.1/plugin/i386/ns600/libjavaplugin_oji.so
[/usr/java/jre1.3.1/plugin/i386/ns600/libjavaplugin_oji.so: undefined symbol:
__vt_17nsGetServiceByCID]
I can't get any JavaVM (that I currently have) to function with released 1.4
Mozilla. However, with 1.4b, the JavaVM worked correctly.
Browser version Works with Java1.4.1_02:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030507
Browser version Fails with any JavaVM (including 1.4.2) per above:
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
Any of the three JavaVM plugins given with 1.4.2 (ns4, ns610 and ns610-gcc32)
all fail when I use them with the release version 1.4 of Mozilla. 1.4b worked
fine with 1.4.1_02 strangely enough.
Bug?
Comment 3•22 years ago
|
||
Well, on my linux box, I created a plugins directory in my ~/.mozilla/ folder,
where I put the symlink.
Is this working in your case ?
By the way, Sun JRE 1.4.2 and Blackdown 1.4.1 (gcc 3.2 version) are the only
working JRE with mozilla 1.4rc3 and younger.
Assignee | ||
Comment 4•22 years ago
|
||
put the symlink into mozilla/plugins
Comment 5•22 years ago
|
||
Was comment 4 in reference to me or Frederic? As you'll see above, I put the
j2re1.4.2 symlink into the mozilla/plugins folder without success. Where can I
find the Blackdown 1.4.1 version to try?
I haven't tried it in ~/.mozilla/plugins. I've only tried it in the installed
area which is /usr/local/mozilla/plugins and that doesn't work for me.
Comment 6•22 years ago
|
||
>Was comment 4 in reference to me or Frederic? As you'll see above, I put the
>j2re1.4.2 symlink into the mozilla/plugins folder without success. Where can I
>find the Blackdown 1.4.1 version to try?
I think it was for you.
Blackdown ? http://www.blackdown.org/
And if you want to download it, choose JRE built with gcc 3.2
>I haven't tried it in ~/.mozilla/plugins. I've only tried it in the installed
>area which is /usr/local/mozilla/plugins and that doesn't work for me.
So, try in ~/.mozilla/plugins ;-P
Comment 7•22 years ago
|
||
Ok, here are the results:
1) Can't get the Sun JVM plugin to work in either ~/.mozilla or
~/.mozilla/plugins. It doesn't find or attempt to load the library in either
place. Do I have to redirect Mozilla to this location through an environment
variable? I made sure to remove the libjavaplugin_oji.so from
/usr/local/mozilla/plugins before doing this.
2) Blackdown fails because it's looking for shared libraries that Redhat 7.3
apparently doesn't have:
blah:/usr/local/mozilla/plugins> mozilla
LoadPlugin: failed to initialize shared library
/usr/java/j2re1.4.1/plugin/i386/mozilla/javaplugin_oji.so [libstdc++.so.5:
cannot open shared object file: No such file or directory]
I'm sure I could jump through hoops to install whatever missing libraries it
needs, but I'd rather not.
Assignee | ||
Comment 8•22 years ago
|
||
Reporter | ||
Comment 9•22 years ago
|
||
Hi all,
This is the solution. Linking libjavaplugin_oji.so in $HOME/.mozilla/plugins
helps also for AIX.
I have used java14. It is called java141 by IBM but not seriously. So I think it
is 140. My system is AIX 5.1 (oslevel 5100-04), did not check 4.3 and earlier
versions of java.
Anyway, it is a workaround and should be fixed. Developers, please, a short
remark on AIX at the Webpages or in the README would be of great help.
Many thanks to all suggestions and to the developers for mozilla.
Martin Schmidt
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•