Share This Post:

Gateway Tutorial and Tomcat

I am trying to run the “Callnow” application from your “Gateway tutorial” and I am receiving a “Tomcat” error message (see attachment). Do you know why I am receiving this error?

Also please explain how the following url is resolved:

http://localhost:8155/ocall/callreqHandler.jsp

localhost = machine name… How do I find out what my machine name is?
ocall – Is this a directory? If so, what is the complete path?
callreqHandler.jsp – I did a search and could not find this file on my system… where does this file reside?

A tomcat JSP server is embedded in Voicent Gateway, and all these questions are related to the usage of Tomcat. Briefly,

ocall: is the tomcat application name
localhost: or any computer name or IP address of the computer
8155: is the tomcat app port
callrequestHandler.jsp is just a name, it will be mapped to a java class
The path resolution is done by the Tomcat server.

These concepts are not easily explained without going through some basic Tomcat/JSP Container document. For application deployment and path resolution, please see:

http://tomcat.apache.org/tomcat-4.1-doc/manager-howto.html

For the embedded Tomcat, the configuration dir is:
C:\Program Files\Voicent\Gateway\conf

One of the app.conf file is for call now sample. It is read when Tomcat starts.

More generic document can be found at:

http://tomcat.apache.org/tomcat-4.1-doc/index.html

Share This Post:

This entry was posted in Developer. Bookmark the permalink.