<p>I figured it out. It was just conflict of version. Freeradius 2.11 is not configurable with older version of jradius. it needs new version - jradius 1.0.0 server. <a href="http://dev.coova.org/mvn/net/jradius/jradius-server/1.0.0/jradius-server-1.0.0-release.zip">http://dev.coova.org/mvn/net/jradius/jradius-server/1.0.0/jradius-server-1.0.0-release.zip</a></p>
<p>Thanks to all.<br clear="all"></p>Regards,<br><br>Saeed Akhtar<br><br>
<br><br><div class="gmail_quote">On Sat, Nov 29, 2008 at 4:05 PM, Saeed Akhtar <span dir="ltr"><<a href="mailto:saeedakhtar.484@gmail.com">saeedakhtar.484@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<p>Hi,</p><p>I want to configure jradius with freeradius <a href="http://2.1.1./" target="_blank">2.1.1.</a>
I added jradius in modules section of freeradius radiusd.conf file...
also added jradius in authorize section. Now when I run send request to
freeradius its trace is like this:</p><br>rlm_jradius: Reserving JRadius socket id: 7<br>rlm_jradius: packing attribute User-Name (type: 1; len: 7)<br>rlm_jradius: packing attribute User-Password (type: 2; len: 5)<br>rlm_jradius: packing attribute NAS-IP-Address (type: 4; len: 4)<br>
rlm_jradius: packing attribute Message-Authenticator (type: 80; len: 16)<br>rlm_jradius: packing packet with code: 1 (attr length: 80)<br>rlm_jradius: packing packet with code: 0 (attr length: 0)<br>rlm_jradius: sending 121 bytes to socket 7<br>
rlm_jradius: error sending request with socket 7<br>rlm_jradius: Closing JRadius connection 7<br>rlm_jradius: reconnecting socket id 7<br>rlm_jradius: sending 121 bytes to socket 7<br>rlm_jradius: error sending request with socket 7<br>
rlm_jradius: problem packing the data[socket_send/first_read]<br>rlm_jradius: Closing JRadius connection 7<br>rlm_jradius: Released JRadius socket id: 7<br>+++[jradius] returns noop<br><br>On the other side I got exception in jradius with is as:<br>
<br>java.io.EOFException<br> at java.io.DataInputStream.<div>readFully(DataInputStream.java:180)<br> at java.io.DataInputStream.readFully(DataInputStream.java:152)<br> at net.sf.jradius.packet.PacketFactory.parsePacket(PacketFactory.java:136)<br>
at net.sf.jradius.packet.PacketFactory.parse(PacketFactory.java:167)<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.parseRequest(FreeRadiusProcessor.java:76)<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:55)<br>
at net.sf.jradius.server.Processor.process(Processor.java:119)<br> at net.sf.jradius.server.Processor.run(Processor.java:91)<br>net.sf.jradius.freeradius.FreeRadiusProcessor(7): process() method threw an exception: java.lang.NegativeArraySizeException<br>
java.lang.NegativeArraySizeException<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.parseRequest(FreeRadiusProcessor.java:79)<br> at net.sf.jradius.freeradius.FreeRadiusProcessor.processRequest(FreeRadiusProcessor.java:55)<br>
at net.sf.jradius.server.Processor.process(Processor.java:119)<br> at net.sf.jradius.server.Processor.run(Processor.java:91)<br><br>Can anyone please help me where is the problem?? Thanks<br></div><br clear="all">
Regards,<br><font color="#888888"><br>Saeed Akhtar<br><br>
</font></blockquote></div><br>