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.
Type: Posts; User: JSRamos; Keyword(s):
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.
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 {...
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...
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)...
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...
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...
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...
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...
Thanks for shedding some light on this matter. You have been most helpful.
Best regards.
J.
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...
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...
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:
...
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...
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...
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...
Thanks, it worked like a charm!
Thanks, I'll give it a shot and get back to the forum with any results.
Rgds.
J.
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...
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...
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...
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...
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...
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.).
...
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...
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,...