devpall / commscale

Automatically exported from code.google.com/p/commscale
0 stars 0 forks source link

HTTP LB gives exception when accessing the management console #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Fire up TelScale, and bundle load balancer. Go to 
http://127.0.0.1:2080/click2call-distributable/index.jsp
then 
http://127.0.0.1:2080/sip-servlets-management
then 
http://localhost:2080/admin-console/ and go into the states of the click to 
call distributable. 

Some Exceptions will be logged :

79231 (New I/O server worker #1-5) ERROR [HttpRequestHandler] Error
java.lang.ClassCastException: 
org.jboss.netty.handler.codec.http.DefaultHttpChunk cannot be cast to 
org.jboss.netty.handler.codec.http.HttpRequest
    at org.mobicents.tools.http.balancer.HttpRequestHandler.messageReceived(HttpRequestHandler.java:79)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:391)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.unfoldAndfireMessageReceived(ReplayingDecoder.java:506)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.callDecode(ReplayingDecoder.java:490)
    at org.jboss.netty.handler.codec.replay.ReplayingDecoder.messageReceived(ReplayingDecoder.java:427)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:345)
    at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:332)
    at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:323)
    at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:275)
    at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:196)
    at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:46)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

Original issue reported on code.google.com by jean.deruelle on 14 Sep 2012 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by jean.deruelle on 14 Sep 2012 at 3:38

GoogleCodeExporter commented 9 years ago

Original comment by jean.deruelle on 15 Feb 2013 at 9:08

GoogleCodeExporter commented 9 years ago
This issue was closed by revision c69eaa81b84d.

Original comment by jean.deruelle on 15 Feb 2013 at 10:00

GoogleCodeExporter commented 9 years ago
This issue was updated by revision e0e859286260.

Backport to master

(cherry picked from commit c69eaa81b84d42e59daf1db100b0389021764266)

Original comment by jean.deruelle on 15 Feb 2013 at 10:01

GoogleCodeExporter commented 9 years ago

Original comment by jean.deruelle on 13 Jun 2013 at 8:10

GoogleCodeExporter commented 9 years ago

Original comment by jean.deruelle on 30 Jan 2014 at 10:04

GoogleCodeExporter commented 9 years ago
This issue was updated by revision 31ee10af1c33.

 making the maxContentLength configurable

(cherry picked from commit 5d825ee17a0177027b1ca3f27fc2a969173cfad4)

Conflicts:
    jar/src/main/java/org/mobicents/tools/http/balancer/HttpClientPipelineFactory.java

Original comment by jean.der...@telestax.com on 30 Jan 2014 at 10:34

GoogleCodeExporter commented 9 years ago
This issue was updated by revision c4ddf0244319.

fixing the default port so the http port is always set

(cherry picked from commit a075e9ab8c2b7ebccd2a85b815f6aef581f98150)

Original comment by jean.der...@telestax.com on 30 Jan 2014 at 10:34

GoogleCodeExporter commented 9 years ago
This issue was updated by revision a19070c41163.

comment adding support for the Server side as well

(cherry picked from commit 816c074b53e21b774c13b5fac9647225ae7b404c)

Original comment by jean.der...@telestax.com on 30 Jan 2014 at 10:40

GoogleCodeExporter commented 9 years ago
This issue was updated by revision b4bdf4daa231.

 compile fix

(cherry picked from commit 3a2b234501e12fcaa6003de2bb3497af81213b70)

Original comment by jean.der...@telestax.com on 30 Jan 2014 at 10:40

GoogleCodeExporter commented 9 years ago

Original comment by jean.deruelle on 30 Jan 2014 at 10:41