Search:

Type: Posts; User: dbd1979; Keyword(s):

Search: Search took 0.01 seconds.

  1. I was able to make this work by subclassing...

    I was able to make this work by subclassing SimpleRemoteStatelessSessionProxyFactoryBean and then programmatically creating the proxy.


    public class SubProxy extends...
  2. SimpleRemoteStatelessSessionProxyFactoryBean - Dynamic jndiEnvironment

    I am trying to use SimpleRemoteStatelessSessionProxyFactoryBean to access an EJB with security:


    <bean id="AppQuery"...
  3. I did a search which brought up some threads...

    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...
  4. Environment based bean configuration/loading

    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...
  5. Replies
    8
    Views
    3,316

    Found out the problem ! I missed to set the...

    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.
    ...
  6. Replies
    8
    Views
    3,316

    maxRetries is set to 2. Here is the stack for...

    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...
  7. Replies
    8
    Views
    3,316

    Ramnivas, I added that line, but the behavior...

    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...
  8. Replies
    8
    Views
    3,316

    Retry logic using Interceptor

    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"...
Results 1 to 8 of 8