• Welcome to KonaKart Community Forum. Please login or sign up.
 
May 04, 2024, 10:17:45 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.

Messages - kate

211
Configuration of KonaKart / Re: Promotions
January 08, 2008, 04:16:22 pm
QuoteLike you, I can't understand why they are not auto-copied when selected...


What do you mean by this?

If you have not customised the standard modules they will be in their jars already deployed in lib directories. Nothing to do.

If you have customised the modules, how do you think the system will know where you have put the classes to be able to copy them?

Kate
212
Hi David,

But the other application may not be using the driver/db in the same way and you may be running into a bug with the driver/db combination?  There have been rollback errors with SQL Server drivers in the past.  One thing you could try relatively easily is to try the jTDS driver which we include for SQL Server support in our latest (2.2.1.0) kits. 

Kate
213
Hi,

I have no problems running the standard KonaKart reports using the standard parameters in the default installation.


However, if JAVA_OPTS, CATALINA_OPTS or DEBUG_OPTS is set in your environment, these will be used.  Check these are appropriate for your needs.

You mentioned that you increased your "heap" size to 512M - did you use the Xmx parameter?

You probably need to make sure that MaxPermSize (the maximum size for the permanent generation heap) is set high enough as well - although, as I said above, the default settings (where none of these memory settings are specified at all) worked fine for me.

Regards,
Kate
214
Hi,

Is this one of the provided reports (if so, which one) or one that you've added?

Regards - Kate
215
Hi,

I'm pretty sure that the reason you are seeing a different size konakart_custom.jar is that you're using a different java compiler to produce it (to the one used to build the original one).

If you modify the custom/build.xml and add a "target="1.5"" (right after the source="1.5" on the javac tasks - then rebuild, you will produce a jar of the same size as the original (built on 1.5 java).

However, this should not matter if you are actually running with a JVM that is at least as recent as the one you used to build.

I have verified this myself...  On a system where I run KonaKart with java 1.6 I built the konakart_custom.jar and produced one with a size of 117817 bytes.    The konakart_custom.jar that I was using previously, running under a 1.6 JVM, was sized 109823 bytes.

I copied over my new, larger, konakart_custom.jar. restarted my tomcat, and all worked fine.


Therefore...  all I can suggest is that you try again ensuring that you run KonaKart with a JVM that can support all the classes you've created.

Alternatively you could modify the build.xml as explained above and see how that works for you...

Kate
216
Hi Tomtom,

I don't get that problem when I compile... on Windows or Linux,   I've just done it as follows:

[root@konakart ~]# ls -ltr ~konakart/konakart/webapps/konakart/WEB-INF/lib/konakart_custom.jar
-rwxr-xr-x  1 konakart webadmin 109823 Dec  6 07:56 /home/konakart/konakart/webapps/konakart/WEB-INF/lib/konakart_custom.jar

[root@konakart ~]# cd ~konakart/konakart/custom/

[root@konakart custom]# java -version
java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode)

[root@konakart custom]# ./bin/ant
Buildfile: build.xml

clean_wars:
     [echo] Cleanup WARs...

clean:
     [echo] Cleanup...

compile:
     [echo] Compile the customisable application code
    [mkdir] Created dir: /home/konakart/konakart/custom/appn/classes
    [javac] Compiling 104 source files to /home/konakart/konakart/custom/appn/classes
    [javac] Note: /home/konakart/konakart/custom/appn/src/com/konakart/actions/SelectCategoryAction.java uses or overrides a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.

compile_modules:
     [echo] Compile the customisable module code
    [mkdir] Created dir: /home/konakart/konakart/custom/modules/classes
    [javac] Compiling 50 source files to /home/konakart/konakart/custom/modules/classes

make_payment_module_jar:
     [echo] Create the module jar
    [mkdir] Created dir: /home/konakart/konakart/custom/jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_authorizenet.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_chronopay.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_cod.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_epaybg.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_payjunction.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_paypal.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_usaepay.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_worldpay.jar

make_payment_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_payment_yourpay.jar

make_ordertotal_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_ordertotal_productdiscount.jar

make_ordertotal_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_ordertotal_shipping.jar

make_ordertotal_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_ordertotal_subtotal.jar

make_ordertotal_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_ordertotal_tax.jar

make_ordertotal_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_ordertotal_total.jar

make_ordertotal_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_ordertotal_totaldiscount.jar

make_shipping_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_shipping_digitaldownload.jar

make_shipping_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_shipping_flat.jar

make_shipping_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_shipping_free.jar

make_shipping_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_shipping_item.jar

make_shipping_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_shipping_table.jar

