Re: [Asterisk-java-users] I cannot start to using asterisk-java.
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2008-03-23 17:44:11
|
so you are in /home/qualium1, that contains asterisk-java.jar, fastagi-mapping.properties and HelloAgiScript.class and there you run java -cp asterisk-java.jar:. org.asteriskjava.fastagi.DefaultAgiServer which results in the error you posted when calling the extension? I just cant believe that :) Show me the output of ls -al /home/qualium1/asterisk-java.jar ls -al /home/qualium1/fastagi-mapping.properties ls -al /home/qualium1/HelloAgiScript.class then do unset CLASSPATH cd /home/qualium1/ java -cp asterisk-java.jar:. org.asteriskjava.fastagi.DefaultAgiServer =Stefan Alejandro Fernandez wrote: > Dear Stefan > > I fixed CLASSPATH, but still the same error. I put class and properties > thinking this could to fix the problem. > It says: > 10315 2008-03-23 14:17:47,066 [Asterisk-Java DaemonPool-1-thread-1] > INFO org.asteriskjava.fastagi.ResourceBundleMappingStrategy - Resource > bundle 'fastagi-mapping' not found. > 10316 2008-03-23 14:17:47,067 [Asterisk-Java DaemonPool-1-thread-1] > ERROR org.asteriskjava.fastagi.AbstractMappingStrategy - Unable to > create AgiScript instance of type helo.agi: Class not found, make sure > the class exists and is available on the CLASSPATH > 10317 2008-03-23 14:17:47,068 [Asterisk-Java DaemonPool-1-thread-1] > ERROR org.asteriskjava.fastagi.internal.AgiConnectionHandler - No > script configured for URL 'agi://127.0.0.1:4573/helo.agi' (script > 'helo.agi') > > > Obviously, all the problem it is doesn't find the > fastagi-mapping.properties. > > TIA > > -- > Lic. Alejandro Fernández Herrero > Product Manager > www.all-control.com.ar <http://www.all-control.com.ar> > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |