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

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

16
thanks very much for this information.

Cheers

Michael
17
Thanks for the information.

We have deleted the additional languages now and everything still seems to work, whereas we need
to do some more testing.

Cheers

Michael
18
Hi

AFAIK each customer can see/notice how many total orders have been accomplished.
This can look a bit "akward" when a new shop is setup, hence we would like to increase the number of orders.

What is the best way to do this? Just increase the counter within the DB?

Thanks

Michael
19
Hi

I have re-run com.konakartadmin.utils.CreateEnterpriseDB  from scratch (only once this time) and now it
looks much better, but what seems strange to me is that although I have set shared products and customers to true, the products and customers are only displayed within store1 (doesn't matter if it is an existing or new product).

As this the expected bevahiour?

Another issue is that beside the existing languages (german and french), languages such as espanol and portugues appear now when creating a new product, which seems to me rather strange, because as said we had not configured these before.

Re documentation I think it would be good to tell people that they can create new stores by login to konakartadmin and by clicking on the left menu item "Store Maintenance"  (which then as you pointed out will be saved within the table called 'kk_store')

Cheers

Michael
20
Hi ming

Thanks very much for your feedback. I was running it a couple of times and this might be the reason
I am experiencing strange things (English as language shows up about 8 times now), but I will start from scratch and will check if that helps.

Will keep you posted.

Thanks

Michael
21
I have increased it to

-XX:MaxPermSize=512m

and it seems to work fine now.

Still, I think it is worth understanding why version 5 behaves differently than version 4.

Any pointers are very welcome.

Thanks

Michael
22
I guess you mean within

bin/startkonakart.sh

-XX:PermSize=256m -XX:MaxPermSize=256m

whereas it strikes me that KonaKart 4 worked without a problem within the same environment and hence I would be curious what has changed that KonaKart5 seems to use more PermGen space than version 4?

Also interesting might be

http://www.freshblurbs.com/explaining-java-lang-outofmemoryerror-permgen-space
http://www.brokenbuild.com/blog/2006/08/04/java-jvm-gc-permgen-and-memory-options/

Cheers

Michael
23
Btw, I have written a shell script re CreateEnterpriseDB, which might be of user to others:

#!/bin/sh

INSTALL_DIR=/home/USER/src/konakart/konakart-enterprise-5.1.0.0
WEBAPPS_DIR=$INSTALL_DIR/webapps
CLASSES_DIR=$WEBAPPS_DIR/konakartadmin/WEB-INF/classes
LIB_DIR=$WEBAPPS_DIR/konakartadmin/WEB-INF/lib
CLASSPATH=$LIB_DIR/konakartadmin_multistore.jar:$LIB_DIR/konakartadmin.jar:$LIB_DIR/commons-configuration-1.1.jar:$LIB_DIR/commons-lang-2.4.jar:$LIB_DIR/commons-collections-3.1.jar:$LIB_DIR/commons-logging-1.0.4.jar:$LIB_DIR/postgresql-8.2-504.jdbc3.jar:$LIB_DIR/konakart.jar:$LIB_DIR/konakart_utils.jar:$LIB_DIR/konakart_torque-3.3-RC1.jar:$CLASSES_DIR:$LIB_DIR/log4j-1.2.12.jar:$LIB_DIR/konakart_village-2.0.jar:$LIB_DIR/commons-beanutils-1.7.0.jar:$LIB_DIR/commons-dbcp-1.2.2.jar:$LIB_DIR/commons-pool-1.2.jar
echo "Classpath: $CLASSPATH"
SHARED_PRODUCTS=true
SHARED_CUSTOMERS=true
DATABASE=PostgreSQL

java -cp $CLASSPATH com.konakartadmin.utils.CreateEnterpriseDB -p $CLASSES_DIR/konakartadmin.properties -h $INSTALL_DIR -db $DATABASE -ps $SHARED_PRODUCTS -c $SHARED_CUSTOMERS -d
24
Installation of KonaKart / Re: Multi-store documentation
September 13, 2010, 10:53:09 pm
Hi

After re-reading the documentation

http://www.konakart.com/docs/manualInstallation_EE.html

several times I think it would make sense to split the instructions into

Multiple Database Mode (1)

and

Single Database Mode (2)

which I think would make it much clearer, whereas now it is quite hard to keep them apart.

WDYT?

Thanks

Michael
25
Two more questions:

1) For single database mode (2), where is the actual number of stores defined? And
    what needs to be configured that the konakartadmin login screen shows the multiple store login?

2) What exactly is the class com.konakartadmin.utils.CreateEnterpriseDB (see (f) of http://www.konakart.com/docs/manualInstallation_EE.html) doing?

Thanks

Michael
26
Hi

I am running KonaKart Enterprise 5.1.0.0.5688 on Mac OS X with PostgreSQL 8.4.
As soon as I login to konakartadmin the server will stop running throwing an OutOfMemory Exception

INFO: Server startup in 8841 ms
Sep 13, 2010 10:36:49 PM org.apache.axis.transport.http.AxisServlet logException
INFO: Exception:
java.lang.OutOfMemoryError: PermGen space
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1847)
        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:890)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1354)
        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
        at org.apache.axis.AxisFault.addHostnameIfNeeded(AxisFault.java:881)
        at org.apache.axis.AxisFault.initFromException(AxisFault.java:280)
        at org.apache.axis.AxisFault.<init>(AxisFault.java:181)
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:333)
        at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
        at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
        at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
        at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
        at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
        at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
        at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:225)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:112)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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.core.StandardHostValve.invoke(StandardHostValve.java:128)
Sep 13, 2010 10:36:52 PM org.apache.coyote.http11.Http11Processor process
SEVERE: Error processing request
java.lang.OutOfMemoryError: PermGen space

whereas the accessing the frontend "konakart" does not cause any trouble.

Any idea what might be wrong? Is it possible that "birt" does something which it shouldn't?

Thanks

Michael
27
thanks for your feedback. So IIUC one can use

Multi-Store Single DB Modes (Engine Mode 2)

for such a setup by setting within konakartadmin.properties

konakart.ws.mode = 2

and

konakart.ws.customersShared = true

and

konakart.ws.productsShared = true

right?

Thanks

Michael


28
Installation of KonaKart / Re: Multi-store documentation
September 07, 2010, 03:46:01 pm
thanks for the quick feedback. So, maybe the website needs an update ;-)

Cheers

Michael
29
Hi

We have the situation that based on ZIP codes we would like to manage the orders by different stores
(because the delivery of the phyisical product is based on ZIP code), but for the customer it looks like
one shop.

Hence we were thinking to have one "main store" where products and customers will be maintained, but
for each physical location we will have one "backend store", e.g. for the city of Rome one and for the city of London another one. Which means the products and customers would be shared, but not the orders.

Now it is not clear which "mode" to use for such a setup (whereas I have read http://www.konakart.com/docs/manualInstallation_EE.html, but still ;-)

Any hints are much appreciated.

Thanks

Michael
30
Installation of KonaKart / Multi-store documentation
September 07, 2010, 03:18:30 pm
Hi

I have noticed that

http://www.konakart.com/docs/manualInstallation_EE.html

is making a reference to Konakart version KonaKart-Enterprise-3.2.0.0.zip.

Is this documentation still valid for version 5.*?

Thanks

Michael