XPages Ext Lib - create OSGI plugin for JDBC drive

2019-09-04 03:48发布

问题:

I have downloaded the JTOpen toolbox (http://jt400.sourceforge.net/) and am using the XPages Ext Lib "JDBC Driver Plug-in Wizard" to create an OSGI plug-in for JDBC access to iSeries files.

On the Wizard I left the Type drop-down empty and manually entered a Class of "com.ibm.as400.access.AS400JDBCDriver" - I think this is the correct class, but not 100% certain. I added the JAR file jt400.jar from the java6 directory of JTOpen.

After importing the generated site.xml into the Update Site database and restarting the HTTP task I issued a "tell http osgi ss com.ibm.as400" command - but do not see the OSGI plugin listed.

I have previously been through the same process for a JDBC driver for SQL Server and that works fine. I suspect I'm either using the wrong jar file or have the wrong class name. The Domino server is 9.0.1 FP1.

Any suggestions welcome!

回答1:

If you issue the command tell http osgi diag com.ibm.as400, that will tell you of any dependency issues.