Main   Products   Offshore Outsourcing   Customers   Partners   ContactUs  
JDBC Databases
  HXTT Access v5.2
 
  Buy Now
  Support
  Download
  Document
  FAQ
  HXTT Cobol v2.1
  HXTT DBF v5.2
  HXTT Excel v4.2
  HXTT Paradox v5.2
  HXTT Text(CSV) v5.2
  HXTT XML v1.2
Offshore Outsourcing
Oracle Data Import/Export
DB2 Data Import/Export
Sybase Data Import/Export
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
   
   
   
Hongxin Technology & Trade Ltd. of Xiangtan City (abbr, HXTT)

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.

Search Key   Search by Last 50 Questions




Google
 

Address: 9 Station Rd., Xiangtan City, Hunan Province, P.R. China
Postcode: 411100
Phone: (86)731-58225727
Fax: (86)731-58225727
Email: webmaster@hxtt.com
Copyright © 1999-2011 Hongxin Technology & Trade Ltd. | All Rights Reserved. | Privacy | Legal | Sitemap