• Welcome to KonaKart Community Forum. Please login or sign up.
 
March 29, 2024, 12:18:35 am

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - Cavs123

1
Hi there,

We installed konakart with DB2 in two different environments: test and production. In one environment, the default konakart reports worked fine with charts. In the other environment, the exact same konakart  reports failed when they contained charts. The library files are the same for both of these environments and the version of DB2 is the same. The error we got on the BIRT viewer screen was simply "class not found". When I took out the chart objects from the .rptdesign files, they worked fine (albeit without a chart).

Looking at the logs, I got an deserialization error. It was having an error trying to load the xml. BIRT tried to validate the xml version and failed. Could this be related to internet access?

thanks,

Cavs


2
Hi there,

We have added free shipping on items over 100 dollors. However, when a member discount is applied to an item bringing its total price down to less than 100 dollors (e.g 120 - discount of 30) the free shipping still applies. Is this the standard functionality?

We only want free shipping if the total amount (including discount) is more than 100 dollors. I am guessing that this functionality would involve writing a custom shipping module. For that shipping module, would it actually be possible to get the total order amount including the discount?

Any ideas on whether this is possible? Is the total order amount calculated prior to the shipping module code?
thanks,
Laura
3

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)
4
hi there,

I have had a problem adding a custom payment gateway, cpay, to KonaKart. I used an existing module payjunction, copying its files and modifying them according to the guide. I added the new payment module in the various config files. I build the new custom jar files with the ant build file and copied them to:
C:\Program Files\KonaKart\webapps\konakart\WEB-INF\classes
and
C:\Program Files\KonaKart\webapps\konakartadmin\WEB-INF\classes

When I run the KonaKart admin app, I get the following error (below). It says that the class com.konakarta
dmin.modules.payment.cpay.Cpay is missing but this is in one of the jar files I placed in both locations. Any ideas would be really helpful.


* KONAKART LICENSE AGREEMENT
*
* You may not use this software except in compliance with the licenses.
*

22-Jul 13:30:44 WARN  (AdminMgrFactory.java:instantiateAdminMultiStoreMgr:1026)
Admin Multi-Store functionality has not been installed
22-Jul 13:30:54 WARN  (AdminModulesMgr.java:loadModules:230) Class com.konakarta
dmin.modules.payment.cpay.Cpay not found but defined in /C:/Program%20Files/Kona
Kart/webapps/konakartadmin/WEB-INF/classes/konakartadmin.properties
com.konakart.app.KKException: The configuration at index 7 Cpay is null
        at com.konakartadmin.modules.Module.getKeys(Module.java:187)
        at com.konakartadmin.bl.AdminModulesMgr.loadModules(AdminModulesMgr.java
:208)
        at com.konakartadmin.bl.AdminModulesMgr.fetchModules(AdminModulesMgr.jav
a:128)
        at com.konakartadmin.bl.AdminModulesMgr.refreshConfigs(AdminModulesMgr.j
ava:537)
        at com.konakartadmin.bl.AdminModulesMgr.<init>(AdminModulesMgr.java:97)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at com.konakartadmin.bl.AdminMgrFactory.instantiateAdminModulesMgr(Admin
MgrFactory.java:1107)
        at com.konakartadmin.bl.AdminMgrFactory.getAdminModulesMgr(AdminMgrFacto
ry.java:1094)
        at com.konakartadmin.bl.KKAdminBase.getModulesMgr(KKAdminBase.java:1015)

        at com.konakartadmin.bl.KKAdmin.getModules(KKAdmin.java:1807)
        at com.konakartadmin.server.KKAdminGWTServiceImpl.getModules(KKAdminGWTS
erviceImpl.java:3494)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:5
27)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(Remot
eServiceServlet.java:164)
        at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServ
iceServlet.java:86)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcesso
r.java:857)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.pr
ocess(Http11AprProtocol.java:565)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:15
09)
        at java.lang.Thread.run(Unknown Source)