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.
Cannot complete the install because one or more required items could not be found.
There were errors. See log file: C:\SoftwareAG\common\runtime\agent\configuration\..\logs\platform.log
Original Message:
Sent: Tue March 25, 2025 04:54 AM
From: Abderrahmane Chaal
Subject: Unable to install MWS 10.15 correctly
Yes I did what you said.
- Uninstalled MWS.
- Directory cleaned.
- Re Install MWS
- Create a new Instance
- Create OSGI profile
- 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
Original Message:
Sent: Mon March 24, 2025 04:09 PM
From: engin sarlak
Subject: Unable to install MWS 10.15 correctly
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
Original Message:
Sent: Mon March 24, 2025 06:27 AM
From: Abderrahmane Chaal
Subject: Unable to install MWS 10.15 correctly
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
Original Message:
Sent: Mon March 24, 2025 05:53 AM
From: Holger von Thomsen
Subject: Unable to install MWS 10.15 correctly
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
Original Message:
Sent: Mon March 24, 2025 05:39 AM
From: Abderrahmane Chaal
Subject: Unable to install MWS 10.15 correctly
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
Original Message:
Sent: Fri March 21, 2025 06:03 PM
From: engin sarlak
Subject: Unable to install MWS 10.15 correctly
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
Original Message:
Sent: Thu March 20, 2025 05:25 AM
From: Abderrahmane Chaal
Subject: Unable to install MWS 10.15 correctly
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
------------------------------