Re: Why Japanese......????

1998-11-09 Thread Alex Mkelemi

Could anyone give me starting point:

Why Japanese have faired well in the hardware industry but have made very
little impact on software.

Thanx



S.u.S.E 5.3 and Java opinions welcome

1998-11-09 Thread Matt Zagni

Hi,

Has any one had any problems with S.u.S.E 5.3 glib
and JDK, JSDK, and JavaWebServer1.1 ?

I am going to move to S.u.S.E from slackware if all 
goes well, as I need glib and rpm support.

Any tips would be great.

Many thanks

Matt


> Resent-Date: Sat, 7 Nov 1998 10:06:08 -0500
> From: Michael Sinz <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Date: Sat, 07 Nov 1998 10:05:07 -0500
> Subject: Re: Which version of linux on which is JDK compiled?
> Resent-Message-Id: <"YqAGO.0.HZ3.V76Hs"@shell>
> Resent-From: [EMAIL PROTECTED]
> X-Mailing-List: <[EMAIL PROTECTED]> archive/latest/3364
> X-Loop: [EMAIL PROTECTED]
> Resent-Sender: [EMAIL PROTECTED]
> Mime-Version: 1.0
> Content-Transfer-Encoding: 7bit
> 
> On Sun, 01 Nov 1998 18:26:43 +0900, SHUDOH Kazuyuki wrote:
> 
> >[EMAIL PROTECTED]("Michael Sinz") wrote:
> >
> >> >What platform on which does binary distribution of JDK
> >> >for linux compiled? Which version of linux kernel?
> >
> >> On x86 we use the production kernels since most users will
> >> be using such kernels.  Other platforms may use other
> >> kernels.
> >
> >On other processors, e.g. Alpha, PowerPC and SPARC,
> >what version of kernel is used generally?
> >What platform on which does binary distribution compiled?
> 
> The PowerPC group tends to use a relatively new 2.1.x (2.1.100+)
> kernel.  There are some fixes that are in the kernels and the
> glibc that are needed there.
> 
> I don't know about Sparc but I would guess that it is RedHat
> based given the RedHat support for the Sparc.
> 
> The Alpha work I will be doing will be stable kernel based as much
> as possible (such as 2.0.35, which is what I am currently running)
> The base system started out as a RedHat 5.0 distribution but has
> been updated with many things since then.
> 
> The JDK 1.1.7 v1a release was compiled for glibc on a 2.0.35 kernel
> with RedHat 5.0 (plus lots of updates)  The libc5 was build on a
> rather generic SuSE 5.2 distribution with only minor upgrades.
> 
> Michael Sinz -- Director of Research & Development, NextBus Inc.
> mailto:[EMAIL PROTECTED] - http://www.nextbus.com
> My place on the web ---> http://www.users.fast.net/~michael_sinz
> 
> 



Do it for Yourself or We can Do it for You !

1998-11-09 Thread bladerunner21


WANT TO DO IT YOURSELF


Do you have a product or service that you want to market?

  Direct emailing is the most cost-effective way to advertise not only on the Internet,

 but out of any marketing media.  Where else can you get your ad to millions for 
so little?


2 Million email addresses-$199 + a full feature RapidFire Emailer
  (very fresh)

5 Million email addresses-$299 + a full feature RapidFire Emailer
  (very fresh)

15 Million email addresses-$499 +a full feature RapidFire Emailer



 This Mailer sends email messages directly to your recipients Mail Server !  
Rapid Fire Mail Server works with any Windows 95 or NT computer.It
requires no additional hardware or software.The software 
Delivers each and every
message right before your eyes direct to the receipient.



 OR



WE CAN Mail 4 You- Just don't want the trouble? No problem We can 
take care of all your advertising needs. With no trouble for you.
Looking for responsive AOL, Prodigy, delphi, MCI, Compuserve
recipiants or any or all of our 60 Million email recipiants.
Remember,people can't buy or use your services if  They don't
know about Them, and commercial email IS the cheapest
and most cost effective way to get the word out there.
We can get that news directly into the mailbox of good
prospective recipiants consistantly, So don't wait.
  
We Can Mail For You Now, while these prices last !!!


*First time customer Special !!!


*Advertise to 200,000 people for  $299 Special !!! 


Advertise to 1 Million people  for $999   SALE $899.99 sale

Advertise to 3 Million people  for $1995

Advertise to 5 Million people  for $2999

Advertise to 10 Million people  for $3995


   
Targeted and aol Mailing is possible at a rate of $199 per 10,000

 
Targeted  lists  can  be  purchased  for   $99   per  10,000




Just give Us a call at 1888-365-  ext.1648


















Member of National Organization of Internet Commerce. To have your name added
 to our universal remove list please go to [EMAIL PROTECTED] and the name will be added
 and distributed to all of our members or   [EMAIL PROTECTED]














c/o  AAA Services  1-888-365- ext. 1648
230 West Hall Avenue   PO Box 202  Slidell, LA 70460










rev--cb-2-11


   
   
Thank You, And GOD Bless



RMI Help needed...

1998-11-09 Thread Daniel Harris

Fellow Blackdown'ers:
I am using the jdk1.1.6v5 port of Java, running apache at home. I was
wondering what I need to install and how to go about it to get into RMI
Development.
Are there any good tutorials for installing RMI with apache.

Any help on this matter would be useful.

Dan.



Re: Sun's Commitment to Port JDK 1.2 to Linux

1998-11-09 Thread sml13

My understanding (this release that you link to is very nebulous...it 
doesn't really say the level of support) from what SB has said on this 
list is that they are just giving the team early-access to the source 
code AND the compatibility checker (JCK).  Is this all they are doing, or 
are there engineers at Sun Micro actually writing Linux code?  And, will 
this port be advertised/available on Sun's page with the other ports 
(Solaris and Windows)?  Steve?

shane

On Sun, 8 Nov 1998, Tony Pujals wrote:

> I was excited to hear about Sun's commitment to porting JDK 1.2 to Linux
> (see http://www.javasoft.com/pr/1998/11/pr981102-01.html) and as new
> subscriber to this list, I'd be interested in reading any thread
> discussions that have already taken place on this topic. I'm especiallly
> curious about when this is likely to happen, and how this changes anything
> for the Blackdown Java-Linux porting project, if it does at all.
> 
> If this is an old thread, can anybody tell me how to request an archive
> from this list server? If not, anybody care to comment now?
> 
> Thanks,
> 
> Tony
> 
> --
>   Tony Pujals
> 
> Mail: ObjectMedia, Inc.
>   1400 Coleman Avenue, Ste. A21
>   Santa Clara, CA 95050
> 
> Tel:  (408) 235-8700 x101
> Fax:  (408) 235-8774
> Email:[EMAIL PROTECTED]
> Web:  http://www.objectmedia.com
> 
> Unite for Java - Join the Java Lobby Now!
> http://www.javalobby.org
> 
> "It don't mean a thing if it ain't got that that Swing"
> 
> 
> 
> 



(no subject)

1998-11-09 Thread Ravindran Nagarajah

unsubscribe java-linux



When will JDK1.2 available

1998-11-09 Thread Eric Wong

Hi,

Just want to ask as the titled, thanx for guys like you to make Java
work on linux and I really hope java and linux can take over microsoft's
buggy products. Hope you could give a mail to me once it is available.
Thankx

>From newbie
Eric



RE: Some weird security problems in netscape

1998-11-09 Thread Harold G. Andrews II




I ran 
into a similar problem when I had two applets in the same HTML document and 
wanted to send mouse events from one to the other via network sockets (I was 
doing it to prove to myself that I could, not for any other really practical 
purposes).  I could get it to work okay using appletviewer, and Microsoft's 
Internet Explorer Version 4 (after disabling the network security 
checking).  The only thing I've been able to figure for Netscape, however, 
is that you have to have your applet signed by some kind of certificate 
authority.  This costs money, so I've never done it.  If there is a 
less expensive (i.e. free) way of doing this, I don't know.  If anybody out 
there has a notion how to completely disable the network security checking in 
Netscape, I'd like to be your friend.  Thanks
 
 
-Andy
 
 

-Original Message-From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf 
Of Dimitris VyzovitisSent: Sunday, November 08, 1998 7:55 
PMTo: Java Linux ListSubject: Some weird security 
problems in netscapeHi ! I am having some weird 
security problems with netscape 4.5 I have an applet that tries to fetch 
some data over the net. The data are located in the same host as the applet 
and under its codeBase. It is my conception, that the applet should 
download the data normally. But this is what I get: 
netscape.security.AppletSecurityException: security.class from local disk 
trying to access url: http://egnatia.ee.auth.gr/~dviz/dip/images/lena256.raw 
  at 
netscape.security.AppletSecurity.checkURLConnect(AppletSecurity.java:944) 
  at 
java.lang.SecurityManager.checkURLConnect(SecurityManager.java:1239) 
  at netscape.net.URLConnection.connect(URLConnection.java:79) 
  at 
netscape.net.URLConnection.getInputStream(URLConnection.java:198)   
at java.net.URL.openStream(URL.java:606)   at 
dip.applets.DIPApplet._fetchImage(DIPApplet.java:131)   at 
dip.applets.DIPApplet._loadImages(DIPApplet.java:121)   at 
dip.applets.DIPApplet.init(DIPApplet.java:63) * at 
netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(DerivedAppletFrame.java:553) 
  at 
java.awt.EventDispatchThread$EventPump.dispatchEvents(EventDispatchThread.java:81) 
  at java.awt.EventDispatchThread.run(EventDispatchThread.java:135) 
  at 
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(DerivedAppletFrame.java:911) 

Has anybody got a clue about what this means and how I could work around 
it?     -- 
Dimitrios Vyzovitis  -- Information Processing Laboratory
[EMAIL PROTECTED] -- Aristotle University of Thessaloniki
[EMAIL PROTECTED] -- Dept. of Electrical and Computer Engineering
    http://egnatia.ee.auth.gr/~dviz  



FW: Some weird security problems in netscape

1998-11-09 Thread Tar . Zoltan

> From: Tar Zoltán (István út)
> Sent: 1998. november 9. 16:13
> To:   '[EMAIL PROTECTED]'
> Subject:  RE: Some weird security problems in netscape
> 
> 
>   Use Java plugin and signed jar files, then you never have
>   security problem.
> 
>   You can find more from signed jar, at java.sun.com, in the
> Tutorial section.
> 
>   Zoltan TAR.
> 
> --
> From: Harold G. Andrews II[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: 1998. november 9. 15:42
> To:   Dimitris Vyzovitis; Java Linux List
> Subject:  RE: Some weird security problems in netscape
> 
> I ran into a similar problem when I had two applets in the same HTML
> document and wanted to send mouse events from one to the other via
> network sockets (I was doing it to prove to myself that I could, not
> for any other really practical purposes).  I could get it to work okay
> using appletviewer, and Microsoft's Internet Explorer Version 4 (after
> disabling the network security checking).  The only thing I've been
> able to figure for Netscape, however, is that you have to have your
> applet signed by some kind of certificate authority.  This costs
> money, so I've never done it.  If there is a less expensive (i.e.
> free) way of doing this, I don't know.  If anybody out there has a
> notion how to completely disable the network security checking in
> Netscape, I'd like to be your friend.  Thanks
>  
>  
> -Andy
>  
>  
> 
>   -Original Message-
>   From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Dimitris Vyzovitis
>   Sent: Sunday, November 08, 1998 7:55 PM
>   To: Java Linux List
>   Subject: Some weird security problems in netscape
> 
> 
>   Hi ! 
>   I am having some weird security problems with netscape 4.5 
>   I have an applet that tries to fetch some data over the net. The
> data are located in the same host as the applet and under its
> codeBase. 
>   It is my conception, that the applet should download the data
> normally. 
>   But this is what I get: 
> 
>   netscape.security.AppletSecurityException: security.class from
> local disk trying to access url:
> http://egnatia.ee.auth.gr/~dviz/dip/images/lena256.raw 
>     at
> netscape.security.AppletSecurity.checkURLConnect(AppletSecurity.java:9
> 44) 
>     at
> java.lang.SecurityManager.checkURLConnect(SecurityManager.java:1239) 
>     at netscape.net.URLConnection.connect(URLConnection.java:79) 
>     at
> netscape.net.URLConnection.getInputStream(URLConnection.java:198) 
>     at java.net.URL.openStream(URL.java:606) 
>     at dip.applets.DIPApplet._fetchImage(DIPApplet.java:131) 
>     at dip.applets.DIPApplet._loadImages(DIPApplet.java:121) 
>     at dip.applets.DIPApplet.init(DIPApplet.java:63) 
>   * at
> netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(DerivedApp
> letFrame.java:553) 
>     at
> java.awt.EventDispatchThread$EventPump.dispatchEvents(EventDispatchThr
> ead.java:81) 
>     at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:135) 
>     at
> netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Deriv
> edAppletFrame.java:911) 
> 
>   Has anybody got a clue about what this means and how I could
> work around it? 
>     
>     
>   -- 
>   Dimitrios Vyzovitis  -- Information Processing Laboratory
>   [EMAIL PROTECTED] -- Aristotle University of Thessaloniki
>   [EMAIL PROTECTED] -- Dept. of Electrical and Computer
> Engineering
>        http://egnatia.ee.auth.gr/~dviz
>     
> 
> 
> 



