ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Denis Bessmertniy" <denis.bessmert...@consumerhealthtech.com>
Subject pls help: WebSphere + IBATIS
Date Mon, 10 Sep 2007 13:33:09 GMT
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">

       <dataSource type="JNDI">

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

       </dataSource>

</transactionManager>

 

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(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.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.jav
a: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.jav
a: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(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(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.jav
a: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(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.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.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.jav
a: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(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(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.jav
a: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)
         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.jav
a:1021)
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1332)

 


Mime
View raw message