I was able to make this work by subclassing SimpleRemoteStatelessSessionProxyFactoryBean and then programmatically creating the proxy.
public class SubProxy extends...
Type: Posts; User: dbd1979; Keyword(s):
I was able to make this work by subclassing SimpleRemoteStatelessSessionProxyFactoryBean and then programmatically creating the proxy.
public class SubProxy extends...
I am trying to use SimpleRemoteStatelessSessionProxyFactoryBean to access an EJB with security:
<bean id="AppQuery"...
I did a search which brought up some threads where this has been discussed:
http://forum.springsource.org/showthread.php?t=46504
One of the solution was to use variables to supply values from...
I have a situation where there is a set of beans tied to an environment. i.e. When my application runs in a test environment i have to load a specific set of beans and when it runs in production it...
Found out the problem !
I missed to set the target or targetSource for Proxy. When the exception occured first time and went into retry mode, target was null causing a NullPointerException.
...
maxRetries is set to 2.
Here is the stack for the first proceed() call which indicates a failure and the need to retry:
Dec 11, 2008 2:54:34 PM...
Ramnivas,
I added that line, but the behavior remains unchanged.
Denis,
The NPE is thrown by proceed() itself. You are correct that e.getCause() generates a NPE, but its thrown at the last...
I am trying to implement a retry logic using MethodInterceptor.
Following is the spring configuration:
<bean id="retryInterceptor_PIT1" class="com.csi.Retry">
<property name="maxRetries"...