Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v7.1
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v5.0
  HXTT DBF v7.1
  HXTT Excel v6.1
  HXTT Json v1.0
  HXTT Paradox v7.1
  HXTT PDF v2.0
  HXTT Text(CSV) v7.1
  HXTT Word v1.1
  HXTT XML v4.0
Offshore Outsourcing
Free Resources
  Firewall Tunneling
  Search Indexing Robot
  Conditional Compilation
  Password Recovery for MS Access
  Password Recovery for Corel Paradox
  Checksum Tool for MD5
  Character Set Converter
  Pyramid - Poker of ZYH
   
   
   
Heng Xing Tian Tai Lab of Xi'an City (abbr, HXTT)

HXTT ACCESS
javax.naming.NamingException: Cannot create resource instance
James Billings
2006-08-29 13:51:57
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
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
Apache Tomcat 5.5.9
Re:Re:Re:javax.naming.NamingException: Cannot create resource instance
HXTT Support
2006-08-30 09:20:14
You can see here:http://www.hxtt.com/support_view_issue.jsp?product=access&id=1146043820.

It should solve your problem.

Search Key   Search by Last 50 Questions




Google
 

Email: webmaster@hxtt.com
Copyright © 2003-2019 Heng Xing Tian Tai Lab of Xi'an City. | All Rights Reserved. | Privacy | Legal | Refund | Sitemap