Hi,
 I have one problem. When I do a cast in the code below

Public class MyHanlder extends IoHandlerAdapter {
public void messageReceived(IoSession session, Object message) {
String s  = (String)message;

Has the following problem
org.apache.mina.util.SessionLog warn
WARNING: [/127.0.0.1:3696] EXCEPTION, please implement
mypackage.MyHandler.exceptionCaught() for proper handling:
java.lang.ClassCastException:
org.apache.mina.common.PooledByteBufferAllocator$PooledByteBuffer
    at mypackage.MyHandler.messageReceived(MyHandler.java:52)


ps: I'm using java 5 e framework 1.1.5 for java 5
________________________
Brenno Hayden F. Dantas

Reply via email to