Re: Some weird security problems in netscape

1998-11-09 Thread Dimitris Vyzovitis


Hi,
I think I figured out a hack to avoid signing (although I should start
using some form of certificates really soon).
Simply put: Encode raw data in a standard lossless image format, fetch
over the net using getImage (and a media tracker perhaps) and then decode
it by grabbing the pixels of the image
It sounds really hacked, but I think it can work.
Perhaps the plugin approach is better. Has anybody tried using it under
Lunx?
Dimitris
 
 
I
ran into a similar problem when I had two applets in the same HTML document
and wanted to send mouse events from one to the other via network sockets
(I was doing it to prove to myself that I could, not for any other really
practical purposes).  I could get it to work okay using appletviewer,
and Microsoft's Internet Explorer Version 4 (after disabling the network
security checking).  The only thing I've been able to figure for Netscape,
however, is that you have to have your applet signed by some kind of certificate
authority.  This costs money, so I've never done it.  If there
is a less expensive (i.e. free) way of doing this, I don't know. 
If anybody out there has a notion how to completely disable the network
security checking in Netscape, I'd like to be your friend. Thanks-Andy



Re: Do it for Yourself or We can Do it for You !

1998-11-09 Thread Andrew McLaughlin

Can we filter the spam from the list?

Andrew

