Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 54570 invoked from network); 10 Sep 2007 13:46:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 13:46:17 -0000 Received: (qmail 2040 invoked by uid 500); 10 Sep 2007 13:46:07 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 2025 invoked by uid 500); 10 Sep 2007 13:46:07 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 2014 invoked by uid 99); 10 Sep 2007 13:46:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 06:46:06 -0700 X-ASF-Spam-Status: No, hits=-0.8 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 161.225.129.126 is neither permitted nor denied by domain of Hemant.Kamatgi@target.com) Received: from [161.225.129.126] (HELO smtpout01.target.com) (161.225.129.126) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 13:47:28 +0000 Received: from emailhub11.email.target.com ([10.116.210.35]) by smtpout01.target.com with ESMTP; 10 Sep 2007 08:35:05 -0500 Received: from EMAILMBX10.email.target.com ([10.116.180.156]) by emailhub11.email.target.com ([10.116.210.35]) with mapi; Mon, 10 Sep 2007 08:45:31 -0500 From: Hemant.Kamatgi To: "user-java@ibatis.apache.org" Date: Mon, 10 Sep 2007 08:45:26 -0500 Subject: RE: pls help: WebSphere + IBATIS Thread-Topic: pls help: WebSphere + IBATIS Thread-Index: AcfzryB2juMuXKyzT5S8bprKwHL/RQAAFn4g Message-ID: <07292702F07DB64BB8224048499C7919D6C9FECC@EMAILMBX10.email.target.com> References: <200709101333.l8ADXaxG000388@mail104c25.carrierzone.com> In-Reply-To: <200709101333.l8ADXaxG000388@mail104c25.carrierzone.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_07292702F07DB64BB8224048499C7919D6C9FECCEMAILMBX10email_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_07292702F07DB64BB8224048499C7919D6C9FECCEMAILMBX10email_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable If the resource-ref isn't mentioned in the deployment descriptor, then try = giving the JNDI name directly for the value attribute. We are using it that way and it works. Regards Hemant ________________________________ From: Denis Bessmertniy [mailto:denis.bessmertniy@consumerhealthtech.com] Sent: Monday, September 10, 2007 8:33 AM To: user-java@ibatis.apache.org Subject: pls help: WebSphere + IBATIS Hi, I'm using WebSphere Application Server v6.0 with EJB 2 container. I wrote Stateless Session Bean and trying to make an update in database DB2= through IBATIS. In SqlMapConfig.xml I have this transaction statement And after ejb's method execution I have this exception (see below) But in JNDI I have the name java:/comp/env/jdbc/dbDS java.rmi.ServerException: RemoteException occurred in server thread; nested= exception is: java.rmi.RemoteException: ; nested exception is: java.lang.ExceptionInInitializerError at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDele= gateImpl.java:162) at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateI= mpl.java:684) at javax.rmi.CORBA.Util.wrapException(Util.java:296) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: java.rmi.RemoteException: ; nested exception is: java.lang.ExceptionInInitializerError at java.lang.Class.initialize(Class.java:356) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.initialize(Class.java:356) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: java.lang.RuntimeException: Error occurred. Cause: com.ibatis.c= ommon.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeExc= eption: Error parsing XPath '/sqlMapConfig/transactionManager/dataSource/en= d()'. Cause: com.ibatis.sqlmap.client.SqlMapException: There was an error = configuring JndiDataSourceDaoTransactionPool. Cause: javax.naming.NameNotFo= undException: Name comp/env/jta not found in context "java:". at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(S= qlMapConfigParser.java:84) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(= SqlMapClientBuilder.java:62) at com.mydomain.data.SimpleExample.(SimpleExample.java:32) at java.lang.Class.initializeImpl(Native Method) at java.lang.Class.initialize(Class.java:350) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Caus= e: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/transacti= onManager/dataSource/end()'. Cause: com.ibatis.sqlmap.client.SqlMapExcepti= on: There was an error configuring JndiDataSourceDaoTransactionPool. Cause:= javax.naming.NameNotFoundException: Name comp/env/jta not found in context= "java:". at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:52= ) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(S= qlMapConfigParser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(= SqlMapClientBuilder.java:62) at com.mydomain.data.SimpleExample.(SimpleExample.java:32) at java.lang.Class.initializeImpl(Native Method) at java.lang.Class.initialize(Class.java:350) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/t= ransactionManager/dataSource/end()'. Cause: com.ibatis.sqlmap.client.SqlMa= pException: There was an error configuring JndiDataSourceDaoTransactionPool= . Cause: javax.naming.NameNotFoundException: Name comp/env/jta not found in= context "java:". at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParse= r.java:113) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 95) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 92) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 92) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:62= ) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50= ) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(S= qlMapConfigParser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(= SqlMapClientBuilder.java:62) at com.mydomain.data.SimpleExample.(SimpleExample.java:32) at java.lang.Class.initializeImpl(Native Method) at java.lang.Class.initialize(Class.java:350) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: com.ibatis.sqlmap.client.SqlMapException: There was an error con= figuring JndiDataSourceDaoTransactionPool. Cause: javax.naming.NameNotFound= Exception: Name comp/env/jta not found in context "java:". at com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initi= alize(JndiDataSourceFactory.java:60) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.proce= ss(SqlMapConfigParser.java:318) at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParse= r.java:111) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 95) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 92) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 92) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:62= ) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50= ) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(S= qlMapConfigParser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(= SqlMapClientBuilder.java:62) at com.mydomain.data.SimpleExample.(SimpleExample.java:32) at java.lang.Class.initializeImpl(Native Method) at java.lang.Class.initialize(Class.java:350) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: javax.naming.NameNotFoundException: Name comp/env/jta not found = in context "java:". at com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpa= ce.java:1716) at com.ibm.ws.naming.ipbase.NameSpace.lookupInternal(NameSpace.jav= a:1062) at com.ibm.ws.naming.ipbase.NameSpace.lookup(NameSpace.java:985) at com.ibm.ws.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.= java:1263) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContext= Root.java:198) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContext= Root.java:139) at javax.naming.InitialContext.lookup(InitialContext.java:361) at com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initi= alize(JndiDataSourceFactory.java:48) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.proce= ss(SqlMapConfigParser.java:318) at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParse= r.java:111) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 95) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 92) at com.ibatis.common.xml.NodeletParser.process(NodeletParser.java:= 92) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:62= ) at com.ibatis.common.xml.NodeletParser.parse(NodeletParser.java:50= ) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(S= qlMapConfigParser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(= SqlMapClientBuilder.java:62) at com.mydomain.data.SimpleExample.(SimpleExample.java:32) at java.lang.Class.initializeImpl(Native Method) at java.lang.Class.initialize(Class.java:350) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatis= FacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5= b.insertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.rmi.util.ProxyUtil$4.run(ProxyUtil.java:727) at java.security.AccessController.doPrivileged(AccessController.ja= va:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.jav= a:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:11= 21) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBa= tisFacade_Stub.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccesso= rImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMetho= dAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(Reflectio= nMethodModel.java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.j= ava:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.j= ava:367) 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(ServletW= rapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Se= rvletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleReque= st(CacheServletWrapper.java:80) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer= .java:1657) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLi= nk.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDisc= rimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewI= nformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.comple= te(HttpICLReadCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(Wo= rkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueu= eManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueu= eManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQue= ueManager.java:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) --_000_07292702F07DB64BB8224048499C7919D6C9FECCEMAILMBX10email_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

If the resource-ref isn’t mentio= ned in the deployment descriptor, then try giving the JNDI name directly for the value attribute.

We are using it that way and it works.=

 

Regards

Hemant

 

 


From: Denis Bessmertniy [mailto:denis.bessmertniy@consumerhealthtech.com]
Sent: Monday, September 10, = 2007 8:33 AM
To: user-java@ibatis.apache.org
Subject: pls help: WebSphere= + IBATIS

 

Hi,

 

 

I’m using WebSphere Application Server v6.0 with E= JB 2 container.

 

I wrote Stateless Session Bean and trying to make an upd= ate in database DB2 through IBATIS.

In SqlMapConfig.xml I have this transaction statement

 

<transactionManager type=3D"EXTERNAL">

       <= /font><dataSource type=3D"JNDI">

                  = <property name=3D"DataSource" value=3D"java:comp/env/jdbc/dbDS" />

       <= /font></dataSource>

</transactionManage= r>

 =

And after ejb’s method execution = I have this exception (see below)

But in JNDI I have the name java:/comp/env/jdbc/dbDS=

 

java.rmi.ServerException: RemoteExcep=
tion occurred in server thread; nested exception is: 
         java.rmi.Remo=
teException: ; nested exception is: 
         java.lang.Exc=
eptionInInitializerError
         at com.ibm.CO=
RBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:162)
         at com.ibm.CO=
RBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:684)
         at javax.rmi.=
CORBA.Util.wrapException(Util.java:296)
=
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
9)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: java.rmi.RemoteException: ; nested exception is: 
         java.lang.Exc=
eptionInInitializerError
         at java.lang.=
Class.initialize(Class.java:356)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: java.lang.ExceptionInInitializerError
         at java.lang.=
Class.initialize(Class.java:356)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: java.lang.RuntimeException: Error occurred.  C=
ause: com.ibatis.common.xml.NodeletException: Error parsing XML.  Caus=
e: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/transacti=
onManager/dataSource/end()'.  Cause: com.ibatis.sqlmap.client.SqlMapEx=
ception: There was an error configuring JndiDataSourceDaoTransactionPool. C=
ause: javax.naming.NameNotFoundException: Name comp/env/jta not found in co=
ntext "java:".
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java=
:84)
         at com.ibatis=
.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.ja=
va:62)
         at com.mydoma=
in.data.SimpleExample.(SimpleExample.java:32)
         at java.lang.=
Class.initializeImpl(Native Method)
         at java.lang.=
Class.initialize(Class.java:350)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: com.ibatis.common.xml.NodeletException: Error parsi=
ng XML.  Cause: java.lang.RuntimeException: Error parsing XPath '/sqlM=
apConfig/transactionManager/dataSource/end()'.  Cause: com.ibatis.sqlm=
ap.client.SqlMapException: There was an error configuring JndiDataSourceDao=
TransactionPool. Cause: javax.naming.NameNotFoundException: Name comp/env/j=
ta not found in context "java:".
         at com.ibatis= .common.xml.NodeletParser.parse(NodeletParser.java:52)
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java=
:81)
         at com.ibatis=
.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.ja=
va:62)
         at com.mydoma=
in.data.SimpleExample.(SimpleExample.java:32)
         at java.lang.=
Class.initializeImpl(Native Method)
         at java.lang.=
Class.initialize(Class.java:350)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: java.lang.RuntimeException: Error parsing XPath '/s=
qlMapConfig/transactionManager/dataSource/end()'.  Cause: com.ibatis.s=
qlmap.client.SqlMapException: There was an error configuring JndiDataSource=
DaoTransactionPool. Cause: javax.naming.NameNotFoundException: Name comp/en=
v/jta not found in context "java:".
         at com.ibatis=
.common.xml.NodeletParser.processNodelet(NodeletParser.java:113)=
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:95)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:92)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:92)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.parse(NodeletParser.java:62)
         at com.ibatis=
.common.xml.NodeletParser.parse(NodeletParser.java:50)
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java=
:81)
         at com.ibatis=
.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.ja=
va:62)
         at com.mydoma=
in.data.SimpleExample.(SimpleExample.java:32)
         at java.lang.=
Class.initializeImpl(Native Method)
         at java.lang.=
Class.initialize(Class.java:350)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: com.ibatis.sqlmap.client.SqlMapException: There was=
 an error configuring JndiDataSourceDaoTransactionPool. Cause: javax.naming=
.NameNotFoundException: Name comp/env/jta not found in context "java:&=
quot;.
         at com.ibatis=
.sqlmap.engine.datasource.JndiDataSourceFactory.initialize(JndiDataSourceFa=
ctory.java:60)
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConfigParser.=
java:318)
         at com.ibatis=
