• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 08, 2024, 09:02:24 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.

Messages - ady1981

1
Quote from: trevor on June 20, 2010, 11:26:34 am
The order number can be used to contain an identifier that you may want to give to the order (i.e. 2010/18763-a) . It can be set using custom code in the OrderIntegrationMgr. http://www.konakart.com/docs/OrderStatusChangeActions.html

Thank You for the answer. It looks like that order number can be used for such purposes.

So, as I understand, we need to rewrite the createOrderNumber method:

    public String createOrderNumber(OrderIf order) throws Exception
    {
        // Example implementation
        return Long.toString(System.currentTimeMillis());
    }

But when the method is called order.getOrderNumber() is not settled yet.

It looks like there is another solution: is it possible to display the sequential order number in KonaKart Admin app?
2
Hello,

Is it possible to cancel the order (with returning the products back to the stock)?
3
The problem solved.

The was need in some coding :).
4
Configuration of KonaKart / Re: What is SKU?
August 08, 2010, 11:56:19 am
Quote from: costis on July 12, 2010, 09:02:21 am
http://en.wikipedia.org/wiki/Stock-keeping_unit

Thanks, I wonder why SKU differs from model Id... Probably the model Id is the id from manufacturer and SKU is local id at the current e-store.
5
Indeed the error is not fully regular (rather accidental) :).
6
Thanks for the answers.

I wrote the email to the hosting provider, they set the number of active threads into 100 and the problem seemed as solved now.

The only regular error now is:
Aug 6, 2010 5:15:28 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: Cannot find bean: "konakartKey" in any scope
at org.apache.struts.taglib.TagUtils.lookup(TagUtils.java:935)
...

And the tomcat needed to be restarted for the last 30 days just once.
7
We have the little problems with low stock alert emails:

1) Each low stock alert emails comes twice.

Is is possible to configure to make it to do only once.

2) Low stock alert emails comes every time when the amount of product become less then 5.

Is is possible to make it to be 1?

3) Several email client program (Mozilla Thunderbird and The Bat, for example) do not recognize the actual date/time of the email. So, the sorting by the time do not work correctly (and it's impossible to see the latest emails).

Does anybody meet the problem or know how to solve it?
8
Hello,

The "-Xss128k" solution does not seem to work.

Here is our JAVA_OPTS:

JAVA_OPTS="-d64 -server -Xss128k -Xms200M -Xmx360M -XX:MaxPermSize=140M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

And here is the random exception:

java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start0(Native Method)
   at java.lang.Thread.start(Thread.java:597)
   at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
   at org.apache.catalina.core.StandardThreadExecutor.execute(Unknown Source)
   at org.apache.tomcat.util.net.JIoEndpoint.processSocket(Unknown Source)
   at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
9
Hello,

Our e-store periodically crashes with the exception:

Jul 3, 2010 6:26:32 AM org.apache.tomcat.util.net.JIoEndpoint processSocket
SEVERE: Error allocating socket processor
java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start0(Native Method)
   at java.lang.Thread.start(Thread.java:597)
   at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:727)
   at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:657)
   at org.apache.catalina.core.StandardThreadExecutor.execute(Unknown Source)
   at org.apache.tomcat.util.net.JIoEndpoint.processSocket(Unknown Source)
   at org.apache.tomcat.util.net.JIoEndpoint$Acceptor.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:619)
Exception in thread "Thread-3" java.lang.OutOfMemoryError: unable to create new native thread
   at java.lang.Thread.start0(Native Method)
   at java.lang.Thread.start(Thread.java:597)
   at java.util.Timer.<init>(Timer.java:154)
   at java.util.Timer.<init>(Timer.java:122)
   at com.mysql.jdbc.Connection.<init>(Connection.java:1441)
   at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266)
   at java.sql.DriverManager.getConnection(DriverManager.java:582)
   at java.sql.DriverManager.getConnection(DriverManager.java:185)
   at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:177)
   at org.apache.commons.dbcp.cpdsadapter.DriverAdapterCPDS.getPooledConnection(DriverAdapterCPDS.java:132)
   at org.apache.commons.dbcp.datasources.KeyedCPDSConnectionFactory.makeObject(KeyedCPDSConnectionFactory.java:158)
   at org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:747)
   at org.apache.commons.dbcp.datasources.SharedPoolDataSource.getPooledConnectionAndInfo(SharedPoolDataSource.java:167)
   at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:669)
   at org.apache.commons.dbcp.datasources.InstanceKeyDataSource.getConnection(InstanceKeyDataSource.java:653)
   at org.apache.torque.TorqueInstance.getConnection(TorqueInstance.java:749)
   at org.apache.torque.Torque.getConnection(Torque.java:289)
   at org.apache.torque.util.Transaction.beginOptional(Transaction.java:108)
   at org.apache.torque.util.BasePeer.doSelect(BasePeer.java:763)
   at com.konakart.bl.ConfigurationMgr.getConfiguration(Unknown Source)
   at com.konakart.app.KKEng.getConfiguration(Unknown Source)
   at com.konakart.app.KKEng.getConfiguration(Unknown Source)
   at com.konakart.al.ConfigCacheUpdater.updateConfigs(Unknown Source)
   at com.konakart.al.ConfigCacheUpdater.run(Unknown Source)

Does anybody know what may be the reason and solution?

Here is our extra params for tomcat:
JAVA_OPTS="-d64 -server -Xms200M -Xmx360M -XX:MaxPermSize=140M -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
10
Sorry, one-page-checkout do not work in IE6 after my recompilations :) (via KonaKart built.xml for one-page-checkout).
11
Items counts are not calculated correctly for category.
If an item presents in several subcategories, it will be calculated several times (the same item will be counted in each category).

It looks like a bug.

Regards,
-Andrey
12
Hello,

I try to see the product page in IE6.0 (like: http://108podarkov.ru/KonaCart/SelectProd.do?prodId=36) and *_big picture is not displayed.

What may be the reason?

-Andrey

P.S. BTW, one-page-checkout do not work in IE6.0 either.
13
Hello,

There is a following problem.
When customer choose an item to buy, click checkout, enter the customer details and see user details page (and not checkout page).

Why? And how it can be configured to go right way?

-Andrey
14
Quote from: ady1981 on June 20, 2010, 10:18:18 am
If set up: Enables Checkout Without Registration to false
then following exception appears:

I solved this problem by deleting all zones for default country (Russia in my case).
15
Hello,

How could I figure out what is `Order #' in Admin App?

In the order list I can see the info like this:

Order # : 1277026213617
   
Customer Name : ...
   
Order Total: ...
   
Date Purchased: 20/06/2010
   
Status: ...

But the `Order #' is 28 indeed (as I could see via `Edit' button).


Regards,

-Andrey