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

Problem starting Konakart 3.2.0.0

Started by unic1988, February 04, 2009, 08:44:57 am

Previous topic - Next topic

unic1988

Hello,

I downloaded and installed Version 3.2.0.0 on WindowsXP, JRE 1.6.0_07 without any Problems, the database tables are created and filled. But if I start Konakart I get an 404 Error and I don't know where it comes from.

QuoteHTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/6.0.18




This is what Tomcat says:

Quote04.02.2009 09:37:21 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
04.02.2009 09:37:21 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
04.02.2009 09:37:22 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8780
04.02.2009 09:37:22 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
04.02.2009 09:37:22 org.apache.coyote.http11.Http11NioProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
04.02.2009 09:37:22 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8789
04.02.2009 09:37:22 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1534 ms
04.02.2009 09:37:22 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
04.02.2009 09:37:22 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
04.02.2009 09:37:26 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
04.02.2009 09:37:26 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/konakart] startup failed due to previous errors
04.02.2009 09:37:27 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
04.02.2009 09:37:27 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/konakartadmin] startup failed due to previous errors
04.02.2009 09:37:27 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8780
04.02.2009 09:37:27 org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
04.02.2009 09:37:27 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8789
04.02.2009 09:37:27 org.apache.catalina.startup.Catalina start
INFO: Server startup in 5108 ms




and I found this in the logs:

Quote04.02.2009 09:37:26 org.apache.catalina.core.StandardContext listenerStart
SCHWERWIEGEND: Skipped installing application listeners due to previous error(s)
04.02.2009 09:37:27 org.apache.catalina.core.StandardContext listenerStart
SCHWERWIEGEND: Error configuring application listener of class org.apache.axis.transport.http.AxisHTTPSessionListener
java.lang.NoClassDefFoundError: javax/servlet/http/HttpSessionListener
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(Unknown Source)
   at java.security.SecureClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.defineClass(Unknown Source)
   at java.net.URLClassLoader.access$000(Unknown Source)
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1302)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
   at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
   at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
   at org.apache.catalina.core.StandardService.start(StandardService.java:516)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.lang.ClassNotFoundException: javax.servlet.http.HttpSessionListener
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClassInternal(Unknown Source)
   ... 37 more
04.02.2009 09:37:27 org.apache.catalina.core.StandardContext listenerStart
SCHWERWIEGEND: Skipped installing application listeners due to previous error(s)


So it looks like Tomcat is not able to find some needed classes, but I have no Idea where they are and what I have to do to solve this problem.

heidi

We do this precise installation (on Windows XP with java 1.6 (on 5 different databases..) etc etc) hundreds of times every week.

Something must be different - I'm guessing it's your tomcat installation...?

You must have something different to get SCHWERWIEGEND messages.

Did you install to a brand new disk location or over an existing system?

- Heidi

unic1988

First I uninstalled Konakart 2.2.6.0 using the uninstall.exe, then I installed Konakart 3.2.0.0 with the Windows GUI installer without any problems. After that I just tried do start Konakart 3.2.0.0 but it gives me this Error.

I have "xampp" (Apache Http Server, MySQL Server) running as a service for some other things my pc has to do, but there has never been a problem befor when I was using Konakart 2.2.6.0.

Do I have to "free" the port 8780?

Thanks in advance.

heidi

I would have expected a port-related exception if that was the case...

The process you described is correct...  I do it all the time... first uninstall (did you make sure everything was removed?) then reinstall... then it should run without those errors.


I don't see any connection with your Apache if you're not running KonaKart through Apache.


Check that the uninstall really did remove the original version.

-Heidi


unic1988

I reinstalled Konakart 2.2.6.0 exactly the same way I installed 3.2.0.0 befor and it works as good as always, so I really have no idea where this error comes from, thanks for your help, I have to search my pc for something that doesn't get along with Konakart 3.2.0.0 i guess.


trevor

Maybe the 2.2.6.0 uninstall didn't work properly because some files were locked etc. What I'd try is to uninstall 2.2.6.0 again, making sure that the KonaKart directory has been deleted and then install 3.2.0.0.

3.2.0.0 uses Tomcat 6 and so if some bits of the older Tomcat 5 weren't removed correctly, this could cause a problem.

unic1988

Ok it was a Problem with another Tomcat installation on my pc that I didn't remember, especially it was not running. That Tomcat was integrated into my xampp, so I didn't even know that I had installed it  ::).

Thanks for your Help!