.common.xml.NodeletParser.processNodelet(NodeletParser.java:111)=
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:95)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:92)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:92)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.parse(NodeletParser.java:62)
         at com.ibatis=
.common.xml.NodeletParser.parse(NodeletParser.java:50)
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java=
:81)
         at com.ibatis=
.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.ja=
va:62)
         at com.mydoma=
in.data.SimpleExample.(SimpleExample.java:32)
         at java.lang.=
Class.initializeImpl(Native Method)
         at java.lang.=
Class.initialize(Class.java:350)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>
Caused by: javax.naming.NameNotFoundException: Name comp/env/j=
ta not found in context "java:".
         at com.ibm.ws= .naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:1716)
         at com.ibm.ws=
.naming.ipbase.NameSpace.lookupInternal(NameSpace.java:1062)
         at com.ibm.ws=
.naming.ipbase.NameSpace.lookup(NameSpace.java:985)
         at com.ibm.ws=
.naming.urlbase.UrlContextImpl.lookup(UrlContextImpl.java:1263)<=
/span>
         at com.ibm.ws=
.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:198)
         at com.ibm.ws=
.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:139)
         at javax.nami=
ng.InitialContext.lookup(InitialContext.java:361)<=
/pre>
         at com.ibatis=
.sqlmap.engine.datasource.JndiDataSourceFactory.initialize(JndiDataSourceFa=
ctory.java:48)
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConfigParser.=
java:318)
         at com.ibatis=
.common.xml.NodeletParser.processNodelet(NodeletParser.java:111)=
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:95)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:92)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.process(NodeletParser.java:92)<=
/font>
         at com.ibatis=
.common.xml.NodeletParser.parse(NodeletParser.java:62)
         at com.ibatis=
.common.xml.NodeletParser.parse(NodeletParser.java:50)
         at com.ibatis=
.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigParser.java=
:81)
         at com.ibatis=
.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientBuilder.ja=
va:62)
         at com.mydoma=
in.data.SimpleExample.(SimpleExample.java:32)
         at java.lang.=
Class.initializeImpl(Native Method)
         at java.lang.=
Class.initialize(Class.java:350)
         at com.mydoma=
in.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.java:62)
         at com.mydoma=
in.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccounts(EJSRe=
moteStatelessIBatisFacade_24809d5b.java:27)
<= pre>         at sun.reflec= t.NativeMethodAccessorImpl.invoke0(Native Method)<= /pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.rm=
i.util.ProxyUtil$4.run(ProxyUtil.java:727)
         at java.secur= ity.AccessController.doPrivileged(AccessController.java:189)
         at com.ibm.rm=
i.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at com.ibm.CO=
RBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)<=
/font>
         at $Proxy1.in=
sertAccounts(Unknown Source)
         at com.mydoma=
in.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stub.java:25=
5)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke0(Native Method)<=
/pre>
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
         at sun.reflec=
t.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
         at sun.reflec=
t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)=
         at java.lang.=
reflect.Method.invoke(Method.java:391)
<=
font
size=3D1 color=3Dblack face=3D"Courier New">         at com.ibm.et=
ools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel.java:65)<=
o:p>
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at com.ibm.et=
ools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java:367)
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:763)=
         at javax.serv=
let.http.HttpServlet.service(HttpServlet.java:856)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212)=
         at com.ibm.ws=
.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629)=
         at com.ibm.ws=
.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper=
.java:80)
         at com.ibm.ws=
.webcontainer.WebContainer.handleRequest(WebContainer.java:1657)=
         at com.ibm.ws=
.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77)=
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInbound=
Link.java:421)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInbound=
Link.java:367)
         at com.ibm.ws=
.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback=
.java:94)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:54=
8)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934)
         at com.ibm.ws=
.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021)
         at com.ibm.ws=
.util.ThreadPool$Worker.run(ThreadPool.java:1332)<=
/pre>

 

--_000_07292702F07DB64BB8224048499C7919D6C9FECCEMAILMBX10email_--