Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 13084 invoked from network); 10 Sep 2007 15:14:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Sep 2007 15:14:31 -0000 Received: (qmail 84927 invoked by uid 500); 10 Sep 2007 15:14:14 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 84915 invoked by uid 500); 10 Sep 2007 15:14:14 -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 84671 invoked by uid 99); 10 Sep 2007 15:14:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 08:14:12 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.29.147.196] (HELO mail126c25.carrierzone.com) (64.29.147.196) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Sep 2007 15:14:02 +0000 X-POP-User: denis.bessmertniy.consumerhealthtech.com Received: from dt18 (77-91-152-250.client.telesystems.ua [77.91.152.250] (may be forged)) by mail126c25.carrierzone.com (8.13.6.20060614/8.13.1) with ESMTP id l8AFDZ2c002754 for ; Mon, 10 Sep 2007 15:13:37 GMT Message-Id: <200709101513.l8AFDZ2c002754@mail126c25.carrierzone.com> From: "Denis Bessmertniy" To: Subject: RE: pls help: WebSphere + IBATIS Date: Mon, 10 Sep 2007 18:13:09 +0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0000_01C7F3D6.3F9DDE10" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcfzunsKlfFXDvFFQDui7XH58uTZ9gAABm2AAABE+FAAAFbvEA== In-Reply-To: <200709101503.l8AF3Zlj018984@mail116c25.carrierzone.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Checked: Checked by ClamAV on apache.org This is a multi-part message in MIME format. ------=_NextPart_000_0000_01C7F3D6.3F9DDE10 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Or I need to use jdbc/mhfDS2 javax.sql.DataSource May you give me and example, pls? thnx _____ From: Denis Bessmertniy [mailto:denis.bessmertniy@consumerhealthtech.com] Sent: Monday, September 10, 2007 6:03 PM To: user-java@ibatis.apache.org Subject: RE: pls help: WebSphere + IBATIS I need to do something like this IBatisFacade com.mydomain.sessionbean.IBatisFacadeHome com.mydomain.sessionbean.IBatisFacade com.mydomain.sessionbean.IBatisFacadeLocalHome com.mydomain.sessionbean.IBatisFacadeLocal com.mydomain.sessionbean.IBatisFacadeBean Stateless Container jdbc/mhfDS javax.sql.DataSource Container Shareable _____ From: Hemant.Kamatgi [mailto:Hemant.Kamatgi@target.com] Sent: Monday, September 10, 2007 5:56 PM To: user-java@ibatis.apache.org Subject: RE: pls help: WebSphere + IBATIS Yep, that's correct. _____ From: Jeff Butler [mailto:jeffgbutler@gmail.com] Sent: Monday, September 10, 2007 9:53 AM To: user-java@ibatis.apache.org Subject: Re: pls help: WebSphere + IBATIS Because you don't have a resource reference in your ejb-jar.xml file. You should add one, and then go back to the java:comp syntax. Jeff Butler On 9/10/07, Denis Bessmertniy wrote: It has been started to work with < property name ="DataSource" value=" jdbc/dbDS" /> not with < property name = "DataSource" value =" java:comp/env/jdbc/dbDS" /> WHY? _____ From: Hemant.Kamatgi [mailto:Hemant.Kamatgi@target.com ] Sent: Monday, September 10, 2007 5:01 PM To: user-java@ibatis.apache.org Subject: RE: pls help: WebSphere + IBATIS The actual JNDI name of the datasource that you've configured using WAS. You wud have used WAS's admin console to configure your datasource and say the JNDI name of the datasource is 'JNDI/XYZ' , just give 'JNDI/XYZ' as the value for the datasource property. _____ From: Denis Bessmertniy [mailto: denis.bessmertniy@consumerhealthtech.com] Sent: Monday, September 10, 2007 8:57 AM To: user-java@ibatis.apache.org Subject: RE: pls help: WebSphere + IBATIS We don't use web.xml. Because it is only EJB project only with appliaction.xml. That is why I cannot user resource-ref. > try giving the JNDI name directly for the value attribute What do you mean here? I cannot understand. _____ From: Hemant.Kamatgi [mailto:Hemant.Kamatgi@target.com ] Sent: Monday, September 10, 2007 4:45 PM To: user-java@ibatis.apache.org Subject: RE: pls help: WebSphere + IBATIS 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 < transactionManager type ="EXTERNAL" > 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(UtilDelegateImpl.java :162) at com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:684) at javax.rmi.CORBA.Util.wrapException(Util.java:296) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost (InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper. java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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 (HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation (HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java :94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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.jav a: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(IBatisFacadeBean.ja va:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts (EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke (InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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(Ht tpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht tpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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) Caused by: java.lang.ExceptionInInitializerError at java.lang.Class.initialize(Class.java:356) at com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFacadeBean.ja va:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts (EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke (InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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(Ht tpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht tpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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) Caused by: java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/transactionManager/dataSource/end()'. Cause: com.ibatis.sqlmap.client.SqlMapException: There was an error configuring JndiDataSourceDaoTransactionPool. Cause: javax.naming.NameNotFoundException: Name comp/env/jta not found in context "java:". at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfigPa rser.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(IBatisFacadeBean.ja va:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts (EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke (InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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(Ht tpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht tpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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) Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/transactionManager/dataSource/end()'. Cause: com.ibatis.sqlmap.client.SqlMapException: 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(SqlMapConfigPa rser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB uilder.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(IBatisFacadeBean.ja va:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders (ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost (InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper. java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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 (HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation (HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java :94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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.jav a:1021) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332) Caused by: java.lang.RuntimeException : Error parsing XPath '/sqlMapConfig/transactionManager/dataSource/end()'. Cause: com.ibatis.sqlmap.client.SqlMapException: 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 (NodeletParser.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(SqlMapConfigPa rser.java :81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB uilder.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 (IBatisFacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts (EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke (InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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(Ht tpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht tpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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) 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:". at com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initialize(JndiDat aSourceFactory.java:60) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConf igParser.java:318) at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.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 (SqlMapConfigParser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB uilder.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 (IBatisFacadeBean.java:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts (EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) at com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_Stu b.java:255) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85 ) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58 ) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .java:60) at java.lang.reflect.Method.invoke(Method.java:391) at com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodModel. java:65) at com.ibm.etools.utc.servlet.InvokeServlet.invoke (InvokeServlet.java:111) at com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.java:1 212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest (ServletWrapper.java:629) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServl etWrapper.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(Ht tpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(Ht tpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLRea dCallback.java:94) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManage r.java:548) 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) Caused by: javax.naming.NameNotFoundException: Name comp/env/jta 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) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java :198) at com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:139 ) at javax.naming.InitialContext.lookup(InitialContext.java:361) at com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initialize(JndiDat aSourceFactory.java:48) at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapConf igParser.java:318) at com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.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(SqlMapConfigPa rser.java:81) at com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClientB uilder.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(IBatisFacadeBean.ja va:62) at com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAccou nts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java :58) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl .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.java:189) at com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders (ProxyUtil.java:725) at com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121) at $Proxy1.insertAccounts(Unknown Source) ... [Message clipped] ------=_NextPart_000_0000_01C7F3D6.3F9DDE10 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Or I need to use

