<div dir="ltr">Hi ,�<div>I am writing a new mail because my last issue was solved .�</div><div>It is just that on a certain computer my application stopped working.�</div><div>So it is a new issue and I will explain and paste the exception below.�</div>
<div><br></div><div>Basically, I did three things :�</div><div>1. I upgraded from 1.7.0 to 2.3.1 (installed a new erlang also)</div><div>2. I upgraded the client jars�</div><div>3. changed the protocol to ack = true;</div>
<div style="direction: ltr;"><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; "><br></span></div><div style="direction: ltr;"><span class="Apple-style-span" style="border-collapse: collapse; color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; ">channel.basicConsume(queueName, true, queueingConsumer);</span></div>
<div><br></div><div>well, that certain computer is behind a firewall, and has a NAT (Network Address Translation ).</div><div>It did work prior to the upgrade with the NAT (mySQL also handles it pretty well).</div><div>with the same ports.</div>
<div>Maybe it is the bidirectional channel (since I added acking? I dont think so...).</div><div><br></div><div>what I can see is that.�</div><div>when the client tries to connect it writes in the logs�</div><div><br></div>
<div>Connection closed abruptly�</div><div><br></div><div>And now, behold, the exception :<br></div><div><pre>PlatformException: com.rabbitmq.client.ShutdownSignalException: connection error; reason: java.net.SocketException: Connection reset
        at com.rabbitmq.client.impl.AMQConnection.shutdown(AMQConnection.java:588)
        at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:454)
Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; reason: java.net.SocketException: Connection reset
        ... 2 more
Caused by: java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source)
        at java.io.BufferedInputStream.fill(Unknown Source)
        at java.io.BufferedInputStream.read(Unknown Source)
        at java.io.DataInputStream.readUnsignedByte(Unknown Source)
        at com.rabbitmq.client.impl.Frame.readFrom(Frame.java:117)
        at com.rabbitmq.client.impl.SocketFrameHandler.readFrame(SocketFrameHandler.java:151)
        at com.rabbitmq.client.impl.AMQConnection.readFrame(AMQConnection.java:379)
        at com.rabbitmq.client.impl.AMQConnection$MainLoop.run(AMQConnection.java:420)
11:21:41,187 WARN  SoundUtil - Error in playing sound : emergency
com.google.common.collect.ComputationException: com.barak.capital.model.exception.PlatformException: Error loading sound : emergency.wav, from file.
        at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:602)
        at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:462)
        at com.google.common.collect.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2045)
        at com.programa17.mmm.utils.SoundUtil$2.call(SoundUtil.java:115)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.barak.capital.model.exception.PlatformException: Error loading sound : emergency.wav, from file.
        at com.programa17.mmm.utils.SoundUtil$1.apply(SoundUtil.java:97)
        at com.programa17.mmm.utils.SoundUtil$1.apply(SoundUtil.java:77)
        at com.google.common.collect.MapMaker$StrategyImpl.compute(MapMaker.java:592)
        ... 8 more
Caused by: java.io.FileNotFoundException: emergency.wav (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.&lt;init&gt;(Unknown Source)
        at com.sun.media.sound.WaveFileReader.getAudioInputStream(Unknown Source)
        at javax.sound.sampled.AudioSystem.getAudioInputStream(Unknown Source)
        at com.programa17.mmm.utils.SoundUtil$1.apply(SoundUtil.java:81)
        ... 10 more
11:21:41,187 ERROR CentralExceptionHandler - central exception handler : warning found :
</pre></div><div>Any Idea? thanks.</div></div>