Java Invocation API

2001-04-04 Thread Valerio Ferrucci

Does anyone know if are there problems starting new threads from C 
(with pthread_create) and this thread calling Java classes (via Java 
invocation API)?

I'm experimenting this problem:

I launch my C server application and stress it with multiple 
contemporaneous requests:

If I launch C app monothread all is ok
If I launch C app multithread but doesn't make Java calls all is ok again
If I launch C app multithread with Java calls the app crashes after 
some seconds

Thanks for help


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




Re: trouble w/ JNI_CreateJavaVM in forked process

2001-04-04 Thread Juergen Kreileder

On Wed, 4 Apr 2001, [EMAIL PROTECTED] wrote:

> OK, I lied (due to an unfortunate typo). export
> LD_PRELOAD=libpthread.so fixed it; also adding it to
> /etc/ld.so.preload works.

This is a hack, you should link your application with "-lpthread".
Without getting libpthread in somehow your code will use the normal
functions from libc instead of the thread-safe variants from
libpthread.  Also compile your code with -D_REENTRANT.

Our 1.3 comes with a script j2sdk-config, which helps to set compiler
and linker flags.  E.g. 'j2sdk-config --libs' returns something like
"-L/usr/lib/j2re1.3/lib/i386/client -ljvm -lpthread".


Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/


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




connecting netscape ?

2001-04-04 Thread V.Suresh

At present, I am doing a stand alone application project, and I want 
an event to open up netscape with a URL. How do I do this?
-- 
Regards,

.-.
| V Suresh   |ILUG - Madurai Co-ordinator |
| Mail - [EMAIL PROTECTED]  ||
| URL  - www16.brinkster.com/vsuresh |Mail - [EMAIL PROTECTED]|
|-|
|   Powered by SuSE Linux 7.0  Kernel 2.2.16  |
 -
 ...LINUX IS NOT FOR THE FAINT-HEARTED   

  9:30pm  up  1:22,  4 users,  load average: 1.96, 1.95, 1.83


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




RE: connecting netscape ?

2001-04-04 Thread Martin, Stephen


Use this, it's cross platform and works great!


