RE: SOLUTION FOUND [Asterisk-java-users] Is this a bug?
Brought to you by:
srt
From: Tony M. <to...@am...> - 2006-03-17 12:08:27
|
I think what you would probably want is for all errors to be logged and = then you can configure a log4j appender to output errors to the console if = that is where you want them to go. Normally you wouldn't want this sort of library, asterisk-java, to = output anything to System.out. =20 -----Original Message----- .... The class needed to perform string concatenation couldn't be found at runtime and therefore the DefaultAGIServer just hung, and then gave a = severe error on subsequent requests. Is there a way to simply change the way = this server works so that it would give detailed error information to the = screen when this type of thing happens? would this be a worthwhile change? I = had the code in the agi in try-catch blocks, with a system.out of the = exception, but didn't see this on the screen. running the program in main I was = able to see the problem, so I'll do this quicker next time. perhaps this was = more about honing my debugging technique than anything else! :) Thanks again Stefan for your hard work on Asterisk-Java. -----Original Message----- From: ast...@li... [mailto:ast...@li...]On Behalf Of Stefan Reuter Sent: Wednesday, March 08, 2006 5:26 PM To: ast...@li... Subject: Re: [Asterisk-java-users] Is this a bug? Jason Wolfe wrote: > as it turns out... I can't concatenate String variables in java on = this > machine!? (weird I know) This thing in a main runs on my test and > devolepment machines fine, then get's to the production machine as a service > and fails... even in a main) what JDK are you running on that machine? a sun one or some of the "free" ones like kaffee that sometimes come shipped with linux distros? try a java -version You probably want to make sure you are actually running a recent sun (or bea jrockit) jdk there. =3DStefan -- reuter network consulting Neusser Str. 110 50760 K=F6ln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting = language that extends applications into web and mobile media. Attend the live = webcast and join the prime developer group breaking into this new coding = territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |