Could not initialize class com.flashphoner.persistence.service.UserService

Max

Administrator
Staff member
Good day.
We have checked your logs. It seems like some update issue. Please provide us SSH access to the server where problem occurs (not clone! not copy!), we will check the server.
 

Max

Administrator
Staff member
We have checked your server.
All Java libraries and configs seems to be correct, but database.yml file is 0 bytes length. So WCS cannot authorize web interface and CLI users, and no server REST hook applications defined.
Please restore this file from your own backup if possible, or put default database.yml file that we've sent you by email to /usr/local/FlashphonerWebCallServer/conf folder and restart WCS
With default file, you will have:
- admin:admin and demo:demo users
- default REST hook applications
Also, we recommend you to clean WCS logs:
1. Stop WCS
2. Execute the command
rm -rf /usr/local/FlashphonerWebCallServer/logs/*
3. Start WCS
Then, please check server functions.
Please also note that English speaking clients should post their questions to English forum section.
 
Hi, we encounter the same problem (java.lang.NoClassDefFoundError: Could not initialize class com.flashphoner.persistence.service.UserService), and the database.yml is also 0 bytes length. Can you send us the default file?
 

Max

Administrator
Staff member
Hi, we encounter the same problem (java.lang.NoClassDefFoundError: Could not initialize class com.flashphoner.persistence.service.UserService), and the database.yml is also 0 bytes length. Can you send us the default file?
Please download latest build 5.2.1133, then unpack it. The default database.yml file is in FlashphonerWebCallServer-5.2.1133/server/conf folder.
 
Top