I encounter the following errormessage when trying to connect to a EJB that was called using the Spring Dynamic Proxy mechanism.

00:54:42,218 INFO [STDOUT] org.springframework.remoting.RemoteAccessException : Cannot access remote service [Author]; nested exception is java.rmi.ServerException: EJBException:; nested exception is:
javax.ejb.EJBException: null; CausedByException is:
Returned bean is not BeanFactory or its subclass. lookup ID [authorFacade], factory key [authorFacade], from group with resource name [classpath*:dataAccessContext.xml]. Returned object class is [at.sozvers.seucc.book.facade.AuthorFacade]
00:54:42,218 INFO [STDOUT] java.rmi.ServerException: EJBException:; nested exception is:
javax.ejb.EJBException: null; CausedByException is:
Returned bean is not BeanFactory or its subclass. lookup ID [authorFacade], factory key [authorFacade], from group with resource name [classpath*:dataAccessContext.xml]. Returned object class is [at.sozvers.seucc.book.facade.AuthorFacade]

The Facade and the services are defined as follows:
<bean id="bookFacade" class="at.sozvers.seucc.book.facade.BookFacade">
<property name="bookService">
<ref bean="bookService"/>
</property>
</bean>
<bean id="authorFacade" class="at.sozvers.seucc.book.facade.AuthorFacade">
<property name="authorService">
<ref bean="authorService"/>
</property>
</bean>

<bean id="bookService" class="at.sozvers.seucc.book.service.impl.BookServ iceImpl">
<property name="bookDAO">
<ref bean="bookHibernateDAO"/>
</property>
</bean>

<bean id="authorService" class="at.sozvers.seucc.book.service.impl.AuthorSe rviceImpl">
<property name="authorDAO">
<ref bean="authorHibernateDAO"/>
</property>
</bean>

Within the AuthorBean and the BookBean I create the Service object as follows, as I have Hibernate as persistence mechanism.

public void setSessionContext(SessionContext sessionContext) {
super.setSessionContext(sessionContext);
setBeanFactoryLocator(ContextSingletonBeanFactoryL ocator.getInstance("dataAccessContext.xml"));
setBeanFactoryLocatorKey("authorFacade");
}

Any idea why I get the error above? Every help is realy appreciated!

Thanks
Rene