<resource-env-ref>
  =20 <
description></description>
 =20  <
resource-env-ref-name>jdbc/mhfDS2</resource-env-ref-name>
  =20 <
resource-env-ref-type>javax.sql.DataSource</resource-env-ref-type>
</resource-env-ref>

 

 

May you give me and example, = pls?

 

thnx



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

I need to do something like this
 
 

<enterprise-beans><session id=3D"IBatisFacade">

<ejb-name>IBatisFacade</ejb-name>

<home>com.mydomain.sessionbean.IBatisFacadeHome</home>

<remote>com.mydomain.sessionbean.IBatisFacade</remote>

<local-home>com.mydomain.sessionbean.IBatisFacadeLocalHome</local-home>

<local>com.mydomain.sessionbean.IBatisFacadeLocal</local>

<ejb-class>com.mydomain.sessionbean.IBatisFacadeBean</ejb-class>

<session-type>Stateless</session-type>

<transaction-type>Container</transaction-type>

<resource-ref>

<description></description>

<res-ref-name>jdbc/mhfDS</res-ref-name>

<res-type>javax.sql.DataSource</res-type>

<res-auth>Container</res-auth>

<res-sharing-scope>Shareable</res-sharing-scope>

</resource-ref>

</session>

</enterprise-beans>



From: Hemant.Kamatgi=20 [mailto:Hemant.Kamatgi@target.com]
Sent: Monday, September = 10, 2007=20 5:56 PM
To: user-java@ibatis.apache.org
Subject: RE: = pls=20 help: WebSphere + IBATIS

