SAP Knowledge Base Article - Preview

2165875 - ddlgen errors java.lang.NoClassDefFoundError - ASE

Symptom

  • ddlgen -Usa -S<servername>:<portnumber> -D<dbname> -T<object_type> -N<object_name> -O/path/output/file.out report the following error:


Exception in thread "main" java.lang.NoClassDefFoundError:
com/sybase/jdbc4/jdbc/SybDataSource
at com.sybase.ddlgen.sql.ASConnection.open(ASConnection.java:329)
at  com.sybase.ddlgen.sql.ASConnection.<(><<)>init>
(ASConnection.java:306)
at com.sybase.ddlgen.ConnectionPool.openConnection(ConnectionPool.java:55)
at com.sybase.ddlgen.ConnectionPool.getConnection(ConnectionPool.java:94)
at com.sybase.ddlgen.DDLThread.<(><<)>init>(DDLThread.java:52)
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:75)
at com.sybase.ddlgen.DDLGenerator.generateDDL(DDLGenerator.java:119)
at com.sybase.ddlgen.DDLGenerator.main(DDLGenerator.java:75)
Caused by: java.lang.ClassNotFoundException: com.sybase.jdbc4.jdbc.SybDataSource
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

  • Migrating from ASE 15.7 (2K page server) to ASE 16.0 (8K page server)


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.7
  • SAP Adaptive Server Enterprise (ASE) 16.0

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0

Keywords

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 for Me (Login required).

Search for additional results

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