getting a java exception when modifying Admin tasks (Legacy_Onyx KB Id: 222085)

Document ID : KB000054796
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When modifying an Admin task the following error is generated in the systemout.log

[11/11/05 12:11:51:516 EST] 5711e25c WebGroup I SRVE0180I: [IMS-UI] [/idm] [Servlet.LOG]: /app/page/task/events.jsp: init

[11/11/05 12:12:01:906 EST] 40b1e25c WebGroup I SRVE0180I: [IMS-UI] [/idm] [Servlet.LOG]: /app/page/submit_task.jsp: init
12:12:04,438 ERROR [ims.Task Persistence] The jdbc/idm JDBC Pool and data source is not deployed or configured. Make sure that it is successfully deployed without errors from the App. server console.
12:12:04,469 ERROR [ims.Task Persistence] DBTaskDAO.saveTaskSessionEvemt - Exception saving task session:java.lang.NullPointerException

[11/11/05 12:12:04:531 EST] 40b1e25c ExceptionUtil E CNTR0020E: Non-application exception occurred while processing method "saveObject" on bean "BeanId(Netegrity IdentityMinder 6.0#taskpersistence_ejb.jar#TaskPersistenceEJB, null)". Exception data: java.lang.NullPointerException
at com.netegrity.ejb.workflow.dao.db.DBTaskDAO.saveTaskSessionEvent(DBTaskDAO.java:109)
at com.netegrity.ejb.workflow.TaskPersistenceBean.saveObject(TaskPersistenceBean.java:148)
at com.netegrity.ejb.workflow.EJSLocalStatelessTaskPersistenceEJB_56531630.saveObject(Unknown Source)
at com.netegrity.ims.persistence.impl.PersistenceService.saveObject(PersistenceService.java:65)
at com.netegrity.ims.NISContainer.saveObject(NISContainer.java:158)
at com.netegrity.ims.TheContainer.saveObject(TheContainer.java:266)
at com.netegrity.ims.NISContainer.startEvent(NISContainer.java:220)
at com.netegrity.ims.TheContainer.startEvent(TheContainer.java:186)
at com.netegrity.ims.businessprocess.TransactionTaskHandler.handleTask(TransactionTaskHandler.java:76)
at com.netegrity.ims.businessprocess.TaskServiceImpl.submit(TaskServiceImpl.java:248)
at com.netegrity.webapp.page.TaskController.taskSubmit(TaskController.java:409)
at com.netegrity.webapp.page.TaskController.update(TaskController.java:230)
at com.netegrity.taglib.skin.TagUtilLocal.update(TagUtilLocal.java:172)
at com.netegrity.taglib.skin.UpdateTag.doEndTag(UpdateTag.java:87)
at org.apache.jsp._index._jspService(_index.java:249)
at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:662)
at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:969)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.netegrity.webapp.filter.ConsolePageFilter.doFilter(ConsolePageFilter.java:311)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.netegrity.webapp.filter.LocaleFilter.doFilter(LocaleFilter.java:129)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:132)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:71)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:965)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)


[11/11/05 12:12:05:062 EST] 40b1e25c LocalTranCoor E WLTC0017E: Resources rolled back due to setRollbackOnly() being called.


when I test the datasource connectivity within WebSphere there are no issues, I can connect with both the Task Persistence and the workflow datasources. The scripts for both TP and WF have been run. Not sure what else it could be.


Solution:

Closing case. Issue was:
the JNDI is case sensitive, set jdbc/IDM to jdbc/idm and issue was fixed