Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: ccam@spiral2.its.latrobe.edu.au (Andrew Moar)
To: Christian Worley <cworley@altatech.com>
Subject: Re: Netscape 3.0 won't do Java applets under DUX 4.0x (DUX 3.2c works fine)
Date: 1997/02/13	[thread overview]
Message-ID: <5du3e3$8of$2@news.latrobe.edu.au> (raw)
In-Reply-To: 32FA97D3.41C6@altatech.com


In article <32FA97D3.41C6@altatech.com>,
	Christian Worley <cworley@altatech.com> writes:
> Hi,
> 
> I'm using Netscape 3.0 under DUX 4.0[a or b].  When I callup an .html
> that references a java applet (.class file), it spends a long time
> spinning it's wheels, leaves plenty of space for the applet to run in,
> but displays nothing.  Any applet will do; a local file or across the
> internet.

[ -snip- ]

Ahhh...the old Java wont work under Dunix 4.0 trick... here's a solution
that was posted a while back...

-----------------------------------------------------------------------
If you have access to a Digital UNIX 3.2D system, there is a workaround.

Article found that mentions the problem:


=======================================================================
We've discovered that the Java problem is the result of Navigator's
  reliance on some internal implementation details of the X Toolkit
  library (libXt) that changed between X11R5 and X11R6.

X11R5, which is included with Digital Unix v3.2C, provided a libXt
  that utilizes the C-RTL routine select() for handling IO between
  the client and the X server.  Navigator depends upon being able
  to intercept this call so that it can switch between the various
  threads it maintains.

With X11R6, which is included with Digital Unix v4.0, vendors can
  optionally compile libXt to use the C-RTL call poll() instead of
  select() for client/server IO.  The default for Digital Unix
  and all other operating systems that support the poll() call 
  is to build libXt with this option turned on, since using
  poll() instead of select() can enhance performance significantly.

  Unfortunately, Netscape has not yet modified Navigator to work
  properly with a libXt that uses poll() instead of select(), 
  with the result that secondary threads (like those used to run
  Java applets and the Java console) never execute.

  We are currently working with Netscape to get them to fix this
  bug, which will affect most other Unix vendors as well when
  they move to X11R6 and ship a libXt built in the recommended 
  way.  Meanwhile, the workaround mentioned can be used.

======================================================================

Solution
--------

1) As root, create directories

   /usr/3.2D and then /usr/3.2D/shlib

2) Copy Digital 3.2D UNIX files 

   /usr/shlib/libX11.so
   /usr/shlib/libXext.so
   /usr/shlib/libXm.so
   /usr/shlib/libXmu.so
   /usr/shlib/libXt.so

   into /usr/3.2D/shlib

DO NOT replace the 4.0 libraries with these!

   Change group and ownership to bin

   ie. chown bin:bin  *.* 

3) Exit as root and set the environmental variable 
   LD_LIBRARY_PATH to point to these new shared
   libraries

   ie. LD_LIBRARY_PATH=/usr/3.2D/shlib

   Netscape can now load secondary threads to run
   java applets etc.

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

You have got a 3.2D system haven't you ?!?  If not, I can send you the 
relevant files.
-- 
        Andrew Moar : Ph +61 3 9479 1505  email A.Moar@latrobe.edu.au
            Systems Programmer, Information Technology Services
                    La Trobe University, Melbourne



  parent reply	other threads:[~1997-02-13  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-06  5:00 Netscape 3.0 won't do Java applets under DUX 4.0x (DUX 3.2c works fine) Christian Worley
1997-02-10  5:00 ` Tim Mooney
1997-02-12  5:00 ` Andrew M Lau
1997-02-13  5:00 ` Andrew Moar [this message]
1997-02-13  5:00   ` Pete Ford
1997-02-13  5:00     ` Todd K. Pedlar
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox