• Welcome to KonaKart Community Forum. Please login or sign up.
 
January 13, 2026, 12:15:19 pm

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 - ByDcc

1
Configuration of KonaKart / RPC call Error
April 17, 2013, 01:06:07 am
   Hi all,
   I'm getting this exception when I try to access to admin konakart application:

Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.konakartadmin.client.app.GWT_AdminCustomValidatorSet com.konakartadmin.client.KKAdminGWTServiceIf.getCustomValidatorSet(java.lang.String) throws com.konakartadmin.app.KKAdminException' threw an unexpected exception: java.lang.NoClassDefFoundError: com/konakartadmin/client/util/GWT_StringBuffer
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
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(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NoClassDefFoundError: com/konakartadmin/client/util/GWT_StringBuffer
at com.konakartadmin.client.app.GWT_AdminCustomValidatorSet.toString(Unknown Source)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getCustomValidatorSet(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569)
... 21 more
Caused by: java.lang.ClassNotFoundException: com.konakartadmin.client.util.GWT_StringBuffer
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526)
... 28 more


   When konakartadmin is deployed the last log it writes is:

16-Apr 18:28:45 DEBUG (?:getStores:?) 1) Store:
Store Id          = store1
Store Name        = Store 1
Store Description = null
Admin Email       =
Maximum Products  = -1
Store Url         = null
Custom1           = null
Custom2           = null
Custom3           = null
Custom4           = null
Custom5           = null
Deleted?          = false
Enabled?          = true
Maintenance?      = false
Template?         = false

16-Apr 18:28:45 DEBUG (?:getCustomValidatorSet:?) getCustomValidatorSet()
16-Apr 18:28:45 DEBUG (?:getEng:?) getEng() for storeId = store1
16-Apr 18:28:45 INFO  (?:getCustomValidators:?) Returning cached CustomValidationSet containing 0 items
16-Apr 18:31:15 INFO  (?:<init>:?) KKAdminGWTServiceImpl (6.5.0.0) starting....


   Could you give me a clue about what kind of problem could be happening?
   Thanks in advance.
2
   Hi,
   I'm getting this error when a client try to download an invoice.

   Next code is not working for me:

Quoteprivate PdfResult createInvoice(KKAppEng kkAppEng, OrderIf order) throws Exception
    {

        int langId = kkAppEng.getLangId();

        PdfOptions options = new PdfOptions();
        options.setId(order.getId());
        options.setType(KKConstants.HTML_ORDER_INVOICE);
        options.setLanguageId(langId);
        options.setReturnFileName(false);
        options.setReturnBytes(true);
        options.setCreateFile(false);

        PdfResult pdfResult = (PdfResult) kkAppEng.getEng()
                .getPdf(kkAppEng.getSessionId(), options);

        return pdfResult;
    }


   In my case PdfResult is null.
   lang is 3 and the order id exists.

   The invoice is resquested from private area of the client.

SELECT configuration.configuration_id, configuration.configuration_key, configuration.configuration_value, configuration.last_modified FROM configuration WHERE configuration.configuration_key='CLIENT_CONFIG_CACHE_CHECK_FLAG'
15-abr 23:59:24 DEBUG (?:getConfiguration:?) Configuration for key CLIENT_CONFIG_CACHE_CHECK_FLAG = Configuration: id=87 key=CLIENT_CONFIG_CACHE_CHECK_FLAG value=true
15-abr 23:59:32 ERROR (BaseAction.java:handleException:300) A customer has received the following exception message: : Exception Name = com.konakart.al.KKAppException : Exception Message = Unable to create the PDF invoice [6.5.0.0] : Exception Stack Trace =  :    at com.konakart.actions.DownloadInvoiceAction.execute(DownloadInvoiceAction.java:170) :    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) :    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) :    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) :    at java.lang.reflect.Method.invoke(Method.java:601) :    at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:453) :    at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:292) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:255) :    at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211) :    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211) :    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:90) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171) :    at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:192) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at org.apache.struts2.json.JSONInterceptor.intercept(JSONInterceptor.java:172) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at com.konakart.actions.interceptors.LoggingInterceptor.intercept(Unknown Source) :    at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249) :    at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) :    at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:511) :    at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) :    at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:91) :    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) :    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) :    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) :    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) :    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) :    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) :    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) :    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) :    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) :    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) :    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004) :    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) :    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) :    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) :    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) :    at java.lang.Thread.run(Thread.java:722)<br>The full exception is:
com.konakart.al.KKAppException: Unable to create the PDF invoice [6.5.0.0]
at com.konakart.actions.DownloadInvoiceAction.execute(DownloadInvoiceAction.java:170)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:453)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:292)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:255)
at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:249)
at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:211)


   Could someone give a clue about where I could see or what's the problem?
   Thank you in advance.
3
   Hi all,
   I have a serious problem creating products with Konakart 6.5.0.0.

   I set
QuoteURL for reaching Image servlet:       /xxxxxxadmin/uploadAction

but always I try to upload and image for a product I get the next message:
'There has been a problem with the upload
<h1>HTTP Status 404 - /konakartadmin/uploadAction</h1><hr noshade="noshade" size="1"><p><b>type</b> Status report</p><p><b>message</b> <u>/konakartadmin/uploadAction</u></p><p><b>description</b> <u>The requested resource (/konakartadmin/uploadAction) is not available.</u></p><hr noshade="noshade" size="1"><h3>Apache Tomcat/6.0.32</h3>'

   I can see the property URL for reaching Image servlet changed to /xxxxxxadmin/uploadAction  but the message above always show /konakartadmin/uploadAction.

   The final result at this moment is I only can create new products without images.

   Could someone help me please?
   Thank you in advance.
4
Installation of KonaKart / SSL - Apache - Tomcat
March 13, 2013, 10:05:57 am
   Hi all,
   If settings in Tomcat weren't accesible, is there a way to set SSL in Konakart?.

   I would like to know if it's absolutly necessary to set Tomcat (SSL - enabled) with Konakart in order to work over SSL.
   Could this task be delegated completely on an Apache Server?.

   Thank you in advance.

5
   Hi all,
   I can't see any change I do on my project kkeclipse on Eclipse IDE.

   I followed KonaKart_User_Guide and created kkeclipse with bin\kkant make_eclipse_project.
   Then I made changes on several jsp pages and I can see these chages when I run kkeclipse on the embedded tomcat server (Eclipse).
   Finally I run default task in the build.xml at the level kkeclipse (Eclipse)

   Later I generate war files again with bin\ant make_wars (Console) and I deploy them on a tomcat server but the changes aren't there.
   I also tried bin/ant (Console) (default task) and then bin\ant make_wars (Console) but the result is the same. I ccan't see the changes.

   How can I generate war files manually again but with the changes I did with Eclipse in the project kkeclipse?

   What I missed?

   Thank you in advance.
6
   Hi all,
   I installed KonaKart-6.5.0.0 on Windows 7 manually.
   I used mysql 5.6.10.1 inmoDB and konakart_demo.sql.
   I copied the duplicated jars and generated konakart and konakartadmin wars.

   I deployed them successfully on apache-tomcat-6.0.36.
   The first call to the application with http://localhost:8080/konakart shows the next error:

Unfortunately we have encountered a malfunction.
Please contact the system administrator.

   Logs on Tomcat show the nect:

Data truncation: Incorrect datetime value: '' for column 'date_added' at row 1

   Could you tell me what I missed?

   Thank you in advance.

Complete trace:

28-feb 22:11:41 ERROR (?:handleException:?) A customer has received the followin
g exception message: : Exception Name = com.konakart.app.KKException : Exception
Message = org.apache.torque.TorqueException: com.mysql.jdbc.MysqlDataTruncation
: Data truncation: Incorrect datetime value: '' for column 'date_added' at row 1
<br>The full exception is:
com.konakart.app.KKException: org.apache.torque.TorqueException: com.mysql.jdbc.
MysqlDataTruncation: Data truncation: Incorrect datetime value: '' for column 'd
ate_added' at row 1
        at com.konakart.app.KKEng.manageThrowable(Unknown Source)
        at com.konakart.app.KKEng.setCookie(Unknown Source)
        at com.konakart.actions.BaseAction.setKKCookie(Unknown Source)
        at com.konakart.actions.BaseAction.manageCookies(Unknown Source)
        at com.konakart.actions.BaseAction.getKKAppEng(Unknown Source)
        at com.konakart.actions.CatalogMainPageAction.execute(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultA
ctionInvocation.java:453)
        at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(Defa
ultActionInvocation.java:292)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:255)
        at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.interce
