|
| I'm trying to update a JDBCProvider created from a template using wsadmin. When I submit the following command:
$AdminConfig modify $provider [subst {{description "$desc"} {classpath $cp}}];
(where $provider is the id of the JDBCProvider object, $desc is a string like "Oracle 9i JDBC Driver" and $cp is a list containing the full paths to two zip files, shown in the second <classpath> tag below)
This is what I see as a result in the resources.xml file:
<classpath>${ORACLE_JDBC_DRIVER_PATH}/ojdbc14.jar</classpath>
<classpath>/usr/WebSphere/AppServer/jars/jdbc/Oracle9iDriver/OracleClasses12.zip /usr/WebSphere/AppServer/jars/jdbc/Oracle9iDriver/ocrs12.zip</classpath>
I can't figure out why the modify adds this second <classpath> line instead of modifying the existing one. If I run the command a second time, it will just update the second <classpath> and leave the original one alone.
|
|