SBELUR BELUR

Greenhorn
+ Follow
since Mar 01, 2005
Merit badge: grant badges
For More
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 SBELUR BELUR

Hi

This is the situation.
From my Python script I start a Java Process which starts rmiregistry at some port

Now I am interested in Killing the rmiregistry process .
So i start another Python script which runs another Java Program ....
BUT now i am not sure how to kill the process ?

THIS IS MY QUESTION

Basically 2 jvms are run . IN one jvm i have process handle.
BUT how do i kill process from different JVM

If this is not possible i would lilke to know how to the below

in java

1> HOW DO I KILL A PROCESS RUNNING AT SOME PORT (In general)
(Can be started frrom different JVM ?)
2> Also is it possible to get PID of process from Java
19 years ago
Hi All
Recently while running a remote object in java 1.4.2 version(even 1.5) with argument for java.rmi.server.codebase property as file:// followed by complete
path of a jar file , I got a Filepermission related exception
(Also Security Exception )

BUT when i used 3 slashes instead of 2 it works

BUT my point is that it works very well with 2 slashes in java 1.4.1 version

Please can any one shed some light on this ; as to why it works with 1.4.1 and not 1.4.2 version of java. The policy files seem to be same (java.policy)

Any idea ?

Thanks
19 years ago
Hi

I am using j2sdk 1.4.2 . In 1.4.1 version File protocol was working with double slash But Now in 1.4.2 version I have to use /// slashes to make it work...

Can anyone shed any light on this. Has Sun changed something ?
I searched the release notes but could not find anything useful.....

Please comment .

Thanks
19 years ago