Hello
I try to understand Baratine way of working. With baratine 0.8.7 I
succeeded in creating a list of users in an in-memory persistent
service. With 0.9.0, I had to restart from scratch.
You'll find enclosed 2 services : UserList and User. UserList is
supposed to provide access to a list of Users and has for the moment one
method : CreateUser. But it throws an exception :
io.baratine.core.ServiceExceptionNotFound: 'local:///RealtyUserListUser'
is an unknown service in AmpManager[podapp:pods/pod.0]
at com.caucho.amp.inbox.InboxNull.serviceNotFound(InboxNull.java:106)
at com.caucho.amp.inbox.InboxNull.createHeaders(InboxNull.java:101)
at com.caucho.amp.message.MessageMethod.<init>(MessageMethod.java:82)
at com.caucho.amp.message.QueryItem.<init>(QueryItem.java:83)
at com.caucho.amp.message.QueryRefFuture.<init>(QueryRefFuture.java:62)
at
com.caucho.amp.message.QueryWithFutureMessageBase.<init>(QueryWithFutureMessageBase.java:51)
at
com.caucho.amp.message.QueryWithFutureMessage_N.<init>(QueryWithFutureMessage_N.java:51)
at com.caucho.amp.resource.ResourceManager__AmpProxy.create(Unknown Source)
at RealtyTutorial.UserList.CreateUser(UserList.java:31)
I don't understand why the service is not found.
I'm a bit lost, isn't there any tutorial explaining how to do this ?
Thanks for any advice.
--
Riccardo Cohen
27 / 29 rue du Colombier
37100 Tours France
+33 6 09 83 64 49