title: Eclipse RCP, RMI and Bundles
body: <p>I'm trying to combine Eclipse RCP with RMI. For that purpose I created six bundles:
  (In parenthesis are dependencies)</p>
  
  <ul>
  <li>Core: Interfaces for client and server</li>
  <li>Server(Core): Server implementation and Registry start class</li>
  <li>ServerApp(Server): GUI client which basically just instantiates the registry starter (and starts it on Activation)</li>
  <li>Client(Core): Client implementation</li>
  <li>ClientApp(Client): GUI client</li>
  </ul>
  
  <p>Now I started the serverapp, but I got a </p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: core.rmi.CallbackServerInterface (no security manager: RMI class loader disabled)
  </code></pre>
  
  <p>Now I started the server with </p>
  
  <pre><code>-consoleLog -Djava.security.policy=java.policy -Djava.rmi.server.codebase=file:${workspace_loc}/core/
  </code></pre>
  
  <p>(My java.policy file is in the core plugin).
  I thought the problem was the classpath. So I made core and server buddies:</p>
  
  <pre><code>Eclipse-BuddyPolicy: registered
  </code></pre>
  
  <p>in the core bundle manifest file and</p>
  
  <pre><code>Eclipse-RegisterBuddy: core
  </code></pre>
  
  <p>In the server bundle manifest file. 
  Which didn't help, since I got the exact same error.</p>
  
  <p>Does anyone know where I could have gone wrong on this one?</p>