APAR status
Closed as program error.
Error description
When trying to use the DBUpgrader plugin, you get the following kind of error: Caught: : : Class Not Found: JDBC driver oracle.jdbc.OracleDriver could not be loaded : : Class Not Found: JDBC driver oracle.jdbc.OracleDriver could not be loaded at com.urbancode.cm.db.updater.DbUpgradeTask.executeMultiVersionUpg rade(DbUpgradeTask.java:242) at com.urbancode.cm.db.updater.DbUpgradeTask.execute(DbUpgradeTask. java:63) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 291) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtil s.java:106) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java :68) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java: 291) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtil s.java:106) at run_dbupgrade.run(run_dbupgrade.groovy:37) Caused by: : Class Not Found: JDBC driver oracle.jdbc.OracleDriver could not be loaded at org.apache.tools.ant.taskdefs.JDBCTask.getDriver(JDBCTask.java:4 38) at org.apache.tools.ant.taskdefs.JDBCTask.getConnection(JDBCTask.ja va:370) at com.urbancode.cm.db.updater.DbUpgradeTask.executeMultiVersionUpg rade(DbUpgradeTask.java:191) ... 8 more Caused by: java.lang.ClassNotFoundException: oracle.jdbc.OracleDriver at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntCla ssLoader.java:1365) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.jav a:1315) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.jav a:1068) at org.apache.tools.ant.taskdefs.JDBCTask.getDriver(JDBCTask.java:4 30) ... 10 more
Local fix
The DBUpgrader plugin is not able to find the JDBC class if the JDBC jar file is in any directory other than the current working directory. So the work around is to place your jar file in the current working directory.
Problem summary
**************************************************************** * USERS AFFECTED: * * All users of the DBUpgrader plug-in * **************************************************************** * PROBLEM DESCRIPTION: * * Issues with the plug-ins use of JDBC class * **************************************************************** * RECOMMENDATION: * ****************************************************************
Problem conclusion
A fix is available in version 1.530255 of the plug-in
Temporary fix
Comments
APAR Information
APAR number
PI19126
Reported component name
UDEPLOY
Reported component ID
5725M7700
Reported release
500
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2014-06-02
Closed date
2014-09-22
Last modified date
2014-09-22
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
UDEPLOY
Fixed component ID
5725M7700
Applicable component levels
R500 PSN
UP
R500 PSY
UP
[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS4JV8","label":"IBM uDeploy"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"500","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
22 September 2014