• Post Reply Bookmark Topic Watch Topic
  • New Topic

security policy for rmid?  RSS feed

 
Vijayalakshmi Srinivasan
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I downloaded latest versions of jini and jdk on my win98.
I tried to run rmid at the command prompt as follows:
C:>rmid -J-Dsun.rmi.activation.execPolicy=none
When I press enter, I get no message at all, no error/approval. My cursor just keeps blinking. I don't even get the command prompt c:> back. There is just this blinking cursor.
My path has the bin directory and my classpath has jini-core.jar,jini-ext.jar and sun-util.jar.
Any answers?
Thanks
 
Michael Ernest
High Plains Drifter
Sheriff
Posts: 7292
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That sounds like correct behavior to me.
rmid is just a program that happens to run in perpetuity until it's stopped. Given the way you invoked it, the program is continuously running and therefore using your terminal session indefinitely.
I am sure there must be some way to put a Windows process "in the background" as we do in Unix.
 
Yolanda Casas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try this:
C:>start rmid -J-Dsun.rmi.activation.execPolicy=none
this way, the JVM will start in a new window and you'll get the command prompt back in the former. I don't know whether this is the best way to do it, but it worked for me
Good luck!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!