I am trying to run a webservice that run simple "xindice" queries. the web service runs properly when i hard coded the database name in the webservice itself. But when i tried to configure the webservice such that is should read the database name while its being deployed i get the following error. Does anyone have any clue about it.
Exception in thread "main" java.net.ConnectException: Connection refused at org.apache.axis.AxisFault.makeFault(AxisFault.java:116) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:570) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:154) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:121) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:174) at org.apache.axis.client.Call.invoke(Call.java:1905) at org.apache.axis.client.Call.invoke(Call.java:1690) at org.apache.axis.client.Call.invoke(Call.java:1608) at org.apache.axis.client.Call.invoke(Call.java:1169) at query.ws.QuerySoapBindingStub.runQuery(QuerySoapBindingStub.java:101) at query.QueryTester.main(QueryTester.java:10) Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:295) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:161) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:148) at java.net.Socket.connect(Socket.java:425) at java.net.Socket.connect(Socket.java:375) at java.net.Socket.<init>(Socket.java:290) at java.net.Socket.<init>(Socket.java:118) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:293) ... 10 more