Search:

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

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Duh!

    Duh! Problem solved. We were closing the DB before the destroy() method being executed.

    Thanks for your help, and sorry for the trouble :S

    J.
  2. Hey, Marten. Thanks for your reply. I did as...

    Hey, Marten.

    Thanks for your reply. I did as you suggested and injected a TransactionTemplate. I ended up with the following methods:



    public void afterPropertiesSet() throws Exception {...
  3. @Transactional annotation in DisposableBean.destroy()

    Hello all.

    This may be a longshot, but is it possible to do data access (open a transaction, do some DB work, commit the transaction) from within the destroy() method of a bean implementing...
  4. Replies
    0
    Views
    495

    Esoteric integration with legacy code

    Hello, spr-frwk community.

    I have this requirement to integrate my project with legacy code. This code comes in the form of a JAR dependency that has this registerSyncListeners(Class clasz)...
  5. Declare a standard javax.jms.ConnectionFactory as...

    Declare a standard javax.jms.ConnectionFactory as a SpringBean, like so:


    <jee:jndi-lookup id="sonicJmsFactory" jndi-name="${slv.jms.connectionfactory}"/>


    Then inject this in your jms...
  6. Replies
    0
    Views
    1,028

    Exporting beans in a cluster?

    Hello, all.

    I have successfully exported some app-specific beans to JMX in WL 9.2 using Spring 2.5, and used an external webapp with a MBeanProxyFactoryBean to access these beans so that the user...
  7. DefaultMessageListenerContainer in a clustered environment

    Hello all,

    Does anyone know how a DMLC will behave in a clustered environment? I have two of them: one can have up to 5 concurrent consumers, and the other has only one (ordering is important at...
  8. Replies
    3
    Views
    4,081

    Typo?

    Hello.

    Maybe this reply is not useful anymore, but here goes: I do not know if this is a typo or if it is intentional just for the purpose of illustration, but you are injecting the server with...
  9. Thanks

    Thanks for shedding some light on this matter. You have been most helpful.

    Best regards.

    J.
  10. Final question...

    This was someone else's comment. Not mine.

    Thank you for your insight. One final question (although I might be evidencing some ignorance with it): In a try-catch-finally block, is the re-thrown...
  11. Question for Juergen Höeller

    I already did what the reply to my post suggested, and the code ended up as follows:


    try {
    doSomething();
    }
    catch (Exception e) { // Catch everything so I can log everything to a...
  12. JTA transaction behaviour in try-catch-finally block.

    Good day, all.

    What's the behaviour of a Spring-managed JTA transaction when running inside a try-catch-finally block? I have a transactional method configured by this bean definition:


    ...
  13. Consuming message outside XA trans. while everything else is within it

    Hello.

    We're developing an app that's making extensive use of JMS. Our JMS provider is SonicMQ 7.0.2, and our app server is WL 9.2. Queues and ConnectionFactories are obtained directly from...
  14. Problem finally solved

    It's been a while since I posted this issue, but I'll close it with a final piece of info for anyone who runs into this same problem.

    When deploying Spring 2.x apps in Weblogic, make sure you...
  15. Replies
    0
    Views
    806

    DMLC + Weblogic WorkMamanger

    Hello, experts.

    I've been trying for weeks to get both my Quartz scheduler and DefaultMessageListenerContainers to be fully integrated with my WL9.2 app server. This I'm doing by injecting...
  16. Worked like a charm!

    Thanks, it worked like a charm!
  17. Thanks, I'll give it a shot and get back to the...

    Thanks, I'll give it a shot and get back to the forum with any results.

    Rgds.

    J.
  18. Stopping or pausing message consumption in Spring JMS

    Hello, experts.

    Is there a way to stop or pause message consumption in Spring JMS? I'm currently using MessageListenerAdapters and DefaultMessageListenerContainer, as I wish retrieval of messages...
  19. Replies
    1
    Views
    1,292

    Solved...

    Duh...I discovered what the problem was and how to workaround it. Seems Spring can only export beans that are in the root level (no inner beans). Since I declared the target of my transaction proxies...
  20. Replies
    1
    Views
    1,292

    Exporting transaction-proxied beans via JMX

    Hello, experts.

    What is the correct way to export transaction-proxied beans to JMX? I'm using TransactionProxyFactoryBean to create transaction-advised beans, and using annotations to export these...
  21. Updating Xerces to no avail :(

    I updated the xerces jars on my app. classpath with the version you specified, and with newer ones, and it keeps giving me the same error. Any other ideas?

    If you're willing to embark on further...
  22. Evidence of Spring 1.2.x and Spring 2.0.x jars not being mixed

    Thanks for you reply.



    Evidence for my assertion is shown in the list I posted with the contents of my WEB-INF/lib dir. As you will see, no Spring 1.2.x jar is displayed there.

    If you need...
  23. What version?

    Thanks for the reply,

    What version of Xerces are you suggesting? I've tried to place xerces-2.4.0.jar, but I do not know if any other jar is required (such as xercesImpl, xmlParserAPIs, etc.).
    ...
  24. Weblogic classpath problems preventing schema-based configuration to work

    I'm starting this thread to see if I can catch any attention from you guys towards my problem.

    There seems to be a jar in my WEB-INF/lib that is preventing the correct parsing of the app context...
  25. Errata - Issues with Spring 2.0.1 and WL 9.2

    I was mistaken. I stated the above when tried to deploy all my applications, but then tried to deploy the petclinic, petstore and the rest of the samples that came along with Spring's source code,...
Results 1 to 25 of 47
Page 1 of 2 1 2