pt(DebuggingInterceptor.java:256)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.interc
ept(ConversionErrorInterceptor.java:138)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
(ParametersInterceptor.java:211)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
(MethodFilterInterceptor.java:98)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept
(ParametersInterceptor.java:211)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
(MethodFilterInterceptor.java:98)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.inter
cept(StaticParametersInterceptor.java:190)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at org.apache.struts2.interceptor.MultiselectInterceptor.intercept(Multi
selectInterceptor.java:75)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(Checkbox
Interceptor.java:90)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUp
loadInterceptor.java:243)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(
ModelDrivenInterceptor.java:100)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.inte
rcept(ScopedModelDrivenInterceptor.java:141)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(Cha
iningInterceptor.java:145)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(Pr
epareInterceptor.java:171)
        at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept
(MethodFilterInterceptor.java:98)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInt
erceptor.java:176)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(Ser
vletConfigInterceptor.java:164)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasI
nterceptor.java:192)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.inter
cept(ExceptionMappingInterceptor.java:187)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at org.apache.struts2.json.JSONInterceptor.intercept(JSONInterceptor.jav
a:172)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at com.konakart.actions.interceptors.LoggingInterceptor.intercept(Unknow
n Source)
        at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI
nvocation.java:249)
        at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.j
ava:54)
        at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.jav
a:511)
        at org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(Exec
uteOperations.java:77)
        at org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
.doFilter(StrutsPrepareAndExecuteFilter.java:91)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
        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:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
        at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcesso
r.java:879)
        at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.pr
ocess(Http11AprProtocol.java:600)
        at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:17
03)
        at java.lang.Thread.run(Thread.java:722)
Caused by: org.apache.torque.TorqueException: com.mysql.jdbc.MysqlDataTruncation
: Data truncation: Incorrect datetime value: '' for column 'date_added' at row 1

        at org.apache.torque.util.BasePeer.throwTorqueException(Unknown Source)
        at org.apache.torque.util.BasePeer.insertOrUpdateRecord(Unknown Source)
        at org.apache.torque.util.BasePeer.doInsert(Unknown Source)
        at org.apache.torque.util.BasePeer.doInsert(Unknown Source)
        at com.konakart.bl.CookieMgr.setCookie(Unknown Source)
        ... 67 more
Caused by: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect dateti
me value: '' for column 'date_added' at row 1
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2868)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573)
        at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedSt
atement.java:1169)
        at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPrepared
Statement.java:693)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:1404)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:1318)
        at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java
:1303)
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(Del
egatingPreparedStatement.java:105)
        at com.workingdogs.village.Record.saveWithInsert(Unknown Source)
        at com.workingdogs.village.Record.save(Unknown Source)
        at com.workingdogs.village.Record.save(Unknown Source)
        ... 71 more
7
   Hi all,
   since a few days ago Konakart Admin Application doesn't load from Chrome.
   I got the error showed bellow.

28-Sep 13:25:08 ERROR (ApplicationContext.java:log:682) Exception while dispatching incoming RPC call
javax.servlet.ServletException: Content-Type was 'text/plain; charset=utf-8'. Expected 'text/x-gwt-rpc'.
   at com.google.gwt.user.server.rpc.RPCServletUtils.checkContentType(RPCServletUtils.java:366)
   at com.google.gwt.user.server.rpc.RPCServletUtils.readContentAsUtf8(RPCServletUtils.java:172)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.readContent(AbstractRemoteServiceServlet.java:179)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:215)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)

   The charset I have set in chrome is utf-8. The version is 6.0.472.63
   Do you know a way to fix this problem?.
   I'm not sure but may be some piece of Konakart (in the client) doesn't set the charset (in a rpc call) and chrome uses the charset by default.
   Could you give some clue or patch?.
   Thank you in advance.