make_shipping_module_jar:
     [echo] Create the module jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_shipping_zones.jar

make_jars:
     [echo] Create the konakart_custom.jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakart_custom.jar
     [echo] Create the konakartadmin_custom.jar
      [jar] Building jar: /home/konakart/konakart/custom/jar/konakartadmin_custom.jar

build:

BUILD SUCCESSFUL
Total time: 21 seconds

[root@konakart custom]# ls -ltr jar/konakart_custom.jar
-rw-r--r--  1 root root 109823 Jan  5 02:51 jar/konakart_custom.jar


This is the same size as the original file in the kit.


So it seems there could be something wrong/different with your build?

Have you compared the jar you created with the original?

Are all the jars produced different sixes to the originals?

Which verison of java are you using?

How did you execute the build?

Kate
217
Miscellaneous / Re: problem with Internet Explorer
January 04, 2008, 04:05:46 pm
Hi David,

That's a nice looking site, well done indeed!  Thanks for posting that link.

Those browser differences are sometimes very tricky to solve (and can take a long time of trial and error).   If you can't get them both looking perfectly I'd get IE7 working the better of the two if I were you because most of your visitors will be using that I expect.

Kate
218
Hi Holger,

How did you get on after allocating sufficient PermGen space?


I can confirm that we have run our regression suite against Oracle 9i, Oracle 10g and now Oracle 11g and all worked fine so there are no known compatibility problems with these databases.

Kate
219
Hello,

You can also use the API to access the orders...  for example, using getOrders(), getOrdersCreatedSince(), getOrdersLite() etc.

Kate
220
Hi,

Which version of KonaKart are you running?

If 2.2.0.7 or later see this:  http://www.konakart.com/installationfaq.php#Default_Admin_App_Credentials

You can use the Admin App to reset passwords.

You could also run an update on the customers table to set the password back to "princess":  Here's the insert statement that's provided in konakart_demo.sql in the download kits:

INSERT INTO customers (customers_gender, customers_firstname, customers_lastname,customers_dob, customers_email_address, customers_default_address_id, customers_telephone, customers_fax, customers_password, customers_newsletter, customers_type) VALUES ('m', 'Andy', 'Admin', '1977-01-01 00:00:00', 'admin@konakart.com', -1, '019081', '', 'f5147fc3f6eb46e234c01db939bdb581:08', '0', 1);

Kate
221
Hi,

For the admin app try:  http://localhost:8780/konakartadmin/

For the shopping cart application try:  http://localhost:8780/konakart/

Kate
222
Hi Burz,

QuoteI believe this is an installation issue, because its mainly impacted by the hosting provider's Tomcat setup:

I don't know of a problem with the KonaKart installation.  Please explain what you mean.

QuoteIs HTTPS required to access the konakartadmin application? I got the impression that it is. However I have seen my associate access it via http://host:8780 which I thought was impossible.

Both are possible, out of the box.

QuoteNow that we are starting to setup kona on a hosting provider under a low-cost shared account, it becomes an important issue among others: Does the host allow multiple app dirs? Are they willing to enable ssl/port 8443 and install certs into Tomcat?

These are good questions but they're really for your hosting company.

Kate
223
Hi Holger,

I'm not sure what's going wrong here.

Quote23-Dec 12:55:22 ERROR (ApplicationContext.java:log:665) Exception while dispatching incoming RPC call
java.lang.OutOfMemoryError: PermGen space

Can you try allocating some more memory and trying again?

Next, it would be interesting to know whether a clean installaton of 2.2.1.0  works successfully to a spearate disk location.  Can you try that?


I don't know why you're seeing the database problem.  I don't know for certain but it looks as if there may be a compatibility problem with Oracle 11g.  It could also be something to do with the upgrade you have done.  I'm not sure if anyone here has tried against 11g?    It would be helpful if you could try against another database to see if you can narrow down the problem.

Kate
224
Configuration of KonaKart / Re: KKIMPORT problem
December 21, 2007, 05:58:10 am
Hi Karthik,

If I understand your language correctly, those changes look fine.

Kate
225
Configuration of KonaKart / Re: KKIMPORT problem
December 20, 2007, 03:55:36 pm
Hi Karthik,

Studying your data makes me very hungry  :)

I can load your data OK so perhaps there is some incompatibility with the database???

What I suggest is that you turn on debug for the queries and hopefully the problem will be clear.

Do this by setting:

log4j.logger.org.apache.torque.util.BasePeer  = DEBUG

... in konakart-logging.properties

Then run the import.


BTW.. have you changed parameters in your kkImporter.properties file?

Kate