[EMAIL PROTECTED] wrote:

> WANT TO DO IT YOURSELF
>
> Do you have a product or service that you want to market?
>
>   Direct emailing is the most cost-effective way to advertise not only on the 
>Internet,
>
>  but out of any marketing media.  Where else can you get your ad to millions for 
>so little?
>
> 2 Million email addresses-$199 + a full feature RapidFire Emailer
>   (very fresh)
>
> 5 Million email addresses-$299 + a full feature RapidFire Emailer
>   (very fresh)
>
> 15 Million email addresses-$499 +a full feature RapidFire Emailer
>
>  This Mailer sends email messages directly to your recipients Mail Server !
> Rapid Fire Mail Server works with any Windows 95 or NT computer.It
> requires no additional hardware or software.The software
> Delivers each and every
> message right before your eyes direct to the receipient.
>
>  OR
>
> WE CAN Mail 4 You- Just don't want the trouble? No problem We can
> take care of all your advertising needs. With no trouble for you.
> Looking for responsive AOL, Prodigy, delphi, MCI, Compuserve
> recipiants or any or all of our 60 Million email recipiants.
> Remember,people can't buy or use your services if  They don't
> know about Them, and commercial email IS the cheapest
> and most cost effective way to get the word out there.
> We can get that news directly into the mailbox of good
> prospective recipiants consistantly, So don't wait.
>
> We Can Mail For You Now, while these prices last !!!
>
> *First time customer Special !!!
>
> *Advertise to 200,000 people for  $299 Special !!!
>
> Advertise to 1 Million people  for $999   SALE $899.99 sale
>
> Advertise to 3 Million people  for $1995
>
> Advertise to 5 Million people  for $2999
>
> Advertise to 10 Million people  for $3995
>
>
> Targeted and aol Mailing is possible at a rate of $199 per 10,000
>
>
> Targeted  lists  can  be  purchased  for   $99   per  10,000
>
> Just give Us a call at 1888-365-  ext.1648
>
> Member of National Organization of Internet Commerce. To have your name added
>  to our universal remove list please go to [EMAIL PROTECTED] and the name will be added
>  and distributed to all of our members or   [EMAIL PROTECTED]
>
> c/o  AAA Services  1-888-365- ext. 1648
> 230 West Hall Avenue   PO Box 202  Slidell, LA 70460
>
> rev--cb-2-11
>
>  
>  
>   Thank You, And GOD Bless

--
Andrew McLaughlin
Manager, Applications Software Development
People 1st Technology Group, Inc.
http://www.people-1st.com
714/668-7151




Uncle George's Alpha Port

1998-11-09 Thread John Goerzen


Hi,

The archives don't show e-mail addresses or else I'd write to Uncle George
directly.

