• Welcome to KonaKart Community Forum. Please login or sign up.
 

Torque database map Error starting Konakart admin on WAS w/ remote db2 database

Started by Cavs123, September 07, 2009, 08:21:59 am

Previous topic - Next topic

Cavs123


Hi there,

We have created a konakart database using db2 version 9.2. We are trying to access it from a konakart server running on Websphere application server version 6.

I can access the database from another machine which has konakart installed with tomcat web server but when I try to access the database using the instance of konakart which uses WAS as its server, the following happens:
The konakart shop does not appear. The page is simply blank.
The konakart admin gives an error with torque. The error seems to be an exception in creating a database map. 
Please help!! 

Laura

The error I get in Konakart admin app:



Exception Stack Trace =
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at com.konakartadmin.ws.KKAdminEngineMgr.getKKAdminByName(KKAdminEngineMgr.java:155)
at com.konakartadmin.ws.KKAdminEngineMgr.createKKAdminEngine(KKAdminEngineMgr.java:75)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getEng(KKAdminGWTServiceImpl.java:333)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getStores(KKAdminGWTServiceImpl.java:8930)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
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:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3507)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

Exception Cause =
at org.apache.torque.map.DatabaseMap.(DatabaseMap.java:143)
at org.apache.torque.Database.getDatabaseMap(Database.java:105)
at org.apache.torque.TorqueInstance.getDatabaseMap(TorqueInstance.java:703)
at org.apache.torque.TorqueInstance.initAdapters(TorqueInstance.java:254)
at org.apache.torque.TorqueInstance.initialize(TorqueInstance.java:154)
at org.apache.torque.TorqueInstance.init(TorqueInstance.java:416)
at org.apache.torque.TorqueInstance.init(TorqueInstance.java:396)
at org.apache.torque.Torque.init(Torque.java:133)
at com.konakartadmin.bl.KKAdminBase.initTorque(KKAdminBase.java:403)
at com.konakartadmin.bl.KKAdminBase.init(KKAdminBase.java:199)
at com.konakartadmin.bl.KKAdmin.(KKAdmin.java:156)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:522)
at com.konakartadmin.ws.KKAdminEngineMgr.getKKAdminByName(KKAdminEngineMgr.java:155)
at com.konakartadmin.ws.KKAdminEngineMgr.createKKAdminEngine(KKAdminEngineMgr.java:75)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getEng(KKAdminGWTServiceImpl.java:333)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getStores(KKAdminGWTServiceImpl.java:8930)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
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:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:592)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3507)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1466)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:122)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1497)

darryl51

Hi There,

Has anyone else encountered this?  How was it solved?

I'm getting the same error, though on an MSSQL/Tomcat7 setup.

-Darryl

kate

I don't know what steps you've taken to get this but if you run a standard installation of KonaKart - now bundled with tomcat7 - and load a MSSQL db during the installation you should have no problems.   We do this automatically many times every day in our test systems.