title: CORBA: Java's servertool does not allow me to register a server class
body: <p>Have been pulled down into the realm of CORBA...</p>
  
  <p>I am trying to quickly learn (if not master...) CORBA along side its Java mappings. I have come upon some old tutorials:</p>
  
  <p><a href="http://java.sun.com/j2se/1.4.2/docs/guide/idl/jidlExample.html" rel="nofollow noreferrer">Java IDL: The "Hello World" Example</a></p>
  
  <p><a href="http://java.sun.com/j2se/1.4.2/docs/guide/idl/jidlNaming.html" rel="nofollow noreferrer">Naming Service</a></p>
  
  <p><a href="http://java.sun.com/j2se/1.4.2/docs/guide/idl/orbd.html" rel="nofollow noreferrer">orbd - The Object Request Broker Daemon</a></p>
  
  <p>I have created a project with the source from the first link above (Java IDL...) and have run both HelloServer and HelloClient after running the following command:</p>
  
  <pre><code>start orbd -ORBInitialPort 1050
  </code></pre>
  
  <p>Not surprisingly, everything works :)</p>
  
  <p><strong>I then with to register the HelloServer in the as a persistent service and fail miserably!</strong></p>
  
  <p>I run the following command (launched from the "bin" folder (that which contains the .class files)):</p>
  
  <pre><code>%JAVA_HOME%\bin\servertool -ORBInitialPort 1050
  </code></pre>
  
  <p>I then run:</p>
  
  <pre><code>servertool &gt; register -server HelloServer -classpath .
  </code></pre>
  
  <p>and the process simply hangs...</p>
  
  <p>What might I be doing wrong</p>