2.3k views
by (140 points)

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?

1 Answer

0 votes
by (2.5k points)
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
 
  
asked Dec 21, 2015 by (140 points) Already owned

Categories

...