Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Null pointer error when running xmlaccess scripts

16 views
Skip to first unread message

dominik....@centrelink.gov.au

unread,
Nov 26, 2008, 1:34:09 AM11/26/08
to
Hi all,
Im getting a NullPointerException everytime i run an xmlaccess script on my portal server. version Clustered WPS 6.0.1.13 on WAS ND 6.0.2.23. This happens for all xmlaccess scripts and all users that i try.

Error seen below:
In SystemOut.log

[26/11/08 16:50:51:463 EST] 00000094 CmUtility W com.ibm.websphere.personalization.utils.CmUtility createWorkspaceWithCredentials
com.ibm.websphere.personalization.utils.RepositoryNotFoundException
at com.ibm.websphere.personalization.utils.CmUtility.getRepository(CmUtility.java:434)
at com.ibm.websphere.personalization.utils.CmUtility.createWorkspace(CmUtility.java:328)
at com.ibm.websphere.personalization.utils.CmUtility.getWorkspace(CmUtility.java:205)
at com.ibm.websphere.personalization.service.scheduler.CmSchedulerServiceImpl.wake(CmSchedulerServiceImpl.java:146)
at com.ibm.websphere.personalization.scheduler.init.PznSchedulerBean.wake(PznSchedulerBean.java:53)
at com.ibm.websphere.personalization.scheduler.init.EJSRemoteStatelessPznScheduler_a9db9166.wake(Unknown Source)
at com.ibm.websphere.personalization.scheduler.init._PznScheduler_Stub.wake(Unknown Source)
at com.ibm.websphere.personalization.scheduler.init.PznSchedulerInitializer$Listener.fired(PznSchedulerInitializer.java:146)
at com.ibm.websphere.personalization.workmanager.impl.was.WasAlarmListenerWrapper.fired(WasAlarmListenerWrapper.java:33)
at com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImpl.java:320)
at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:216)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:254)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:320)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:325)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1027)
at com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmImpl.java:170)
at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:332)
at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:229)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

[26/11/08 16:50:51:512 EST] 00000094 CmSchedulerSe W com.ibm.websphere.personalization.service.scheduler.CmSchedulerServiceImpl wake exception in rule event scheduler
java.lang.NullPointerException
at com.ibm.websphere.personalization.service.scheduler.CmSchedulerServiceImpl.wake(CmSchedulerServiceImpl.java:149)
at com.ibm.websphere.personalization.scheduler.init.PznSchedulerBean.wake(PznSchedulerBean.java:53)
at com.ibm.websphere.personalization.scheduler.init.EJSRemoteStatelessPznScheduler_a9db9166.wake(Unknown Source)
at com.ibm.websphere.personalization.scheduler.init._PznScheduler_Stub.wake(Unknown Source)
at com.ibm.websphere.personalization.scheduler.init.PznSchedulerInitializer$Listener.fired(PznSchedulerInitializer.java:146)
at com.ibm.websphere.personalization.workmanager.impl.was.WasAlarmListenerWrapper.fired(WasAlarmListenerWrapper.java:33)
at com.ibm.ws.asynchbeans.AlarmImpl.callListenerMethod(AlarmImpl.java:320)
at com.ibm.ws.asynchbeans.timer.GenericTimer.run(GenericTimer.java:216)
at com.ibm.ws.asynchbeans.J2EEContext$RunProxy.run(J2EEContext.java:254)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:320)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:118)
at com.ibm.ws.asynchbeans.J2EEContext$DoAsProxy.run(J2EEContext.java:325)
at java.security.AccessController.doPrivileged(Native Method)
at com.ibm.ws.asynchbeans.J2EEContext.run(J2EEContext.java:1027)
at com.ibm.ws.asynchbeans.AlarmImpl.runListenerAsCJWork(AlarmImpl.java:170)
at com.ibm.ws.asynchbeans.am._Alarm.fireAlarm(_Alarm.java:332)
at com.ibm.ws.asynchbeans.am._Alarm.run(_Alarm.java:229)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

[26/11/08 17:19:55:283 EST] 000000a6 ServletWrappe A SRVE0242I: [wps] [/wps/config] [config]: Initialization successful.

In wps log:
2008.11.26 17:20:12:689 E com.ibm.wps.command.xml.XmlCommand AbstractCommand.throwCommandFailedException 000000a6
EJPFB0005E: An unexpected exception occurred.
java.lang.NullPointerException
at com.ibm.wps.services.puma.PumaServiceImpl.getXMLAccessScriptingUser(PumaServiceImpl.java:959)
at com.ibm.wps.services.puma.Puma.getXMLAccessScriptingUser(Puma.java:717)
at com.ibm.wps.ac.impl.ACPrincipalXmlAccessScriptingUserImpl.retrievePumaUser(ACPrincipalXmlAccessScriptingUserImpl.java:106)
at com.ibm.wps.ac.impl.ACPrincipalXmlAccessScriptingUserImpl.getPumaPrincipal(ACPrincipalXmlAccessScriptingUserImpl.java:98)
at com.ibm.wps.command.xml.ConfigData. (ConfigData.java:93)
at com.ibm.wps.command.xml.XmlUtils.getEngine(XmlUtils.java:196)
at com.ibm.wps.command.xml.XmlCommand.execute(XmlCommand.java:154)
at com.ibm.wps.command.xml.XmlCommandServlet.processInternal(XmlCommandServlet.java:272)
at com.ibm.wps.command.xml.XmlCommandServlet.process(XmlCommandServlet.java:260)
at com.ibm.wps.command.xml.XmlCommandServlet.doPost(XmlCommandServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3177)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:114)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)

2008.11.26 17:20:12:740 E com.ibm.wps.command.xml.XmlCommandServlet doPost 000000a6
EJPFB0002E: Exception occurred.
com.ibm.wps.command.CommandFailedException: EJPFB0005E: An unexpected exception occurred.
WrappedException is: java.lang.NullPointerException
StackTrace of the WrappedException:
java.lang.NullPointerException
at com.ibm.wps.services.puma.PumaServiceImpl.getXMLAccessScriptingUser(PumaServiceImpl.java:959)
at com.ibm.wps.services.puma.Puma.getXMLAccessScriptingUser(Puma.java:717)
at com.ibm.wps.ac.impl.ACPrincipalXmlAccessScriptingUserImpl.retrievePumaUser(ACPrincipalXmlAccessScriptingUserImpl.java:106)
at com.ibm.wps.ac.impl.ACPrincipalXmlAccessScriptingUserImpl.getPumaPrincipal(ACPrincipalXmlAccessScriptingUserImpl.java:98)
at com.ibm.wps.command.xml.ConfigData.(ConfigData.java:93)
at com.ibm.wps.command.xml.XmlUtils.getEngine(XmlUtils.java:196)
at com.ibm.wps.command.xml.XmlCommand.execute(XmlCommand.java:154)
at com.ibm.wps.command.xml.XmlCommandServlet.processInternal(XmlCommandServlet.java:272)
at com.ibm.wps.command.xml.XmlCommandServlet.process(XmlCommandServlet.java:260)
at com.ibm.wps.command.xml.XmlCommandServlet.doPost(XmlCommandServlet.java:214)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1572)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:762)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3177)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:253)
at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:229)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1970)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:114)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:472)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:411)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:288)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:207)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:109)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:566)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:619)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:952)
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1039)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)


The portal server starts up fine, everything that is currently deployed to it works perfectly. Apart from i cant deploy anything new because xmlaccess isnt working. The only error i can find on startup, and i think this is the cause of the problem, is shown below.

SystemOut.log:

[26/11/08 10:50:26:770 EST] 00000025 WebExtensionP E SRVE0026E: [Servlet Error]-[javax.servlet.ServletException: Unable to initialize RepositoryFactory due to exception of type: java.lang.NullPointerException with message: null.
at com.ibm.icm.jcr.init.InitServlet.init(InitServlet.java:57)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:310)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1696)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:852)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:579)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:451)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:123)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:146)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:940)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:893)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1257)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:914)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2066)
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
[26/11/08 10:50:21:119 EST] 00000025 WebGroup A SRVE0169I: Loading Web Module: WebSphere Portal Server WSRP Facade.
[26/11/08 10:50:21:249 EST] 00000025 VirtualHost I SRVE0250I: Web Module WebSphere Portal Server WSRP Facade has been bound to default_host.......
[26/11/08 10:50:21:285 EST] 00000025 ApplicationMg A WSVR0221I: Application started: wps
[26/11/08 10:50:21:293 EST] 00000025 ApplicationMg A WSVR0200I: Starting application: JCR
[26/11/08 10:50:24:850 EST] 00000025 WebGroup A SRVE0169I: Loading Web Module: icmjcradminwar.
[26/11/08 10:50:26:735 EST] 00000025 ServletWrappe E Uncaught init() exception thrown by servlet InitServlet
[26/11/08 10:50:26:762 EST] 00000025 WebExtensionP E Error occured while preparing theservlet for initialization. Check the error logs for details.
[26/11/08 10:50:26:770 EST] 00000025 WebExtensionP E SRVE0026E: [Servlet Error]-[javax.servlet.ServletException: Unable to initialize RepositoryFactory due to exception of type: java.lang.NullPointerException with message: null.
at com.ibm.icm.jcr.init.InitServlet.init(InitServlet.java:57)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:310)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1696)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:852)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:579)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:451)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:123)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:146)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:940)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:893)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1257)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:914)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2066)
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
---- Begin backtrace for Nested Throwables
javax.jcr.RepositoryException: Unable to initialize RepositoryFactory due to exception of type: java.lang.NullPointerException with message: null.
at com.ibm.icm.jcr.RepositoryFactory.init(RepositoryFactory.java:311)
at com.ibm.icm.jcr.RepositoryFactory.getRepository(RepositoryFactory.java:663)
at com.ibm.icm.jcr.init.InitServlet.init(InitServlet.java:53)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:310)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1696)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:852)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:579)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:451)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:123)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:146)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:940)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:893)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1257)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:914)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2066)
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
Caused by: java.lang.NullPointerException
at com.ibm.wps.services.puma.PumaServiceImpl.initVirtualPrincipals(PumaServiceImpl.java:2066)
at com.ibm.wps.services.puma.PumaServiceImpl.getAnonymousUser(PumaServiceImpl.java:1013)
at com.ibm.icm.jcr.service.member.WPSMemberManagerServiceImpl.init(WPSMemberManagerServiceImpl.java:130)
at com.ibm.icm.jcr.service.ServiceManagerImpl.init(ServiceManagerImpl.java:83)
at com.ibm.icm.jcr.RepositoryImpl.getRepository(RepositoryImpl.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.icm.jcr.RepositoryFactory.init(RepositoryFactory.java:181)
... 23 more
]: {1}
[26/11/08 10:50:26:823 EST] 00000025 VirtualHost I SRVE0250I: Web Module icmjcradminwar has been bound to default_host.......


wps log:

2008.11.26 10:51:06:631 I com.ibm.icm.jcr.RepositoryFactory init 0000003e
Initializing RepositoryFactory.

2008.11.26 10:51:06:633 I com.ibm.icm.jcr.RepositoryImpl getRepository 0000003e
Loading Repository: Default.

