how to enable green threads

2002-06-06 Thread Waes Bruno



how do i enable green threads ?
and how do i check if a java app is running with green threads or not ?


export PATH="$PATH:/opt/j2re1.3.1/bin"
export JAVA_COMPILER=NONE
export THREADS_FLAG=green
export THREADS_TYPE=green_threads

is in my bashrc file

but i dont think it runs with green threads yet.

can anyone help me or point me to any information about this ?

thanks

bruno
 
> *
> Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie
> bevatten die vertrouwelijk is en/of beschermd door intellectuele
> eigendomsrechten. Dit bericht is uitsluitend bestemd voor de
> geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht
> (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder
> elke vorm) door andere personen dan de geadresseerde(n) is verboden.
> Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender
> hiervan te verwittigen en dit bericht te verwijderen. 
> 
> This e-mail and any attachment thereto may contain information which is
> confidential and/or protected by intellectual property rights and are
> intended for the sole use of the addressees. Any use of the information
> contained herein (including but not limited to total or partial
> reproduction or distribution in any form) by other persons than the
> addressees is prohibited. If you have received this e-mail in error,
> please notify the sender and delete its contents. 
> *
> 


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




Re: how to enable green threads

2002-06-06 Thread Wilhelm *Rafial* Fitzpatrick

At 4:43 PM +0200 6/6/02, Waes Bruno wrote:
>how do i enable green threads ?
>and how do i check if a java app is running with green threads or not ?
>
>
>export PATH="$PATH:/opt/j2re1.3.1/bin"
>export JAVA_COMPILER=NONE
>export THREADS_FLAG=green
>export THREADS_TYPE=green_threads
>
>is in my bashrc file
>
>but i dont think it runs with green threads yet.

This should be right.

The easiest way I know how to check to see what kinds of threads are 
in use is to run a java application that creates multiple threads, 
and then do a ps to see how many processes are active.  If your java 
app is using native threads on Linux, you'll see one java process per 
thread.  If your java app is using green threads, you should only see 
a single java process.

-- 
__
 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]




xalan won't run

2002-06-06 Thread Paul Tremblay

I cannot get xalan to run,and I have tried twice to get on the
xalan mailing list with no success.

I have downloaded the xalan files and put them in a directory
called /home/paul/java/jars. I have pointed the classpath in this
direction.

I then type java org.apache.xalan.xslt.Process

I get a message telling me I have to pass options, so I know that
the jar file is in the path.

I then type:

java org.apache.xalan.xslt.Process -in test.xml -xsl test.xsl
-out out.xml.

Nothing happens at this point. I go to another terminal, and type

top

And see that Kaffe is using about 50 percent of my cpu and 50
percent of my memory.

Both my xsl file and my xml file are small and valid. I have
successfully processed them using xsltproc.

Any idea what's going on?

Thanks!

Paul

-- 


*Paul Tremblay *
*[EMAIL PROTECTED]*



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




Re:xalan won't run

2002-06-06 Thread Paul Tremblay

I have downloaded the jar files for xalan, but I can't get this
tool to work. 

>From the promt I type:

$ java org.apache.xalan.xslt.Process

I get a typical message telling me I have to use more options.

I then type:

$ java org.apache.xalan.xslt.Process -in test.xml -xsl test.xsl
-out out.xml

Nothing happens. I go to another terminal and type

$ top

and I see that kaffe is using about 50 percent of my cpu and 50
percent of my memory.

I have tried twice with no success to subscribe to the xalan
mailing list. 

Any ideas what is happeing?

Thanks!

Paul

-- 


*Paul Tremblay *
*[EMAIL PROTECTED]*



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




RE: how to enable green threads

2002-06-06 Thread Waes Bruno

well ... it is running native threads then ...

that .java_wrapper file should decide if i want native or green threads
doesnt it ?

then why doesnt it do it

bruno

-Original Message-
From: Wilhelm *Rafial* Fitzpatrick [mailto:[EMAIL PROTECTED]]
Sent: vrijdag 7 juni 2002 2:17
To: Waes Bruno
Cc: '[EMAIL PROTECTED]'
Subject: Re: how to enable green threads


At 4:43 PM +0200 6/6/02, Waes Bruno wrote:
>how do i enable green threads ?
>and how do i check if a java app is running with green threads or not ?
>
>
>export PATH="$PATH:/opt/j2re1.3.1/bin"
>export JAVA_COMPILER=NONE
>export THREADS_FLAG=green
>export THREADS_TYPE=green_threads
>
>is in my bashrc file
>
>but i dont think it runs with green threads yet.

This should be right.

The easiest way I know how to check to see what kinds of threads are 
in use is to run a java application that creates multiple threads, 
and then do a ps to see how many processes are active.  If your java 
app is using native threads on Linux, you'll see one java process per 
thread.  If your java app is using green threads, you should only see 
a single java process.
 
> *
> Dit e-mail bericht inclusief eventuele ingesloten bestanden kan informatie
> bevatten die vertrouwelijk is en/of beschermd door intellectuele
> eigendomsrechten. Dit bericht is uitsluitend bestemd voor de
> geadresseerde(n). Elk gebruik van de informatie vervat in dit bericht
> (waaronder de volledige of gedeeltelijke reproductie of verspreiding onder
> elke vorm) door andere personen dan de geadresseerde(n) is verboden.
> Indien u dit bericht per vergissing heeft ontvangen, gelieve de afzender
> hiervan te verwittigen en dit bericht te verwijderen. 
> 
> This e-mail and any attachment thereto may contain information which is
> confidential and/or protected by intellectual property rights and are
> intended for the sole use of the addressees. Any use of the information
> contained herein (including but not limited to total or partial
> reproduction or distribution in any form) by other persons than the
> addressees is prohibited. If you have received this e-mail in error,
> please notify the sender and delete its contents. 
> *
> 


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