???

2002-08-20 Thread Dutch L. Zempel



Bon jour,
Is this a good list for java newbies 
???
Merci beaucoup,
 
" Dutch "  L. ZempelFRE-E Cash++, FRE-E 
E-ducation, AND Much, Much More ( 3M ) FRE-E stuff @http://www.MetaCycleInter.net ( MCI 
)voice @ 1'763.543.90210 Beverly Hills 
???
 
J'espere vous voir / avoir bientot 
!!!


Re: ???

2002-08-20 Thread Michael Knezevic

as far as i know, this list only discusses problems
with the jdk from blackdown but not general java
developer question. have a look at the forums at
www.java.sun.com . i think somewhere on their site is
a list of mailing lists (sorry for the bad
description).

 --- "Dutch L. Zempel" <[EMAIL PROTECTED]> schrieb: >
Bon jour,
> Is this a good list for java newbies ???
> Merci beaucoup,
> 
> " Dutch "  L. Zempel
> FRE-E Cash++, FRE-E E-ducation, AND Much, Much More
> ( 3M ) FRE-E stuff @
> http://www.MetaCycleInter.net ( MCI )
> voice @ 1'763.543.90210 Beverly Hills ???
> 
> J'espere vous voir / avoir bientot !!!
>  

__

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




garbage collection

2002-08-20 Thread Alexandre Goncalves

hi.


We're having a problem with garbage collection in our web site.

We're using JRun with j2sdk 1.4.0 running on a linux machine. The 
problem is that after we launch the jrun server the memory starts to 
increase up to the maximum heap size defined (1G in our case). When it 
reaches this memory amount, the site simply "dies": basically it does 
not give any response.

What we do to overcome this situation is a restart of the jrun servers, 
  "cleaning" the java virtual machine.

We also tried to call periodically System.gc() but it didn't produced 
any visible results so we aborted this approach.

Does anyone knows a way to avoid this situation?

Thanks in advance.

Best regards,
Alexandre Gonçalves.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ???

2002-08-20 Thread Nathan Meyers

On Tue, Aug 20, 2002 at 01:42:59AM -0700, Dutch L. Zempel wrote:
> Bon jour,
> Is this a good list for java newbies ???
> Merci beaucoup,

This list is focused on Java and Linux - especially the releases from
the Blackdown organization, but also other relevant issues: releases
from Sun, issues unique to Linux, JNI-based libraries for Linux, and
so on.

It's not a good list for newbies. There are many excellent resources -
Sun-published tutorials, discussion groups, books, and such - that will
help you learn the basics.

Nathan Meyers
[EMAIL PROTECTED]


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Java with ARM does not work

2002-08-20 Thread Heiner Litz








HI

 

I installed Linux
on my ipaq and the j2re1.3.1 for ARM in my /home directory.
I set PATH to /home/j2re1.3.1/bin.
But there is he problem: There is no java
file in that directory so typing java into the
console brings up „java not found“

 

There is a java file
in ~/j2re1.3.1/bin/armv4l/native_threads but when typing ./java
in that directory I get a „./java: permission denied“

 

I couldnt find any
docu about Java-Linux-ARM L

 

Ho can I run
java apps?

 

Please help,
thx Heiner Litz








Re: Java with ARM does not work

2002-08-20 Thread Juergen Kreileder

Heiner Litz <[EMAIL PROTECTED]> writes:

> I installed Linux on my ipaq and the j2re1.3.1 for ARM in my /home
> directory. I set PATH to /home/j2re1.3.1/bin. But there is he
> problem: There is no java file in that directory

Your filesystem doesn't understand symlinks, use a real one.


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




JVM and threads

2002-08-20 Thread Mauricio Nuñez

Hi,

Blackdown JVM 1.3 support green and native threads, but 1.4 only native.
Threading is an important issue for the server side java applications.

Green threads are very scalable ( see Volano report ), while the native
threads under Linux are a limited to few , before the server crash.

IBM released a new thread library ( Next Generation Threads ) supporting
M:N mapping ( Linux use 1:1 ), but there are none JVM ready yet to work
with that library.

It's posible for Blackdown release a JVM 1.4 with green threads or
NGthreads ? 

Thanks

