title: Websphere Application Server V8.5 Liberty Profile & accessing iSeries
body: <p>I'm trying to deploy our EGL-based webservice project on Websphere Application Server Liberty Profile V8.5.
  The webservices are calling EGL-Generated cobol programs that are located on another server.
  Also, we need a JDBC connection to the database located on the iSeries (Power7)
  I have added this coding in server.xml:</p>
  
  <pre><code>  &lt;dataSource id="db2iToolbox" jndiName="jdbc/db2iToolbox"&gt;
      &lt;jdbcDriver libraryRef="DB2iToolboxLib"/&gt;
          &lt;properties.db2.i.toolbox databaseName="databaseforEGL" serverName="iseriesserver"/&gt;
      &lt;/dataSource&gt;
  
      &lt;library id="DB2iToolboxLib"&gt;
          &lt;fileset dir="C:\jars" includes="jt400.jar"/&gt;
      &lt;/library&gt;
  </code></pre>
  
  <p>This is the error thrown when the call-statement gets executed:</p>
  
  <pre><code>EGL0010E An external dependency is missing. The following exception occurred.
  Exception: java.lang.NoClassDefFoundError:
  com.ibm.as400.access.ErrorCompletingRequestException
  EGL0002I The error occurred in LoginLib processing the login function.
  </code></pre>
  
  <p>I'm assuming the jt400.jar doesn't get loaded.
  Also tried the default fileset dir:</p>
  
  <pre><code> &lt;fileset dir="/QIBM/ProdData/Http/Public/jt400/lib" /&gt;
  </code></pre>
  
  <p>source: 
  <a href="http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.wlp.nd.doc/ae/twlp_dep_configuring_ds.html" rel="nofollow">http://www-01.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.wlp.nd.doc/ae/twlp_dep_configuring_ds.html</a></p>