Re: [Asterisk-java-users] fail to run the example
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-07-07 07:49:14
|
Then its not on the classpath. Try including . in your CLASSPATH environment variable. Which JDK are you using? on which platform? =3DStefan unplug wrote: > Hi, > I follow the website tutorial to run HelloAGIScript. > http://www.asteriskjava.org/latest/tutorial.html > In my directory, I have the following files. > fastagi-mapping.properties > HelloAGIScript.java > HelloAGIScript.class > I have already located asterisk-java.jar in a classpath and I run the > AGIServer as following. > java -cp . net.sf.asterisk.fastagi.DefaultAGIServer > server started >=20 > Then I make a call to 1300 (which I have followed the example to > configure the exten). >=20 > But there is an error in the console. > Jul 6, 2006 4:41:49 PM net.sf.asterisk.util.impl.JavaLoggingLog info > INFO: Received connection. > Jul 6, 2006 4:41:49 PM net.sf.asterisk.util.impl.JavaLoggingLog error > SEVERE: Resource bundle 'fastagi-mapping' is missing. > Jul 6, 2006 4:41:49 PM net.sf.asterisk.util.impl.JavaLoggingLog error > SEVERE: No script configured for URL 'agi://localhost/HelloAGIScript' > (script 'HelloAGIScript') >=20 > Anyone can tell me why AGIServer can't find fastagi-mapping.properties > as it is located in the current directory which is also a classpath? > What's wrong in the above setting? >=20 > Using Tomcat but need to do more? Need to support web services, securit= y? > Get stuff done quickly with pre-integrated technology to make your job = easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geron= imo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= =3D121642 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... |