HXTT ACCESS
javax.naming.NamingException: Cannot create resource instance
James Billings
2006-08-29 13:51:57.0
Hello, I'm trying to use database connection pool for HXTT Access V2.0 & received:javax.naming.NamingException: Cannot create resource instance.

Code Snippet:

Context initContext = new InitialContext();
Context envContext = (Context)initContext.lookup("java:/comp/env");
DataSource ds3 = (DataSource)envContext.lookup("jdbc/wccAuthPool");
Connection conn3 = ds3.getConnection();



Server.xml:




factory
com.hxtt.sql.HxttObjectFactory


url
jdbc:access:///c:/data/wcc/auth/AuthWCC.mdb


username
password
host
port8029



web-inf/web.xml


DB Connection
jdbc/wccAuthPool
javax.sql.DataSource
Container



Re:javax.naming.NamingException: Cannot create resource instance
HXTT Support
2006-08-29 19:50:13.0
Can you tell us which server you are using?
Re:Re:javax.naming.NamingException: Cannot create resource instance
James Billings
2006-08-30 03:32:14.0
Apache Tomcat 5.5.9
Re:Re:Re:javax.naming.NamingException: Cannot create resource instance
HXTT Support
2006-08-30 09:20:14.0
You can see here:http://www.hxtt.com/support_view_issue.jsp?product=access&id=1146043820.

It should solve your problem.


Google