The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

dipocse (1) [Avatar] Offline
Hi All
I've a database (PRJ) and I'm trying to connect from Asterisk server to that database. In the shell script i used a log4j-1.2.11.jar with all others jar files.

The shell script for is :




export VAECONFIG="/vad/VAE.conf"

echo "Script: Removing old log files"

rm -f ./logs/VAEServer.log
rm -f ./logs/ChannelSessionManager.log
rm -f ./logs/ThreadManager.log

echo "Script: Deleting old dynamic audio files"
rm -f /var/lib/asterisk/sounds/TMP*.gsm


when i run the above shell script (./ It shows me the following warnings........


log4j:WARN No appenders could be found for logger =(net.sf.hibernate.cfg.Environment)

log4j:WARN Please initialize the log4j system properly

would anyone tell me how can i solve it?