Yep, = that’s correct.=20

 


From: Jeff=20 Butler [mailto:jeffgbutler@gmail.com]
Sent:
Monday, September 10, 2007 = 9:53=20 AM
To: = user-java@ibatis.apache.org
Subject: Re: pls help: WebSphere = +=20 IBATIS

 

Because you don't have a resource reference in = your=20 ejb-jar.xml file.  You should add one, and then go back to the = java:comp=20 syntax.

 

Jeff=20 Butler

 

On 9/10/07, Denis Bessmertniy <denis.bessmertni= y@consumerhealthtech.com>=20 wrote:

It has been = started to=20 work with

<=20 property name=20 =3D"DataSource"=20 value=3D"=20 jdbc/dbDS" />

 

not=20 with

 

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

 

 

WHY?

 


From: Hemant.Kamatgi [mailto:Hemant.Kamatgi@target.com=20 ]
Sent: Monday, September 10, 2007 = 5:01 PM=20


To: user-java@ibatis.apache.org
Subject: RE: pls help: WebSphere = +=20 IBATIS


 

The actual = JNDI name of=20 the datasource that you've configured using WAS. You wud have used WAS's = admin=20 console to configure your datasource and say the JNDI name of the = datasource is=20 'JNDI/XYZ' , just give 'JNDI/XYZ' as the value for the datasource = property.=20

 


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

 

We=20 don't use web.xml. Because it is only EJB project only with = appliaction.xml.=20

That is why = I cannot=20 user resource-ref.

 

> try giving=20 the JNDI name directly for the value attribute =

What do you mean here? I = cannot=20 understand.

 


From:=20 Hemant.Kamatgi [mailto:Hemant.Kamatgi@target.com]
Sent:
Monday, September 10, 2007 = 4:45=20 PM
To: user-java@ibatis.apache.org
Subject: RE: pls help: WebSphere = +=20 IBATIS

If the = resource-ref=20 isn't mentioned in the deployment descriptor, then try giving the JNDI = name=20 directly for the value attribute.

We are using = it that=20 way and it works.

 

Regards

Hemant

 

 


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

 

Hi,=20

 

 

I'm=20 using WebSphere Application Server v6.0 with EJB 2 container.=20

 

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

In=20 SqlMapConfig.xml I have this transaction = statement

 

<=20 transactionManager type=20 =3D"EXTERNAL"=20 >

      =20 <dataSource=20 type=3D=20 "JNDI">=20

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

      =20 </dataSource=20 >

</=20 transactionManager>=20

 

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

But in = JNDI I=20 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(UtilDelegateImpl.j=
ava
:162)
         at =
com.ibm.CORBA.iiop.UtilDelegateImpl.wrapException(UtilDelegateImpl.java:6=
84)
         at =
javax.rmi.CORBA.Util.wrapException(Util.java:296)
 
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_=
Stub.java:259)
 
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:85)
<= PRE>         at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
 
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodMod=
el.java:65)
 
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost<=
/PRE>
(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
 
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp=
er.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(=
CacheServletWrapper.java:80)
         at =
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.ja=
va:1657)
         at =
com.ibm.ws.webcontainer.channel.WCChannelLink.ready
(WCChannelLink.java:77)
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination=
(HttpInboundLink.java:421)
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java
:94)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.j=
ava: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)=
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(IBatisFac=
adeBean.java:62)
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAc=
counts
(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
 
         at =
$Proxy1.insertAccounts(Unknown =
Source)
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatis=
Facade_Stub.java:255)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
 
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMe=
thodModel.java:65)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke<=
/PRE>
(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
(ServletWrapper.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheSe=
rvletWrapper.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=
(HttpInboundLink.java:421)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java:94)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueMa=
nager.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)=
Caused by: =
java.lang.ExceptionInInitializerError
=
 
         at =
java.lang.Class.initialize(Class.java:356)
=
         at =
com.mydomain.sessionbean.IBatisFacadeBean.insertAccounts(IBatisFac=
adeBean.java:62)
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAc=
counts
(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
 
         at =
$Proxy1.insertAccounts(Unknown =
Source)
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatis=
Facade_Stub.java:255)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
 
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMe=
thodModel.java:65)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke<=
/PRE>
(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
(ServletWrapper.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheSe=
rvletWrapper.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=
(HttpInboundLink.java:421)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java:94)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueMa=
nager.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)=
Caused by: java.lang.RuntimeException: Error occurred.  =
Cause: com.ibatis.common.xml.NodeletException: Error parsing XML.  =
Cause: 
java.lang.RuntimeException: Error parsing XPath =
'/sqlMapConfig/transactionManager/dataSource/end()'.  Cause: =
com.ibatis.sqlmap.client.SqlMapException: There was an error configuring =
JndiDataSourceDaoTransactionPool. Cause: =
javax.naming.NameNotFoundException: Name comp/env/jta not found =
in context "java:".
         at =
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlM=
apConfigParser.java:84)
         at =
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient=
(SqlMapClientBuilder.java:62)
<=
FONT face=3D"Courier New" color=3Dblack size=3D1>         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(IBatisFac=
adeBean.java:62)
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAc=
counts
(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
 
         at =
$Proxy1.insertAccounts(Unknown =
Source)
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatis=
Facade_Stub.java:255)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
 
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMe=
thodModel.java:65)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke<=
/PRE>
(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
(ServletWrapper.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheSe=
rvletWrapper.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=
(HttpInboundLink.java:421)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java:94)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueMa=
nager.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)=
Caused by: com.ibatis.common.xml.NodeletException: Error parsing =
XML.  Cause: java.lang.RuntimeException: Error parsing XPath =
'/sqlMapConfig/transactionManager/dataSource/end()'.  Cause: =
com.ibatis.sqlmap.client.SqlMapException: 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(SqlMapConfi=
gParser.java:81)
 
         at =
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClie=
ntBuilder.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(IBatisFacadeBean=
.java:62)
 
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAc=
counts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
 
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:85)
<= PRE>         at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders
(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
         at =
$Proxy1.insertAccounts(Unknown =
Source)
 
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatisFacade_=
Stub.java:255)
 
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:85)
<= PRE>         at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
 
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMethodMod=
el.java:65)
 
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost<=
/PRE>
(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
 
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapp=
er.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(=
CacheServletWrapper.java:80)
         at =
com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.ja=
va:1657)
         at =
