Running j2sdk-1_3_0_02 on Redhat7.1

2001-05-02 Thread Homayoun Yousefi'zadeh
Hello there, I am using Redhat 7.1 and Kernel 2.4.2. I have tried both binary and rpm pkgs of j2sdk-1_3_0_02 on this box and the following is the error msg I get persistently. [root@dena /usr]# java /usr/jdk1.3/bin/java: /usr/bin/cut: No such file or directory /usr/java/jdk1.3.0_02/bin/i386/nat

Re: [akonstan@cs.columbia.edu: Re: RedHat 7.1 (upgrade) and Sun JDK1.3.0_02 (i386)]

2001-05-03 Thread Homayoun Yousefi'zadeh
Thanks Everybody for your responses. I hate the way the file and directory locations change in new distributions. All of a sudden, many things are broken. It gives you nothing but grief to get things up and running. I am experiencing issues with other software packages such as MySQL and Tomcat

Re: parsing query strings

2001-06-08 Thread Homayoun Yousefi'zadeh
Here is a method that I have written in one of my classes. Send me a $25 certificate if it helps ;-) public Vector stringParser(String str, String delim, int maxLength) { Vector strVector = new Vector(); String token; try { StringTokenizer st = new Stri

Java equivalent of outportb?

2001-06-09 Thread Homayoun Yousefi'zadeh
Hello All, Can somebody kindly tell me what are the equivalent classes/methods in Java for outportb/inportb functions in C? Here is the C function: void main() { unsigned short port=888; int i; for(i=0; i<256; ++i) outportb(port, i); } This is at the device level and not the host

Class Loader and Encryption

2001-07-14 Thread Homayoun Yousefi'zadeh
I have a specific question regarding the encryption of jar files. The specific issue that I have is to potentially prevent decompiling the bytecode available in a jar file supplied to an outside source. Could any one tell me how I can use JCE or any other API to prevent potential attacks fo

Re: [VIRUS WARNING!]

2001-07-18 Thread Homayoun Yousefi'zadeh
Yes, I did receive a reply to one of my postings as well. It came from the same sender and included an infected attachment. Fortunately, Norton Antivirus detected the virus. HY --- Alex Buell wrote: > > Some fuckwit got my post from this

Re: Tomcat

2001-09-24 Thread Homayoun Yousefi'zadeh
Henrique, Tomcat documentation can be found at http://jakarta.apache.org/tomcat/ http://jakarta.apache.org/tomcat/tomcat-3.2-doc/index.html http://jakarta.apache.org/tomcat/tomcat-3.2-doc/uguide/tomcat_ug.html The last page contains instructions on how to install Tomcat 3.2 (release build is 3.

SO_KEEPALIVE and Ping

2001-10-22 Thread Homayoun Yousefi'zadeh
Hello All, I have a question regarding a ping program in Java. I am trying to improve the performance of an infinite ping loop by keeping the socket open and using SO_KEEPALIVE option instead of opening and closing a client socket once every few seconds. I have been looking at the documentation

Re: SO_KEEPALIVE and Ping

2001-10-22 Thread Homayoun Yousefi'zadeh
ed phillips wrote: >>I have a question regarding a ping program >>in Java. I am trying to improve the performance >>of an infinite ping loop >> > > whatever for? Well, this is in the context of a high availability app server. Doing a ping the way described heavily taxes the resources of the a