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

Installation Problem: JasperException

Started by RedGlove, November 22, 2007, 12:26:07 am

Previous topic - Next topic

RedGlove

Hi to everyone,

I have installed konakart on my server, I have installed Postgresql database but konakart give me this error:
org.apache.jasper.JasperException: Cannot find bean: "konakartKey" in any scope
   org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
   org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
   org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
   org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
   org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
   org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:572)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:221)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
   org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
   org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
   org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
   org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
   org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

Why?

Thank you very much....

Brian

Hello "RedGlove",   (sounds like the name of a secret agent :-))

It's not easy to figure out what's wrong from that exception.  It could be that there are problems with the database contents or database connection.

Have you checked that your database has all the KonaKart tables and that both of your propterties files (konakart.properties and konakartadmin.properties) contain the correct database connection properties?

Have you tried running the Admin App? What happens there?

Were there any exceptions before this one?  Any Torque exceptions?   Anything about not finding a default language?

Did you use the GUI installer and did the tables get loaded successfully?

Lots of questions,

Brian

RedGlove

Database is okay. It's a PostgreSQL.
I tried to runn Admin App but tomcat don't find Welcome.do

Where I can find exceptions (for example Torque Exceptions)? Catalina and others Tomcat log don't say me about any error.

No I installed all simply copying directories from webapps and then customizing properties files.... (and installed db using the proper file).

Brian

Hello,

There is no Welcome.do for the Admin App.    Just use http://localhost:8780/konakartadmin/

Exceptions should be in your container log file - usually catalina.log or catalina.out for tomcat.

If you install using the GUI installer all the parameters will be set correctly in the configuration files (and the database) - can you do that instead as configuring manually?  It might save some time figuring out what is mis-configured.   Perhaps you could run the GUI installer, then see that running successfully, then compare the differences with what you've done?

Brian

RedGlove

I can't run GUI installer because i'm under linux on a server and I have only ssh connection with no GUI.

I'm going to examinate Catalina.log....

Brian

Hi,

You can still use the installer in a "silent" mode even if you don't have a GUI.   For this you specify your parameters as command line options.

This has the advantage over the manual zip-installation of setting all the properties in all the right places for you.

For example:

#!/bin/sh

echo "Install KonaKart - an Example of a Silent Installation"

chmod +x konakart-linux-install

echo "Run the silent install..."

./konakart-linux-install -S \
        -DDatabaseUrl jdbc:mysql://localhost:3306/yourdb \
        -DDatabaseUsername dbuser \
        -DDatabasePassword dbpwd \
        -DPortNumber 8090


Brian

Burz

Redglove: I think I got that error when I had the db password misconfigured in 'konakart.properties'.

Also, would you recommend your hosting service? I'm using GoDaddy and they offer no ssh access (or support for that matter).

heidi

Hello Burz,

When I used a GoDaddy account I had ssh access - it sounds like you've got a different package.

I would definitely recommend a service with ssh access and support!  eApps.com do a good job and are well worth a look.

Heidi