Hi everybody,



I’ve read article Introduction to the J2EE Connector Architecture ( https://www6.software.ibm.com/develo...a/j-jca-a4.pdf ) and found it very useful. But I faced with problem running sample described in it.



I tried to deploy resource adaptor (helloworldra.rar) to WebSphere 5.1, but got the following exception:



b2fcb SystemErr R java.lang.NullPointerException
 
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.RequiredAttrib utesRegistry.getRequiredAttributes(RequiredAttribu tesRegistry.java:144)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.RequiredAttrib utesRegistry.checkRequiredAttributesBasic(Required AttributesRegistry.java:193)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.RequiredAttrib utesRegistry.checkRequiredAttributes(RequiredAttri butesRegistry.java:178)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.DocAccessor.cr eateRootConfigObject(DocAccessor.java:138)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.RootObjectDele gator.createConfigObject(RootObjectDelegator.java: 230)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.ConfigObjectDe legator.createConfigData(ConfigObjectDelegator.jav a:139)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.ConfigServiceI mpl.createConfigDataByTemplate(ConfigServiceImpl.j ava:688)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.management.configservice.ConfigServiceI mpl.createConfigData(ConfigServiceImpl.java:720)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.websphere.management.configservice.tasks.I nstallRARTask.installResourceAdapter(InstallRARTas k.java:109)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.console.resources.j2c.J2CResourceAdapte rDetailAction.perform(J2CResourceAdapterDetailActi on.java:293)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at org.apache.struts.action.ActionServlet.processActi onPerform(ActionServlet.java:1791)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1586)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:510)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet .java:760)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet .java(Compiled Code))
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInsta nce.doService(StrictServletInstance.java:110)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet._service(StrictLifecycleServlet.java:174)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.s ervice(StrictLifecycleServlet.java:313)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleSer vlet.service(StrictLifecycleServlet.java:116)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.se rvice(ServletInstance.java:283)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletRefere nceState.dispatch(ValidServletReferenceState.java: 42)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceRef erence.dispatch(ServletInstanceReference.java:40)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.handleWebAppDispatch(WebAppRequestDispatcher. java:974)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.dispatch(WebAppRequestDispatcher.java:555)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispat cher.forward(WebAppRequestDispatcher.java:200)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForwar d(WebAppInvoker.java:119)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleIn vocationHook(WebAppInvoker.java:276)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInv ocation.handleInvocation(CachedInvocation.java:71)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcesso r.dispatchByURI(ServletRequestProcessor.java:182)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDis patcher.service(OSEListener.java:334)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handle Request(HttpConnection.java:56)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleReques t(HttpConnection.java:618)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection. java:443)
[28/7/08 17:37:35:141 EEST] 8fb2fcb SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.j ava(Compiled Code))




Does anybody have ideas about why this exception could raise.



I’m looking forward to your answers!



Thanks in advance!