Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISPN-1504 JBossTransactionManagerLookup does not work in JBoss AS 7 #606

Closed
wants to merge 1 commit into from

Conversation

maniksurtani
Copy link
Member


try {
// Check for JBoss AS 4 ~ 6
return (TransactionManager) initialContext.lookup(legacyAsLocation);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the time you arrive here, if a NamingException was received when looking up AS7 TM, the initial context will be closed.

This code should be included in the NamingException catch instead, shouldn't it?

@maniksurtani
Copy link
Member Author

Good point. Updating.

@Sanne
Copy link
Member

Sanne commented Nov 3, 2011

merged

@Sanne Sanne closed this Nov 3, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants