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

SQL exception while adding the new products

Started by giriprasadworld, March 23, 2009, 07:10:58 am

Previous topic - Next topic

giriprasadworld

Hi konakartians,
i'm new to konakart, i just installed konakart (by extracting the .zip (src) file)in my local machine. And befor that i have created a database with mysql in my local machine. And i have started running this. But as a trial i just want to add a new product. for that i opend konakartadmin and try to add a new product. After finishing all the options i pressed "save" button. then i'm getting the following error. I don't know whats wrong with me. But i'm able to access both application and admin app as well.
The following is error trace.

any help is appriciated.


java.sql.SQLException: Incorrect arguments to mysql_stmt_execute


Exception Stack Trace =
at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:109)
at org.apache.torque.util.BasePeer.insertOrUpdateRecord(BasePeer.java:688)
at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:554)
at com.konakartadmin.bl.AdminProductMgr.insertProduct(AdminProductMgr.java:190)
at com.konakartadmin.bl.KKAdmin.insertProduct(KKAdmin.java:1935)
at com.konakartadmin.server.KKAdminGWTServiceImpl.insertProduct(KKAdminGWTServiceImpl.java:3741)
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:527)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:164)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
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.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:857)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:565)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)
at java.lang.Thread.run(Thread.java:619)

trevor

My advice is to install KonaKart using the installer until you are more familiar with it.

heidi


giriprasadworld

Hi heidi and trevor,
Actually what i need to do is, I need to customize the konakart according to our requirement. For that i have downloaded the "KonaKart-3.2.0.0.zip" available at http://www.konakart.com/downloads/community_edition. And i extracted that zip into a folder and created a database in mysql the i have started running it by clicking the "startkonakart" batch file available at installation directory. i.e Konakart_Home/bin.

if i installed the konakart using setup file, then is it possible to customize konakart according to my requirements???

heidi

Yes,  it's just a whole lot easier to use the wizard-based graphical installer when you first start.   The end result will be the same, but you will get there quicker by using the installer.

--Heidi