MWS not getting up

Hi All,

I have executed the script by using the database configrator, tables are looking good in data base.

while starting the MWS, its trowing an exception and gets down immediately, i have given the same connection parametes for both.

Is there any differance between 7.1.2 and 8 ?

Let me know the solution how to resolve the issue.

Error Details:
<log4j:event logger=“Framework” timestamp=“1305007924437” level=“FATAL” thread=“main”>
log4j:message</log4j:message>
log4j:throwable</log4j:throwable>
</log4j:event>

The error indicates, ‘invalid database schema’…

Look for mws.db.xml file and see if the db information provided there matches with the db details that you used in database configurator wizard while creating tables…

Senthil

U may check the JDBC Pools from IS Admin page. Meanwhile verify the Central Users Pool association to the MWS db schema.

Thanks for reply.

I am able to creat the JDBC Adapter Connections sucessfully by using the same schema,but MWS is not recognizing the valid schema.

I have given the same url path and database(oracle 10 xe) schema for 7.1.2 and i didn’t get any issues.

Is there any other configurations needed ?

Hi,
Is it a fresh installation? seen like reinstalling MWS will resolve the problem.

Beside that, have u try to install a new server instance pointing to new db? the step as below:

  • install a new server instance
  • cd to mws\bin directory, run the command:
    mws.bat - s getconfig cluster.xml
  • This will download the file to Mws\server<instancename>\config directory.
  • modify the cluster.xml and change the node name. you can get the node name from the server.properties.bat file.
  • cd to msn\bin directory and run the command:
    mws.bat -s putconfig cluster.xml
  • delete the cluster.xml from the config directory.
  • start the MWS

For more information please refer to the documentation.

Determine whether this resolve your problem or not.

Hi All
When I try to Start MWS I am getting the Following Error Please Help to fix this problem.:confused:

C:\SoftwareAG>cd W*

C:\SoftwareAG\webMethods8>cd mws

C:\SoftwareAG\webMethods8\MWS>cd server

C:\SoftwareAG\webMethods8\MWS\server>cd…

C:\SoftwareAG\webMethods8\MWS\bin>mws.bat -s prachi getconfig cluster.xml
JAVA_HOME: C:\SoftwareAG\webMethods8\jvm\win160
MWS_HOME: C:\SoftwareAG\webMethods8\MWS
Connecting to MWS database…
Downloading configuration file cluster.xml from MWS database
Successfully saved to C:/SoftwareAG/webMethods8/MWS/server/prachi/config/cluster
.xml

IMPORTANT: This server node will use local copy of this file until the file is d
eleted from the configuration folder. Then a shared copy will be used.

C:\SoftwareAG\webMethods8\MWS\bin>mws.bat -s prachi putconfig cluster.xml
JAVA_HOME: C:\SoftwareAG\webMethods8\jvm\win160
MWS_HOME: C:\SoftwareAG\webMethods8\MWS
Connecting to MWS database…
Uploading local cluster.xml file to MWS database
Successfully uploaded.

IMPORTANT: This server node will continue to use the local copy of this file unt
il the file is deleted from the configuration folder. Then a shared copy will be
used.