Anyway, I understand there is some problem with your Web provider.  I'd
encourage you to upload your port of JDK to Alpha to sunsite or someplace
like that.  I believe there is significant interest in it, and it's a shame
to have a situation where nobody can use the port to such an excellent
machine because your web provider is being nasty.  Sunsite has many, many
mirrors and once it's on there, this ought to eliminate all future problems.

Is there any other way to get it from you?

Thanks,
John Goerzen



TYA1.1v4 released

1998-11-09 Thread Albrecht Kleine

Hi,

The _latest_ TYA JIT compiler release you find on TYA's ftp home:

ftp://gonzalez.cyberus.ca/pub/Linux/java/tya11v4.tgz


Some notes: This release introduces a new JNI approach.
If you have any JNI-trouble report this please and meanwhile
disable JNINATIVENEW.
If you are runing an newer 2.1.x kernel, it is possible
you have to disable EXCEPTIONS_BY_SIGNAL.
For some other news and changes look into Changelog and 
README files.


Enjoy,
Albrecht



Re: Some weird security problems in netscape - getting worse

1998-11-09 Thread Dimitris Vyzovitis

Can anyone explain how can getImage return a null pointer in netscape
while it worxs in appletviewer (and msie, although i wouldn't like to
s=admit ) ?

java.lang.NullPointerException: trying to call hasError()Z
* at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:275)
  at dip.applets.DIPApplet.run(DIPApplet.java:123)
  at java.lang.Thread.run(Thread.java:504)
java.io.IOException: vcafe: not found
  at java.lang.Runtime.exec(Runtime.java:170)
* at java.lang.Runtime.exec(Runtime.java:134)
  at netscape.debug.Debugger.launchDebugger(Debugger.java:93)
  at netscape.debug.Debugger.uncaughtException(Debugger.java:37)
  at
netscape.applet.AppletThreadGroup.uncaughtException(AppletThreadGroup.java:49)

After some assertins in code (I removed them), it seems that the call
Image temp = getImage( getCodeBase(), imageInfo_[i].file_ );
returns null. How can this be?

Dimitris



pipe question

1998-11-09 Thread Daniel W. Dulitz x108


This is a general Java question, although it might (possibly) point to
a bug in the v5 port or in 1.1.6 itself.

Under what circumstances does PipedInputStream.read() or
PipedOutputStream.write() throw an IOException for "Pipe broken?"

Intuitively, what I think should happen is that a pipe throws an
IOException if either (a) it hasn't been connected to another pipe,
(b) close() was called on the pipe it had been connected to, or (c)
finalize() ran on the pipe it had been connected to.

However, I'm getting a "Pipe broken" IOException even though the pipe
is connected to another pipe and neither close() nor finalize() has
been run on either the input pipe or the output pipe.

*If* what I just described were true, would it be a bug in Java, or am 
I misunderstanding the cases when "Pipe broken" is thrown?

Thanks very much for your help; this problem is causing a nasty
bug just prior to release.

Best,
daniel dulitz

Valley Technologies, Inc.   Peak Performance Real-Time DSP
State College, PA



Re: Some weird security problems in netscape - getting worse

1998-11-09 Thread Alex Romadinoff

Do you try to read images from jar ?
In this case try to place your images out of jar-file.

-Original Message-
From: Dimitris Vyzovitis <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; Java Linux List
<[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
Date: Monday, November 09, 1998 9:07 PM
Subject: Re: Some weird security problems in netscape - getting worse


>Can anyone explain how can getImage return a null pointer in netscape
>while it worxs in appletviewer (and msie, although i wouldn't like to
>s=admit ) ?
>
>java.lang.NullPointerException: trying to call hasError()Z
>* at sun.awt.motif.X11Graphics.drawImage(X11Graphics.java:275)
>  at dip.applets.DIPApplet.run(DIPApplet.java:123)
>  at java.lang.Thread.run(Thread.java:504)
>java.io.IOException: vcafe: not found
>  at java.lang.Runtime.exec(Runtime.java:170)
>* at java.lang.Runtime.exec(Runtime.java:134)
>  at netscape.debug.Debugger.launchDebugger(Debugger.java:93)
>  at netscape.debug.Debugger.uncaughtException(Debugger.java:37)
>  at
>netscape.applet.AppletThreadGroup.uncaughtException(AppletThreadGroup.java:
49)
>
>After some assertins in code (I removed them), it seems that the call
>Image temp = getImage( getCodeBase(), imageInfo_[i].file_ );
>returns null. How can this be?
>
>Dimitris
>

With best wishes,
Alex Romadinoff, Lead Software Developer, Mac department, OpenTeach, Ltd.



JDBC on Linux

1998-11-09 Thread Carlos Alberto Roman Zamitiz

I have an applet which imports java.sql and it provides DB access, Sybase
system 10 specifically, and my applet works fine but I programmed my
applet on Win32. I downloaded the driver ConnectSoftware's FastForward and
now I'm with Linux (and I'll be with Linux).

