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 wil

Re: trouble w/ JNI_CreateJavaVM in forked process

2001-04-03 Thread stewart
OK, I lied (due to an unfortunate typo). export LD_PRELOAD=libpthread.so fixed it; also adding it to /etc/ld.so.preload works. thanks. > I don't remember the details, but this has come up before. Check the > mailing list archives... I vaguely recall that it was understood and > solved. > > Nath

Re: trouble w/ JNI_CreateJavaVM in forked process

2001-04-03 Thread stewart
There's something about JNI_CreateJavaVM hanging which was related to LD_PRELOAD, but this isn't my problem. The VM starts fine by calls to exec from the VM hang. Perhaps this is a Redhat 7.0 issue since I've repeated this with blackdown, sun and ibm VM's. thanks, stewart > I don't remember the

Re: trouble w/ JNI_CreateJavaVM in forked process

2001-04-03 Thread Juergen Kreileder
On Sun, 1 Apr 2001, [EMAIL PROTECTED] wrote: > Using a user-mode-linux kernel as a test-bed, I'm trying to start a > JavaVM as the first process instead of init. I appears to be hanging > on JNI_CreateJavaVM. I'm not sure what initial conditions need to be > set, so I've played around a bit unsuc

Re: trouble w/ JNI_CreateJavaVM in forked process

2001-04-03 Thread Nathan Meyers
I don't remember the details, but this has come up before. Check the mailing list archives... I vaguely recall that it was understood and solved. Nathan [EMAIL PROTECTED] wrote: > Using a user-mode-linux kernel as a test-bed, I'm trying to start a JavaVM > as the first process instead of init.

trouble w/ JNI_CreateJavaVM in forked process

2001-04-03 Thread stewart
Using a user-mode-linux kernel as a test-bed, I'm trying to start a JavaVM as the first process instead of init. I appears to be hanging on JNI_CreateJavaVM. I'm not sure what initial conditions need to be set, so I've played around a bit unsuccessfully. I have a program, though, that duplicates t