File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Sybase datasource without metadata Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
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: 2503
    
    8

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 and ITIL foundation
youtube channel
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Sybase datasource without metadata