Maximum numbers of threads and heap size

2006-10-18 Thread Joseph S
java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode) On a redhat 9 machine, I can get a maximum of 612 threads in tomcat when I start it with -Xmx1500M. Without a -Xmx param I get 3448 threads.

java socket not closing

2005-03-22 Thread Joseph Shraibman
I have a connection to a mail server that was closed from the other end, but my local jvm is still hanging on to the socket (for like 6 or 7 hours): Proto Recv-Q Send-Q Local Address Foreign Address State tcp1 11796 p5b.selectacast.n:45221 213.38.169.138:smtp CLOSE_WAI

Too many open files

2005-02-18 Thread Joseph Shraibman
When I get this Exception, this is an operating system limit, not a jvm limit, right? java.io.FileNotFoundException: /local/java/classes/com/xtenit/util/Misc$1.class (Too many open files) -- To UNSUBSCRIBE, email to [EMAIL PROT

Re: Help on JVM hang

2004-07-07 Thread Joseph Shraibman
Hui Huang wrote: Is this on Redhat 9? If so, try this: + find out java process id + use gdb to attach to the process (gdb - ) + quit gdb The problem just happened again and indeed that trick worked (strace didn't, I think because it doesn't trace all threads, just the one it connects to). I atta

Re: Questions for the Java Open Source "Debate" at JavaOne

2004-06-28 Thread Joseph Shraibman
Gerald Bauer wrote: unfree. On top of this, non-free core software is something to be avoided in the community. This overly-controlled approach on Sun's part is losing the Linux desktop to .NET. .NET is freerer than java? -- To

Re: Questions for the Java Open Source "Debate" at JavaOne

2004-06-28 Thread Joseph Shraibman
Glenn Holmer wrote: Gerald Bauer wrote: Tom writes: Sun invariably says that they can't think of what problems open source Java would solve that aren't already solved. Of course that's ridiculous. Why? It is pretty hard for Linux vendors to ship a working JRE on their platform if they make any

Re: Questions for the Java Open Source "Debate" at JavaOne

2004-06-28 Thread Joseph Shraibman
Glenn Holmer wrote: Gerald Bauer wrote: Tom writes: Sun invariably says that they can't think of what problems open source Java would solve that aren't already solved. Of course that's ridiculous. Why? It is pretty hard for Linux vendors to ship a working JRE on their platform if they make any

Re: Help on JVM hang

2004-06-24 Thread Joseph Shraibman
Hui Huang wrote: It looks like the same issue. IIRC, the problem happened when one thread sleeps on pthread_cond_wait, and another thread in pthread_cond_{signal,broadcast} to wake up the first thread, sometimes kernel failed to change the first thread back to running. So how can I encourage this c

Re: Help on JVM hang

2004-06-24 Thread Joseph Shraibman
Hui Huang wrote: Veda N Ponnusamy wrote: Hi, We set the LD_ASSUME_KERNEL=2.2.5 and the hang goes away. But the application is running at 60% speed !! Interesting. You could try LD_ASSUME_KERNEL=2.4.1 (the floating stack version of LinuxThreads), it's generally faster than 2.2.5. Do you know a

Re: Help on JVM hang

2004-06-24 Thread Joseph Shraibman
Hui Huang wrote: Is this on Redhat 9? If so, try this: + find out java process id + use gdb to attach to the process (gdb - ) + quit gdb wait a few seconds, does the process start to run again? If yes, it's a known RH-9 issue (a notification from pthread_cond_broadcast is lost in NPTL). Update to A

Re: Help on JVM hang

2004-06-24 Thread Joseph Shraibman
Hui Huang wrote: Is this on Redhat 9? If so, try this: Yes. + find out java process id + use gdb to attach to the process (gdb - ) + quit gdb Well I killed the process already, but the problem seems to happen every couple of weeks so I'll try that next time. wait a few seconds, does the process s

Re: Help on JVM hang

2004-06-24 Thread Joseph Shraibman
MParser.(Unknown Source) at org.apache.xerces.parsers.DOMParser.(Unknown Source) Joseph Shraibman wrote: Kinda looks like what happened to me. A lot of threads "waiting on condition" for no reason at all. For example: "Thread-206" prio=1 tid=0x087b7d18 nid=0x7b88 waiting on condition [6e01e000..6e

Re: Does anyone have any idea when bug 4813310 will be fixed?

2004-06-23 Thread Joseph Shraibman
Juergen Kreileder wrote: Joseph Shraibman <[EMAIL PROTECTED]> writes: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4813310 This has been fixable for a while now, No, the article is wrong. ::sigh:: I hate it when that happens. but no comments to indicate progress. Do no comments m

Does anyone have any idea when bug 4813310 will be fixed?

2004-06-23 Thread Joseph Shraibman
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4813310 This has been fixable for a while now, but no comments to indicate progress. Do no comments mean no interest, or should we expect no news until it is fixed, if ever? --

Re: Sun Lawyers Attack The Java Republic News Blog

2004-06-15 Thread Joseph Shraibman
Gerald Bauer wrote: Correct me if I'm wrong. The point of blackdown is to create a free Java runtime alternative for the free Linux operating system. You are wrong. Blackdown is the project to port sun's jvm to platforms that sun does not support. When it first started out sun didn't have a l

Re: Help on JVM hang

2004-06-14 Thread Joseph Shraibman
f the JVM. I didn't try running this app on 1.5 jvm Reg Veda -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED] Sent: Friday, June 11, 2004 1:26 PM To: Calvin Austin Cc: Veda N Ponnusamy; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Help on JVM hang Calvin Austi

Re: Thread question

2004-06-14 Thread Joseph Shraibman
Daniel Malmkvist wrote: I have an application that should handle alot (>10 000) connection at the same time but usally no traffic. Is the best way to make a thread pool or is the best way to have 1 thread per connection. If no contex switching will be done I don't see why not. YOu will have a

Re: Help on JVM hang

2004-06-11 Thread Joseph Shraibman
Calvin Austin wrote: Does it ever resume. 1.5beta2 has more diagnostics in it and you may be able to even attached with jdb (hey tim :*) Without seeing the other threads its difficult to see what is happening, however there was a bug fix in 1.5 to stop the cache growing out of control. A quick

Re: Help on JVM hang

2004-06-11 Thread Joseph Shraibman
I have. I reported it to sun and they said if they had a repoducable test case they would open a bug. But I could never figure out how to reproduce it. Veda N Ponnusamy wrote: Hi folks, I'm posting this, since I know I can get help only from this community. My application is a heavily mul

Re: Running an application from a different directory

2004-04-19 Thread Joseph Shraibman
Jaume Obrador wrote: What finally I want to do is to run a java process as a daemon and I must be able to run it from /etc/init.d/ Inside the script just change to the proper directory (or set the CLASSPATH variable). Changes to the environment made by a script are lost when the script ends,

Re: linux kernel 2.6

2004-04-19 Thread Joseph Shraibman
What version of top are you using? H works with the one I have: # top -v procps version 2.0.11 [EMAIL PROTECTED] wrote: Thank you for your answer Vladimir, The selectable columns with top are : * A: PID= Process Id * E: USER = User Name * H: PR = Priority * I: NI =

Re: stack size to small?

2004-03-08 Thread Joseph Shraibman
want to check your code (both Java and native) to see if you are creating threads with small stack. Before 1.5, the minimum stack size allowed is 96k. regards, -hui Joseph Shraibman wrote: That's what StackOverflowError is for. It shouldn't crash the jvm Dan Kegel wrote: Joseph Shraibma

stack size to small?

2004-03-05 Thread Joseph Shraibman
I had a jvm running for a few hours when it suddenly quit with: Fatal: Stack size too small. Use 'java -Xss' to increase default stack size. WTF? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Tro

Re: Please tell redhat to fix ps

2003-09-25 Thread Joseph Shraibman
Dan Kegel wrote: Indeed. Actually, the best thing to do would be to submit a patch that yields the behavior you want. - Dan Tried that last time, and they eventually fixed the problem but they didn't use my patch, so I figured I'd save my time. The main problem with this one is that they don't

Re: Please tell redhat to fix ps

2003-09-25 Thread Joseph Shraibman
Christopher Smith wrote: I think it's kind of pointless to send this in as a distribution bug. It is something that you should report to the psutils, nptl and/or kernel folks, rather than redhat. I'm sure that will in turn result in a debate as to what is right or wrong, but that is not a decision

Re: Please tell redhat to fix ps

2003-09-25 Thread Joseph Shraibman
Dan Kegel wrote: Sure it can. If an app has buttloads of threads, most of which have never used much of their stack allocation, the total of the SZ column in ps could indeed be lower than the total of the 'used' column in the output of free. SZ can include address space for which neither physical

Please tell redhat to fix ps

2003-09-25 Thread Joseph Shraibman
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=97586 Please post comments about how ps reporting the wrong size for multithreaded apps is indeed a bug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsub

Re: Does the -Xmx parameter still do something?

2003-06-23 Thread Joseph Shraibman
which didn't really allocate memory dynamically.) The vm still accepts this parameter, but does it still do something? Yes, it still does something. It is useful to keep your jvm from running away and consuming all the memory on the machine. -- Joseph Shraibman joseph(at)xtenit.com Increase

Re: Volano Report update

2003-06-09 Thread Joseph Shraibman
Hui Huang wrote: Still not convinced? Try creating more than 1024 threads, that's something you couldn't do without NPTL. There has been a lot of work done in the past to make this happen. Drop me an email if you'd like to hear more about the boring story of threading support within JVM ;-) I do t

Re: browsing java sites

2003-04-04 Thread Joseph Shraibman
Kent E. wrote: does it mean... browsing thru a linux is not allowed while browsing thru a windows2000 can view the page which i stated below? Maybe the windows jvm has broken security, letting it work when it shouldn't. I really have no idea.

Re: browsing java sites

2003-04-03 Thread Joseph Shraibman
error messages.. do i have to set another configuration file in linux? thanks in advance... kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Runtime.maxMemory()

2003-04-03 Thread Joseph Shraibman
Joseph Shraibman wrote: What does Runtime.maxMemory() return exactly? With further testing it appears to return exactly 64meg over the true limit. Also when doing java -Xmx3m the real value used is actuall 4 megs, and it appears all odd values are rounded up 1

Runtime.maxMemory()

2003-04-03 Thread Joseph Shraibman
What does Runtime.maxMemory() return exactly? I have this program: public class MaxMemory{ private static String uft(){ Runtime rt = Runtime.getRuntime(); long free = rt.freeMemory(), total = rt.totalMemory(), used = total - free; long max = rt.maxMemory(); j

Re: per jvm thread limit

2003-04-02 Thread Joseph Shraibman
Juergen Kreileder wrote: [EMAIL PROTECTED] writes: On Fri, 14 Feb 2003, Juergen Kreileder wrote: BTW: If you use another setting than CONFIG_1GB or if you're on x86-64 you want to use the new release. Older HotSpot versions have problems with the other values. So which ones are good? Is t

Re: per jvm thread limit

2003-02-13 Thread Joseph Shraibman
Dan Kegel wrote: Joseph Shraibman wrote: I never got anywhere near 1gb of memory usage. Physical memory, maybe, but I bet you a nickel you got up near 1GB of *virtual* memory. Go learn about how thread stacks work. You're not running out of RAM; you're running out of address

Re: per jvm thread limit

2003-02-13 Thread Joseph Shraibman
Dan Kegel wrote: The -Xss100k helps because each thread stack immediately occupies its full range of address space (discontiguous stacks not being supported). If the OS defaults to a limit of 1GB address space for user processes, at 100KB per stack, that's a hard limit of 10,000 threads. I nev

per jvm thread limit

2003-02-12 Thread Joseph Shraibman
I'm running: java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) ... on redhat 8.0. I've discovered that I get get somewhere between 3600 and 3700 threads in a jvm without any arguments. If I p

Re: linux

2003-02-06 Thread Joseph Shraibman
Hui Huang wrote: Joseph Shraibman wrote: Hui Huang wrote: Joseph Shraibman wrote: Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. Thread priority is just a hint (same appli

Re: linux

2003-02-06 Thread Joseph Shraibman
Hui Huang wrote: Joseph Shraibman wrote: Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. Thread priority is just a hint (same applies to Thread.yield()). While the jvm authors can

Re: linux

2003-02-06 Thread Joseph Shraibman
Alexander V. Konstantinou wrote: Actually, thread priorities work fine in Linux. No, they don't, not with the latest sun jdk on redhat 8.0. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble

Re: linux

2003-02-06 Thread Joseph Shraibman
Masnizar jamian wrote: I'm new to linux , so are there any difference between windows platform and linux in terms of coding (mainly in multithread)? Because I heard that a linux thread is different from windows thread. Could you recommend me any reading material that clear some cobweb in my br

broken link on blackdown site

2003-01-30 Thread Joseph Shraibman
The link for jad on http://www.blackdown.org/java-linux/products/javatools.html should be http://www.geocities.com/zz_xu/jad.html (unless someone knows of a more recent site). -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://xis.xtenit.com

Re: [JAVAMAIL-INTEREST] file.encoding change between jdk 1.3.1 and1.4.1

2003-01-02 Thread Joseph Shraibman
system. On a rh 8.0 that used to be a 7.2 it is ISO-8859-1, and on a system that always was 8.0 it is UTF-8 Joseph Shraibman wrote: I have code to create a Multipart like this: MimeMultipart mm = new MimeMultipart("alternative"); BodyPart bp = new MimeBodyPart()

file.encoding change between jdk 1.3.1 and 1.4.1

2003-01-02 Thread Joseph Shraibman
now looks like this: --=_Part_21_20566889.1041555012620 Content-Type: text/html; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: quoted-printable This charset=ANSI_X3.4-1968 is causing problems when netscape reads the mail. It appears that file.encoding changed between versions. Does anyone kn

1.4.1 release

2002-12-09 Thread Joseph Shraibman
According to http://www.blackdown.org/java-linux/java2-status/jdk1.4-status.html blackdown 1.4.1 has been in beta since July. What is holding up the release? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsub

Does blackdown suffer from bug 4694590?

2002-11-07 Thread Joseph Shraibman
http://developer.java.sun.com/developer/bugParade/bugs/4694590.html I know it doesn't suffer from bug 4706607 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: running java on rh 8.0

2002-11-05 Thread Joseph Shraibman
2002-11-04 at 17:15, Joseph Shraibman wrote: I tried to run java 1.4.1 from sun on my rh 8.0 box and I spent a day trying to figure out why rmi wouldn't work. I finally figured out that I had to uninstall libgcj (which was needed by gettext, so I had to uninstall that too) and now everyt

running java on rh 8.0

2002-11-04 Thread Joseph Shraibman
I tried to run java 1.4.1 from sun on my rh 8.0 box and I spent a day trying to figure out why rmi wouldn't work. I finally figured out that I had to uninstall libgcj (which was needed by gettext, so I had to uninstall that too) and now everything works perfectly. I'm just posting this to help a

Re: magic line in unix

2002-02-12 Thread Joseph Shraibman
OK figured out what xcu is, but where in there does it discuss #! ? For the rest of you: http://www.unix-systems.org/version3/xcu_contents.html Dan Kegel wrote: > Joseph Shraibman wrote: > >>I have been having problems making beanshell shell scripts on linux. >> >>Bas

Re: magic line in unix

2002-02-12 Thread Joseph Shraibman
I found some mailing list archives from 2000 mentioning #! but it was a mess and refered to things the readers of that list knew about but I don't. For example I couldn't figure out what XCUd3 ERN 6 is. Could you point me to something more specific? Dan Kegel wrote: > Jos

magic line in unix

2002-02-12 Thread Joseph Shraibman
, so java doesn't get two arguments '-client' and 'bsh.Interpreter', it gets one '-client bsh.Interpreter'. Who is responsible for magic line interpretation, the shell that calls the script or the kernel? Where is the spec for magic lines? -- Joseph S

java script error (not javascript)

2001-11-06 Thread Joseph Shraibman
/native_threads/java -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Threads on i386-redhat-linux-gnu

2001-11-02 Thread Sam Joseph
Hi All, So I'm having this problem that the logging system that I have used successfully on other linux platforms is not working on i386-redhat-linux-gnu. The logging system is designed to store logging messages and then write them to the log file in a low priority thread. However when I run the

local -remote database

2001-07-15 Thread santhosh . joseph
ch I use for testing. I run jdk 1.3, Tomcat 3.2, MySQL on Linux. Any help would be greatly appreciated. Thanks, Joseph ps : Anybody who'd like to have a look at my code, please indicate. -- To UNSUBSCRIBE, email to [EMAIL

shutdown hooks

2001-07-06 Thread Joseph Shraibman
If I create a shutdown hook, does it create an os-level thread that sits around doing nothing until the java program exits? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To

Re: Blackdown on SuSE

2001-06-27 Thread Sam Joseph
Juergen Kreileder wrote: > On Wed, 27 Jun 2001, Alan Hawrelak wrote: > > > Sam Joseph wrote: > > > >> I can extract the blackdown version, and unpack it but when I try > >> to run > >> > >> the java command I get this: > >> > &g

Re: Blackdown on SuSE

2001-06-26 Thread Sam Joseph
Follow up to my own mail - I got help from another list, the solution seems to be: >You need JDK that is compiled for s390(search google "s390 jdk"), for > example: > http://www.ibiblio.org/pub/languages/java/blackdown.org/JDK-1.2.2/s390/FCS/?M=A Sam Joseph wrote: &g

Blackdown on SuSE

2001-06-26 Thread Sam Joseph
Hi, I've been trying to install a blackdown jdk on an IBM penguin box using SuSE linux and have not had much luck so far. I can extract the blackdown version, and unpack it but when I try to run the java command I get this: l008064:~/j2sdk1.3.0/bin # ./java -version Error: can't find libjava.so

Re: java.lang.Runtime

2001-03-29 Thread Joseph Shraibman
e","-password:joe","-initialprogram:C:\\Office\\Word\\winword.exe C:\\docs\\1.doc"}; Runtime r = Runtime.getRuntime(); r.exec(cmd); -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com --

exiting problems.

2001-02-13 Thread Joseph Shraibman
pInit processes left around. I'm currently running 1.2.2fcs from blackdown. These problems have happened with 2.2.15 and 2.4.0 kernels. -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -

Re: Thread.yield() on 2.4 - more

2001-02-12 Thread Joseph Shraibman
gt; way it likes. May doesn't mean should. I imagine the spec was so loose because it could be expected that fine control over the threading might not be available to the implementors of the jvm on every platform, not because the writers of the spec didn't think Thread.yield() would be

Thread.yield() on 2.4

2001-02-08 Thread Joseph Shraibman
Is it just me or does Thread.yield() not work anymore with the 2.4.0 kernel? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Re: writing data to lp0

2001-01-31 Thread Joseph Shraibman
Just open it like you would any other file. Raphael Mack wrote: > > Hi, > > I want to write some data to my lp0-port. Does anyone know how I can do > this? > -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http:

Re: JRE as part of Linux

2001-01-23 Thread Joseph Shraibman
ormal. I don't know exactly what the jvm is doing when it is taking all that time starting up so I don't know how useful this would be. -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com

Re: JRE as part of Linux

2001-01-18 Thread Joseph Shraibman
lest application loads several times slower than its naive ecuivalent. > I know about the kernel module that invokes JRE when you exec a java .class > file(with appropriate +x permission). But it doesn't keep JVM is not resident. > > -- Joseph Shraibman [EMAI

Re: 2.4 kernel and threads

2001-01-11 Thread Joseph Shraibman
Scott Murray wrote: > > On Wed, 10 Jan 2001, Joseph Shraibman wrote: > > > On a related note, what is the difference between "buffered" and > > "cached" memory? I've noticed that with 2.4.0 there is barely any > > buffered. > > Nowada

2.4 kernel and threads

2001-01-04 Thread Joseph Shraibman
e kernel, or upgrade to a 2.4 kernel. So can I assume a 2.4 kernel has no limits on threads? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To UNSUBSCRIBE, email to [EMAIL P

Re: JDK1.3 only classic works

2000-12-18 Thread Joseph Shraibman
using Linux 2.4.0-test12-pre7 >glibc 2.2 >Pentium III UP > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAI

Re: What are the disadvantages of using jikes instead of javac?

2000-12-18 Thread Joseph Shraibman
o use only jikes? > > Jacob Nikom > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Joseph Shraibman [EMAIL PROTECTED]

Re: How to print String to default Printer, Help

2000-12-06 Thread Joseph Shraibman
-- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com ---

Re: Unidentified subject!

2000-11-30 Thread Joseph Shraibman
everyone here,and good luck to everybody! > | Enjoy it~~ > | > | > | > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL

[Fwd: Sun Security Bulletin #00199]

2000-11-29 Thread Joseph Shraibman
Does this affect blackdown jdk's in any way? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -BEGIN PGP SIGNED MESSAGE- Sun Microsy

Re: Hot Spot crashes

2000-11-22 Thread Joseph Shraibman
Anybody ideas? > -- > Jochen Witte > <[EMAIL PROTECTED]> > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] --

Re: localhost ip

2000-11-22 Thread Joseph Shraibman
adns.net Addresses: 216.32.74.52, 216.32.74.53, 216.32.74.55, 216.32.74.50 216.32.74.51 Aliases: www.yahoo.com -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To

Re: localhost ip

2000-11-20 Thread Joseph Shraibman
others. I thought it might be the security manager but it turned out it wasn't. -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To UNSUBSCRIBE, email to [EMAIL PROTEC

Re: Does "HotSpot" always mean no "green threads"?

2000-11-20 Thread Joseph Shraibman
cision a while back that it wasn't going to be the jvm's job any more to manage threads. Thus no more green threads. -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -

rmi security bug

2000-10-24 Thread Joseph Shraibman
27;t been fixed. How can a bug this serious continue to not be fixed? Does Sun not allow blackdown to fix this? -- Joseph Shraibman [EMAIL PROTECTED] Increase signal to noise ratio. http://www.targabot.com -- To U

help..

2000-10-13 Thread Santhosh Joseph
i get the following message :cannot find class java/lang/thread' :could not create Java VM' I have downloaded jre1.1.6, but do not know how to set it's parameters so that Oracle installer would work. Any advice ? Joseph

Java - Linux - Oracle

2000-10-13 Thread Santhosh Joseph
a message that Java VM not started. I have downloaded jre1.1.6, but do not know how to set it's parameters so that Oracle installer would work. Any advice ? Joseph -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] wi

Re: Java/Linux Resources from IBM

2000-10-11 Thread Joseph Shraibman
Nathan Meyers wrote: > > Joseph Shraibman wrote: > > > Jeffrey I Condon/Cupertino/IBM wrote: > > > > > > A proposal for fixing the Java programming language's threading problems > > > --

Re: Java/Linux Resources from IBM

2000-10-10 Thread Joseph Shraibman
Jeffrey I Condon/Cupertino/IBM wrote: > > A proposal for fixing the Java programming language's threading problems > - > Allen Holub suggests that the Java programming language's threading model > is possibly the weakest part

Re: Blackdown Applet -> try EARLIER versions of Netscape

2000-09-25 Thread Joseph Shraibman
Barnet Wagman wrote: > PS is there any browser that works under Linux that does a better job > with > applets? > Mozilla is supposed to use the java that is installed on the system and in windows it works, but I haven't figured out how to get it to work in Linux. --

Re: Some jar utility and .jar questions

2000-09-04 Thread Joseph Shraibman
Bill Halchin wrote: > > Hello, > >1) Can the javac compler extract classes from .jar files if > these files are in CLASS_PATH or must I "unjar"? javac is like any other java program. If it is in the CLASSPATH (no underscore) it can be found. > >2) I tried "jar -t xerce

pipe failures

2000-08-25 Thread Joseph Shraibman
I have a cron process that is run every hour. It usually works fine, but sometimes I get messages like this: /usr/local/jdk1.2.2/jre/bin/realpath: Can't reopen pipe to command substitution (fd 4): No child processes /usr/local/jdk1.2.2/jre/bin/realpath: /i386/realpath: No such file or directory

Re: JDK1.3 on Linux with SMP

2000-08-22 Thread Joseph Shraibman
Uh, yeah, that's right. Sun's jdk says that it doesn't work on smp kernels. You'll have to use the latest blackdown version. The rc4 version didn't work on smp kernels because the jit it shipped with couldn't handle native threads, but supposedly the final release has fixed those bugs. Release

Re: Error with blackdown FCS but not RC4

2000-08-04 Thread Joseph Shraibman
Juergen Kreileder wrote: > > >>>>> "Joseph" == Joseph Shraibman <[EMAIL PROTECTED]> writes: > > Joseph> When trying to use activatables I get this error after I > Joseph> switched to blackdown 1.2.2 FCS from RC4. > > Jose

Error with blackdown FCS but not RC4

2000-08-03 Thread Joseph Shraibman
When trying to use activatables I get this error after I switched to blackdown 1.2.2 FCS from RC4. Exception: java.rmi.activation.ActivateFailedException: failed to activate object; nested exception is: java.security.AccessControlException: access denied (com.sun.rmi.rmid.ExecOptionPermi

Re: Security bug in a major fraction of VMs

2000-06-29 Thread Joseph Shraibman
And this is a big security problem? Access specifiers are meant to protect programmers from doing stupid things, not protect security. Of course if you hack the jvm you will be able to get access to a private field. So just what is the security concern here? Wolfgang Hoschek wrote: > > There

Re: Anyone using blackdown jdk on SMP linux?

2000-06-23 Thread Joseph Shraibman
David Marshall wrote: > > Joseph Shraibman wrote: > > > > I've had similar experiences, though on a 2.2.12 kernel. > > > I get the dumps when using either javacomp or sunwjit (Blackdown > > > 1.2.2RC4) - maybe after minutes, maybe after hours. > >

Re: Anyone using blackdown jdk on SMP linux?

2000-06-23 Thread Joseph Shraibman
David Marshall wrote: > > Michael Thome wrote: > > > I've been unable to get blackdown native-thread VM implementation to > > > > work properly on my x86-based SMP machine. I'd be interested in > > corresponding with anyone who's had better luck. > > > > Essentially the problem is that code lik

Re: Why nonblocking I/O in Java is hard

2000-06-12 Thread Joseph Shraibman
Matt Welsh wrote: > > Juergen Kreileder <[EMAIL PROTECTED]> writes: > > > "Matt" == Matt Welsh <[EMAIL PROTECTED]> writes: > > > > Matt> Turns out this is not as easy as it could be -- because even > > Matt> though you call system calls like read(), write(), and > > Matt> fcntl()

JSDK 1.3: is this fixed?

2000-06-12 Thread Joseph Shraibman
http://developer.java.sun.com/developer/bugParade/bugs/4326346.html Can someone check if this is fixed in jsdk 1.3? I can't download it for some reason. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscr

Re: compiler optimization

2000-06-07 Thread Joseph Shraibman
David Blankley wrote: > > I went on an interview last week and was thrown this question: > > what is wrong/sub-optimal with the following code: > > public class someClass { > /* > * some methods, etc > */ > public boolean myBool = false; > } > > Of course, since booleans default to false, Sez

Re: J2SEE 1.3 for Linux!

2000-06-05 Thread Joseph Shraibman
Nathan Meyers wrote: > > On Mon, Jun 05, 2000 at 10:49:35AM -0700, Nelson Minar wrote: > > What would be *really* great is if there were an open source Java > > implementation that we could all contribute to and avoid all these > > politics. My impression is the Java design is stable enough that

Re: [Re: Java2 & Alpha]

2000-05-30 Thread Joseph Shraibman
Well unless it is put up on the ports page nobody will know about it. Uncle George <[EMAIL PROTECTED]> wrote: I have done a linux/java 1.2 port to alpha /gat Jo Uthus wrote: > Ilya wrote: > > | Is there any work being done on porting JDK 1.2 to Linux on Alpha? > > I recently attended a seminar

java -Xmx1024M doesn't work

2000-05-09 Thread Joseph Shraibman
I started an application with java -Xmx1024M classname and at about 60megs I got an OutOfMemoryError. I tried it again with java -Xmx1073741824 classname and it works. Verstion is 1.2.2 rc4 Get your own FREE, personal Netscap

Re: [Re: Thread priorities dont work with native threads]

2000-05-01 Thread Joseph Shraibman
Juergen Kreileder <[EMAIL PROTECTED]> wrote: Jurergen> Don't use thread priorities for synchronization! I'm not. I have an rmi server that needs to do a lot of work. I want to spin off some time insensitve tasks into their own low priority thread so that rmi calls that need fast responses won'

Thread priorities don't work with native threads

2000-05-01 Thread Joseph Shraibman
Run the following with green threads and you get only H's. Run it with native threads and you get H's mixed with L's /** * threadtest.java * * * Created: Mon May 1 15:35:45 2000 * * @author Joseph Shraibman * @version 1.0 */ public class threadtest { pu

Re: Many small objects -> crash

2000-02-03 Thread Joseph Shraibman
Try using a differnt jit like tya. Ekkehard Kraemer wrote: > Hello, > > the problem which was discussed a while ago on this list is still persistent > with RC4: any program that creates lots (say, 30) of small objects (like > java.math.BigInteger) will eventually segfault. > > Just to make s

Re: TYA

2000-02-03 Thread Joseph Shraibman
I did a while ago with tya 1.5 and was surprised to see sunwjit beat it. But tya doesn't crash the vm in certain circumstances that sunwjit crashes. I keep meaning to run the benchmarks again with all the updated versions of everything but I've been busy. I'll let everyone know when I get around

  1   2   >