You were right about this. Both those paths were wrong.
In addition, I had to add some more lines:
Finally, I encountered one more problem:
java.lang.OutOfMemoryError: PermGen space
The problem was fixed by adding the following lines:
And now, the configuration works! Thank you all!
In case someone else has the same problem, I attached my entire http://www.nabble.com/file/p23827726/wrapper.conf