8
   Hi all,
   I'm deploying konakart for differents clients and sometimes the admin application login page doesn't show the login form.

   I'm getting differents results using different internet browser

* Internet Explorer v 6.0:
http://www.profesionaleswww.com:8080/testadmin/
Result: show the whole page.

http://www.turinconoriginal.com:8080/turinconoriginaladmin/
Result: show the whole page

* FireFox 3.0.13
http://www.profesionaleswww.com:8080/testadmin/
Result: I can't see the login form

http://www.turinconoriginal.com:8080/turinconoriginaladmin/
Result: After a delay show the whole page

   Later I will be able to post other browsers and versions.
   Can someone tell me anything about this problem?

   Thank you in advance.
9
   Hi all,
   I'm using two clients to test automatic comunications. I defined one client from U.S. California and other client from Spain Madrid.

   The welcome mail has been sent in spanish in both cases.
   The reset password, in the admin application, sent an email in english in both cases.

   I have velocity templates in spanish and english.

   * Welcome message is sent in the class CustomerRegistrationSubmitAction in the next code:

kkAppEng.getEng().sendWelcomeEmail(customerId, Constants.welcomeSubject,
                    kkAppEng.getLocale().substring(0, 2));


   I think this is not an error because use the locale of my browser, from spain.

   * Password reset. But in the admin application I can't see the code and I don't know why the messages are sent in english.
   I would like to know what criteria is followed to send a message in a language in the admin application.

   Thank you in advance.
10
   Hi all,
   I have problems with taxes in my store.

   I've difined three taxes:

* t1 mapping United States (California). Its class is t1 and its rate 10. With priority 1
* t2 mapping United States (California). Its class is t2 and its rate 20. With priority 1
* t3 mapping United States (California). Its class is t3 and its rate 1. With priority 1

   I've registered products with Tax Class t3.

   I've tested with a client from California and when I buy a product the only tax I can see is t3. But t1 and t2 don't appear.
   I'm debugging and Tax.java use the Order class which has a TaxRateIf[] with only one element. This element is t3.

   I've tested:
1) Client of California and taxes showed above.
2) Client of Spain, Madrid and taxes showed above and t4 mapping Spain (All Zones).
3) I've also tried with different priorities.

   The property Display Tax has been set to true.

   Could I get some information about how TaxRateIf[]  has been filled in the object Order?
   Thank you in advance.
11
   Hi all,
   I would like to avoid that any admin user be able to remove my super user in the shop.

   In this scenario:

* First user with role Super User
* Second user with roles:
   - Catalog Maintenance
   - Customer Maintenance
   - Order Maintenance
* Both of them are admin user.

The second user is able to remove the Super User and I lose the control over the shop.

   Did I do someting worng?, Can I avoid this behavior using configuration? or should I fix it in some java class?

   Thanks in advance.
12
   Hi all,
   I'm using konakart admin application in spanish and some texts in the application seems to be hard coded. I'm sending a file attached with an example. See red retangles.

   I think I can change java files like Flat.java in the next code:

        configs[i++] = new KKConfiguration("Enable Flat Shipping", "MODULE_SHIPPING_FLAT_STATUS",
                "True", "Do you want to offer flat rate shipping?", 6, 0, "",
                "tep_cfg_select_option(array('True', 'False'),", now);
        configs[i++] = new KKConfiguration("Shipping Cost", "MODULE_SHIPPING_FLAT_COST", "5.00",
                "The shipping cost for all orders using this shipping method.", 6, 0, "", "", now);
        configs[i++] = new KKConfiguration("Tax Class", "MODULE_SHIPPING_FLAT_TAX_CLASS", "0",
                "Use the following tax class on the shipping fee.", 6, 0,
                "tep_get_tax_class_title", "tep_cfg_pull_down_tax_classes(", now);
        configs[i++] = new KKConfiguration("Shipping Zone", "MODULE_SHIPPING_FLAT_ZONE", "0",
                "If a zone is selected, only enable this shipping method for that zone.", 6, 0,
                "tep_get_zone_class_title", "tep_cfg_pull_down_zone_classes(", now);
        configs[i++] = new KKConfiguration("Sort Order", "MODULE_SHIPPING_FLAT_SORT_ORDER", "0",
                "Sort order of display.", 6, 0, "", "", now);


and use this.getMsgs().getString("My Key") to make these texts mulilanguage.

   My questions are:
* Is this the best place to change these texts?
* Could I have any bad behaviour with the application if I change these texts? ("Enable Flat Shipping", "Shipping Cost", "Shipping Zone", etc).

   Thank you in advance.
13
   Hi all,
   I've translated admin application to spanish and all of the links with accents don't work now.

   For example, in section Configuration, the bold title Configuración is working but Máximo valor, Mínimo valor, Imágenes don't work. I used M&aacute;ximo, M&iacute;nimo, etc.
   I have the same problem with all the links with accents. If I click the link nothing happens.

   Thank in advance.
14
Configuration of KonaKart / category images.
March 11, 2009, 05:34:26 pm
   Hello,
   I have a doubt as catalog manager using Konakart Store.

   When I create a product there is a way to upload images to the server. But it doesn't appear when I try to create a category.
   Do I need to put manually the cateogory images in the server if I want to use them?

   Thanks in advance.
15
   Hello,
   I would like to change meta information for my store and I did the next:

1) I copied Messages_es.properperties as Message.properties so they are identical
2) I changed the next properties:
seo.default.title=My title
....
# Default Meta Description
seo.default.meta.description=My description
.....
# Template for Meta Description tag when viewing a list of products within a category
seo.category.meta.description.template=Compre $category aqu&iacute;.
# Default Meta Keywords
seo.default.meta.keywords=My keywords

   I can see the html pages in Spanish but meta information appear in english I mean that information is taken from Message_en.properties. I don't know way. Some titles also appear in english, for example, Buy $category here instead of Compre $category aqu&iacute;

   I saw MainLayout.jsp and the the next code:

      <title id="target.title"><%=kkEng.getPageTitle()%></title>
      <meta name="keywords" content="<%=kkEng.getMetaKeywords()%>" />
      <meta name="description" content="<%=kkEng.getMetaDescription()%>" />

   might KKAppEng take that information from the wrong file? Why?
   Any other suggestion?

   Thanks.
16
   Hi all,
   I have problems uploading images for products and categories.

   My current settings are:

Image base URL: http://localhost:8080/profesionalesWWW/images/
Image base Path: D:/test/images
Image path: /product/product1.jpg
Select Image: D:\test\images\product\product1.jpg
Image 1: D:/test/images/product/product1.jpg

   The button upload gives me the next trace:
25-ene 21:34:44 INFO  (?:processUploadedFile:?) Upload File imgBasePath = D:/test/images  imgPath = /product/product1.jpg

   But the image doesn't appear in the server and, of course, I can't see it in my browser.

   I've tested different values but the result is the same: I can't see the image.

   When I try to upload an image for a category I've tried with several values like:
cat1.jpg
/product/cat1.jpg
D:/test/images/product/cat1.jpg
but the category image doesn't appear.

   The product is binded to a category and I can see all the information but the image.

   Thank you in advance.


17
Programming of KonaKart / debugging konakart in eclipse
November 26, 2008, 08:56:08 am
   Hi all,
   I can't debug konakart in eclipse.

   I created the project following this thread:
http://www.konakart.com/forum/index.php/topic,501.0.html

   But I've found the problem reported in:
http://www.konakart.com/forum/index.php/topic,542.0.html

   In my case I don't know how to fix this problem.

   I've changed in each javac tag in the build.xml with debug="true" and debugLevel="lines,vars,source"

   And I've checked that CatalogMainPage, where I have a breakpoing, has less than 2 kb with debug="off" and more than 2 kb with debug="true".

   I need help.
   Thank you in advance.

   
18
Miscellaneous / Technical documentation.
November 24, 2008, 01:12:48 pm
   Hi all,
   is there any posibility to get technical documentacion?. For example, a model database, comments of each table and so on.

   And a user guide. A real final user guide with managment of categories and examples and pictures.

   Thank you in advance.