aspose file tools
The moose likes JDBC and the fly likes Sybase datasource without metadata Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Sybase datasource without metadata" Watch "Sybase datasource without metadata" New topic
Author

Sybase datasource without metadata

Gary Bold
Greenhorn

Joined: Jan 04, 2007
Posts: 1
I am having a problem using a tomcat 5.5.17 datasource with Sybase 9.0.2 and jconn2.jar (have also tried jconn3)

I can connect using:



However when I try the same thing through the datasource


I get the error:

Cannot create PoolableConnectionFactory (JZ0SJ: Metadata accessor information was not found on this database. Please install the required tables as mentioned in the jConnect documentation.)

Seems like these tables must be there if I can connect as above. Any ideas? Can I tell tomcat not to use a poolable connection and will that eliminate the error?
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2343

Originally posted by Gary Bold:

Seems like these tables must be there if I can connect as above. Any ideas? Can I tell tomcat not to use a poolable connection and will that eliminate the error?


From the product's installation manual:
For jConnect to function properly, you must install stored procedures and tables ...

You need to verify if you have completed the installation procedure of the product.

Regards, Jan


OCUP UML fundamental
ITIL foundation
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Sybase datasource without metadata
 
Similar Threads
com.sybase.jdbc2.SybConnection: SET CHAINED command not allowed within multi-statement transaction
problem in getting sybase Datasource in Tomcat 4.1.12
Performance issues in java
accesing a database
changing portlet database to sybase