Search:

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

Search: Search took 0.02 seconds.

  1. Replies
    0
    Views
    1,160

    Exposing FactoryBean as ManagedResource

    Hi,

    Can someone suggest the simplest way to expose a FactoryBean as a ManagedResource? I'm trying to extend the Spring TimerFactoryBean so that Timers can be 'paused' and 'resumed' at runtime.
    ...
  2. Replies
    1
    Views
    1,636

    Locating the platform mbean server

    Hi!

    I'm trying to use ConnectorServerFactoryBean to expose the platform mbean server. When starting up, JmxUtils.locateMBeanServer(null) never returns the platform mbean server as...
  3. My SMLC seems to be behaving now (I must have...

    My SMLC seems to be behaving now (I must have been using the wrong appContext previously). I think I'll avoid DMLC altogether for the moment since I don't need to create XA transactions.
    Thanks for...
  4. SimpleMessageListenerContainer blocks closing of ApplicationContext

    Hi,

    When closing the ApplicationContext (eg. undeploy in Tomcat) the process is blocked by my JMS consumer (using SimpleMessageListenerContainer). If I send a message to the queue it will then...
  5. Replies
    2
    Views
    680

    In the same comment below it mentions that.. ...

    In the same comment below it mentions that..

    "The recommended solution for handling failure of a subtransaction is a "nested transaction", where the global transaction can be rolled back to a...
  6. Replies
    2
    Views
    680

    GlobalRollback inside nested transactions

    Hi,

    When 'setGlobalRollbackOnParticipationFailure' of my TransactionManager is set to the default of 'true' a nested transaction (PROPAGATION_NESTED) will affect the outer transaction. This isn't...
  7. I don't think that using PROPOGATE_REQUIRED for...

    I don't think that using PROPOGATE_REQUIRED for the tasks would help. I need to guarantee that what the tasks do and what is reported are synchronised which is why I wanted them both to be part of...
  8. I have created a simple workflow system where...

    I have created a simple workflow system where tasks can be automatically run in order. When tasks are executed it stores the results in the database but if an unhandled Exception is thrown in one of...
  9. That confirms what I thought I knew. My problem...

    That confirms what I thought I knew. My problem is that an inner transaction with PROPAGATION_REQUIRES_NEW _is_ affecting the outer transaction.

    When I am using savepoints in the outer transaction...
  10. Problems with propagation behaviour in transactions

    Hi,

    I'm having problems when setting a save point and rolling back where another transaction is run in between with PROPAGATION_REQUIRES_NEW.

    I'm doing this programmatically and basically looks...
Results 1 to 10 of 10