You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, is it possible to configure a transaction manager to be accessible by JNDI?
I tried this, but didn't work, once each time InitialContext is created, it reads from the properties files and replace all previously binded resources:
InitialContext jndiCtx = new InitialContext();
jndiCtx.bind(JNDI_TRANSACTION_MANAGER, createTransactionManager());
jndiCtx.bind(JNDI_DATASOURCE_NAME, createDataSource());
Do you have any idea no I can have my TransactionManager binded too?
The text was updated successfully, but these errors were encountered:
I debugged Hibernate and discovered that he calls the context.close().
Using the flag org.osjava.sj.jndi.ignoreClose=true apparently solves my problem.
I am glad all of this is open source, so I could debug it all to understand how it works.
Hello, is it possible to configure a transaction manager to be accessible by JNDI?
I tried this, but didn't work, once each time InitialContext is created, it reads from the properties files and replace all previously binded resources:
Do you have any idea no I can have my
TransactionManager
binded too?The text was updated successfully, but these errors were encountered: