Re: [Asterisk-java-users] fail to run the example
Brought to you by:
srt
From: unplug <mai...@gm...> - 2006-07-07 07:54:52
|
I already set the current directory in the classpath as follow. echo $CLASSPATH .: I have also tried to set the absolute path in the classpath. I also tried to put the properties files in the $JAVA_HOME/jre/lib/ext which is the classpath of the JDK. But all case is failed and itl showed the error as before. > > 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') OS platform: fedora core 4 JDK: java version "1.5.0_06" On 7/7/06, Stefan Reuter <sr...@re...> wrote: > Then its not on the classpath. Try including . in your CLASSPATH > environment variable. > Which JDK are you using? on which platform? > > =Stefan > > 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 > > > > Then I make a call to 1300 (which I have followed the example to > > configure the exten). > > > > 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') > > > > 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? > > > > Using Tomcat but need to do more? Need to support web services, security? > > 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 Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > -- > reuter network consulting > Neusser Str. 110 > 50760 Koeln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: sr...@re... > > > > Using Tomcat but need to do more? Need to support web services, security? > 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 Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > |