Kaldin 3.0 not redirecting to installation page

727 views

Hi,

I am installing Kaldin 3.0 as a web-app on a Debian Linux based installation.

When accessing the app for the first time, instead of redirecting to the install page, hibernate tries to access the DB (which is not configued yet!)

The Catalina trace is

java.io.FileNotFoundException: /usr/share/tomcat7/kaldin.properties (No such file or directory)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at com.kaldin.common.util.HibernateUtil.<clinit>(HibernateUtil.java:47)
at com.kaldin.company.register.hibernate.CompanyHibernate.getCompanyID(CompanyHibernate.java:163)
at com.kaldin.company.filter.CompanyFilter.doFilter(CompanyFilter.java:43)
 
I reviewed the script at https://github.com/girishkg/kaldin to check if there was anything I might be missing, but I can't see anything there.

 

Any ideas?

asked Dec 14, 2015 by metronog (140 points) 1 flag

1 Answer

0 votes
Thank you for escalating your problem. 
Kaldin setup creates kaldin.properties in home folder. In your case, tomcat user's home directory is "/usr/share/tomcat7/"
So please make sure tomcat user is having write permission in folder "/usr/share/tomcat7/".
 
sudo chown tomcat:tomcat /usr/share/tomcat7/
 
Thanks,
 
Kaldin Support Team,
Phone: +1 (303) 500-8025 (USA)
Skype: Kaldin.Support
 
  
answered Dec 14, 2015 by kaldinadmin (2,400 points)
Already owned
...