Hi,

I have just configuted an Sybase Anywhere 11 and set up the JDBC
Driver.

Using DbVizualizer as a sql query tool I got the information (as well as
stated in the NetIQ documentation) to use the jconn4.jar file.

Start up the driver but gets this error:

DirXML: [06/12/13 15:07:30.77]: TRACE: Remote Loader: Starting
driver...
DirXML: [06/12/13 15:07:30.77]: TRACE: Remote Loader: Calling
DriverShim.init()
DirXML: [06/12/13 15:07:30.77]: TRACE: <nds dtdversion="4.0"
ndsversion="8.x">
<source>
<product edition="Standard" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<init-params src-dn="\IDM\Res\DriverSetStandard\VS IST Extens">
<authentication-info>
<server>jdbc:sybase:Tds:10.10.0.70:49155/ist</server>
<user>LENSVE</user>
<password><!-- content suppressed --></password>
</authentication-info>
<driver-options>
<driver.class.jdbc display-name="Third-party JDBC driver class
name:">com.sybase.jdbc4.jdbc.SybDriver</driver.class.jdbc>
<preserve-sql-whitespace display-name="Preserve white space in SQL
statements:">false</preserve-sql-whitespace>
<ignore1 display-name="Show the database scoping
parameters?">show</ignore1>
<sync-filter display-name="Synchronization
filter:">list</sync-filter>
<sync-tables display-name="Table or view
names:">VVELEV2</sync-tables>
<sync-schema display-name="Schema name:"></sync-schema>
<ignore2 display-name="Use custom regular expression
filters?">0</ignore2>
<include-table-filter display-name="Include filter
expression:"></include-table-filter>
<exclude-table-filter display-name="Exclude filter
expression:"></exclude-table-filter>
<time-syntax display-name="Time syntax:">_</time-syntax>
<state-dir display-name="State directory:">.</state-dir>
<ignore11 display-name="Show connectivity
parameters?">hide</ignore11>
<use-single-connection display-name="Use minimal number of
connections?">_</use-single-connection>
<connection-init display-name="Connection initialization
statements:">SET CHAINED OFF; SETUSER 'idm'</connection-init>
<connection-properties display-name="Connection
properties:"></connection-properties>
<max-conn-retry display-name="Maximum
DirXML: [06/12/13 15:07:30.78]: number of connection
retries:">-1</max-conn-retry>
<ignore3 display-name="Show the compatibility
parameters?">hide</ignore3>
<ignore4 display-name="Use custom descriptor files?">0</ignore4>
<jdbc-driver-descriptor display-name="JDBC driver descriptor
filename:"></jdbc-driver-descriptor>
<database-descriptor display-name="Database descriptor
filename:"></database-descriptor>
<ignore12 display-name="Show backward compatibility
parameters?">hide</ignore12>
<enable-refs display-name="Enable table referential attribute
support?">_</enable-refs>
<enable-meta-identifiers display-name="Enable view meta-identifier
support?">_</enable-meta-identifiers>
<ignore5 display-name="Show transaction-related
parameters?">hide</ignore5>
<use-manual-transactions display-name="Use manual
transactions?">_</use-manual-transactions>
<transaction-isolation-level display-name="Transaction isolation
level:">read committed</transaction-isolation-level>
<ignore6 display-name="Show statement-related
parameters?">hide</ignore6>
<reuse-statements display-name="Reuse
statements?">_</reuse-statements>
<handle-stmt-results display-name="Number of returned result
sets:">_</handle-stmt-results>
<enable-locking display-name="Enable statement-level
locking?">0</enable-locking>
<ignore13 display-name="Use the custom lock statement generator
class?">0</ignore13>
<lock-generator-class display-name="Lock statement generator
class:"></lock-generator-class>
<force-username-case display-name="Force username
case:">_</force-username-case>
<left-outer-join-operator display-name="Left outer-join
operator:">_</left-outer-join-operator>
<minimal-metadata display-name="Retrieve minimal
metadata?">_</minimal-metadata>
<function-return-method di
DirXML: [06/12/13 15:07:30.78]: splay-name="Function return
method:">_</function-return-method>
<supports-schemas-in-metadata-retrieval display-name="Supports
schemas in metadata
retrieval?">_</supports-schemas-in-metadata-retrieval>
<column-position-comparator display-name="Sort column names
by:">_</column-position-comparator>
</driver-options>
</init-params>
</input>
</nds>
DirXML: [06/12/13 15:07:30.78]: TRACE: Loading descriptors.
DirXML: [06/12/13 15:07:30.83]: TRACE: Loaded.
DirXML: [06/12/13 15:07:30.83]: TRACE: Parameter: 'jdbc-class'
Value: null
DirXML: [06/12/13 15:07:30.83]: TRACE: Parameter:
'jdbc-driver-descriptor' Value: null
DirXML: [06/12/13 15:07:30.83]: TRACE: Parameter:
'database-descriptor' Value: null
DirXML: [06/12/13 15:07:30.85]: TRACE: Remote Loader: DriverShim.init()
returned:
DirXML: [06/12/13 15:07:30.85]: TRACE: <nds dtdversion="2.0"
ndsversion="8.x" xmlns:jdbc="urn:dirxml:jdbc">
<source>
<product build="20120601_0445" instance="VS IST Extens"
version="3.5.9">DirXML Driver for JDBC</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<status level="fatal" type="driver-general">
<description>Initialization document missing required value for
driver parameters 'jdbc-class' or
'jdbc-driver-descriptor'.</description>
<jdbc:document xml:space="preserve">&lt;nds dtdversion="4.0"
ndsversion="8.x">
&lt;source>
&lt;product edition="Standard" version="4.0.2.0">DirXML&lt;/product>
&lt;contact>Novell, Inc.&lt;/contact>
&lt;/source>


Then it just ends with Fatal error.

Tried to look into the descriptor files but don't really understand what
to edit, or rather how it is selected.


--
joakim_ganse
------------------------------------------------------------------------
joakim_ganse's Profile: https://forums.netiq.com/member.php?userid=159
View this thread: https://forums.netiq.com/showthread.php?t=47940