Mauricio Nuñez
Chile.com
[EMAIL PROTECTED]








--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




RE: garbage collection

2002-08-20 Thread William Quan
Title: RE: garbage collection





Alex, IMHO it appears you have a memory leak that is not necessarily a 
JVM issue. 


But while we are on the GC topic:
Does the 1.4 JVM 'stop the world', or pause *all* threads
while it does a GC. This tends to have a negative impact on 
real-time Java Apps on SMP boxes.


I heard a concurrent-collector was sourced in the 1.4 'merlin'
J2SE for solaris.


thanks, 
will



-Original Message-
From: Alexandre Goncalves [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 20, 2002 5:18 AM
To: [EMAIL PROTECTED]
Subject: garbage collection



hi.



We're having a problem with garbage collection in our web site.


We're using JRun with j2sdk 1.4.0 running on a linux machine. The 
problem is that after we launch the jrun server the memory starts to 
increase up to the maximum heap size defined (1G in our case). When it 
reaches this memory amount, the site simply "dies": basically it does 
not give any response.


What we do to overcome this situation is a restart of the jrun servers, 
  "cleaning" the java virtual machine.


We also tried to call periodically System.gc() but it didn't produced 
any visible results so we aborted this approach.


Does anyone knows a way to avoid this situation?


Thanks in advance.


Best regards,
Alexandre Gonçalves.





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





Re: Java with ARM does not work

2002-08-20 Thread Wilhelm *Rafial* Fitzpatrick

>I installed Linux on my ipaq and the j2re1.3.1 for ARM in my /home
>directory. I set PATH to /home/j2re1.3.1/bin. But there is he
>problem: There is no java file in that directory so typing java into
>the console brings up “java not found"

There should be a file named .java_wrapper in this directory which
should also be symlinked as java, javac, javadoc, jdb, rmic, etc.

>There is a java file in ~/j2re1.3.1/bin/armv4l/native_threads but
>when typing ./java in that directory I get a “./java: permission
>denied"

This is the actual executable, but it isn't designed to be run
directly, rather via .java_wrapper.  However the binaries in this
directory *should* have execute permissions and it sounds like they
don't.

You change the permissions on a file with the command chmod, for
example "chmod a+x java"

--
__
 Wilhelm Fitzpatrick  |  When we speak of free
  http://www.3roses.com/  |  software we are referring
 [EMAIL PROTECTED]  |  to freedom not price.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: garbage collection

2002-08-20 Thread Wilhelm *Rafial* Fitzpatrick

>We also tried to call periodically System.gc() but it didn't 
>produced any visible results so we aborted this approach.

The VM collects garbage regardless of whether you call System.gc() or 
not, System.gc() only allows you to suggest to the VM when might be a 
good time to run the garbage collector.

>Does anyone knows a way to avoid this situation?

Fix your code to remove memory leaks.  Just because java has garbage 
collection does not mean programs can't have memory leaks.  If you 
keep a reference to an object around, perhaps in a cache or static 
variable some place, it will never be garbage collected (because 
somebody has a reference to it) even if you never use that object 
again.  Check out:

http://www-106.ibm.com/developerworks/java/library/j-leaks/?dwzone=java

For some suggestions on what to do.

-- 
__
 Wilhelm Fitzpatrick  |  When we speak of free
  http://www.3roses.com/  |  software we are referring
 [EMAIL PROTECTED]  |  to freedom not price.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JVM and threads

2002-08-20 Thread Juergen Kreileder

Mauricio Nuñez <[EMAIL PROTECTED]> writes:

> Blackdown JVM 1.3 support green and native threads, but 1.4 only
> native.  Threading is an important issue for the server side java
> applications.
> 
> Green threads are very scalable ( see Volano report ),

Yes, but only on one CPU.

> while the native threads under Linux are a limited to few , before
> the server crash.

1.4 supports multiplexed non-blocking I/O.  Using that gives much
better scalability than blocking I/O with one thread per client (even
with m:n mapping).

> IBM released a new thread library ( Next Generation Threads )
> supporting M:N mapping ( Linux use 1:1 ), but there are none JVM
> ready yet to work with that library.

> It's posible for Blackdown release a JVM 1.4 with green threads 

No.

> or NGthreads ?

Not in the near future because a) I doubt that it will replace
LinuxThreads anytime soon[1], b) it hasn't proven to be stable yet,
and c) it isn't fully preemptive yet.  
(And we don't have enough man-power to work on this too currently.)

BTW, note that Solaris is actually going back to a 1:1 model[2].


Juergen

Footnotes: 
[1]  http://sources.redhat.com/ml/libc-alpha/2002-01/msg00367.html
[2]  http://java.sun.com/docs/hotspot/threads/threads.html

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux/java2-status/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JVM and threads

2002-08-20 Thread Mauricio Nuñez

Thanks for your answers!

Well, i will need to wait for a back port from kernel 2.5 to 2.4 ...

I'm trying to get a better performance with Tomcat (a servlet
container).