com.ibm.ws.webcontainer.channel.WCChannelLink.ready
(WCChannelLink.java:77)
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination=
(HttpInboundLink.java:421)
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java
:94)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.j=
ava: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)=
Caused by: =
java.lang.RuntimeException
: Error parsing XPath =
'/sqlMapConfig/transactionManager/dataSource/end()'.  Cause: =
com.ibatis.sqlmap.client.SqlMapException: 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
(NodeletParser.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
<= PRE>(NodeletParser.java:50)
         at =
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(SqlMapConfi=
gParser.java
:81)
         at =
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClie=
ntBuilder.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
(IBatisFacadeBean.java:62)
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAc=
counts
(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
 
         at =
$Proxy1.insertAccounts(Unknown =
Source)
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatis=
Facade_Stub.java:255)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
 
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMe=
thodModel.java:65)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke<=
/PRE>
(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
(ServletWrapper.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheSe=
rvletWrapper.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=
(HttpInboundLink.java:421)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java:94)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueMa=
nager.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)=
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:".
         at =
com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initiali=
ze(JndiDataSourceFactory.java:60)
         at =
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(=
SqlMapConfigParser.java:318)
         at =
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.j=
ava: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<=
/SPAN>
(SqlMapConfigParser.java:81)
         at =
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(SqlMapClie=
ntBuilder.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
(IBatisFacadeBean.java:62)
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.insertAc=
counts
(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
 
         at =
$Proxy1.insertAccounts(Unknown =
Source)
         at =
com.mydomain.sessionbean._IBatisFacade_Stub.insertAccounts(_IBatis=
Facade_Stub.java:255)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0
(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:85)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
 
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.java:60)
 
         at =
java.lang.reflect.Method.invoke(Method.java:391)=
         at =
com.ibm.etools.utc.model.ReflectionMethodModel.invoke(ReflectionMe=
thodModel.java:65)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.invoke<=
/PRE>
(InvokeServlet.java:111)
         at =
com.ibm.etools.utc.servlet.InvokeServlet.doPost(InvokeServlet.java: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(ServletWrapper.jav=
a:1212)
         at =
com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest
(ServletWrapper.java:629)
         at =
com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheSe=
rvletWrapper.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=
(HttpInboundLink.java:421)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation=
(HttpInboundLink.java:367)
 
         at =
com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICL=
ReadCallback.java:94)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueMan=
ager.java:548)
 
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.j=
ava:601)
         at =
com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueMa=
nager.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)=
Caused by: javax.naming.NameNotFoundException: Name comp/env/jta =
not found in context "java:".
         at =
com.ibm.ws.naming.ipbase.NameSpace.getParentCtxInternal(NameSpace.java:17=
16)
 
         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<=
/PRE>
(UrlContextImpl.java:1263)
         at =
com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java<=
o:p>
:198)
         at =
com.ibm.ws.naming.java.javaURLContextRoot.lookup(javaURLContextRoot.java:=
139)
         at =
javax.naming.InitialContext.lookup(InitialContext.java:361)=
 
         at =
com.ibatis.sqlmap.engine.datasource.JndiDataSourceFactory.initialize(Jndi=
DataSourceFactory.java:48)
 
         at =
com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser$9.process(SqlMapC=
onfigParser.java:318)
 
         at =
com.ibatis.common.xml.NodeletParser.processNodelet(NodeletParser.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(SqlMapConfi=
gParser.java:81)
         at =
com.ibatis.sqlmap.client.SqlMapClientBuilder.buildSqlMapClient(Sql=
MapClientBuilder.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(IBatisFacadeBean=
.java:62)
         at =
com.mydomain.sessionbean.EJSRemoteStatelessIBatisFacade_24809d5b.i=
nsertAccounts(EJSRemoteStatelessIBatisFacade_24809d5b.java:27)
 
         at =
sun.reflect.NativeMethodAccessorImpl.invoke0(Native =
Method)
         at =
sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:85)
<= PRE>         at = sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java=
:58)
         at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI=
mpl.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.java:189)
         at =
com.ibm.rmi.util.ProxyUtil.invokeWithClassLoaders
(ProxyUtil.java:725)
         at =
com.ibm.CORBA.iiop.ClientDelegate.invoke(ClientDelegate.java:1121)=
         at =
$Proxy1.insertAccounts(Unknown =
Source)
 

...

[Message=20 clipped]  

 

------=_NextPart_000_0000_01C7F3D6.3F9DDE10--