This content has been marked as final.
Show 2 replies
-
1. Re: Initial Context factory setting for JNDI when running JT
jhalliday Nov 14, 2007 1:05 PM (in response to breako)huh? If you are running inside the JBoss app server, it handles the JNDI for you. If you are running outside the app server you don't have any JNDI provider unless you pick one yourself. Why do you have to register the datasource at all, just instantiate it direct in your code.
-
2. Re: Initial Context factory setting for JNDI when running JT
marklittle Nov 14, 2007 1:25 PM (in response to breako)Plus, if you're running outside of the application server then consider using the transactional JDBC driver that ships with JBossTS. Once again: it's all in the documentation.