Closed Bug 164815 Opened 22 years ago Closed 22 years ago

Oracle Jinitiator is not working in Mozilla 1.1

Categories

(Plugins Graveyard :: JInitiator, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: pzucchia, Assigned: peterlubczynski-bugs)

References

()

Details

(Keywords: regression)

Hi!
Oracle Jinitiator is a modified version of the Java plugin version 1.1.7: it is
required to run Oracle Financials.
I've been using it with no problems on Mozilla and Netscape 6 for the last year
(sorry, I don't remember the mozilla version) until yesterday (mozilla 1.0).
Today I upgraded to mozilla 1.1 and it's no longer working. 
I cannot provide an URL to test, since it is on our corporate intranet.

My guess is that there is some javascript problem, since the start page loads
correctly and detects the presence of the plugin: if it's not installed, I'm
prompted for a download. However, once installed it is not loaded.

How can I help you identifying this problem?
I recently say the same problem on XP, on one user's PC. I will check the
Mozilla version there and report.

JInitiator is 1.1.7.31
Reporter: did you re-install the java plug-in after you installed the updated
version of Mozilla? If so, please verify that the plug-in dll's are in the
appropriate directory Program Files|Netscape|Netscape|plugins
Bug is also present on my Windows 2000 SP3 machine running Mozilla 1.1  A
reinstall of JInitiator does not solve the problem and the correct .dll files
are located in the Plugins directory.  Reinstalling 1.0 over 1.1 install fixes
problem.  Jinitiator version 1.1.8.11 and 1.1.8.16
At first I simply upgraded my mozilla installation. Then I did a fresh install
of both mozilla and Jinitiator: the correct .dll files are located in the
Plugins directory.

I'm running W2K SP3, Jinitiator 1.1.7.27.
Tim: when you installed 1.0 over 1.1 -- were there any file differences in the
directory?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Hi!

Here is an url to test this bug:
http://www.sciss.com/6iserver/apps/workman.htm

On first access, it will prompt you to download and install Jinitiator 1.1.7.31,
if  it is not already installed on your machine. 

The Jinitiator installation does not recognize mozilla, so you will have to copy
the NPJinit-11731.dll from the \bin directory of jinitiator (by default:
C:\Program Files\Oracle\JInitiator 1.1.7.31\bin) under the mozilla plugins
folder. You'll then have to restart mozilla.

Once the plugin is installed and you try to access that page, at first you'll
see a "Applet loading" screen and then (please be patient) an Oracle Reports
splash screen followed by (at least on my machine) an error message. 

You know that the plugin is working if:
1- something happens when you try to access
http://www.sciss.com/6iserver/apps/workman.htm
2- the status bar shows "Oracle JInitiator: Applet oracle.forms.engine.Main started"

As a matter of fact, in Mozilla 1.1 once you install the plugin you only get a
white page, and the status bar reads "Document: Done"
Jinitiator works fine under Netscape 7.0
I use WinNT SP6 and it is not working on it also. Jinitiator worked fine up to
1.1alpha. It stoped working in 1.1beta. I have to switch back to Mozilla 1.01 and
now to Netscape 7.0. For me the severity of this bug is blocker.

oji
Component: Plug-ins → OJI
oji again
Assignee: beppe → joe.chou
QA Contact: shrir → pmac
I can verify this problem on WinNT4SP6. Mozilla BuildID 2002090304. Oracle
JInitiator 1.1.8.7 , 1.1.8.19 and others.

Shirang, 

I'm not an expert, but it doesn't seem to me an OJI problem. OJI defines an
interface (see http://www.mozilla.org/oji/oji-intro.html ) to integrate a JVM
with the browser.

Oracle JInitiator is a classic plugin that uses the legacy Netscape Plugin API
(see  http://developer.netscape.com/docs/manuals/communicator/plugin/index.htm
). It doesn't implement any OJI functionality.

To verify what I say, look at the exported function on JInitiator DLL.
Right-click on the DLL ( NPJinit-1187.dll, NPJinit-11819.dll, etc ) and select
"Quick View". You wont see any OJI API functions there (no NSGetFactory,
NSRegisterSelf, NSUnregisterSelf or NSCanUnload).

CC'ing Shirang Khanzode
Tried the test case (in comment #6), and confirmed the finding in comment #8
that the Oracle plugin worked up to mozilla 1.1a (released on 06/11/02), and
broken in mozilla 1.1b (released on 07/22/02), and still broken in mozilla 1.1
(released on 08/26/02). 
Therefore, it looks like some change(s) checked in during that time broke the
Oracle plugin. Need to find out which one.

Since this does not seem to be related to OJI, as pointed out in comment #11,
re-assign to plug_ins. Peter, could you take a look at this one?
Assignee: joe.chou → peterlubczynski
Component: OJI → Plug-ins
Keywords: regression
Tested on Mozilla 1.2a, it's not working.
Patti: can you please try this on a clean machine. Install mozilla without java.
Please make sure that java is not previously installed on the system. Then
install the Oracle Jinitiator plug-in. Note the files that get installed, their
version, and location. Verify if the application works with Mozilla. If it does,
then please install the java application. Note the files that get installed,
their version and location. Also, review what Oracle Jinitiator files were
installed to see if any of them get written over by the java install. I think
what is happening here is that the java install overwrites Oracle Jinitiator
files and there is consequently a mismatch.
It works fine with Phoenix 0.1.
Unless someone can convince me otherwise, I don't think this has anything to do
with Java. Oracle Jinitiator looks to be a simple NPAPI plugin, exporting only
the NP entry points and is triggered on the
"application/x-jinit-applet;version=1.1.7.31" mime type.

Seems that this regression happened between 06/11/02 and 07/22/02. Sweetlou's
builds currently go back as far as April but that's an internal server that
doesn't just have the zips.
Peter: so you did the check to see if there is a file version mismatch?
I regularly connect to an Oracle 8 database which apparently requires Oracle
JInitiator 1.1.8.16. I had been using IE 6.0 exclusively (on Windows 2000 SP3)
with JInitiator 1.1.8.16 already installed. When I downloaded Mozilla 1.1 and
attempted to connect to the database, I was prompted to install the Oracle
JInitiator 1.1.8.16 plugin. I followed the onscreen directions to download and
reinstall the JInitiator. But now when I connect to my database site with
Mozilla, the applet fails to initialize, and I can't connect to the database. IE
6.0 continues to work fine.
 
I copied the JInitiator 1.1.8.16 dll's to the Mozilla plugins folder, and it
shows up fine in Mozilla's Plugins list. But it still doesn't work--instead of
the applet initializing, I just get a blank screen. Regressing to Mozilla 1.0
solves the problem, but why go backwards...? It appears from other comments here
that this problem began with Mozilla 1.1b and persists through 1.2a.

It also appears from the other comments here that JInitiator 1.1.7.27 works to
connect Mozilla 1.1 to an Oracle 6i database, but again, why go backwards? I
have no choice in the matter, anyway, and need to be able to connect to Oracle 8
with Jinitiator 1.1.8.16. 

So, what broke? And how to fix it?
There is no version mismatch. The DLL resoures show the same version as the mime
type.

However, all of a sudden this seems to work in my debug trunk build!! Could
someone else try a nightly build and post their results with their build ID.
Peter: so you checked and ensured that all of the java files are the same from
when we do the mozilla install and the Oracle Jinitiator install, and that the
updated version of java that we have in our install is not in conflict.
Beppe: The system this works on only has one JRE 1.4 that came with NS 7 and I
did not copy any DLLs.

So I installed this plugin on another system with JRE 1.4.1. This time, on
today's Netscape and Mozilla builds I crash in NPP_New (caught by plugin
exception handling). 

Could someone else verify this plugin is only compatible with JRE 1.4 and not
1.4.1 with a trunk nightly???
This works for me in today's trunk build. Marking WFM.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
It is working in Build ID : 2002093015. But, still we don't 
know why it stopped working and why it started working again. 
Will it work in 1.2 or even in 1.2beta we don't know. 
As far as I know Jinitiator uses it's own JRE specially tuned
to run Oracle Applications. It don't depends on External JRE's 
installed on the OS or available as plugin to mozilla. I have 
Sun JRE 1.40 installed as plugin in this build though. 
Works in 1.2 beta,Build Id : 2002101612.
I'm running Mozilla v1.2.1 build 20021130, windows 20000 sp3, and can't get any
version (even tried the latest v1.3.1.9) of the Oracle Jinitiator plugin to work.

Litz, are the NPJinit-*.dll under your mozilla\plugins directory? The jinitiator
installer does not copy the dll over there.
Pzucchia, I tried copying the NPJinit-*.dll's to the mozilla/plugins directory,
but it made no difference.  

BTW, the latest Jinitiator 1.3.1.9 install will copy the approprite dll's to the
mozilla/plugins directory -- it still no worky.

I'm trying:  http://ag-oas.kda.state.ks.us/servlet/f60servlet?config=wris
It did *not* copy NPJinit-11819.dll to mozilla/plugins directory, I had to
manually do it.

about:plugins shows this plugin?.

WFM here using the URL you mentioned.

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130
Litz,
you should make sure you have the version of your plugin and the version
required by the page you're trying to access match, otherwise it won't work. 
http://ag-oas.kda.state.ks.us/servlet/f60servlet?config=wris requires 1.1.8.19,
and will only work with NPJinit-11819.dll. A 1.3 jinitiator won't work, and not
even a 1.1.8.20, for that matters. It's very picky!

Did you restart mozilla after copying NPJinit-11819.dll?
It now WORKSFORME...

I was replacing my motherboard, and started with a fresh install of windows
2000, Mozilla 1.2.1, and JInitiator 1.1.8.19, copied the NPJinit-11819.dll to
the mozilla\plugins directory.  It all works.  Since then I've installed various
other plug-ins (shockwave, acrobat, java, etc), the "usual" applications, and
everything still works.  It must of just needed a clean install.
Component: Plug-ins → JInitiator
Product: Core → Plugins
QA Contact: pmac → oracle-jinitiator
Version: Trunk → unspecified
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.