• Welcome to KonaKart Community Forum. Please login or sign up.
 
November 09, 2025, 12:47:20 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 - jbarb

46
Kate,
Here is what I get when I try to find out if "JAVA_HOME" is set correctly.(BELOW)
I believe you are correct in that JAVA_HOME is suspicious. I cannot find out where it is or how to set it. This is probably the reason ant keeps looking for tools.jar in the JRE instead of the JDK. JDK is installed but I installed a later version of both JRE and JDK and they installed separately. THis is what I downloaded and installed: jdk-6u5-windows-i586-p from Sun Micro. Should I uninstall it and maybe go with the earlier version or is there a way to establish JAVA_HOME globally using this later java version?


C:\>cd C:\Program Files\KonaKart\Java_soap_examples

C:\Program Files\KonaKart\java_soap_examples>JAVA_HOME=C:\jdk1.6.0_05

'JAVA_HOME' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\KonaKart\java_soap_examples>set JAVA_HOME=C:\jdk1.6.0_05

C:\Program Files\KonaKart\java_soap_examples>JAVA_HOME=C:\jdk1.6.0_05
'JAVA_HOME' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\KonaKart\java_soap_examples>JAVA_HOME=C:\Program Files\java\jdk
1.6.0_05
'JAVA_HOME' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\KonaKart\java_soap_examples>set JAVA_HOME=C:\Program Files\java
\jdk1.6.0_05

C:\Program Files\KonaKart\java_soap_examples>JAVA_HOME=C:\Program Files\java\jdk
1.6.0_05
'JAVA_HOME' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\KonaKart\java_soap_examples>

Thanks,

Jim Barber
47
This is what I get when I set paths and then try to start ant. I installed ANT 1.7.0, in C:\ Program Files\KonaKart\custom\bin\apache-ant-1.7.0\bin
I can set the path and it seems to work but it still cannot find the tools.jar and it still keeps looking in the jre for it even though I set the path for the jdk.



C:\Program Files\KonaKart\custom\bin\apache-ant-1.7.0\bin>set JAVA_HOME=jdk1.6.0_05

C:\Program Files\KonaKart\custom\bin\apache-ant-1.7.0\bin>Path=C:\jdk1.6.0_05\bin;C:\WINDOWS\system32;C:\WINDOWS

C:\Program Files\KonaKart\custom\bin\apache-ant-1.7.0\bin>Path=C:\jdk1.6.0_05\bin;C:\WIndows\system32;C:\WINDOWS;C:\Program Files\KonaKart\custom\bin\apache-ant1.7.0\bin

C:\Program Files\KonaKart\custom\bin\apache-ant-1.7.0\bin>ant
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.6.
0_05\lib\tools.jar Buildfile: build.xml does not exist!
Build failed


C:\Program Files\KonaKart\custom\bin\apache-ant-1.7.0\bin>cd C:\Program Files\KonaKart\java_soap_examples

2,300]C:\Program Files\KonaKart\java_soap_examples>ant
'ant' is not recognized as an internal or external command,
operable program or batch file./color]

C:\Program Files\KonaKart\java_soap_examples>

It seems that the path for ant doesn't exist. I have tried setting it as per the examples on the KonaKart site but to no avail.

I have installed Openlaszlo 3.3.3 dev installation and it has all the soaps for the Amazon single page shopping cart I want to install. Is there any other way to make this work besides using ant?

Jim Barber
48
How do I set the ANT_HOME environment. Everything I have tried has resulted in ant not starting because it is not set correctly. Ant is installed and in the correct folder, Program Files/KonaKart/custom/bin. What is the syntax for setting ant correctly and the path?

James Barber
49
Hi Kate,

Thanks for your reply.

I have both jdk1.6.0_03 and jre and                                                   C:\Program files\KonaKart\java_soap_examples> still can't find it (tools.jar.)

Also the "ant-p" syntax doesn't work with this path, only "ant" alone.
Why is tools.jar not in either of the java folders? Is it possible for it to be excluded during download? Should I try and remove it (Jdk/jre1.6.0_03) and reinstall it, or will that cause other problems?

Also, do I need to load all the particulars regarding my products, e.g. name, description, price, image etc. into my MYSQLserver tables before KonaKart or openLaszlo single page shopping cart will function?

Thanks,

James Barber
50
Here is what I get when I try to get the soap interface started.


"C:\Program Files\KonaKart\java_soap_examples>ant
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.6.
0_03\lib\tools.jar
Buildfile: build.xml" It ends up telling me the Build Failed.

I know it is something simple I am overlooking. If ant cannot find this "tools.jar"
then it must not be in that folder or it is improperly named??? Where would it be? I am trying use Open laszlo for my front end.

Thanks,
James Barber
51
Heidi,

Thanks for all your help. Everything seems to be working fine. I am going to try and configure a catalog inspector page using Open Laszlo or if you could suggest another method I would certainly like to hear about it.
I have around two dozen products total to list and I believe I can use a one page shopping cart.

Thanks for your help

J Barber
52
Heidi,

