Paul Chen wrote:
> Hello all,
>
> I'm writing a Mina client to connect to an Apache http server.
> The sockets all established fine, then I try to use session.write
> and nothing happened. The http log didn't even show the
> access/error traces from this Mina client.
>
>    public void sessionOpened( IoSession session )
>    {
>        System.out.println("# sessionOpened");
>        // send requests
>        ...
>            session.write( m );
>    }
>
> Any tips are highly appreciated.
>
> Thanks
>
Please give some more info. Are you using any filters, codec, etc? You
should enable logging (by adding a LoggingFilter to your filter chain)
on the MINA side to see exactly what happens. Post the log output to
this list and we might be able to help you further.

-- 
Niklas Therning
Software Architect
www.spamdrain.net

Reply via email to