IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

webMethods 11.1 - Unable to start MWS

  • 1.  webMethods 11.1 - Unable to start MWS

    Posted Wed March 26, 2025 05:34 AM

    Hi,

    I am trying to install webMethods 11.1, I have got an issue when starting MWS, below is the OSGI profile log file :

    2025-03-25 15:29:04,058 ERROR [sql.PooledConnectionProvider                                ] - Cannot load database driver: com.mysql.jdbc.Driver
    java.lang.ClassNotFoundException: com.mysql.jdbc.Driver cannot be found by com.webmethods.caf.server_11.1.0.0002-0060

    As per documentation, I added the jar file to the library and performed all below steps :

    1. Download the MySQL native driver (mysql-connector-java-version-bin.jar) from the following location:
    2.Copy the .jar file to the Software AG_directory \MWS\lib directory.
    3. Create a driver-name.bnd text file in the Software AG_directory \MWS\lib directory, where driver-name is the name of the .jar file, for example, mysql-connector-java-version.bnd.
    4. Provide instructions for the OSGi bundle conversion in the .bnd text file, as described in the following example.
    Replace the values in italics. For Bundle-Version, you can use the version number of the .jar file, but any unique number is valid. You can also use the value (5.1.41) provided in the following example.
    ==========================================
    # attach as fragment to the caf.server bundle
    Fragment-Host: com.webmethods.caf.server
    Bundle-SymbolicName: mysql-connector-java-
    Bundle-Version: 5.1.41
    Include-Resource: mysql-connector-java-5.1.41.jar
    -exportcontents: *
    Bundle-ClassPath: mysql-connector-java-5.1.41.jar
    Import-Package: *;resolution:=optional
    ==========================================
    5.At a command line prompt, type the following command to move to the server's bin directory.
    cd Software AG_directory\MWS\bin
    6. Type the following command:
    mws.bat -s serverName update

    At the end when I start MWS, it can't connect to the database, I am using MySql community edition.

    Can you please help on this ?

    Regards,



    ------------------------------
    Abderrahmane Chaal
    ------------------------------


  • 2.  RE: webMethods 11.1 - Unable to start MWS

    Posted Thu March 27, 2025 10:03 AM

    Update:

    I tried Oracle Express Edition and the problem is resolved.



    ------------------------------
    Abderrahmane Chaal
    ------------------------------