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: web-inf/web.xml | ||
HXTT Support | 2006-08-29 19:50:13.0 | |
Can you tell us which server you are using? | ||
James Billings | 2006-08-30 03:32:14.0 | |
Apache Tomcat 5.5.9 | ||
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. |