The servlet spec say '1 request: 1 thread', then with high concurrent
requests, my server is less responsive.

Thanks



El mar, 20-08-2002 a las 13:21, Juergen Kreileder escribió:
> Mauricio Nuñez <[EMAIL PROTECTED]> writes:
> 
> > Blackdown JVM 1.3 support green and native threads, but 1.4 only
> > native.  Threading is an important issue for the server side java
> > applications.
> > 
> > Green threads are very scalable ( see Volano report ),
> 
> Yes, but only on one CPU.
> 
> > while the native threads under Linux are a limited to few , before
> > the server crash.
> 
> 1.4 supports multiplexed non-blocking I/O.  Using that gives much
> better scalability than blocking I/O with one thread per client (even
> with m:n mapping).
> 
> > IBM released a new thread library ( Next Generation Threads )
> > supporting M:N mapping ( Linux use 1:1 ), but there are none JVM
> > ready yet to work with that library.
> 
> > It's posible for Blackdown release a JVM 1.4 with green threads 
> 
> No.
> 
> > or NGthreads ?
> 
> Not in the near future because a) I doubt that it will replace
> LinuxThreads anytime soon[1], b) it hasn't proven to be stable yet,
> and c) it isn't fully preemptive yet.  
> (And we don't have enough man-power to work on this too currently.)
> 
> BTW, note that Solaris is actually going back to a 1:1 model[2].
> 
> 
> Juergen
> 
> Footnotes: 
> [1]  http://sources.redhat.com/ml/libc-alpha/2002-01/msg00367.html
> [2]  http://java.sun.com/docs/hotspot/threads/threads.html
> 
> -- 
> Juergen Kreileder, Blackdown Java-Linux Team
> http://www.blackdown.org/java-linux/java2-status/
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




symbolic link to run 3D programs

2002-08-20 Thread Fred Peng

I will be developing Java 3D programs in Linux. After downloading 
everything from blackdown and install them in home directory, I am going 
to run some 3D demo programs to make sure I installed them properly. But 
I can not create the symbolic link using the following command:

% ln -s /jre/plugin//mozilla/javaplugin_oji.so 
~/mozilla-0.9.6/plugins/

Can anybody describe a little more about this link and how to create it? 
As far as I know, there is no mozilla in my home directory. It is under  
/usr/local, so do I have to be the superuser to create the link to 
/usr/lib/mozilla/plugins/ using the other command:

% ln -s /jre/plugin//mozilla/javaplugin_oji.so 
/usr/lib/mozilla/plugins/

Any help is greatly appreciated.

-- 
Fred Peng
Genome Sciences Centre
600 W 10th Avenue
Vancouver BC Canada
V5Z 4E6
http://www.bcgsc.ca






--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: JVM and threads

2002-08-20 Thread Jonathan Doughty

> "Mauricio" == Mauricio Nuñez <[EMAIL PROTECTED]> writes:

> Thanks for your answers!
> Well, i will need to wait for a back port from kernel 2.5 to 2.4 ...

> I'm trying to get a better performance with Tomcat (a servlet
> container).

> The servlet spec say '1 request: 1 thread', then with high concurrent
> requests, my server is less responsive.

You could try BEA's (formerly Appeal's) JRockit VM for Linux.
 http://www.bea.com/products/weblogic/jrockit/index.shtml
The -Xthinthreads option claims to provide some benefits.

I've no extensive practical experience with their VM but it is nice to
have additional options to try.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]