I want run my applet on my Linux box but I need a driver.
Does anybody know how can I get it freely?

Thanks!

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]



Re: Why Japanese......????

1998-11-09 Thread Steve Byrne

Alex Mkelemi writes:
 > Could anyone give me starting point:

Yes.  This has no relevance to this newsgroup.  Please do not post things like
this.

 > 
 > Why Japanese have faired well in the hardware industry but have made very
 > little impact on software.
 > 
 > Thanx
 > 



Re: Some weird security problems in netscape - getting worse + Wht'a wrong with these browsers?

1998-11-09 Thread Dimitris Vyzovitis

Alex Romadinoff wrote:

> Do you try to read images from jar ?
> In this case try to place your images out of jar-file.

This is the first thing I tried to do.
This null pointer exception is simply inexplicable (and it happes only in
Netscape).

And now something completely different (in the same topic as usually ;-} )
Has anybody tried to work with serialized applet.
It seems that the lovely browsers totally refuse to cooperate.
To explain.
I serialize the very sam applet (it is unbelievable, I can't get it worl ouside
the appletviiewer!!!).
The appletviewer is able to deserializ the applet (using the object tag in the
html) and have it run normally.
However both browsers(netscape in linux.win and the M$ stuff) simply display
NOTHING when I deserialize tha applet!!!
Even worse, I try a applet context dump in netscape and I get : # No active
applets or applet contexts.
Has anybody attempted something similar (and got it work)? I woulud like to
hear from him (I sound like spamming ;-} )

Dimitris



native thread question

1998-11-09 Thread Keith T. Garner

I've been experimenting with the new native threading code, beating on it
to see how it holds up, doing that sort of beta test that people dream of.
(I've found a memory bug, but that's for a different piece of mail...)

Anyway, while watching the process table, I noticed that most of the
threads that are created are niced to at least 5, with one or two being at
10, and another one or two (my threads?) are at 0.  I figured the thread
that was niced at 10 is the garbage collectiong thread, and a few of the
other threads at 5 are created by the VM at start-up for various VM tasks.

This got me curios as to what determines the niceness.  By the java spec,
thread priorities can be ignored, but I'm wondering that if in this case,
are thread priorities being mapped to a niceness level?

Any comments?

Keith

-- 
  Keith T. Garner   [EMAIL PROTECTED]
  STR Consultant   http://www.str.com/ [EMAIL PROTECTED]
  "And to all the fly Linux coders out there workin on the
   Deuce-Deuce, Peace" -- Jason Beatty



shuJIT: another Java/Linux JIT

1998-11-09 Thread Nelson Minar

You can tell the Java/Linux thing has finally taken off when more has
happened than is announced on this mailing list.

While browsing the ever-helpful Java Linux News
  http://www.w3com.com/paulcho/javalinux/
I found a link to another JIT for Linux, shuJIT, at
  http://www.shudo.net/jit/

Executive summary: also works with FreeBSD, says performance is about
like TYA, interested in working eventually with thread migration. The
author is in a research group working on "OpenJIT", a project to make
the JIT itself be controllable by Java to make it easier to tune.
Looks quite interesting.



bug in native thread garbage collecting?

1998-11-09 Thread Keith T. Garner

I've got a jserv compiled into apache and I'm using it to run a servlet
that does an RMI call for ever doGet that it receives.  While doing a stress
test with the new native thread support, it looks like I've come across a bug
related to memory management or thread creation.

To do the stress test, I had two computers repeatedly doing a request
on the servlet.  Back to back, non stop.  (It was a pretty unrealistic
load for what the web server would do, but I'm also showing that apache
on Linux can stand up to this abuse.)

After doing 1000 hits in about 69 seconds, the vm would seg fault.
The first time I did a trial I had a System.gc() at the bottom of the
doGet to force a clean up and I got this as the stack trace:

SIGSEGV   11*  segmentation violation
stackbase=BF1FFE7C, stackpointer=BF1FFA10

