• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

security policy for rmid?

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic