{"id":264,"date":"2004-01-18T10:35:52","date_gmt":"2004-01-18T15:35:52","guid":{"rendered":"http:\/\/linode.siwko.org\/wordpress\/?p=264"},"modified":"2004-01-18T10:35:52","modified_gmt":"2004-01-18T15:35:52","slug":"mysql-and-wsad-5-in-a-j2ee-13-project","status":"publish","type":"post","link":"https:\/\/www.siwko.org\/wordpress\/?p=264","title":{"rendered":"MySql And WSAD 5 in A J2EE 1.3 Project"},"content":{"rendered":"<p><P>I got MySQL working with WSAD 5 in a WebSphere 5 test environment.&nbsp; <\/P><br \/>\n<P>First&nbsp;I added mysql-connector-java-3.0.9-stable.bin.jar to the ws.ext.dirs section of the Paths section of the server config.&nbsp; Then I added a JDBC provider to the Data source section.&nbsp; I used the implementation class name: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource.&nbsp; I added the mysql-connector-java-3.0.9-stable.bin.jar to the class path here again out of paranoia.&nbsp; It didn&#8217;t work with the jar just here until I added the ws.ext.dirs entry.&nbsp; I&#8217;ll clean this up later.&nbsp;I had luck with the v4 datasources before, but in this case I wanted to do a WAS5 project and use J2EE 1.3.&nbsp; An exception is thrown when I try to get&nbsp;a V4&nbsp;DataSource in this case.&nbsp; So, I added a V5 DataSource.&nbsp; The non-obvious thing was to set the helper class name to: com.ibm.websphere.rsadapter.GenericDataStoreHelper.&nbsp; It&#8217;s not in the drop down list in my copy of WSAD.&nbsp; After a bit of searching, I found this: <A href=\"http:\/\/publib7b.boulder.ibm.com\/wasinfo1\/en\/info\/ee\/javadoc\/ee\/com\/ibm\/websphere\/rsadapter\/GenericDataStoreHelper.html\">http:\/\/publib7b.boulder.ibm.com\/wasinfo1\/en\/info\/ee\/javadoc\/ee\/com\/ibm\/websphere\/rsadapter\/GenericDataStoreHelper.html<\/A>.&nbsp; <\/P><br \/>\n<P>It&#8217;s been working pretty well.<\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got MySQL working with WSAD 5 in a WebSphere 5 test environment.&nbsp; First&nbsp;I added mysql-connector-java-3.0.9-stable.bin.jar to the ws.ext.dirs section of the Paths section of the server config.&nbsp; Then I added a JDBC provider to the Data source section.&nbsp; I used the implementation class name: com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource.&nbsp; I added the mysql-connector-java-3.0.9-stable.bin.jar to the class path here [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-264","post","type-post","status-publish","format-standard","hentry","category-roller"],"_links":{"self":[{"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/264"}],"collection":[{"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=264"}],"version-history":[{"count":0,"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/264\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=264"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=264"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.siwko.org\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=264"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}