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

need version for developers

Started by prog_hd, November 28, 2007, 11:03:04 am

Previous topic - Next topic

prog_hd

hi all
any one can tell me how i can have a konakart version for developers


regardes

Brian

Hi,

I'm afraid I'm not sure what you're asking for.  KonaKart has open source components but is not completely open source.  http://www.konakart.com/generalfaq.php#isopensource

There are a few developers kits for some of these open source components.

What was it you wanted exactly?

Regards - Brian

prog_hd

hi
what i want is keeping open source version of konakart ,understanding it ,then can add or update behaviors to  customizeing it.
what this required from me to do?
thanks

Brian

Hello,

I'm sorry if I've misundertood what you're asking for, but please see the previous reply which should answer this question.

Regards,
Brian

prog_hd

i faced with this erorr when i try to run konakart from tomcat

java.lang.NoSuchMethodError: com.konakart.actions.BaseAction.saveErrors(Ljavax/servlet/http/HttpServletRequest;Lorg/apache/struts/action/ActionMessages;)V
   com.konakart.actions.BaseAction.handleException(BaseAction.java:94)
   com.konakart.actions.CatalogMainPageAction.execute(CatalogMainPageAction.java:89)
   org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)


Brian

Hi,

It looks like some kind of a set-up problem... maybe the wrong struts.jar, it's difficult to tell.

What I advise you to do is to use the GUI installer to install KonaKart and see that run successfully.   It should do, assuming you load the database successfully during the installation.

Once you have a working set-up, it should be easier to spot what the differences are between your working set-up and your current tomcat set-up which is giving you that error.

Regards,
Brian

prog_hd

hi
i do what u say
setup konakart from GUI installer then when i try to run it ,throw exception
then i copy the content of webapps folder and past them into my tomcat server webapps directory and i try to run it by
http://localhost:8080/konakart/   
it throw this exception
javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.NoSuchMethodError: com.konakart.actions.BaseAction.saveErrors(Ljavax/servlet/http/HttpServletRequest;Lorg/apache/struts/action/ActionMessages;)V
   com.konakart.actions.BaseAction.handleException(BaseAction.java:94)
   com.konakart.actions.CatalogMainPageAction.execute(CatalogMainPageAction.java:89)
   org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

though the konakartadmin application run successfully

Brian

Hello,

Let's focus on the first part:

Quote
i do what u say
setup konakart from GUI installer then when i try to run it ,throw exception


Are you saying that you get an exception after you install the application from the installer?

This is most unusual.

What exception do you get?


If you're getting an exception after a fresh install I'm not surprised you get one if you copy the webapps somewhere else.   One step at a time...   :)

Brian

prog_hd

sorry i wasn't error but the server port was preserved
so we can  move to second problem

Brian

This is hard to follow.

So when you said there was an exception, you actually meant that there wasn't an exception?

Quotebut the server port was preserved


What does this mean?

You can define the port that KonaKart as part of the installation process.  If you take the default it will be 8780.

Brian

prog_hd

this is content of  catalina.2007-12-05.log
Dec 5, 2007 10:52:52 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\ant\bin;E:\Sources\java\apache-log4j-1.2.15
Dec 5, 2007 10:52:52 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8580
Dec 5, 2007 10:52:53 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Dec 5, 2007 10:52:53 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3062 ms
Dec 5, 2007 10:52:54 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 5, 2007 10:52:54 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Dec 5, 2007 10:52:54 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 5, 2007 10:53:22 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8580
Dec 5, 2007 10:53:22 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Dec 5, 2007 10:53:22 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8789
Dec 5, 2007 10:53:22 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/110  config=null
Dec 5, 2007 10:53:22 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 5, 2007 10:53:23 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 29234 ms
Dec 5, 2007 10:53:23 AM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
   at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
   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:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Dec 5, 2007 1:12:32 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\ant\bin;E:\Sources\java\apache-log4j-1.2.15
Dec 5, 2007 1:12:32 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8580
Dec 5, 2007 1:12:34 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Dec 5, 2007 1:12:34 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3594 ms
Dec 5, 2007 1:12:34 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 5, 2007 1:12:34 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Dec 5, 2007 1:12:34 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 5, 2007 1:13:01 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8580
Dec 5, 2007 1:13:01 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Dec 5, 2007 1:13:02 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8789
Dec 5, 2007 1:13:02 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/78  config=null
Dec 5, 2007 1:13:02 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 5, 2007 1:13:02 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 28422 ms
Dec 5, 2007 1:13:02 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
   at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
   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:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Dec 5, 2007 1:13:53 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.5.0_05\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;C:\ant\bin;E:\Sources\java\apache-log4j-1.2.15
Dec 5, 2007 1:13:53 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8580
Dec 5, 2007 1:13:54 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Dec 5, 2007 1:13:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2125 ms
Dec 5, 2007 1:13:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 5, 2007 1:13:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Dec 5, 2007 1:13:54 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 5, 2007 1:14:13 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8580
Dec 5, 2007 1:14:13 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Dec 5, 2007 1:14:13 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8789
Dec 5, 2007 1:14:13 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/109  config=null
Dec 5, 2007 1:14:14 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 5, 2007 1:14:14 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 20750 ms
Dec 5, 2007 1:14:14 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
   at java.net.ServerSocket.bind(ServerSocket.java:319)
   at java.net.ServerSocket.<init>(ServerSocket.java:185)
   at org.apache.catalina.core.StandardServer.await(StandardServer.java:372)
   at org.apache.catalina.startup.Catalina.await(Catalina.java:615)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:575)
   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:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)

Brian


Quotejava.net.BindException: Address already in use: JVM_Bind


The address is already in use.   You already have some other program using that port.

Brian

prog_hd

then let us move to second problem plz

Brian

See earlier post and compare the differences between a working version and a non-working version:

http://www.konakart.com/forum/index.php/topic,191.msg832.html#msg832

Brian

prog_hd

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.NoSuchMethodError: com.konakart.actions.BaseAction.saveErrors

calss< BaseAction > have no methode called <saveErrors>
i made verification from that