> -Original Message-
> From: V.Suresh [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 10:32 PM
> To: [EMAIL PROTECTED]
> Subject: connecting netscape ?
> 
> 
> At present, I am doing a stand alone application project, and I want 
> an event to open up netscape with a URL. How do I do this?
> -- 
> Regards,
> 
> .-
> .
> | V Suresh   |ILUG - Madurai 
> Co-ordinator |
> | Mail - [EMAIL PROTECTED]  |
> |
> | URL  - www16.brinkster.com/vsuresh |Mail - 
> [EMAIL PROTECTED]|
> |-
> |
> |   Powered by SuSE Linux 7.0  Kernel 2.2.16  
> |
>  
> --
> ---
>  ...LINUX IS NOT FOR THE 
> FAINT-HEARTED   
> 
>   9:30pm  up  1:22,  4 users,  load average: 1.96, 1.95, 1.83
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 


 BrowserLauncher.java


Re: connecting netscape ?

2001-04-04 Thread Dan Kegel

"V.Suresh" wrote:
> 
> At present, I am doing a stand alone application project, and I want
> an event to open up netscape with a URL. How do I do this?

Try http://www.tolstoy.com/samizdat/jconfig.html

- Dan


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




Re: connecting netscape ?

2001-04-04 Thread Jacob Nikom

Is it possible to force the browser to open specific URL?

Jacob Nikom


"Martin, Stephen" wrote:

> Use this, it's cross platform and works great!
>
> > -Original Message-
> > From: V.Suresh [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 04, 2001 10:32 PM
> > To: [EMAIL PROTECTED]
> > Subject: connecting netscape ?
> >
> >
> > At present, I am doing a stand alone application project, and I want
> > an event to open up netscape with a URL. How do I do this?
> > --
> > Regards,
> >
> > .-
> > .
> > | V Suresh   |ILUG - Madurai
> > Co-ordinator |
> > | Mail - [EMAIL PROTECTED]  |
> > |
> > | URL  - www16.brinkster.com/vsuresh |Mail -
> > [EMAIL PROTECTED]|
> > |-
> > |
> > |   Powered by SuSE Linux 7.0  Kernel 2.2.16
> > |
> >
> > --
> > ---
> >  ...LINUX IS NOT FOR THE
> > FAINT-HEARTED
> >
> >   9:30pm  up  1:22,  4 users,  load average: 1.96, 1.95, 1.83
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> >
>
>   
>Name: BrowserLauncher.java
>BrowserLauncher.javaType: unspecified type (application/octet-stream)
>Encoding: quoted-printable


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




RE: connecting netscape ?

2001-04-04 Thread Martin, Stephen

Yes, the URL is the argument to this class.

> -Original Message-
> From: Jacob Nikom [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, April 04, 2001 3:31 PM
> To: Martin, Stephen
> Cc: 'V.Suresh'; '[EMAIL PROTECTED]'
> Subject: Re: connecting netscape ?
> 
> 
> Is it possible to force the browser to open specific URL?
> 
> Jacob Nikom
> 
> 
> "Martin, Stephen" wrote:
> 
> > Use this, it's cross platform and works great!
> >
> > > -Original Message-
> > > From: V.Suresh [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 04, 2001 10:32 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: connecting netscape ?
> > >
> > >
> > > At present, I am doing a stand alone application project, 
> and I want
> > > an event to open up netscape with a URL. How do I do this?
> > > --
> > > Regards,
> > >
> > > .-
> > > .
> > > | V Suresh   |ILUG - Madurai
> > > Co-ordinator |
> > > | Mail - [EMAIL PROTECTED]  |
> > > |
> > > | URL  - www16.brinkster.com/vsuresh |Mail -
> > > [EMAIL PROTECTED]|
> > > |-
> > > |
> > > |   Powered by SuSE Linux 7.0  Kernel 2.2.16
> > > |
> > >
> > > --
> > > ---
> > >  ...LINUX IS NOT FOR THE
> > > FAINT-HEARTED
> > >
> > >   9:30pm  up  1:22,  4 users,  load average: 1.96, 1.95, 1.83
> > >
> > >
> > > 
> --
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> > >
> >
> >   
> --
> --
> >Name: BrowserLauncher.java
> >BrowserLauncher.javaType: unspecified type 
> (application/octet-stream)
> >Encoding: quoted-printable
> 


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




Re: connecting netscape ?

2001-04-04 Thread Jacob Nikom

Sorry, I was not precise in my question.
I mean already running browser, not when
you are launching it.

In other words, I would like to input URLs
not by clicking my mouse, but by sending
them from the Java application at the time
when I want.

Thank you,

JAcob Nikom

"Martin, Stephen" wrote:

> Yes, the URL is the argument to this class.
>
> > -Original Message-
> > From: Jacob Nikom [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, April 04, 2001 3:31 PM
> > To: Martin, Stephen
> > Cc: 'V.Suresh'; '[EMAIL PROTECTED]'
> > Subject: Re: connecting netscape ?
> >
> >
> > Is it possible to force the browser to open specific URL?
> >
> > Jacob Nikom
> >
> >
> > "Martin, Stephen" wrote:
> >
> > > Use this, it's cross platform and works great!
> > >
> > > > -Original Message-
> > > > From: V.Suresh [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, April 04, 2001 10:32 PM
> > > > To: [EMAIL PROTECTED]
> > > > Subject: connecting netscape ?
> > > >
> > > >
> > > > At present, I am doing a stand alone application project,
> > and I want
> > > > an event to open up netscape with a URL. How do I do this?
> > > > --
> > > > Regards,
> > > >
> > > > .-
> > > > .
> > > > | V Suresh   |ILUG - Madurai
> > > > Co-ordinator |
> > > > | Mail - [EMAIL PROTECTED]  |
> > > > |
> > > > | URL  - www16.brinkster.com/vsuresh |Mail -
> > > > [EMAIL PROTECTED]|
> > > > |-
> > > > |
> > > > |   Powered by SuSE Linux 7.0  Kernel 2.2.16
> > > > |
> > > >
> > > > --
> > > > ---
> > > >  ...LINUX IS NOT FOR THE
> > > > FAINT-HEARTED
> > > >
> > > >   9:30pm  up  1:22,  4 users,  load average: 1.96, 1.95, 1.83
> > > >
> > > >
> > > >
> > --
> > > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> > > >
> > >
> > >
> > --
> > --
> > >Name: BrowserLauncher.java
> > >BrowserLauncher.javaType: unspecified type
> > (application/octet-stream)
> > >Encoding: quoted-printable
> >


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




Java3D version?

2001-04-04 Thread Stuart Wier

Is there a way from insdie a program to
find and report what version of Java3D is in use?

-- 

Stuart Wier  UCAR Unidata Program
[EMAIL PROTECTED]   P.O. Box 3000
http://www.unidata.ucar.edu/staff/wier  Boulder, CO 80307


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




Re: connecting netscape ?

2001-04-04 Thread Barr von Oehsen

Yes. You can do the following at the prompt:

%> netscape www.anywhere.com

Hit the return and netscape opens to www.anywhere.com

To launch netscape from inside a java program you could always spawn a
process which runs netscape and then pass the url to it.

Barr

On Wed, 4 Apr 2001, Jacob Nikom wrote:

> Is it possible to force the browser to open specific URL?
>
> Jacob Nikom
>
>
> "Martin, Stephen" wrote:
>
> > Use this, it's cross platform and works great!
> >
> > > -Original Message-
> > > From: V.Suresh [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, April 04, 2001 10:32 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: connecting netscape ?
> > >
> > >
> > > At present, I am doing a stand alone application project, and I want
> > > an event to open up netscape with a URL. How do I do this?
> > > --
> > > Regards,
> > >
> > > .-
> > > .
> > > | V Suresh   |ILUG - Madurai
> > > Co-ordinator |
> > > | Mail - [EMAIL PROTECTED]  |
> > > |
> > > | URL  - www16.brinkster.com/vsuresh |Mail -
> > > [EMAIL PROTECTED]|
> > > |-
> > > |
> > > |   Powered by SuSE Linux 7.0  Kernel 2.2.16
> > > |
> > >
> > > --
> > > ---
> > >  ...LINUX IS NOT FOR THE
> > > FAINT-HEARTED
> > >
> > >   9:30pm  up  1:22,  4 users,  load average: 1.96, 1.95, 1.83
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > >
> >
> >   
> >Name: BrowserLauncher.java
> >BrowserLauncher.javaType: unspecified type (application/octet-stream)
> >Encoding: quoted-printable
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

-- 
__
Barr von Oehsen, Ph.D.
Research Associate/Assistant Professor
Center for Advanced Engineering Fibers and Films
A National Science Foundation Engineering Research Center

310 Rhodes Engineering Research Center
Clemson University
Clemson, SC 29634-0910
voice: (864) 656-6307
fax: (864) 656-4557


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