Full thread dump:
"Thread-1002" (TID:0x40bd3d98, sys_thread_t:0x8183758, state:R, thread_t: 
t@1040375, sp:0x0 threadID:0x0, stack_base:0x0, stack_size:0x0) prio=5
"Thread-1001" (TID:0x40bd40d0, sys_thread_t:0x8109698, state:R, thread_t: 
t@1039350, sp:0x40fff334 threadID:0x1d1d, stack_base:0x40fffe7c, stack_size:0x20) 
prio=10
java.lang.System.gc(System.java)
EngineSnoopServlet.doGet(EngineSnoopServlet.java:125)
javax.servlet.http.HttpServlet.service(HttpServlet.java:486)
javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
org.apache.jserv.JServConnection.run(JServConnection.java:349)
"ConnectionExpiration-10.0.4.50:18287" (TID:0x40bd2a90, sys_thread_t:0x81110d0, 
state:CW, thread_t: t@18450, sp:0xbd7ff830 threadID:0x191a, stack_base:0xbd7ffe7c, 
stack_size:0x20) prio=10

This lead me to beleive the bug was in memory management since it appeared
to be happening in the call for garbage collection.  To test my theory,
I did a trial again, and again it failed right after the 1000 hit with
a this stack trace that looks very very similar to the first:

SIGSEGV   11*  segmentation violation
stackbase=BF1FFE7C, stackpointer=BF1FFA10

Full thread dump:
"Thread-1005" (TID:0x40bd3b78, sys_thread_t:0x812fa50, state:R, thread_t: 
t@1040375, sp:0x0 threadID:0x0, stack_base:0x0, stack_size:0x0) prio=5
"Thread-1004" (TID:0x40bd3b70, sys_thread_t:0x80c77d8, state:R, thread_t: 
t@1039350, sp:0x40fff334 threadID:0x232c, stack_base:0x40fffe7c, stack_size:0x20) 
prio=10
java.lang.System.gc(System.java)
EngineSnoopServlet.doGet(EngineSnoopServlet.java:125)
javax.servlet.http.HttpServlet.service(HttpServlet.java:486)
javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
org.apache.jserv.JServConnection.run(JServConnection.java:349)
"ConnectionExpiration-10.0.4.50:18287" (TID:0x40bd3638, sys_thread_t:0x81cfe98, 
state:CW, thread_t: t@14350, sp:0xbdfff830 threadID:0x1f23, stack_base:0xbdfffe7c, 
stack_size:0x20) prio=10

To see if something different would happen if I didn't call System.gc() I removed that 
from my code.  Again, after 1000 hits, the VM seg faulted, only this
time I got a different stack trace:

Full thread dump:
"Thread-1005" (TID:0x40c253d0, sys_thread_t:0x812f510, state:R, thread_t: 
t@1040375, sp:0x0 threadID:0x0, stack_base:0x0, stack_size:0x0) prio=5
"ConnectionExpiration-10.0.4.50:18287" (TID:0x40bd3630, sys_thread_t:0x81d0018, 
state:CW, thread_t: t@14350, sp:0xbdfff830 threadID:0x2629, stack_base:0xbdfffe7c, 
stack_size:0x20) prio=10
sun.rmi.transport.tcp.TCPChannel$Reaper.run(TCPChannel.java:458)
java.lang.Thread.run(Thread.java)
"ConnectionExpiration-10.0.4.50:18010" (TID:0x40bd2528, sys_thread_t:0x81a12e8, 
state:CW, thread_t: t@13325, sp:0xbe1ff830 threadID:0x2627, stack_base:0xbe1ffe7c, 
stack_size:0x20) prio=10
sun.rmi.transport.tcp.TCPChannel$Reaper.run(TCPChannel.java:458)
java.lang.Thread.run(Thread.java)
"Cleaner" (TID:0x40bd1220, sys_thread_t:0x81b9000, state:CW, thread_t: t@12300, 
sp:0xbe3ff820 threadID:0x2625, stack_base:0xbe3ffe7c, stack_size:0x20) prio=10
sun.rmi.transport.DGCClient.run(DGCClient.java:621)
java.lang.Thread.run(Thread.java)
"LeaseRenewer" (TID:0x40bd10d8, sys_thread_t:0x81b8ee0, state:CW, thread_t: 
t@11275, sp:0xbe5ff820 threadID:0x2624, stack_base:0xbe5ffe7c, stack_size:0x20) 
prio=10
sun.rmi.transport.DGCClient.doRenewal(DGCClient.java:677)
sun.rmi.transport.DGCClient$LeaseRenewer.run(DGCClient.java:936)
java.lang.Thread.run(Thread.java)
"Reaper" (TID:0x40bd0fe0, sys_thread_t:0x81b7198, state:CW, thread_t: t@10250, 
sp:0xbe7ff830 threadID:0x2623, stack_base:0xbe7ffe7c, stack_size:0x20) prio=10
sun.rmi.transport.Reaper.run(ObjectTable.java:199)
java.lang.Thread.run(Thread.java)
"ConnectionExpiration-10.0.4.50:1099" (TID:0x40bd0d18, sys_thread_t:0x81a2ba0, 
state:CW, thread_t: t@9225, sp:0xbe9ff830 threadID:0x2622, stack_base:0xbe9ffe7c, 
stack_size:0x20) prio=10
sun.rmi.transport.tc

