ram mohan

Ranch Hand
+ Follow
since Oct 17, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by ram mohan

Thanks frank for the valuable idea.
I will work on it
20 years ago
Ok Adrian agreed and thanks a lot.
But if there are couple of processes with the same name (of course with different process ID) how to identify the process which I want to kill?
In fact my actual requirement is I have an application which required couple of predefined ports to run.Individual element of that application runs on different ports.We can start those individual elements alone if required.But afterthat if I tried to start the application it throws an error saying that the port required to run the application is occupied.So I wantt o write a shellprogramme to get execute prior to start that application which kills all the processes which runs on those ports.

What I feel is there should be a mechanism to relate the processID with the port in which it runs.If we can do that one then .
rgds
20 years ago
Thanks Adrin.
As u said if the parent process get killed then the children process too will die.
But my problem is slightly different. There are couple of process with the same process name.Those are independent process.I kow the port in which they run.If I want to kill one of them which is running in a known port.
Basically what I want is to kill a process which is running in a known port say like 9050
I am sure now my question is clear.
Looking forward help
Ram

[This message has been edited by ram mohan (edited April 19, 2001).]
20 years ago
Hi,
I am a newbee for linux.I need advice in Linux.
I am running a web process which occupies a port.If I run it in the command mode I can simply kill that whenever I want by typing control+c.
But if I run it as a background( & ) process how to kill that particular process?I know the port in which it runs.
Presently what I am doing is by typing ps -ax|grep java and kill all java process.by that all java processed get killed.but I want to kill only that process.
I hope my question is clear enough.Pls help me
20 years ago
U need to keep the copy of that interface + stub with all the client mechine.Pls correct me if I am wrong
20 years ago
This works in Linux Mandraka.I hope it works in all linux which is compatible with the Red Hat.
Type
ps -ax|grep rmiregistry
and enter.Then in the command mode process id of the rmiregistry get displayed.then kill -9 id. This kill that process
[This message has been edited by ram mohan (edited April 06, 2001).]
20 years ago
I think 30 minutes is the default in web servers.If we want can modify it
20 years ago
Thanks for the valuable piece of advice.But what is these "MVC" you all r talking about
20 years ago
Hi folks,
we have 2 complementary technology to a great extend ;Servlets and JSP.
So is there any rule of thumb saying Servlets suits for this kind of requirements and JSP suits for this kind of requirements?
Because this is very useful in deciding the project technology at the initial stage
Look forward an interesting dicussion from java gurus who have done many projects using these technologies
Rgds
ram
20 years ago
hi davidlong,
I have a question to ask u.
U mentioned that the JVM may have the security setup to refuse the use the socket connection which is greater than 1024.How to find out whether there is any setup like that?If so how to modify that?
Rgds
Ram
20 years ago
Hi Folks,
I have a very basic question on form submition.
I am submitting a form to a servlet.
If do it in the browser on the location bar all the textbox, hiddenfiels names and values get displayed.I want to hide this.
(even in javaranch I have seen unnecessary junks are visible in the location bar.How to hide those?)
I think my question is clear enough
Rgds
Ram
20 years ago
Hi Cindy,
Can u please elloborate little more with some example code
Thanks
Ram
20 years ago
Divyajot Ahluwalia,
Try here http://www.javaexchange.com/
Rgds
Ram
20 years ago
Can u elloborate little more.Where I can locate it and how I can use that?
I couldn't locate it in the jdk/bin directory
20 years ago
Hi
Where I can download any JIT tools?
Ram
20 years ago