[Asterisk-java-users] DefaultAGIServer with Tomcat Startup error
Brought to you by:
srt
From: Thameem A. <tha...@ya...> - 2006-04-18 07:01:13
|
First of all thanks to Stefan for making this wonderful library. I am facing a wiered issue with the defaultfastagi server. I am trying to start the DefaultAGIServer via servlet in my tomcat application. I made the following steps to make it work but the tomcat doesn't start. 1. Made entry in web.xml for the servlet to load during startup. 2. Wrote the servlet init method like this: public void init() throws ServletException { server = new DefaultAGIServer(); try{ server.startup(); }catch(Exception ep){ logger.error("Error starting the DefaultAGIServer..."+ep,ep); } } 3. The fastagi.properties has the following properties. port=4575 poolSize=50 4. I am using java version: jdk1.5.0_06 and Tomcat version: 5.0.28 When I start the tomcat server i am getting messages : 2006-04-17 23:47:51,851 [main] DEBUG net.sf.asterisk.util.ThreadPool - ThreadPool created with 50 threads. 2006-04-17 23:47:51,861 [main] INFO net.sf.asterisk.fastagi.DefaultAGIServer - Thread pool started. 2006-04-17 23:47:51,871 [main] INFO net.sf.asterisk.fastagi.DefaultAGIServer - Listening on *:4575 After this step the tomcat just hangs and not starting. I don't see anymore errors. Please help me troubleshoot this problem. If I comment that servlet loading everything works fine. Thanks, Thameem --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. |