You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Zeltser, Mark" <Ma...@lehman.com> on 2001/07/17 16:38:43 UTC

Datasource doesn't load with JConnect 5.2

Hello,

Did anyone encounter the following error while trying to load datasource for
Sybase jconnect 5.2? How did you resolve it? Is there a property that would
indicate for not checking for metadata accessor info?

===========================================================================
2001-07-17 10:33:49 - path="/hp2" :app: Exception initializing application
data source DATABASE - java.sql.SQLException: JZ0SJ: Metadata accessor
information was not found on this database. Please install the required
tables as mentioned in the jConnect documentation.
  at com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:439)
  at com.sybase.jdbc2.jdbc.MdaManager.loadMetaData(MdaManager.java:393)
  at com.sybase.jdbc2.jdbc.MdaManager.<init>(MdaManager.java:135)
  at com.sybase.jdbc2.jdbc.MdaManager.<init>(MdaManager.java:120)
  at com.sybase.jdbc2.jdbc.SybConnection.checkMDA(SybConnection.java:1567)
  at com.sybase.jdbc2.jdbc.SybConnection.getMDA(SybConnection.java:1359)
  at com.sybase.jdbc2.tds.Tds.getStringOption(Tds.java:1174)
  at com.sybase.jdbc2.jdbc.SybConnection.getCatalog(SybConnection.java:868)
  at
org.apache.struts.util.GenericConnection.<init>(GenericConnection.java:115)
  at
org.apache.struts.util.GenericDataSource.createConnection(GenericDataSource.
java:733)
  at
org.apache.struts.util.GenericDataSource.open(GenericDataSource.java:668)
  at
org.apache.struts.action.ActionServlet.initDataSources(ActionServlet.java:10
77)
  at org.apache.struts.action.ActionServlet.init(ActionServlet.java:471)
  at javax.servlet.GenericServlet.init(GenericServlet.java:258)
  at com.lehman.hp2.action.v10.ContextServlet.init(ContextServlet.java:31)
  at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
  at org.apache.tomcat.core.Handler.init(Handler.java:215)
  at org.apache.tomcat.core.ServletWrapper.init(ServletWrapper.java:296)
  at
org.apache.tomcat.context.LoadOnStartupInterceptor.contextInit(LoadOnStartup
Interceptor.java:130)
  at
org.apache.tomcat.core.ContextManager.initContext(ContextManager.java:491)
  at org.apache.tomcat.core.ContextManager.init(ContextManager.java:453)
  at org.apache.tomcat.startup.Tomcat.execute(Tomcat.java:195)
  at org.apache.tomcat.startup.Tomcat.main(Tomcat.java:235)
=========================================================================


------------------------------------------------------------------------------
This message is intended only for the personal and confidential use of the designated recipient(s) named above.  If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited.  This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such.  All information is subject to change without notice.