Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Dan

There's no issue with having two proxies. The name attribute would not have any use in this case, since it's not a naming conflict. The problem is related to the fact that each proxy needs an underlying GigaSpace instance (it's space-based remoting after all). If there's only one such instance in the pu.xml, it used by default. If there's more than one, you need to specify which one will back the remote proxy. As for the exception, you specified the name of the of another bean instance and not the GigaSpace instance. It should be: @SyncProxy(gigaSpace="gigaSpaceTwo")

Also, it's preferable to use ExecutorRemoting, in which case it would look like this: @ExecutorProxy(gigaSpace="gigaSpaceTwo")