I have a web page written in html and php and I use a java program at the backend to update a database. My java program works fine in the eclipse(as a standalone) and I was able to update the database.When used in php I have compiled my java programs with jar file and have run it in php using shell_exec command.
$java_cmd = 'java -cp java-resource/opencsv-2.1-1.0.0.jar:java-resource/xerces-2_6_2.jar:java-resource/commons-codec-1.6.jar:java-resource/. UpdateDNNumber';
$content = shell_exec($java_cmd);
Now when I submit in the webpage nothing happens at the backend. I am not able to update database and couldn't see any logs in my query log page that i have created. i have given full 777 permissions for my php,html and java class files and source files. I have enabled firebug and have saw the post and response field it shows it takes the correct options. I am troubleshooting in java and php side.Not sure what may be the exact issue.I am the only developer in my team so don't have any one to discuss. Can you anyone of you suggest as how I take this forward?Not asking any code help just inputs on troubleshooting..
Thanks your help is much appreciated.