IBM Support

webMethods Knowlegebase : My webMethods Server (MWS) Installation Not Creating MWS Instance (1806491)

Troubleshooting


Problem

When installing MWS with the installer, the installation ends with an error, and the MWS instance is not created.

Similarly, when try to create a new instance with the command "mws.bat new", the command fails to create an MWS instance.

Below error can be observed in insall.log:

------------------------------------------

10:41:36 info PortalServerInstances.installExecute(): instanceName = default

10:41:36 info PortalUtils.createMWSInstance()

10:41:36 info PortalUtils.executeCommand(): D:\SoftwareAG101\MWS\bin\mws.bat ...

10:41:36 info PortalUtils.executeCommand(): -c ...

10:41:36 info PortalUtils.executeCommand(): new ...

10:41:36 info PortalUtils.executeCommand(): -Ddb.password=****** ...

10:41:36 info PortalUtils.executeCommand(): -Dserver.name=default ...

10:41:36 info PortalUtils.executeCommand(): -Ddb.url=jdbc:wm:sqlserver://xxxx:xxx;databaseName=xxxxxxx ...

10:41:36 info PortalUtils.executeCommand(): -Ddb.type=ms ...

10:41:36 info PortalUtils.executeCommand(): -Dnode.name=xxxxxxx-node33986 ...

10:41:36 info PortalUtils.executeCommand(): -Ddb.username=xxxxxx ...

10:41:36 info PortalUtils.executeCommand(): -Dhttp.port=8585 ...

10:41:36 info PortalUtils.executeCommand(): -Dinstall.service=true ...

10:41:36 info executeCommand(): output:

JAVA_HOME: D:\SoftwareAG101\jvm\jvm

MWS_HOME: D:\SoftwareAG101\MWS

WM_HOME: D:\SoftwareAG101

----------------------------------------------------------------------

ERROR: My webMethods Server "default" instance does not exist

or invalid. Please create this server instance using "new" command

----------------------------------------------------------------------

10:41:36 info PortalUtils.executeCommand() exit code: 3

10:41:36 error APP_ERROR> MWS.E.0002: Error occured while creating My webMethods Server server instance "default"

10:41:36 info PortalUtils.createMwsInstance() end

10:41:36 info PortalServerInstances.installExecute() exit: installWorkUnits=0

10:41:36 info PortalStartConfiguratorSerenity.isInstallPanelEnabled()

10:41:36 info PortalStartConfiguratorSerenity.isInstallPanelEnabled() not needed

10:41:36 info get BEFORE_UPDATE_PKGS_VAR:null

10:41:36 info get LOCAL_IS_PACKAGES_VAR:null

10:41:36 info ISUpdatePackage.update package- Rerun - Update Non Core IS Packages on default instance? : false

10:41:36 info PH> Execute arr cmd=[D:\SoftwareAG101\IntegrationServer\instances\is_instance.bat, updateConfig, -Dinstance.name=default]

10:41:36 info PH> Execute env=[null]

10:41:36 info PH> Execute execDir: null

10:41:37 info Exit code: 0

10:41:37 info ISUpdatePackage.update package - Update noncore packages in IS default instance - Not selected

The below error can be observed in MWS new_default.log:

-------------------------------------------------------

predeploy-component:

Expanding: D:\SoftwareAG101\MWS\server\default\deploy\wm_user_preferences.war into D:\SoftwareAG101\MWS\server\default

Approximating what the classpath will be

predeploy-component:

Expanding: D:\SoftwareAG101\MWS\server\default\deploy\wm_xt_oauthsvc.war into D:\SoftwareAG101\MWS\server\default

update-mws-db-xml:

BUILD FAILED

D:\SoftwareAG101\MWS\server\deploy.xml:316: java.util.regex.PatternSyntaxException: Illegal repetition near index 0

${db.type}

^

at java.util.regex.Pattern.error(Pattern.java:1957)

at java.util.regex.Pattern.closure(Pattern.java:3159)

at java.util.regex.Pattern.sequence(Pattern.java:2136)

at java.util.regex.Pattern.expr(Pattern.java:1998)

at java.util.regex.Pattern.compile(Pattern.java:1698)

at java.util.regex.Pattern.<init>(Pattern.java:1351)

at java.util.regex.Pattern.compile(Pattern.java:1054)

at org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher.getCompiledPattern(Jdk14RegexpMatcher.java:68)

at org.apache.tools.ant.util.regexp.Jdk14RegexpMatcher.matches(Jdk14RegexpMatcher.java:95)

at net.sf.antcontrib.property.RegexTask.doReplace(RegexTask.java:135)

at net.sf.antcontrib.property.RegexTask.execute(RegexTask.java:190)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at org.apache.tools.ant.Target.execute(Target.java:435)

at org.apache.tools.ant.Target.performTasks(Target.java:456)

at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)

at org.apache.tools.ant.Project.executeTarget(Project.java:1376)

at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)

at org.apache.tools.ant.Project.executeTargets(Project.java:1260)

at org.apache.tools.ant.Main.runBuild(Main.java:857)

at org.apache.tools.ant.Main.startAnt(Main.java:236)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)

at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)

Total time: 15 seconds

Mws_db.xml;

<?xml version="1.0" encoding="UTF-8"?>

<CONFIG>

<CONNECTION name="default" type="derby" default="true" displayname="Default" id="1" >

<SQLWORKERCLASS>com.webmethods.portal.service.sql.core.BaseSqlWorker</SQLWORKERCLASS>

<CONNPROVIDERCLASS>com.webmethods.portal.service.sql.core.provider.pool.PooledConnectionProvider</CONNPROVIDERCLASS>

<PARAMS>

<DRIVER>org.apache.derby.jdbc.EmbeddedDriver</DRIVER>

<URL>jdbc:derby:home:/data/db</URL>

<USER>portal</USER>

<!-- Password could be specified in clear text, it will be automatically encrypted during MWS startup -->

<PASSWORD>{DES}cdddddMdSrQI=</PASSWORD>

<CACHESTATEMENTS>false</CACHESTATEMENTS>

<TESTSQL>SELECT COUNT(*) FROM tblThing WHERE idThing = 1</TESTSQL>

<MAXCONNECTIONS>100</MAXCONNECTIONS>

<MINCONNECTIONS>0</MINCONNECTIONS>

<!-- Max amount of idle time (in seconds) of the objects pooled by this pool -->

<IDLETIMEOUT>60</IDLETIMEOUT>

<!-- Time (in seconds) between eviction runs -->

<CLEANUPPERIOD>10</CLEANUPPERIOD>

</PARAMS>

</CONNECTION>

</CONFIG>

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"10.1"},{"Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSAWP1J","label":"IBM webMethods BPM"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"10.1"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSFIWYE","label":"IBM webMethods B2B"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"10.1"},{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSQG2X","label":"IBM webMethods Managed File Transfer"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"My webMethods Server (MWS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows Server 2012"}],"Version":"10.1"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
20 March 2025

UID

ibm17215597