webMethods

webMethods

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

Unable to install MWS 10.15 correctly

  • 1.  Unable to install MWS 10.15 correctly

    Posted Thu March 20, 2025 09:26 AM
    Edited by Lorraine Rizzuto Fri March 21, 2025 10:23 AM
    Hi,
    I am trying to install MWS 10.15 trial version, I am using MySql Community edition for it.
    I used the DCC and created DB components corretcly.
     
    But, the installation has some errors : 
     
    Creating new server instance. Please wait...
    Buildfile: C:\SoftwareAG\MWS\server\deploy.xml
    ERROR: Instance default already exists.
     
    09:14:28 info executeCommand(): error:
    The system cannot find the file C:\SoftwareAG\MWS\server\default\bin\instance.properties.
     
    It is a fresh new installation, I tried to uninstall it and re install but same issue.
    Can someone help on this please ?
    I tried this command to create the instance : 
    C:\SoftwareAG\MWS\bin>mws new -Dserver.name=TrainingInstance -Dhttp.port=8090 -Ddb.type=mysqlce -Ddb.url=jdbc:mysql://localhost:3306;DatabaseName=wm_training;SelectMethod=direct;MaxPooledStatements=100 -Ddb.username=root -Ddb.password=manage
    The system cannot find the file C:\SoftwareAG\MWS\server\default\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    Creating new server instance. Please wait...
    Buildfile: C:\SoftwareAG\MWS\server\deploy.xml
    FAILED to create new server instance. Please see new_TrainingInstance.log for details
     
    Regards,
    Abderrahmane Chaal
     
     
     
     



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



  • 2.  RE: Unable to install MWS 10.15 correctly

    Posted Fri March 21, 2025 06:03 PM
    Edited by engin sarlak Fri March 21, 2025 06:07 PM

    That might be a red herring. Try launching MWS after installation and see if it has successfully created it or not. You can always (re)create the instance manually. Refer to the document below. 

    using command central

    using mws.bat/sh



    ------------------------------
    engin sarlak
    ------------------------------



  • 3.  RE: Unable to install MWS 10.15 correctly

    Posted Mon March 24, 2025 05:40 AM
      |   view attached

    Hi,

    I tried to create a new instance manually but did not work also, the creation has failed (I attached the log file): 

    !ENTRY org.eclipse.equinox.p2.director.app 4 0 2025-03-24 09:35:20.362
    !MESSAGE The installable unit com.softwareag.mom.nirvana.shared.feature.patch.feature.group has not been found.
     
     
    09:35:21 debug OSGiProfileImpl> configureMainFeature: EXIT
    09:35:21.560 [main] ERROR com.softwareag.mws.osgi.ProfileManager - Failed to complete profile creation
    com.softwareag.install.osgi.profiles.OSGiException: Configure of main feature of profile MWS_TrainingInstancewM failed.
    Reason: 
    The installable unit com.softwareag.mom.nirvana.shared.feature.patch.feature.group has not been found.
    There were errors. See log file: C:\SoftwareAG\common\runtime\agent\configuration\..\logs\platform.log
     
    at com.softwareag.install.osgi.profiles.impl.OSGiProfileImpl.configureMainFeature(OSGiProfileImpl.java:945) ~[com.softwareag.plm.sd.itools.osgi.profiles.impl_10.15.0.0000-0321.jar:10.15.0.0.321]
    at com.softwareag.install.osgi.profiles.impl.OSGiProfileImpl.installMainFeatureAction(OSGiProfileImpl.java:689) ~[com.softwareag.plm.sd.itools.osgi.profiles.impl_10.15.0.0000-0321.jar:10.15.0.0.321]
    at com.softwareag.install.osgi.profiles.impl.OSGiProfileImpl.installMainFeature(OSGiProfileImpl.java:1671) ~[com.softwareag.plm.sd.itools.osgi.profiles.impl_10.15.0.0000-0321.jar:10.15.0.0.321]
    at com.softwareag.mws.osgi.ProfileManager.createProfile(ProfileManager.java:374) ~[wm-mws-osgi-profile.jar:10.15.0.0000-0385]
    at com.softwareag.mws.osgi.ProfileManager.setupProfile(ProfileManager.java:267) ~[wm-mws-osgi-profile.jar:10.15.0.0000-0385]
    at com.softwareag.mws.osgi.ProfileManager.main(ProfileManager.java:1804) [wm-mws-osgi-profile.jar:10.15.0.0000-0385]
    09:35:21.583 [main] WARN  com.softwareag.mws.osgi.ProfileManager - File C:\SoftwareAG\MWS\bin\create-osgi-profile_TrainingInstancewM.log does not exist
     
    BUILD FAILED
    C:\SoftwareAG\MWS\server\deploy.xml:725: The following error occurred while executing this line:
    C:\SoftwareAG\MWS\server\deploy.xml:694: Java returned: 1
     
    Total time: 1 minute 48 seconds
    Any idea?
    Regards,
    Abderrahmane Chaal



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

    Attachment(s)

    log
    new_TrainingInstancewM.log   269 KB 1 version


  • 4.  RE: Unable to install MWS 10.15 correctly

    Posted Mon March 24, 2025 05:53 AM

    Hi Abderrahmane,

    when uninstalling MWS for recreation, remember to cleanup and re-create the db schema as well.
    Additionally, using root as the schema is not recommended, use root just to create a custom mws schema.
    Remember to cleanup the MWS/server/ directory to remove the remainings from a previously created instance.
    Install DB Configurator and scripts in the first run and create the schema, install the remaining MWS components afterwards.

    Regards,
    Holger



    ------------------------------
    Holger von Thomsen
    Software Developer
    Deutsche Telekom IT GmbH
    Darmstadt
    ------------------------------



  • 5.  RE: Unable to install MWS 10.15 correctly

    Posted Mon March 24, 2025 06:27 AM

    Hi Holger,

    Thanks for your help.

    I applied what you asked but still getting the same issue.

    C:\SoftwareAG\MWS\server\default\bin>run.bat
    The system cannot find the file C:\SoftwareAG\MWS\server\default\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    ----------------------------------------------------------------------
    ERROR: My webMethods Server "default" profile does not exist
    at "C:\SoftwareAG\profiles\MWS_default.
    Please create this server profile using "create-osgi-profile" command
    or specify a different platform install path using the -p option.
    ----------------------------------------------------------------------

    I tick the box create default instance during installation.

    I created also DB components before installation.

    Regards,

    Abderrahmane Chaal



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

    Attachment(s)

    txt
    installLog.txt   868 KB 1 version
    log
    new_default.log   279 KB 1 version


  • 6.  RE: Unable to install MWS 10.15 correctly

    Posted Mon March 24, 2025 04:10 PM
    Edited by engin sarlak Mon March 24, 2025 04:11 PM

    Assuming you deleted the previous installation directory before reinstallation; try running the command below

    mws --update-osgi-profile
    

     from the directory {mws installation directory}/MWS/bin and then start the MWS again. This will remove the previous osgi profile and create it again, even if it doesn't exist. MWS should be able to create the instance after deleting the previous instance. If it doesn't, you may need to create the instance again.

    FYI, deleting (or recreating) the instance is destructive, but recreating the osgi-profile is usually harmless. Neither is important since this is a fresh installation though. 

    Documentation is below for your reference

    mws update-osgi-profile

    ------------------------------
    engin sarlak
    ------------------------------



  • 7.  RE: Unable to install MWS 10.15 correctly

    Posted Tue March 25, 2025 04:54 AM
      |   view attached

    Yes I did what you said.

    1. Uninstalled MWS.
    2. Directory cleaned.
    3. Re Install MWS
    4. Create a new Instance
    5. Create OSGI profile
    6. Update OSGI profile.

    The update operation failed because the profile does not exist, if I create it it fails because the instance does not exist although I created it... so I am turning around with no solution.

    Everything has failed, please see below logs :

    C:\SoftwareAG\MWS\bin>mws --update-osgi-profile
    The system cannot find the file C:\SoftwareAG\MWS\server\default\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    ----------------------------------------------------------------------
    ERROR: My webMethods Server "default" profile does not exist
    at "C:\SoftwareAG\profiles\MWS_default.
    Please create this server profile using "create-osgi-profile" command
    or specify a different platform install path using the -p option.
    ----------------------------------------------------------------------
     
    C:\SoftwareAG\MWS\bin>mws --create-osgi-profile
    The system cannot find the file C:\SoftwareAG\MWS\server\default\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    ----------------------------------------------------------------------
    ERROR: My webMethods Server "default" profile does not exist
    at "C:\SoftwareAG\profiles\MWS_default.
    Please create this server profile using "create-osgi-profile" command
    or specify a different platform install path using the -p option.
    ----------------------------------------------------------------------
     
    C:\SoftwareAG\MWS\bin>mws new -Dserver.name=TrainingInstancewM -Dhttp.port=8090 -Ddb.type=mysqlce -Ddb.url=jdbc:mysql://localhost:3306;DatabaseName=wm_training;SelectMethod=direct;MaxPooledStatements=100 -Ddb.username=Administrator -Ddb.password=Coliance?2025
    The system cannot find the file C:\SoftwareAG\MWS\server\default\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    Creating new server instance. Please wait...
    Buildfile: C:\SoftwareAG\MWS\server\deploy.xml
    FAILED to create new server instance. Please see new_TrainingInstancewM.log for details
     
     
    C:\SoftwareAG\MWS\bin>mws -s TrainingInstancewM   --update-osgi-profile
    The system cannot find the file C:\SoftwareAG\MWS\server\TrainingInstancewM\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    ----------------------------------------------------------------------
    ERROR: My webMethods Server "TrainingInstancewM" profile does not exist
    at "C:\SoftwareAG\profiles\MWS_TrainingInstancewM.
    Please create this server profile using "create-osgi-profile" command
    or specify a different platform install path using the -p option.
    ----------------------------------------------------------------------
     
    C:\SoftwareAG\MWS\bin>mws -s TrainingInstancewM   --create-osgi-profile
    The system cannot find the file C:\SoftwareAG\MWS\server\TrainingInstancewM\bin\instance.properties.
    JAVA_HOME: C:\SoftwareAG\jvm\jvm
    MWS_HOME:  C:\SoftwareAG\MWS
    WM_HOME:   C:\SoftwareAG
    ----------------------------------------------------------------------
    ERROR: My webMethods Server "TrainingInstancewM" profile does not exist
    at "C:\SoftwareAG\profiles\MWS_TrainingInstancewM.
    Please create this server profile using "create-osgi-profile" command
    or specify a different platform install path using the -p option.
     
     
     
     


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

    Attachment(s)

    log
    new_TrainingInstancewM.log   106 KB 1 version


  • 8.  RE: Unable to install MWS 10.15 correctly

    Posted Fri March 28, 2025 11:15 AM

    Seems MWS trail version image may not be able to downlaod depndants?

    08:41:10.259 [main] ERROR com.softwareag.mws.osgi.ProfileManager - Failed to complete profile creation
    com.softwareag.install.osgi.profiles.OSGiException: Configure of main feature of profile MWS_TrainingInstancewM failed.
    Reason: 
    Cannot complete the install because one or more required items could not be found.
    Software being installed: OSGi Minimal Platform SDK 10.15.0.0000-0574 (com.softwareag.osgi.platform.minimal.sdk.feature.group 10.15.0.0000-0574)
    Missing requirement: OSGi Minimal Platform 10.15.0.0000-0574 (com.softwareag.platform.minimal.feature.group 10.15.0.0000-0574) requires 'org.eclipse.equinox.p2.iu; com.softwareag.tps.esapi.feature.group 10.15.0.0000-0000' but it could not be found
    Cannot satisfy dependency:
    From: OSGi Minimal Platform SDK 10.15.0.0000-0574 (com.softwareag.osgi.platform.minimal.sdk.feature.group 10.15.0.0000-0574)
    To: org.eclipse.equinox.p2.iu; com.softwareag.platform.minimal.feature.group [10.15.0.0000-0574,10.15.0.0000-0574]
    There were errors. See log file: C:\SoftwareAG\common\runtime\agent\configuration\..\logs\platform.log
    at com.softwareag.install.osgi.profiles.impl.OSGiProfileImpl.configureMainFeature(OSGiProfileImpl.java:945) ~[com.softwareag.plm.sd.itools.osgi.profiles.impl_10.15.0.0000-0321.jar:10.15.0.0.321]
    at com.softwareag.install.osgi.profiles.impl.OSGiProfileImpl.installMainFeatureAction(OSGiProfileImpl.java:689) ~[com.softwareag.plm.sd.itools.osgi.profiles.impl_10.15.0.0000-0321.jar:10.15.0.0.321]
    at com.softwareag.install.osgi.profiles.impl.OSGiProfileImpl.installMainFeature(OSGiProfileImpl.java:1671) ~[com.softwareag.plm.sd.itools.osgi.profiles.impl_10.15.0.0000-0321.jar:10.15.0.0.321]
    at com.softwareag.mws.osgi.ProfileManager.createProfile(ProfileManager.java:374) ~[wm-mws-osgi-profile.jar:10.15.0.0000-0385]
    at com.softwareag.mws.osgi.ProfileManager.setupProfile(ProfileManager.java:267) ~[wm-mws-osgi-profile.jar:10.15.0.0000-0385]
    at com.softwareag.mws.osgi.ProfileManager.main(ProfileManager.java:1804) [wm-mws-osgi-profile.jar:10.15.0.0000-0385]


    ------------------------------
    HARI PRASANNA RAJU CH
    ------------------------------



  • 9.  RE: Unable to install MWS 10.15 correctly

    Posted Tue March 25, 2025 09:31 AM

    Hello.

    Sorry for a bit "off-topic" question, but where did you get the webmethods trial from? When it was owned by SAG, it was possible to download the trial from SAG tech community, but now when it's owned by IBM I can't see such option. Could you advice, please?

    Thank you in advance,

    Best regards, Franciszek Łęgowski



    ------------------------------
    Franciszek Łęgowski
    ------------------------------



  • 10.  RE: Unable to install MWS 10.15 correctly

    Posted Wed March 26, 2025 04:23 AM

    Hi Franciszek,

    You can find it here : 

    https://tech.forums.softwareag.com/t/webmethods-integration-free-trial-download/235077

    Regards,

    Abderrahmane Chaal



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



  • 11.  RE: Unable to install MWS 10.15 correctly

    Posted 23 days ago

    Hello,

    I has been a long time since I installed a Windows version, even more the trial package, so my answer might miss the point.

    The main installation point in MWS is to have the database already setup before installing the server.

    In the trial, do you get the dbConfigurator and the relevant scripts to do that?

    Also, from the logs, it seems you are asking to use an Oracle DB but you stated you are using MySQL. Is this so?

    Best regards and good luck.



    ------------------------------
    Gerardo Lisboa
    Information Logistics Strategist
    WRIGHTIA, SA
    Lisbon
    ------------------------------