I am giving serious consideration to what you say regarding Open Laszlo and XML.
I dont know how to access the database for the Amazon template but I will keep trying till I figure it out.

I have another possible problem with KonaKart itself.

I can start KonaKart Admin from the desktop icon but cannot start Konakart or Konakart Server from the start menu or from C:\Program Files\KonaKart\bin. All I get is "cannot display this web page for  "Launch KonaKart" and for "Start KonaKart Server" Tomcat starts and at the beginning it says "The Apache Tomcat Library which allows optimal performance in a production environment was not found in the Java.library.path"....... and then referers to the various paths that java was installed. It also states something about "Norton Ghost" at the end of the path string.

Tomcat appears to complete the startup routine and states "Catalina Start" Info: Server startup in 29895 ms
There is a blinking cursor but you cannot enter data.

Is Konakart and KonaKart Server and KonaKart Admin supposed to operate independently of one another and if so what is the purpose of these other KonaKart applications?

Thanks,

JS Barber
53
Heidi,

Thank you for your timely reply.

The open Laszlo demo is http://127.0.0.1:8080/lps-3.3.3/demos/amazon/amazon.lzo?fb=1&lzt=htmlused by Amazon.com 

It will allow me to eliminate three or four pages of my original (Envirosales) shopping cart and add numerous other features on a single page which were lacking in my existing shopping cart. My cart is java but has some bugs that I could never quite seem to work out, and is clumsy and difficult edit/modify. This Amazon demo is perfect if I can get it to work with my existing site.

However, if rebuilding the existing site using XML will be less grief I would be willing to try that.  Will I be able to use MS Front Page 2003 as an XML editor?

Js Barber
54
I have another question regarding web hosting and configuration of the shopping cart itself.
I have KonaKart installed and working correctly. The installation tool installed the database and the tables i.e. products, customers, prices. I have not loaded my particular product names etc into the tables as of yet.

I have downloaded and installed a Cataolog inspector using Open Laszlo with checkout that is called the Amazon catalog demo. I want to use this configuration in conjunction with KonaKart.

I have an existing web site hosed by Gate http://www.envirosales.com
and want to either incorporate my existing site with konakart and the Open Laszlo catalog or combine my existing active web site with KonaKart using my present web host. Which would be easier and how do I do it?

How do I begin to configure MYSQL tables and will they automatically configure the catalog page I choose to reflect my products and company name?

I have a dozen products in "green biotechnologies" (bioremediation products for oil spill cleanup) and sorbent products. The Laszlo catalog inspector technology seems to be perfect for my application. It also seems to be slightly easier to configure/code than HTML

Where do I start?

Thanks,

J Barber


55
Ming,

Thanks for your help.

I am almost there but not quite.
As you advised, I changed the dbname to Kona Kart and it worked. It took me to kona kart admin. This is where I erred. I couldn't remember the password and user name to log on to kona kart admin so I decided to uninstall and reinstall konakart. Now I am back to where I started because konakart will not establish a connection like before. Mysql has the database established and the tables are installed so that is working fine. Just cant reestablish connection during reinstall of konankart. Any suggestions? Thanks.

James Barber
56
Ming,

Thanks for your help.

I reinstalled KonaKart using the installer but I'm still stuck at the database parameters page.

Here's what I have for DB URL:

jdbc:mysql://localhost:3306/dbname?zeroDate TimeBehavior=convertToNull

User Name is: root

db driver is: com.mysql.jdbc.Driver

This is the instruction given on the installation faq:

"Note that you must append "?zeroDateTimeBehavior=convertToNull" to your Database URL if you're using MySQL"

What does this mean? I'm stuck again, help!

Thanks

James Barber
57
Dear Ming,

Thank you for your timely response.

What I meant by the Java DB should have been I installed the Java Runtime Environment 5.0 (JRE), the MYSQL data base server 5.0.45.

Should I uninstall/reinstall KonaKart in the hope that it will pick up the correct parameters? I may have installed KonaKart before MYSQL was configured correctly.

Is there a way to find the correct databaseand/or connection parameters and then apply them?

Thank you,

J Barber
58
John,

This is the message I get when I try to connect with the KonaKart Server.

The database connection failed for the KonaKart Administration Application. The connection was attempted with the details below. Please check the parameters and make necessary modifications to the konakartadmin.properties file which should be in the WEB-INF/classes directory of your servlet engine. The servlet engine may need to be restarted for changes to take affect

I had some trouble configuring the database parameters when installing KonaKart and the next window told me the connection failed and to go back and correct the parameters. I finally gave up trying to correct these parameters and continued with the install which said was successful.

Everything else went smoothly with the MYSQL server 5.0.45 install and java db. Both seem to be working properly and I can log on to both.
However I cannot figure out how to get the data from KonaKart to the MYSQL datatbase.

I have an existing web business, http://www.envirosales.com with a javascript shopping cart. The shopping cart has very limited capabilities and not always reliable.
How does KonaKart interface with an existing web business? is KonaKart a separate URL that links to the business? I am not a java programmer and I hope I have not gotten in over my head with this.

Any assistance would be greatly appreciated.

Thank you,

James Barber