C:\SoftwareAG\webMethods8\MWS\bin>mws -s prachi run
JAVA_HOME: C:\SoftwareAG\webMethods8\jvm\win160
MWS_HOME: C:\SoftwareAG\webMethods8\MWS
2011-06-20 17:25:26 GMT+05:30 (install : INFO) - My webMethods Server 8.0.0.0.36
3
2011-06-20 17:25:26 GMT+05:30 (webm.caf : INFO) - My webMethods Server 8.0.0.0.3
63
2011-06-20 17:25:26 GMT+05:30 (com.webmethods.rtl.util.Debug : INFO) - Started s
ending JDK log messages to Log4J
2011-06-20 17:25:26 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [miePhaseTwo, miePhaseTwo]
2011-06-20 17:25:26 GMT+05:30 (Framework : INFO) - Initializing components of: m
iePhaseTwo
2011-06-20 17:25:26 GMT+05:30 (Framework : INFO) - Initializing components of: c
luster
2011-06-20 17:25:26 GMT+05:30 (Framework : INFO) - Initializing server: prachi
2011-06-20 17:25:26 GMT+05:30 (Framework : INFO) - Initializing components of: c
lassManager
2011-06-20 17:25:30 GMT+05:30 (Framework : INFO) - Initializing components of: g
lobal
2011-06-20 17:25:30 GMT+05:30 (Framework : INFO) - Initializing components of: l
anguagePackManager
2011-06-20 17:25:30 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [DataPhaseOne, DataPhaseOne]
2011-06-20 17:25:30 GMT+05:30 (Framework : INFO) - Initializing components of: D
ataPhaseOne
2011-06-20 17:25:31 GMT+05:30 (messaging : INFO) - Distributed events are not en
abled: JMS support will be disabled
2011-06-20 17:25:31 GMT+05:30 (Framework : INFO) - Cache Invalidation Thread sta
rted with sleep of 60000ms
2011-06-20 17:25:31 GMT+05:30 (Framework : INFO) - Initializing components of: c
ache
2011-06-20 17:25:31 GMT+05:30 (Framework : INFO) - Initializing components of: m
eta
2011-06-20 17:25:31 GMT+05:30 (Framework : INFO) - Initializing components of: d
efault
2011-06-20 17:25:31 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.ThingIDService
2011-06-20 17:25:31 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.XTypeService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.ThingService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.dbo.DBOStorageService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.MetaQueryService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.WatchService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.TypeService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.UserService
2011-06-20 17:25:32 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.RelationService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.MetaEventService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.MetaViewService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.AccessService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.ServiceThingService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.subscription.impl.SubscriptionService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing com.webmethods.p
ortal.service.meta2.impl.ScheduleService
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [UpgradePhase1, UpgradePhase1]
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [CoreServices, CoreServices]
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing components of: C
oreServices
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing components of: d
irectory
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing components of: i
nstall
2011-06-20 17:25:33 GMT+05:30 (Framework : INFO) - Initializing components of: p
ortlet
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: c
ontext
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: l
icense
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [DeployableServices, DeployableServices]
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: D
eployableServices
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: v
ersion
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: t
ask
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [mechanics, mechanics]
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: m
echanics
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: m
echanics
2011-06-20 17:25:36 GMT+05:30 (dataAccess : WARN) - getXTypeID Failed on wm_xt_m
echanicsdata
2011-06-20 17:25:36 GMT+05:30 (dataAccess : WARN) - xType not found: 0
2011-06-20 17:25:36 GMT+05:30 (Framework : WARN) - Factory is not available for
xtypeID: 0
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [bizPolicy, bizPolicy]
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: b
izPolicy
2011-06-20 17:25:36 GMT+05:30 (Framework : INFO) - Initializing components of: b
izPolicy
2011-06-20 17:25:36 GMT+05:30 (dataAccess : WARN) - getXTypeID Failed on wm_xt_b
izpolicydata
2011-06-20 17:25:36 GMT+05:30 (dataAccess : WARN) - xType not found: 0
2011-06-20 17:25:37 GMT+05:30 (Framework : WARN) - Factory is not available for
xtypeID: 0
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: c
ommand
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [webApplication, webApplication]
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: w
ebApplication
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: w
ebApp
2011-06-20 17:25:37 GMT+05:30 (dataAccess : WARN) - getXTypeID Failed on wm_xt_h
andlerdata
2011-06-20 17:25:37 GMT+05:30 (dataAccess : WARN) - xType not found: 0
2011-06-20 17:25:37 GMT+05:30 (Framework : WARN) - Factory is not available for
xtypeID: 0
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: a
uthManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: s
essionManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: d
ispatchManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: p
resManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: p
ropertyEditorManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: e
rrorManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: p
ortletWebManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: l
egacy
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: w
ebAppRuntimeConfigManager
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [bootstrap, bootstrap]
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [bootstrapComponents, bootstrapComponents]
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [UpgradePhase2, UpgradePhase2]
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [DataPhaseTwo, DataPhaseTwo]
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: D
ataPhaseTwo
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Loading phase: [phaseID, phas
eName] [postInit, postInit]
2011-06-20 17:25:37 GMT+05:30 (Framework : INFO) - Initializing components of: p
ostInit
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - No registered exception deleg
ate
2011-06-20 17:25:41 GMT+05:30 (Framework : FATAL) - [POP.001.0002] A “java.lang.
NullPointerException” occurred with the Message “at com.webmethods.portal.bizPol
icy.command.impl.CommandManager.getCommand(CommandManager.java:86)”
java.lang.NullPointerException
at com.webmethods.portal.bizPolicy.command.impl.CommandManager.getComman
d(CommandManager.java:86)
at com.webmethods.portal.bizPolicy.command.impl.CommandManager.getComman
d(CommandManager.java:65)
at com.webmethods.portal.taglib.ui.command.ProcessClientSideScriptsBoots
trap.init(ProcessClientSideScriptsBootstrap.java:39)
at com.webmethods.portal.system.init.impl.DefaultPhase$InitializableWrap
per.init(DefaultPhase.java:123)
at com.webmethods.portal.system.init.impl.DefaultPhase.initComponent(Def
aultPhase.java:104)
at com.webmethods.portal.system.impl.BaseProvider.initComponents(BasePro
vider.java:544)
at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java
:153)
at com.webmethods.portal.system.init.impl.DefaultPhase.init(DefaultPhase
.java:48)
at com.webmethods.portal.system.init.impl.DefaultPhaseProvider.initCompo
nent(DefaultPhaseProvider.java:257)
at com.webmethods.portal.system.impl.BaseProvider.initComponents(BasePro
vider.java:544)
at com.webmethods.portal.system.impl.BaseProvider.init(BaseProvider.java
:153)
at com.webmethods.portal.system.init.impl.DefaultPhaseProvider.initializ
ePhases(DefaultPhaseProvider.java:89)
at com.webmethods.portal.system.init.impl.ClusterPhaseProvider.initializ
ePhases(ClusterPhaseProvider.java:27)
at com.webmethods.portal.system.PortalSystem.init(PortalSystem.java:864)

    at com.webmethods.portal.system.PortalSystem.main(PortalSystem.java:823)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.webmethods.portal.system.start.Main.start(Main.java:138)
at com.webmethods.portal.system.start.Main.main(Main.java:48)
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - Shutting down PortalServlet
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - Shutting down…
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - Shutting down components of:
MWS
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - Shutting down components of:
DataPhaseTwo
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - Shutting down components of:
webApplication
2011-06-20 17:25:41 GMT+05:30 (Framework : INFO) - Shutting down components of:
webApp
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
portletWebManager
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down PortalServlet
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
bizPolicy
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
mechanics
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
DeployableServices
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
CoreServices
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
portlet
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
install
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
content
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
DataPhaseOne
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
meta
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
default
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
cache
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
miePhaseTwo
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
global
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
classManager
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
cluster
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutting down components of:
miePhaseOne
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Stopped sending JDK log messa
ges to Log4j
2011-06-20 17:25:42 GMT+05:30 (Framework : INFO) - Shutdown complete.

C:\SoftwareAG\webMethods8\MWS\bin>

We are getting the same error? How did u resolve this situation?

I am getting the same errors as well trying to rebuild a MWS instance. Any ideas how to fix this?

Issue was due to database corruption. We restored the database from previous daily backup. This was also suggested by SoftwareAg folks. If no backup you would have to first reinitialize DB through DB config and reinstall MWS if the DB refresh doesn’t work.