We are doing a migration from MWS 71 to 712 and are facing lot of issues. Then I did a fresh install of MWS db scripts and when I start MWS it did install any of the components in …/MWS/server/default/deploy folder and it throws the below error when it tries to install the components in …/MWS/server/default/deploy folder.
Below is a sample error for one such component.
Not sure how to proceed from here.
2009-09-02 19:21:52 EDT (Framework : FATAL) - ERROR installing: wm_xt_pap_calendar.pdp
/opt/webMethods7/MWS/server/default/temp/deploy.pdp.xml:63: java.lang.NullPointerException
at com.webMethods.portal.bizPolicy.command.install.taskdefs.AntBaseTask.handleException(AntBaseTask.java:121)
at com.webMethods.portal.bizPolicy.command.install.taskdefs.AntBaseTask.execute(AntBaseTask.java:101)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at com.webMethods.portal.service.install.impl.ant.AntRunner.run(AntRunner.java:179)
at com.webMethods.portal.service.install.impl.ant.AntInstallService.executeAntTarget(AntInstallService.java:126)
at com.webMethods.portal.service.install.impl.ant.AntInstallService.install(AntInstallService.java:60)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponent(BasicInstallMechanics.java:761)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponentSafe(BasicInstallMechanics.java:888)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:85)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:119)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:54)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:61)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:56)
at com.webMethods.portal.bizPolicy.command.install.SyncDeployFolder._installComponent(SyncDeployFolder.java:422)
at com.webMethods.portal.bizPolicy.command.install.SyncDeployFolder.syncDeployFolder(SyncDeployFolder.java:252)
at com.webMethods.portal.bizPolicy.biz.install.impl.SyncDeployService.run(SyncDeployService.java:55)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
Caused by: java.lang.NullPointerException
at com.webMethods.portal.bizPolicy.impl.ContextFactory.acquireContext(ContextFactory.java:88)
at com.webMethods.sc.calendar.impl.CalendarManager.(CalendarManager.java:72)
at com.webMethods.sc.calendar.impl.CalendarSystem.getCalendarManager(CalendarSystem.java:62)
at com.webMethods.portal.portlet.wm_xt_pap_calendar.provider.CalendarPrincipalAttributeProvider.(CalendarPrincipalAttributeProvider.java:53)
at com.webMethods.portal.portlet.wm_xt_pap_calendar.mechanics.Pap_calendarMechanics.newInstance(Pap_calendarMechanics.java:27)
at com.webMethods.portal.mech.dir.provider.PrincipalAttrProviderMechanics.getPrincipalAttributeProviderInstance(PrincipalAttrProviderMechanics.java:69)
at com.webMethods.portal.mech.dir.provider.PrincipalAttrProviderMechanics.releaseInstance(PrincipalAttrProviderMechanics.java:83)
at com.webMethods.portal.mech.dir.provider.PrincipalAttrProviderMechanics.updateProperties(PrincipalAttrProviderMechanics.java:55)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.doAfterUpgrade(PortletMechanics.java:854)
at com.webMethods.portal.bizPolicy.command.install.taskdefs.portlet.PostRegisterPortlet._execute(PostRegisterPortlet.java:163)
at com.webMethods.portal.bizPolicy.command.install.taskdefs.AntBaseTask.execute(AntBaseTask.java:99)
… 27 more
— Nested Exception —
java.lang.NullPointerException
at com.webMethods.portal.bizPolicy.impl.ContextFactory.acquireContext(ContextFactory.java:88)
at com.webMethods.sc.calendar.impl.CalendarManager.(CalendarManager.java:72)
at com.webMethods.sc.calendar.impl.CalendarSystem.getCalendarManager(CalendarSystem.java:62)
at com.webMethods.portal.portlet.wm_xt_pap_calendar.provider.CalendarPrincipalAttributeProvider.(CalendarPrincipalAttributeProvider.java:53)
at com.webMethods.portal.portlet.wm_xt_pap_calendar.mechanics.Pap_calendarMechanics.newInstance(Pap_calendarMechanics.java:27)
at com.webMethods.portal.mech.dir.provider.PrincipalAttrProviderMechanics.getPrincipalAttributeProviderInstance(PrincipalAttrProviderMechanics.java:69)
at com.webMethods.portal.mech.dir.provider.PrincipalAttrProviderMechanics.releaseInstance(PrincipalAttrProviderMechanics.java:83)
at com.webMethods.portal.mech.dir.provider.PrincipalAttrProviderMechanics.updateProperties(PrincipalAttrProviderMechanics.java:55)
at com.webMethods.portal.mech.portlet.impl.PortletMechanics.doAfterUpgrade(PortletMechanics.java:854)
at com.webMethods.portal.bizPolicy.command.install.taskdefs.portlet.PostRegisterPortlet._execute(PostRegisterPortlet.java:163)
at com.webMethods.portal.bizPolicy.command.install.taskdefs.AntBaseTask.execute(AntBaseTask.java:99)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
at com.webMethods.portal.service.install.impl.ant.AntRunner.run(AntRunner.java:179)
at com.webMethods.portal.service.install.impl.ant.AntInstallService.executeAntTarget(AntInstallService.java:126)
at com.webMethods.portal.service.install.impl.ant.AntInstallService.install(AntInstallService.java:60)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponent(BasicInstallMechanics.java:761)
at com.webMethods.portal.mech.install.impl.BasicInstallMechanics.installComponentSafe(BasicInstallMechanics.java:888)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:85)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:119)
at com.webMethods.portal.bizPolicy.command.install.InstallComponent.installComponent(InstallComponent.java:54)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:61)
at com.webMethods.portal.bizPolicy.biz.install.impl.InstallPolicy.installComponent(InstallPolicy.java:56)
at com.webMethods.portal.bizPolicy.command.install.SyncDeployFolder._installComponent(SyncDeployFolder.java:422)
at com.webMethods.portal.bizPolicy.command.install.SyncDeployFolder.syncDeployFolder(SyncDeployFolder.java:252)
at com.webMethods.portal.bizPolicy.biz.install.impl.SyncDeployService.run(SyncDeployService.java:55)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)
2009-09-02 19:21:52 EDT (Framework : INFO) - INSTALLED 0 components in 2 seconds