It is not the first time that I am starting the server . But I created and deleted a new mws instance in between as requested by my client . After deleting the newly created instance , then starting the existing instance , the mws server is not getting started .
The MWS details ’
Version Information
Version: 9.5.1.0.172
Build Date: 2013-09-16
Software Product webMethods Integration Server
Version 9.5.1.0
Updates None
Build Number 202
SSL Strong (128-bit)
Server Environment
Java Version 1.7.0_25 (51.0)
Java VM Name Java HotSpot™ 64-Bit Server VM
Java Build Info 23.25-b01, mixed mode
Java Vendor Oracle Corporation
Java Home C:\SoftwareAG\jvm\jvm\jre
Java Entrust Toolkit Version Entrust Authority™ Security Toolkit for the Java(R) Platform version 8.0 Patch 179221 FIPS
Server Process Id 5112
Please find below the steps I used to create and delete the new instance. I did’nt change the existing instance . I created the new instance to simulate the client side environment and once that was resolved , I deleted the new instance according to the below steps .
Create the new MWS instance:
Use the Db component configurator of WM to create a new database and tables for the “product” my webMethods server in it. Make sure to select “create”, product “my webMethods server”, version “latest”, RDBMS must match yours (I am assuming SQL-Server), URL must match your environment, e.g. “jdbc:wm:sqlserver://localhost:1433;databaseName=wm97”, User ID/password for the new user to be created. Make sure to check “Create database and database user” and provide the user/password of a DB administrator and again the db-name you want to create
Create the new mws instance by opening a command prompt at [instaldir]/MWS/bin and run:
mws.bat new -Dserver.name=eli -Dhttp.port=8586 -Ddb.type=ms -Ddb.url=“jdbc:wm:sqlserver://yourDbServer:1433;databaseName=EliminationProcessMWS95;MaxPooledStatements=35” -Ddb.username=yourDbUser -Ddb.password=XXXXX
remarks:
eli is an example for the name of your new instance
EliminationProcessMWS95 must match the name of the db you created
This assumes that your new MWS instance will run at port 8586
yourDbServer is the name of your db host
yourDbUser is the db username
XXXX is your DB password
This may take a while
Then set this in the same prompt:
set _JAVA_OPTIONS=-Djava.io.tmpdir=c:\temp
to point to whaterver (preferable empty) directory you have available
Go to [installationfolder]/profiles/ and delete the folder created for your new instance, e.g. “MWS_myInstance”
Then run
mws.bat -s eli create-osgi-profile
where eli must match your instances name. This may take a while
run
mws.bat -s eli init
where eli must match your instances name. This will take a while
to to [installdir]/MWS/server/eli/bin (where eli must match your instances name) and run
run.bat
there. This will take a while
to your new MWS (go to IS admin-page, Settings/resources/edit and change the SAML url)
9) Also for BPM you need to let your IS’s monitor package to point to your MWS. Go to IS admin page, package, WmMonitoring (click on the house-icon), change the MWS-Host/Port there
If you want to get rid of your new instance:
Run: mws.bat -s eli delete
empty the temp dir (d:\temp)
Delete the profile folder from [installdir]/profiles
Use db component configurator to drop the db tables for component “my webMethods server” and “central configuration”
Change SAML and WmMonitoring back to your normal MWS