* Netscape Communicator 4.01b6: Java not running with DU 4.0b!
@ 1997-07-08 4:00 Thomas Leitner
1997-07-09 4:00 ` Cliff Straw
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Leitner @ 1997-07-08 4:00 UTC (permalink / raw)
Hello,
I'm trying to run Netscape Communicator 4.01b6 under Digital Unix 4.0b
with the latest Patch Kit (004) installed and Java doesn't seem to run.
I open the Java Console, it says "Java starting" and the console
stays empty even when I load a page with a Java Applet. The Applet
does not start either.
Anyone any idea what could be wrong? Or did DEC screw up Netscape 4.01b6
with their latest Pthreads modification in patch kit #4?
Thanks -- Tom
--
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@finwds01.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Netscape Communicator 4.01b6: Java not running with DU 4.0b!
1997-07-08 4:00 Netscape Communicator 4.01b6: Java not running with DU 4.0b! Thomas Leitner
@ 1997-07-09 4:00 ` Cliff Straw
1997-07-10 4:00 ` Erik Persson
0 siblings, 1 reply; 3+ messages in thread
From: Cliff Straw @ 1997-07-09 4:00 UTC (permalink / raw)
To: Thomas Leitner
Thomas Leitner wrote:
> Hello,
>
> I'm trying to run Netscape Communicator 4.01b6 under Digital Unix 4.0b
>
> with the latest Patch Kit (004) installed and Java doesn't seem to
> run.
>
> I open the Java Console, it says "Java starting" and the console
> stays empty even when I load a page with a Java Applet. The Applet
> does not start either.
>
> Anyone any idea what could be wrong? Or did DEC screw up Netscape
> 4.01b6
> with their latest Pthreads modification in patch kit #4?
Thank you for trying the beta version of Communicator on Digital UNIX.
This problem is caused by a long standing bug in Netscape Navigator,
which has now migrated to Netscape Communicator.
The root of the problem is the use of the C RTL function poll() versus
select() in the X Toolkit library (libXt). In X11R5, libXt performed
all of its I/O multiplexing using the select() call. With X11R6 the
default option is have libXt use the C RTL function poll() instead of
select() for I/O multiplexing. For performance reasons, the X11R6 libXt
that ships with Digital UNIX V4.0 uses poll() instead of select(). The
use of select() or poll() by libXt is undocumented. Any vendor shipping
libXt is free to choose which mechanism to use.
Netscape Navigator takes advantage of this undocumented implementation
detail to intercept calls to slect(), which allows it to manage its
threads and to distribute X events among these threads. Unfortunately,
Navigator does not intercept calls to poll(). The result when using a
libXt built with poll() is that only the main thread (which controls the
main Navigator windows) receives and processes X events, other threads
(which control Java applets and the Java console window) never receive
any X events and consequently appear to be "dead".
The Netscape Navigator Gold kit available from the Digital web site
patches this problem by shipping a special version of libXt built to use
select(). This libXt is only used when running Navigator.
Netscape has told us that this problem will be fixed in Communicator. A
temporary workaround is to download the Navigator Gold V3.01 kit from
http://www.unix.digital.com/products/internet. Extract the libXt.so
library to a directory (DO NOT replace /usr/shlib/libXt.so with this).
Before running Communicator, set the environment variable
LD_LIBRARY_PATH to the path where you placed libXt.so
--
Cliff Straw Digital UNIX Web Software Group
Mailstop: ZKO3-2/W17 email: straw@zk3.dec.com
Digital Equipment Corporation (603) 881-0949
110 Spit Brook Road (dtn) 381-0949
Nashua, NH 03062-2698
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Netscape Communicator 4.01b6: Java not running with DU 4.0b!
1997-07-09 4:00 ` Cliff Straw
@ 1997-07-10 4:00 ` Erik Persson
0 siblings, 0 replies; 3+ messages in thread
From: Erik Persson @ 1997-07-10 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1378 bytes --]
Cliff Straw <straw@zk3.dec.com> writes:
> The Netscape Navigator Gold kit available from the Digital web site
> patches this problem by shipping a special version of libXt built to use
> select(). This libXt is only used when running Navigator.
>
> Netscape has told us that this problem will be fixed in Communicator. A
> temporary workaround is to download the Navigator Gold V3.01 kit from
> http://www.unix.digital.com/products/internet. Extract the libXt.so
> library to a directory (DO NOT replace /usr/shlib/libXt.so with this).
> Before running Communicator, set the environment variable
> LD_LIBRARY_PATH to the path where you placed libXt.so
>
> --
> Cliff Straw Digital UNIX Web Software Group
> Mailstop: ZKO3-2/W17 email: straw@zk3.dec.com
> Digital Equipment Corporation (603) 881-0949
> 110 Spit Brook Road (dtn) 381-0949
> Nashua, NH 03062-2698
If you are running Digital Unix 4.0b you don't have to go that far in
order to find an appropriate libXt.so. If the OSFNETSCAPE410 subset is
installed (Digital Unix bundled Navigator) you can find libXt.so in
/usr/lib/netscape.
/Erik
--
Erik Persson, System Manager e-mail: erik@ikp.liu.se
Dept. of Mech. Engineering Voice: +46 13 28 2464
Division of Solid Mechanics Fax: +46 13 21 2717
University of Link�ping, Sweden
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-07-10 4:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-08 4:00 Netscape Communicator 4.01b6: Java not running with DU 4.0b! Thomas Leitner
1997-07-09 4:00 ` Cliff Straw
1997-07-10 4:00 ` Erik Persson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox