Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Peter Merrylees
There is an alternative strategy which allows you to run as any user and bind to restricted ports. This can be done using authbind. Authbind works with the JVM using native threads and requires no native code. It allows quite a lot of control over which ports can be bound. http://www.debian.org/P

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Nathan Meyers
On Thu, Sep 14, 2000 at 09:17:16PM +0530, Santosh Dawara wrote: > I would like to add some more info ... > > I finally came around to writing the threads for each session that > the Pop Server will handle, I tested it and despite 'x' sessions > spawned, 'ps' would show just one process in the l

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Joi Ellis
Juergen Kreileder wrote: > > > "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: > > Nathan> If using green threads solves the problem, then you > Nathan> probably didn't really have a problem. All those > Nathan> "processes" are really threads, and they should all share >

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Santosh Dawara
I would like to add some more info ... I finally came around to writing the threads for each session that the Pop Server will handle, I tested it and despite 'x' sessions spawned, 'ps' would show just one process in the list. But this was when I used the green option. However, when I used -nat

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Nathan Meyers
On Thu, Sep 14, 2000 at 04:31:19PM +0200, Juergen Kreileder wrote: > > "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: > > Nathan> If using green threads solves the problem, then you > Nathan> probably didn't really have a problem. All those > Nathan> "processes" are really

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Juergen Kreileder
> "Nathan" == Nathan Meyers <[EMAIL PROTECTED]> writes: Nathan> If using green threads solves the problem, then you Nathan> probably didn't really have a problem. All those Nathan> "processes" are really threads, and they should all share Nathan> the same privileges, despite w

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Nathan Meyers
Santosh Dawara wrote: > I say "# java HelloWorld as root I then run ps uax | grep javadir" > > root 25181 98.7 1.4 20840 3708 pts/0R13:33 1:02 > /javadir/sun/jd > root 25205 0.0 1.4 20840 3708 pts/0S13:33 0:00 > /javadir/sun/jd > root 25206 0.0 1.4 20840 3708 pts/0S

Re: Solved - Writing A Java Pop Server for Linux

2000-09-14 Thread Santosh Dawara
I say "# java HelloWorld as root I then run ps uax | grep javadir" root 25181 98.7 1.4 20840 3708 pts/0R13:33 1:02 /javadir/sun/jd root 25205 0.0 1.4 20840 3708 pts/0S13:33 0:00 /javadir/sun/jd root 25206 0.0 1.4 20840 3708 pts/0S13:33 0:00 /javadir/sun/jd root