2513012 - java.lang error on ddlgen - SAP ASE | SAP Knowledge Base Article

SAP Knowledge Base Articles - preview

2513012 - java.lang error on ddlgen - SAP ASE


  •   SYBASE_JRE is set to $SYBASE/shared-1_0/JRE-1_3
  • getting error when running ddlgen
    % ./ddlgen -Usa -S<machine_name>:<port_number> -TI -N<db_name>..<table_name>.% -P
    Exception in thread "main" java.lang.NoClassDefFoundError: java/sql/ParameterMetaData
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
            at com.sybase.ddlgen.ThreadPool.createNewDDLThread(ThreadPool.java:122)
            at com.sybase.ddlgen.ThreadPool.getFreeThread(ThreadPool.java:75)
            at com.sybase.ddlgen.container.DDLBaseContainer.load(DDLBaseContainer.java:73)
            at com.sybase.ddlgen.DDLGenerator.generateDDL(DDLGenerator.java:109)
            at com.sybase.ddlgen.DDLGenerator.main(DDLGenerator.java:72



  • SAP Adaptive Server Enterprise (ASE) 12.5.4 or lower


SAP Adaptive Server Enterprise 12.5


NoClassDefFoundError, ParameterMetaData, java.lang.ClassLoader, defineClass0, com.sybase.jdbc3.jdbc.SybConnection.checkMDA, java.sql.DriverManager.getConnection, JRE-1_3, jre142 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.