- 
        1. Re: Connection Poolingraja05 Sep 3, 2003 10:11 AM (in response to devloch)What version of JBoss are u using? 
 I suppose the datasource definition file has to end with
 -service.xml in 3.0.x and -ds.xml in 3.2.x
 Im not very confident about 3.2.x but if its 3.0.x, it should end with -service.xml and not -db.xml
- 
        2. Re: Connection Poolingjuha Sep 11, 2003 7:09 AM (in response to devloch)Do you have the resource reference mapping for the private ENC java:comp/env/MSSQLDS in your deployment descriptors? 
 -- Juha
- 
        3. Re: Connection Poolingtnevolin Sep 20, 2004 5:27 AM (in response to devloch)Hello devloch. 
 I'm also trying to connect to MSSQL. The code is:
 InitialContext context = new InitialContext();
 ds = (DataSource) context.lookup("MSSQLDS");
 And it gives a NamingException. I think it cannot find it.
 In my mssql-ds.xml it is defined as simple
 <jndi-name>MSSQLDS</jndi-name>
 Is it important to use "java:comp/env/" prefix when call contex.lookup?
- 
        4. Re: Connection Poolingdarranl Sep 20, 2004 5:45 AM (in response to devloch)Have a look at the JNDI View in jmx-console to see what is actually bound. 
- 
        
 
     
     
     
     
    