Re: Writing A Java Pop Server for Linux

2000-09-14 Thread Avi Cherry
>Proper Linux Processes, If you said "java Helloworld" for the simplest >of >code , 'ps uax ' will tell you 4 new Processes were Spawned , I am >guessing they are for the JVMs Internal book keeping and for executing >the code They are not actually 'proper' linux processes. They are, in fact, th

Re: Writing A Java Pop Server for Linux

2000-09-14 Thread Joi Ellis
On Thu, 14 Sep 2000, Santosh Dawara wrote: > Nathan Meyers wrote: > > > > You use 'forks' in quotes. Are they processes or threads? How were > > they created? > > Proper Linux Processes, If you said "java Helloworld" for the simplest > of > code , 'ps uax ' will tell you 4 new Processes were Sp

Re: Writing A Java Pop Server for Linux

2000-09-13 Thread Santosh Dawara
Nathan Meyers wrote: > > You use 'forks' in quotes. Are they processes or threads? How were > they created? Proper Linux Processes, If you said "java Helloworld" for the simplest of code , 'ps uax ' will tell you 4 new Processes were Spawned , I am guessing they are for the JVMs Internal book ke

Re: Writing A Java Pop Server for Linux

2000-09-13 Thread Peter Schuller
> I was worried about the entire JVM but I guess I will put this issue on > the backburner for a while, I'll let the script wait on the POp Server > and then > have the Server serve n connections & exit itself, the script can then > restart it. Why are you concerned with memory leaks at all? Sin

Re: Writing A Java Pop Server for Linux

2000-09-13 Thread Nathan Meyers
On Wed, Sep 13, 2000 at 05:55:58PM +0530, Santosh Dawara wrote: > Hi all, > > In my earlier post I wrote >> > > > 1> Bind to the System Port I want to listen on > > 2> Release Root Priveleges using JNI > > 3> Begin accepting Client Connections. > > > > I have reservations about the steps above

Re: Writing A Java Pop Server for Linux

2000-09-13 Thread Santosh Dawara
Hi all, In my earlier post I wrote >> > 1> Bind to the System Port I want to listen on > 2> Release Root Priveleges using JNI > 3> Begin accepting Client Connections. > > I have reservations about the steps above , will it really be as secure > as > a C application doing the same thing (ie beco

Re: Writing A Java Pop Server for Linux

2000-09-13 Thread Santosh Dawara
Hi Yavor and everybody else, Thank you for the detailed replies. Everybody advises writing a script to run the Pop Server, in more detail -> using SysV Script , nohup to dissasociate from the terminal. So heres the framework for the Java Code 1> Bind to the Pop Socket 2> Release Root Prive