Re: Some weird security problems in netscape - getting worse + Wht'a wrong with these browsers?

1998-11-09 Thread Carlos Alberto Roman Zamitiz

Then I built an applet which displays an image and I didn't see any
NullPointerException. You can see the code and the web page:

http://lcomp98/carlos/applets/Imagen.html

The same directory contains Imagen.java, Imagen.class and maquina.gif
Any question?

Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria UNAM
[EMAIL PROTECTED]

On Mon, 9 Nov 1998, Dimitris Vyzovitis wrote:

> Alex Romadinoff wrote:
> 
> > Do you try to read images from jar ?
> > In this case try to place your images out of jar-file.
> 
> This is the first thing I tried to do.
> This null pointer exception is simply inexplicable (and it happes only in
> Netscape).
> 
> And now something completely different (in the same topic as usually ;-} )
> Has anybody tried to work with serialized applet.
> It seems that the lovely browsers totally refuse to cooperate.
> To explain.
> I serialize the very sam applet (it is unbelievable, I can't get it worl ouside
> the appletviiewer!!!).
> The appletviewer is able to deserializ the applet (using the object tag in the
> html) and have it run normally.
> However both browsers(netscape in linux.win and the M$ stuff) simply display
> NOTHING when I deserialize tha applet!!!
> Even worse, I try a applet context dump in netscape and I get : # No active
> applets or applet contexts.
> Has anybody attempted something similar (and got it work)? I woulud like to
> hear from him (I sound like spamming ;-} )
> 
> Dimitris
> 
> 



Open Java, take 2

1998-11-09 Thread Nelson Minar

Well, it's almost like they read java-linux

"In response to some disgruntled elements of the Java community, Sun
Microsystems in coming weeks will announce a new process that allows
non-Java licensees to have a role in defining new Java APIs across the
spectrum of Java classes."

Full story at
  http://www.infoworld.com/cgi-bin/displayStory.pl?98119.ehjava.htm



GTK+ AWT peer library for Java

1998-11-09 Thread Nigel Gamble

I've started a project to implement Java AWT peers in GTK+ (instead
of in Motif).  Besides breaking the dependency on Motif, I
believe that this will make it simpler to integrate Java apps
into the Gnome desktop project.  (See www.gtk.org and www.gnome.org).

I'm intending to add this to the JDK1.2 for Linux as an extension,
so that either the existing Motif version or my new GTK+ version
of the AWT can be used, depending on personal preference.

I noticed in the archives that this was discussed a few months ago, but
I haven't seen anything on this topic recently recently.

I happen to work on Java at Sun, so I have access to the JDK1.2
sources, although this is not an offical Sun project - I'm strictly
doing it in my spare time.  I hope to have something of alpha
quality, that other developers can also work on, by the time
JDK1.2 is released.

Nigel Gamble[EMAIL PROTECTED]
Mountain View, CA, USA. http://www.nrg.org/



1.1.6,1.1.7: cannot find ldd

1998-11-09 Thread J.P.Lewis


The lastest versions of the x86 blackdown jdk report the following 
error when starting java (though things work fine otherwise):

  /usr/local/java/bin/checkVersions: ldd: command not found

This is on a system that was originally RH5.0, since upgraded 
to RH5.1, pretty vanilla (compiled apm support into the kernel
but no other changes).  I don't see 'ldd' on the system - 
what is this?

---
j.p.lewis   [EMAIL PROTECTED]
012 345 6789 //www.idiom.com/~zilla