And the reason of the previous troubles has finally been found and sorted out. Hurraay!
webMethods 6.1 build 132 seems to work with MySQL 4.1.10 via MySQL Connector/J 3.1.7.
The reason was the JVM version IS used and the database URL (but I think it’s less important).
Now, the issue is with the tables that WmPRT package expects in the database. It however should be much easier as I guess it’s documented somewhere what tables to create depending on a database type - Oracle, DB2 or MS SQL Server.
IS_HOME is the home directory of Integration Server
WM_HOME is the home directory of webMethods 6.x (that’s where IS_HOME, Broker, Modeler and some other directories are)
Here’s what I did to get MySQL running. What I mean saying ‘running’ is that it’s now possible to test the MySQL pool in the JDBC Pools panel. It at least gives me: “Test of ProcessAudit successful”.
%IS_HOME%\config\jdbc\driver\MySQL.xml is as follows:
<?xml version="1.0" encoding="UTF-8"?>
MySQL
com.mysql.jdbc.Driver
1
MySQL Connector/J 3.1.7
%IS_HOME%\config\jdbc\pool\MySQLPool.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
MySQLPool
1
10
100
jdbc:mysql://localhost/test?user=wm&password=webmethods
wm
commented out due to security reasons
MySQL
MySQL Pool
The MySQL JDBC driver is applied to IS CLASSPATH in %IS_HOME%\bin\server.bat:
set APPENDCLASSES=C:\apps\mysql-connector-java\mysql-connector-java-3.1.7-bin.jar
And the most important point is that IS has to be running with Java 1.4. Otherwise java.sql.Savepoint class won’t be found - it’s not available in 1.3 which is the IS default JVM version.
So, instead of running IS with the default JVM (it’s in %IS_HOME%\jvm):
java version “1.3.1”
Java™ 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc))
IS should be run with that one (it’s in %WM_HOME%\jvm\win142):
java version “1.4.2”
Java™ 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot™ Client VM (build 1.4.2-b28, mixed mode)
In order to do it, %IS_HOME%\bin\server.bat (on MS Windows) has to be changed:
rem SET JAVA_DIR=C:\apps\webMethods6\IntegrationServer\jvm
SET JAVA_DIR=C:\apps\webMethods6\jvm\win142
Start up IS and have fun!
Going to create the tables for WmPRT…