cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
183
Views
1
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: null on 24-01-2006 03:15:19 AM
When I try to deploy any of the pre-built Audium Tutorial sample apps remotely, I get a java.net.UnknownHostExceptionError indicating it can't connect with the server. I know the ftp server addresss and pwd/login is good. Any ideas?

Thanks,
Dan

PS - when I deploy locally, it works fine

Subject: RE: App Deployment
Replied by: Vance Vagell on 24-01-2006 03:37:14 PM
Hi Dan,

Can you connect to this ftp server from outside of Audium Studio 5, on the same machine? For example, try opening a console window (Start -> Run... -> "cmd"), and running "ftp <ftp server address>".

Additionally, if your system is behind a proxy, you should configure Audium Studio 5 to access the Internet through it. Please refer to the following Audium Knowledge Base article for instructions on how to do that:

How do I configure Audium Studio to use a proxy for Internet access?

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 24-01-2006 03:40:09 PM
Vance,

I am on Audium 3 and yes, I can connect to my FTP server from this same machine using LeapFTP, an FTP client.

Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 24-01-2006 03:45:05 PM
Hi Dan,

If you enter the IP of your ftp server into Audium Studio, rather than the domain name, does the error still occur? To determine the IP of the ftp server, you can run "ping <host>" from the command line, which will show the IP in parenthesis (this command will also determine if the host is reachable).

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 25-01-2006 01:30:26 PM
Vance,

when I ping the ftp site, packets are received OK, so the site is reachable. I still get host exception error when I insert the IP address into the Audium Deploy box.

I am trying to deploy your AudiumBank packaged example from the call services applications directory. Would it make sense for you to try this and send me your deployment info?

Thanks,
Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 25-01-2006 06:20:39 PM
Hi Dan,

Could you please confirm that you are entering only the FTP server's address in the "FTP Server" field of the deploy dialog? In particular, please do not include any prefix such as "ftp" or "ftp://" in this field.

We have successfully deployed and tested our AudiumBank sample application (as we have with all of our tutorial and sample applications). When you refer to "deployment info", could you please describe what information you would like us to provide?

Finally, please note that you can always deploy your Audium Studio application locally (e.g. to a directory on your development machine), and then transfer it to the proper location on your server running Audium Call Services using any means you wish (for example, using the FTP client you mentioned previously).

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 25-01-2006 07:06:33 PM
Hi Vance,

I have deployed locally now and started Tomcat. Audium loads and starts the app okay. The server I was trying to deploy to did not have Call Services.

How do I point the 3rd party voice browser to my local machine running Tomcat/Call Services now?

Thanks,
Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 25-01-2006 07:36:11 PM
Hi Dan,

First, please ensure that your computer is visible to the voice browser server. For example, if you are using an Internet-based voice browser (e.g. TellMe Studio), your machine should be accessible via the Internet. This means that if you are behind a firewall or router, you may have to open ports required by your application server. If you are using an in-house voice browser, then please ensure that your machine and the voice browser server can communicate via your LAN.

The steps required to configure a voice browser to direct calls to a particular URL (in this case your Audium application's URL) differ by vendor. Please refer to your voice browser's documentation for details.

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 25-01-2006 08:47:49 PM
Hi Vance,

my machine is visible to Tellme Studio via the internet and I know how to configure that voice browser to point where I need it to. What I do not know is the full path of my Audium app URL. I know the directory path on my hard drive of course - but how do I determine the address of the machine itself?

Thanks,
Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 25-01-2006 08:59:58 PM
Hi Dan,

The format of the URL to your voice application is as follows:

http://{YOUR_IPORT}/Audium/Server?application={YOUR_APP_NAME}

A real-world example might be:

http://123.123.123.123:8080/Audium/Server?application=HelloWorld

To determine your IP, you can visit this handy website which will display it for you.

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 25-01-2006 11:05:57 PM
Thanks Vance.

I got my IP Address and inserted it into tellme Studio per your real world example. Still no luck with tellme finding the URL.

Here's what I have:

http://24.184.89.76:8080/Audium/Server?application= Tutorial_Receptionist

I deployed Tutorial_Receptionist to the C:\Program Files\Audium\CallServices directory and Tomcat loads Tutorial_Receptionist OK. I do not understand the /Audium/Server part of the URL you specify...

Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 26-01-2006 07:15:49 PM
Hi Dan,

Please test the URL you are using by visiting it via a web browser. Ensure that it loads the first VoiceXML page of your application.

If the page loads in your web browser, then the problem may be that your machine is not visible to TellMe Studio. For example, you may need to open a port in your firewall and/or router so that Tomcat can accept incoming connections.

If the page does not load, then your application may have encountered an error or the URL is not correct. Please note that the URL you listed in your previous response included a space before the application name; there should be no space here. Based on the URL you provided, the correct format would be:

http://24.184.89.76:8080/Audium/Server?application=Tutorial_Receptionist

To see if your application (or your Audium Call Services installation) is encountering an error, please check the AUDIUM_HOME/logs directory and your application's logs directory.

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 26-01-2006 09:08:35 PM
Hi Vance,

the page will not load in my browser. I removed the accidental space also - no luck there.

I had asked in my previous posting what the /Audium/Server reference is in the URL. I do not have a directory like this on my machine and I deployed the receptionist app to the Call Services directory. Tried changing Tellme to point to Call Services/app etc - no luck.

Tellme says it cant find the URL, so I do not think it is an app error.

Do you have a known working server I could point to?

Thanks,
Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 26-01-2006 10:28:31 PM
Hi Dan,

We should first resolve the problem of the VoiceXML not displaying in your web browser, and then we can go back to trying to setup TellMe Studio to connect to your app. Here are some things to try:

  • Determine if your application server (Tomcat) is running properly. To do this, visit http://{APP_SERVER_IPORT}/ , which should bring up the default Tomcat page. In your case, this might be http://24.184.89.76:8080 .

  • Ensure that Audium Call Services started without errors. Look for any error logs in the AUDIUM_HOME/logs directory, as well as in your application's logs directory. If any error logs are present, please attach them to your response. Additionally, when Tomcat starts up it will display information about Audium Call Services in the console. Check this information for error messages. If your Tomcat is configured to start as a service, then refer to the log file which contains the console output (it may be named stdout or catalina.out).

  • Ensure that your external IP is visible internally. For example, in some LANs you cannot access your local machine via its external (e.g. Internet-visible) address. To determine if this is the problem, please try connecting to your Audium application on localhost, rather than your IP. For example:

http://localhost:8080/Audium/Server?application=Tutorial_Receptionist

  • Try to access the HelloWorld application, to help determine if your Tutorial_Receptionist application deployed properly. Audium Call Services installs a sample application named HelloWorld. Try to access it with your web browser at this URL:

http://localhost:8080/Audium/Server?application=HelloWorld

Additionally, you could try your IP here (in place of localhost).

Please note that the suffix "Audium/Server" does not refer to a physical path on your machine. Audium Call Services run as a servlet on Tomcat, which means that this path is virtual. When you specify "Audium/Server", you are telling Tomcat to access Audium Call Services, as opposed to other servlets (or content) which may reside in your webapps directory.

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 27-01-2006 01:13:42 PM
Hi Vance - responses inline below:

  • Determine if your application server (Tomcat) is running properly. To do this, visit http://{APP_SERVER_IPORT}/ , which should bring up the default Tomcat page. In your case, this might be http://24.184.89.76:8080 . 

THIS WOULD NOT WORK, WITH OR WITHOUT MY LINKSYS ROUTER IN THE LOOP.

  • Ensure that Audium Call Services started without errors. Look for any error logs in the AUDIUM_HOME/logs directory, as well as in your application's logs directory. If any error logs are present, please attach them to your response. Additionally, when Tomcat starts up it will display information about Audium Call Services in the console. Check this information for error messages. If your Tomcat is configured to start as a service, then refer to the log file which contains the console output (it may be named stdout or catalina.out).

WHEN TOMCAT STARTS, AUDIUM SERVER STARTS WITHOUT ERRORS ON 8080 (TOMCAT LOG ATTACHED)

  • Ensure that your external IP is visible internally. For example, in some LANs you cannot access your local machine via its external (e.g. Internet-visible) address. To determine if this is the problem, please try connecting to your Audium application on localhost, rather than your IP. For example: 

http://localhost:8080/Audium/Server?application=Tutorial_Receptionist

THIS WORKS FINE - I SEE THE RECEPTIONIST VXML CODE

  • Try to access the HelloWorld application, to help determine if your Tutorial_Receptionist application deployed properly. Audium Call Services installs a sample application named HelloWorld. Try to access it with your web browser at this URL: 

http://localhost:8080/Audium/Server?application=HelloWorld

THIS WORKS IF IT IS THE APP STARTED FIRST. OTHERWISE, ONLY THE VXML CODE FROM THE FIRST APP STARTED GETS DISPLAYED IN THE BROWSER

  • Additionally, you could try your IP here (in place of localhost). 

THIS DOES NOT WORK

  • Please note that the suffix "Audium/Server" does not refer to a physical path on your machine. Audium Call Services run as a servlet on Tomcat, which means that this path is virtual. When you specify "Audium/Server", you are telling Tomcat to access Audium Call Services, as opposed to other servlets (or content) which may reside in your webapps directory. 

UNDERSTOOD

I will be around this AM until about 10:30 if you want me to try something else. Otherwise, I'll be back tonight.

Thanks,
Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 27-01-2006 03:55:37 PM
Hi Dan,

Thank you for running those tests, they were helpful. We have determined that your application server and Audium Call Services are running normally; the problem lies in external systems connecting to your machine. That said, please try these additional steps:

1) Disconnect your router, and connect your Internet connection directly to your machine.

2) Start Tomcat (which will automatically start Audium Call Services).

3) Visit this site again to determine your current IP (your IP may not be static).

4) Try to connect to your voice application (via your IP) from another machine, with a different Internet connection. For example, another machine you have access to, or perhaps ask a friend to try to connect.

Are you able to access your voice application in this manner? If so, you can configure TellMe Studio to connect to this same address, and try to call in.

Regards,
Vance

Subject: RE: App Deployment
Replied by: null on 30-01-2006 03:54:31 AM
Hi Vance,

I followed your instructions and unfortunately, no luck.

I powered down and connected straight through my cable modem. Powered up the cable modem and W2K machine. Brought up Tomcat successfully and got my current IP address. Then I had someone on another machine and internet connection point Tellme Studio to the Tutorial_Receptionist, HelloWorld and HelloWorld_ID apps (all loaded OK in Tomcat). We got "unable to load URL for syntax checking..." back from Tellme.

Thanks,
Dan

Subject: RE: App Deployment
Replied by: Vance Vagell on 30-01-2006 05:12:42 PM
Hi Dan,

Your network and/or machine may need additional configuration to permit external access to your Audium application; further debugging is necessary.

While custom network configuration is out of the scope of Audium Support Center, we do offer project-based consulting via our Premium Support Offering. Through Premium Support, we would investigate your network connectivity issues for you, and recommend suitable solutions. Additionally, expedited service is available for projects with tight deadlines. If you are interested in Premium Support, please contact us directly.

Regards,
Vance
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links