Cisco Unified Application Environment Developer Forums

« Back to Developers

RE: Problem running CUAE Java Application on Linux

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hello,
 
We are having problems running a CUAE java application from a Linux RedHat server.
 
When we start the application, it registers with CUAE and receives a key, but from the CUAE admin console, the application never enters a "running" state.  In addition, we are triggering on a CallControl.IncomingCall and the application is never triggered.
 
We are using CUAE 2.5(1) on a Windows 2003 server and CUCM 6.1.
 
We can run the same application from a Windows workstation using the same version of java and the same jar files on the classpath with no problem.
 
Are there any known issues running a CUAE application on Linux?
 
In the AppServer logs, the application looks like it is registering, then immediately unregistering:
2009:02:26::09:10:50(50): Info: EPM Etch app registered, name: VOIPTrigger, part: Default
2009:02:26::09:10:50(51): Info: EPM Etch app unregistered, name: VOIPTrigger, partition: Default

Thanks a lot,
Tracy.

Hello Tracy,
 
Greetings!
 
Few questions first,
1. Are you developing CUAE application on a Linux box? if so the recommended deployments are Win 2003 SE SP1 or XP for SDK instllations. Please visit
http://developer.cisco.com/web/cuae/wikidocs?src=/wiki/display/CUAE/Developer+Kit+Prerequisites#http://developer.cisco.com/wiki/display/CUAE/Developer%20Kit%20Prerequisites
 
Thanks,
Nagendra

Hi Nagendra,
 
Thanks for your reply. 
 
We are not running the CUAE on Linux, but using Linux for the Java application registering with the CUAE.  Is it recommended that the applications registering to the CUAE are running on Windows as well?
 
We think this problem was caused by trying to run the Java application in the background - that the input stream was closed as soon as the process was put into the background, causing the application to quit.
 
Thanks,
Tracy.
 
Hello Tracy,
 
Greetings!
 
Few questions first,
1. Are you developing CUAE application on a Linux box? if so the recommended deployments are Win 2003 SE SP1 or XP for SDK instllations. Please visit
http://developer.cisco.com/web/cuae/wikidocs?src=/wiki/display/CUAE/Developer+Kit+Prerequisites#http://developer.cisco.com/wiki/display/CUAE/Developer%20Kit%20Prerequisites
 
Thanks,
Nagendra

Tracy, just a thought .. can you check whether your application has execute permissions as well . The app may not run if it does not have execute permissions for the user you login/use your app as.
 
Thanks
Piyush

Hi Piyush,
 
Thanks for the response.  The permissions were ok.
 
We found that the sample code does not work on Linux when running the process in the background.
 
Thanks again,
Tracy.
 
Tracy, just a thought .. can you check whether your application has execute permissions as well . The app may not run if it does not have execute permissions for the user you login/use your app as.
 
Thanks
Piyush

Tracy,
 
Can you please give us the following information
 
1. Which version of CUAE dev tools were used to generate the application that you are developing?
2. Which version of Etch libraries are you using?
 
 
Thanks,
Nagendra