title: Spring RMI Server Error
body: <pre><code>Caused by: java.lang.IllegalArgumentException: Service [logService] is a String rather than an actual service reference: Have you accidentally specified the service bean name as value instead of as reference?
  </code></pre>
  
  <hr>
  
  <p>Here is my code for ServerAppContext:</p>
  
  <pre><code>    &lt;bean id="entityRmiServiceExporter" class="org.springframework.remoting.rmi.RmiServiceExporter"&gt;
          &lt;property name="serviceName" value="log-service"/&gt;
          &lt;property name="serviceInterface" value="com.hippie.blog.service.LogService"/&gt;
          &lt;property name="service" value="logService"/&gt;
          &lt;property name="registryPort" value="2020"/&gt;
      &lt;/bean&gt;
  
      &lt;bean id="logService" class="com.hippie.blog.service.LogServiceImpl"&gt;
      &lt;/bean&gt;
  </code></pre>
  
  <p></p>
  
  <p>I can't seem to make it work. What do I suppose to put in</p>
  
  <blockquote>
    <p>property name="service" value="logService"</p>
  </blockquote>
  
  <p>because that is the line that the error is referring to.
  Do I need to refer it to my <code>LogServiceImpl</code>?</p>