Hi Salman
I am working on a web service which acts as a client as well as server.

I am trying to deploy two instances of this web service on separate servers and try and setup a communication link between them.

....

[ERROR] Received an internal server error : Internal Server Error

Exception in thread "HttpCoreNIOSender"

java.lang.NullPointerException

at org.apache.axis2.transport.nhttp.ClientHandler.inputReady(ClientHandler.java:236)

....

To Configure Axis2 I have made following changes to Axis2.xml:

<transportReceiver name="http" class="org.apache.axis2.transport.nhttp.HttpCoreNIOListener">

                <parameter name="port" locked="false">9000</parameter>

<parameter name="non-blocking" locked="false">true</parameter>

    </transportReceiver>

The "org.apache.axis2.transport.nhttp" transports are no longer bundled with vanilla Axis2. Unless you have any specific requirement, please switch over to the normal http transports, and possibly your problems would go away.

cheers
asankha

--
Asankha C. Perera
AdroitLogic, http://adroitlogic.org

http://esbmagic.blogspot.com




Reply via email to