Exporting domain keys does not work. (NETIQKB46998)

  • 7746998
  • 02-Feb-2007
  • 01-Oct-2007

Resolution

fact
NetIQ Vulnerability Manager 5.5

symptom

Exporting domain keys does not work.



symptom
ExportDomainKeys.bat does not work.

symptom
Exporting shared secret keys does not work.

symptom
Error: 'Failed to construct JDBC driver: com.jnetdirect.jsql.JSQLDriver'

symptom
Error: 'Failed to get database connection! java.sql.SQLException: No suitable driver'

symptom
When attempting to export domain keys in Vulnerability Manager 5.5, you receive errors within the command window:

ERROR - [PoolManager] 'Failed to construct JDBC driver: com.jnetdirect.jsql.JSQLDriver'

ERROR - [PoolManager] 'Failed to get database connection! java.sql.SQLException: No suitable driver'

The result is that no exported domain key file gets created.

cause
A necessary driver is not being set in the batch files.

fix
To resolve this issue, complete the following steps to modify ExportDomainKeys.bat and ImportDomainKeys.bat: 
  1. Add the following bold text to the existing ExportDomainKeys.bat file:

      set CLASSPATH=mk.jar
      set CLASSPATH=%CLASSPATH%;lib\keytools.jar
      set CLASSPATH=%CLASSPATH%;lib\ext\coredb.jar
      set CLASSPATH=%CLASSPATH%;lib\ext\Una2000.jar
      set CLASSPATH=%CLASSPATH%;lib\ext\JSQLConnect.jar


      %javaExe% -Djava.library.path=..\lib %javaClass% %1 %2 %3

  2. Add the following bold text to the existing ImportDomainKeys.bat file:

      set CLASSPATH=mk.jar
      set CLASSPATH=%CLASSPATH%;lib\keytools.jar
      set CLASSPATH=%CLASSPATH%;lib\ext\coredb.jar
      set CLASSPATH=%CLASSPATH%;lib\ext\Una2000.jar
      set CLASSPATH=%CLASSPATH%;lib\ext\JSQLConnect.jar


      %javaExe% -Djava.library.path=..\lib %javaClass% %1 %2 %3

For more information, contact Technical Support at www.netiq.com/support.



note
NetIQ recognizes this as an issue and we are currently reviewing it. This article will be updated to reflect the most recent progress.

Additional Information

Formerly known as NETIQKB46998

Feedback service temporarily unavailable. For content questions or problems, please contact Support.