I was struggling to get it pass through the installation step. Spent around three days to get it but no way.
(1) I gave full permission (777),
(2) created context.xml
(3) Created the MySQL DB and imported two sql files without any issue
(4) Tried RPM installation method (Note that rpm installs without any issue), but cant pass through kaldin install via http://127.0.0.1-8080/kaldin/
(5) It simply creates a DB and inserts all the content and then fails
(6) Same thing with full included pack
(7) Same thing with war file as well
================================This was the error
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: java.io.IOException: Permission denied
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:502)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:418)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.kaldin.common.util.UserSessionFilter.doFilter(UserSessionFilter.java:128)
com.kaldin.company.filter.CompanyFilter.doFilter(CompanyFilter.java:49) root cause
java.io.IOException: Permission denied
java.io.UnixFileSystem.createFileExclusively(Native Method)
java.io.File.createNewFile(File.java:900)
org.apache.jsp.install.insert_jsp._jspService(insert_jsp.java:196)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.kaldin.common.util.UserSessionFilter.doFilter(UserSessionFilter.java:128)
com.kaldin.company.filter.CompanyFilter.doFilter(CompanyFilter.java:49)
note The full stack trace of the root cause is available in the Apache Tomcat/6.0.35 logs.
Apache Tomcat/6.0.35
======================================
Yooo!!!
I solved it for myself after three days(Bundle installation did not work though).
(1) Ubuntu 12.04.2 (32bit): Selected LAMP, TOMCATServer during the installation
Note: I tried it on CentOS-6.3_x64 and Ubuntu-12.04.2_x64 without luck. it seems there are compatibility issues with "glibc" and throws an error related to/as java file not found
(2) apt-get update && apt-get install -y tomcat6
(3) chown -R tomcat6:tomcat6 /usr/share/tomcat6
(4) chown -R tomcat6:tomcat6 /var/lib/tomcat6
(5) service tomcat6 restart
and it allowed me to pass through installation steps. It also has created its own DB, a "kaldin.properties" file under "/usr/share/tomcat6/" (but still no "context.xml" under "/var/lib/tomcat6/webapps/kaldin/META-INF/"). Well good going.
Here is the format of "kaldin.properties" if anyone need it. Please modify its DB, User & Password.
Copy and save it under "/usr/share/tomcat6/" and restart tomcat
===========================Copy the below content,
mdburl=jdbc\:mysql\://localhost\:3306/
mdbpassword=mBR3nZxAwdJRTV2a
mdbuser=kaldin
mdbname=kaldin
===========================
Thanks for the great project.