• Welcome to KonaKart Community Forum. Please login or sign up.
 
April 26, 2024, 09:57:12 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 - Kundan

1
Programming of KonaKart / Re: Getting Exception
December 31, 2009, 04:18:57 pm
Resolved

I don't know why it's happen, i have modified my web.xml so that if there's any 404 error then it will redirect it to main page
due to which the next/prev link got broken so have again revert my changes and functionality got fixed

2
Programming of KonaKart / Re: Getting Exception
December 31, 2009, 02:56:41 pm
Hi Heidi

Happy new year...

I have checked your link and there is no category for which the next/prev button are enabled
i have debugged my application and found that when i clicked the next link the currentCat become null
due to which no category's product is fetched and the page broke.

I think it can be the data problem, i am looking into this and let you know when i'll find something.

Thanks

Kundan
3
Programming of KonaKart / Getting Exception
December 28, 2009, 05:52:33 pm
Hi,

I am getting this exception when i click on the next link on the products page

The action parameter for searching for products cannot be null
is there a way through which i can give the search result number in the jsp itself rathur than getting it from admin.

thanks

Kundan
4
Thanks a ton, it has solved my problem.
5
where i can configure this as i have looked in both admin and konakart application
but not able to find anything  ::)
6
Miscellaneous / Re: Displaying multiple images, 4.1.0.0
December 16, 2009, 05:16:01 pm
in showimagebody.jsp

you can access the other images also

<img src="images/<%=prod.getImage2()%>" height="100" width="100"  />

and the same for

prod.getImage3()
prod.getImage4()
7
Ok got the problem, i have mistakenly save the differernt VM files in UTF-8 format,
so i have reverted back them into ANSI format and now they are working correctly.



8

Don't know but i am getting a ? in every email my application generate e.g. welcome, order any thing
i have checked the VM files but not able to find out the problem.

something like this

?This is your weekly newsletter from KonaKart
9
Thanks Trevor, i did the same thing and came to conclusion that there is something wrong with the tomcat configurations so i did the same what i have written above.
10
Got the solution, now i have replaced the logging.properties files in conf folder of my tomcat.  :D
11
the full exception which i am getting

Exception Stack Trace =
at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:206)
at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:589)
at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:135)
at com.konakartadmin.bl.AdminHtmlMgr.getVelocityEngine(Unknown Source)
at com.konakartadmin.bl.AdminHtmlMgr.getHtmlOrder(Unknown Source)
at com.konakartadmin.bl.AdminHtmlMgr.getHtmlOrderInvoice(Unknown Source)
at com.konakartadmin.bl.AdminHtmlMgr.getHtml(Unknown Source)
at com.konakartadmin.bl.KKAdmin.getHtml(Unknown Source)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getHtml(Unknown Source)
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:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:175)
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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)

Exception Cause =
at org.apache.velocity.runtime.log.AvalonLogChute.initTarget(AvalonLogChute.java:119)
at org.apache.velocity.runtime.log.AvalonLogChute.init(AvalonLogChute.java:89)
at org.apache.velocity.runtime.log.LogManager.createLogChute(LogManager.java:157)
at org.apache.velocity.runtime.log.LogManager.updateLog(LogManager.java:255)
at org.apache.velocity.runtime.RuntimeInstance.initializeLog(RuntimeInstance.java:795)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:250)
at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:589)
at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:135)
at com.konakartadmin.bl.AdminHtmlMgr.getVelocityEngine(Unknown Source)
at com.konakartadmin.bl.AdminHtmlMgr.getHtmlOrder(Unknown Source)
at com.konakartadmin.bl.AdminHtmlMgr.getHtmlOrderInvoice(Unknown Source)
at com.konakartadmin.bl.AdminHtmlMgr.getHtml(Unknown Source)
at com.konakartadmin.bl.KKAdmin.getHtml(Unknown Source)
at com.konakartadmin.server.KKAdminGWTServiceImpl.getHtml(Unknown Source)
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:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
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:175)
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:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
12
Hi All,

I have uploaded the war files on webspace and the both application is working fine e.g. konakart and admin
but when i clicking on the invoice button in order section of the admin in that case i am getting this error.

Couldn't locate the Velocity Engine - Failed to initialize an instance of org.apache.velocity.runtime.log.AvalonLogChute with the current runtime configuration.

My tomcat version is 6.0