Hi guys,
I am using Emma tool for code coverage. I am getting the following error while trying to fetch the coverage dump from my application server (tomcat in this case). I 'googled' a lot; however couldn't get through.
I have verified that 'emma.jar' is added in the required JRE of the jvm which is used by the App server. The focus of concern is error 'Caused by: java.net.ConnectException: Connection refused' for which I couldn't find any explanation.
EMMA: processing control command sequence ...
EMMA: executing [coverage.get (ip2Loc.ec,true,true)] ...
[EMMA v2.1, build 5320 (stable)]
emma ctl: coverage.get: RPC failure while executing [coverage.get]
Exception in thread "main" com.vladium.emma.EMMARuntimeException: coverage.get: RPC failure while executing [coverage.get]
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:242)
at com.vladium.emma.Processor.run(Processor.java:88)
at com.vladium.emma.ctl.ctlCommand.run(ctlCommand.java:151)
at emma.main(emma.java:50)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:519)
at java.net.Socket.connect(Socket.java:469)
at java.net.Socket.<init>(Socket.java:366)
at java.net.Socket.<init>(Socket.java:209)
at com.vladium.emma.rt.RTControllerClientProxy.execute(RTControllerClientProxy.java:84)
at com.vladium.emma.ctl.CtlProcessor._run(CtlProcessor.java:231)
... 3 more
Can anyone please let me know whether I am missing any thing.
Ronnie