I’m having the same issue of MWS shutting down automatically because of failure in db configuration. I tried shutting down MWS and then installing db migration scripts. However, the migration script for MWS keeps on failing with the output:
error: java.sql.SQLIntegrityConstraintViolationException: [SoftwareAG][Oracle JDBC Driver][Oracle]ORA-01400: cannot insert NULL into (“WEBM_COPY”.“COMPONENT_EVENT”.“COMPONENT_EVENT_ID”)
on {webMethods1015 dir}/common/db/MywebMethodsServer/MywebMethodsServer/scripts/10.5.fix1-10.7/oracle/migrate.sql
It seems to run fine on all the folders with names < 10.5. I’m trying to upgrade webMethods 10.5 to 10.15. Furthermore, the db configuration seems to work fine for TN, IS, Process Engine and Process Audit.
Here is a snippet from the log file with the error:
Runner # 93 | c.s.d.a.Runner . run | java.lang.RuntimeException: java.sql.SQLIntegrityConstraintViolationException: [SoftwareAG][Oracle JDBC Driver][Oracle]ORA-01400: cannot insert NULL into (“WEBM_COPY”.“COMPONENT_EVENT”.“COMPONENT_EVENT_ID”)
Runner # 93 | c.s.d.a.Runner . run | ex[0] : com.softwareag.dcc.comp.ExecScript.execute(ExecScript.java:34)
Runner # 93 | c.s.d.a.Runner . run | ex[1] : com.softwareag.dcc.comp.Script.execute(Script.java:25)
Runner # 93 | c.s.d.a.Runner . run | ex[2] : com.softwareag.dcc.comp.Component.executeScript(Component.java:219)
Runner # 93 | c.s.d.a.Runner . run | ex[3] : com.softwareag.dcc.comp.Component.executeScripts(Component.java:186)
Runner # 93 | c.s.d.a.Runner . run | ex[4] : com.softwareag.dcc.comp.Component.migrate(Component.java:285)
Runner # 93 | c.s.d.a.Runner . run | ex[5] : com.softwareag.dcc.exec.MigrateAction.processComponent(MigrateAction.java:31)
Runner # 93 | c.s.d.a.Runner . run | ex[6] : com.softwareag.dcc.exec.Action.process(Action.java:87)
Runner # 93 | c.s.d.a.Runner . run | ex[7] : com.softwareag.dcc.comp.ComponentSet.execute(ComponentSet.java:93)
Runner # 93 | c.s.d.a.Runner . run | ex[8] : com.softwareag.dcc.exec.Action.execute(Action.java:75)
Runner # 93 | c.s.d.a.Runner . run | ex[9] : com.softwareag.dcc.app.Runner.migrate(Runner.java:148)
Runner # 93 | c.s.d.a.Runner . run | ex[10] : com.softwareag.dcc.app.Runner.run(Runner.java:86)
Runner # 93 | c.s.d.a.Runner . run | ex[11] : com.softwareag.dcc.cli.Main.(Main.java:102)
Runner # 93 | c.s.d.a.Runner . run | ex[12] : com.softwareag.dcc.cli.Main.main(Main.java:148)
“” # 94 | “” . “” | ex.stack[0] : com.softwareag.dcc.comp.ExecScript.execute(ExecScript.java:34)
“” # 94 | “” . “” | ex.stack[1] : com.softwareag.dcc.comp.Script.execute(Script.java:25)
“” # 94 | “” . “” | ex.stack[2] : com.softwareag.dcc.comp.Component.executeScript(Component.java:219)
“” # 94 | “” . “” | ex.stack[3] : com.softwareag.dcc.comp.Component.executeScripts(Component.java:186)
“” # 94 | “” . “” | ex.stack[4] : com.softwareag.dcc.comp.Component.migrate(Component.java:285)
“” # 94 | “” . “” | ex.stack[5] : com.softwareag.dcc.exec.MigrateAction.processComponent(MigrateAction.java:31)
“” # 94 | “” . “” | ex.stack[6] : com.softwareag.dcc.exec.Action.process(Action.java:87)
“” # 94 | “” . “” | ex.stack[7] : com.softwareag.dcc.comp.ComponentSet.execute(ComponentSet.java:93)
“” # 94 | “” . “” | ex.stack[8] : com.softwareag.dcc.exec.Action.execute(Action.java:75)
“” # 94 | “” . “” | ex.stack[9] : com.softwareag.dcc.app.Runner.migrate(Runner.java:148)
“” # 94 | “” . “” | ex.stack[10] : com.softwareag.dcc.app.Runner.run(Runner.java:86)
“” # 94 | “” . “” | ex.stack[11] : com.softwareag.dcc.cli.Main.(Main.java:102)
“” # 94 | “” . “” | ex.stack[12] : com.softwareag.dcc.cli.Main.main(Main.java:148)
How do I fix this issue?
#webMethods