Hi,

I am using Spring to lookup remote EJBs from a WebSphere 7 server with caching enabled.

Everything is going great until the remote server is restarted. After which the remote calls are amazingly slow! If i restart the spring server (which btw is another WebSphere instance) everything comes back to normal.

Anyone having this issue?

Code:
<jee:remote-slsb id="esperRemote" 
		jndi-name="EsperSessionBeanRemote"
		business-interface=".EsperSessionBeanRemote" 
		home-interface="EsperSessionBeanRemote" cache-home="true" 
		resource-ref="true" lookup-home-on-startup="false" 
                environment-ref="eventJndiProperties" 
                refresh-home-on-connect-failure="true"/>

<bean id="eventJndiProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
		<property name="properties">
	      	<props>
	      		<prop key="java.naming.factory.initial">com.ibm.websphere.naming.WsnInitialContextFactory</prop>
	      		<prop key="java.naming.provider.url">${java.naming.provider.url.event}</prop>
	      	</props>
	    </property>
    </bean>