2008.11.26 10:51:06:683 E 0000003e
Failed to login to repository.
javax.jcr.RepositoryException: Unable to initialize RepositoryFactory due to exception of type: java.lang.NullPointerException with message: null.
at com.ibm.icm.jcr.RepositoryFactory.init(RepositoryFactory.java:311)
at com.ibm.icm.jcr.RepositoryFactory.getRepository(RepositoryFactory.java:663)
at com.ibm.workplace.wcm.services.repository.RepositoryServiceUtils.getJCRRepository(RepositoryServiceUtils.java:331)
at com.ibm.workplace.wcm.services.repository.WorkspaceManager.getSystemCredentials(WorkspaceManager.java:105)
at com.ibm.workplace.wcm.services.repository.WorkspaceManager.systemLogin(WorkspaceManager.java:604)
at com.presence.connect.Connect.init(Connect.java:444)
at com.presence.connect.Connect.safeInit(Connect.java:187)
at com.presence.connect.Connect.getInstance(Connect.java:160)
at com.presence.connect.ConnectServlet.init(ConnectServlet.java:83)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:310)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.initialize(ServletWrapper.java:1696)
at com.ibm.wsspi.webcontainer.extension.WebExtensionProcessor.createServletWrapper(WebExtensionProcessor.java:140)
at com.ibm.ws.webcontainer.webapp.WebApp.getServletWrapper(WebApp.java:852)
at com.ibm.ws.webcontainer.webapp.WebApp.initializeTargetMappings(WebApp.java:579)
at com.ibm.ws.webcontainer.webapp.WebApp.initialize(WebApp.java:451)
at com.ibm.ws.webcontainer.webapp.WebGroup.addWebApplication(WebGroup.java:123)
at com.ibm.ws.webcontainer.VirtualHost.addWebApplication(VirtualHost.java:146)
at com.ibm.ws.webcontainer.WebContainer.addWebApp(WebContainer.java:940)
at com.ibm.ws.webcontainer.WebContainer.addWebApplication(WebContainer.java:893)
at com.ibm.ws.runtime.component.WebContainerImpl.install(WebContainerImpl.java:167)
at com.ibm.ws.runtime.component.WebContainerImpl.start(WebContainerImpl.java:391)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1257)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1076)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:547)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:754)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:914)
at com.ibm.ws.runtime.component.ApplicationMgrImpl$AppInitializer.run(ApplicationMgrImpl.java:2066)
at com.ibm.ws.runtime.component.ComponentImpl$_AsynchInitializer.run(ComponentImpl.java:304)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1471)
Caused by: java.lang.NullPointerException
at com.ibm.wps.services.puma.PumaServiceImpl.initVirtualPrincipals(PumaServiceImpl.java:2066)
at com.ibm.wps.services.puma.PumaServiceImpl.getAnonymousUser(PumaServiceImpl.java:1013)
at com.ibm.icm.jcr.service.member.WPSMemberManagerServiceImpl.init(WPSMemberManagerServiceImpl.java:130)
at com.ibm.icm.jcr.service.ServiceManagerImpl.init(ServiceManagerImpl.java:83)
at com.ibm.icm.jcr.RepositoryImpl.getRepository(RepositoryImpl.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.ibm.icm.jcr.RepositoryFactory.init(RepositoryFactory.java:181)
... 28 more


This has me absolutely stumpted and ive tried everything i can think of. If anyone has any ideas as to how to resolve this it would be greatly appreciated. I can provide more details on request.

Cheers,

brett_...@us.ibm.com

unread,
Nov 26, 2008, 2:19:14 PM11/26/08
to
The exception of interest is this:

2008.11.26 17:20:12:689 E com.ibm.wps.command.xml.XmlCommand AbstractCommand.throwCommandFailedException 000000a6
EJPFB0005E: An unexpected exception occurred.
java.lang.NullPointerException
at com.ibm.wps.services.puma.PumaServiceImpl.getXMLAccessScriptingUser(PumaServiceImpl.java:959)

Has your portal database been directly manipulated recently before you started experiencing this issue? Did this ever work?

I'd also check the USER_DESC table in your portal database to confirm if there are any duplicates. If so, use the CleanUpUsers.xml noted in the WebSphere Portal Information Center to clean up the db of any orphaned entries. I assume you meant 6.0.1.3 and not 6.0.1.13, so confirm that you get the following fixes in place:
http://www.ibm.com/support/docview.wss?rs=899&uid=swg21246451

-Brett Gordon (WebSphere Portal L2 Support)

IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0

The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM.

dominik....@centrelink.gov.au

unread,
Nov 27, 2008, 6:26:40 PM11/27/08
to
Thanks for your help on this. We had just done a migration from db2 v8 to v9 on new database servers and it turns out there was problems with the migration of the USER_DESC table due to the huge number of rows in there. We also found that the WMMMBR table didnt migrate properly either. I've repopulated these tables and it seems to have resolved my issue. Well this one at least. Now im getting Resource Integrity issues with the WMMMBR table.
0 new messages