I've been trying to connect VisualVM to our SmartFox server following the guide here: http://docs2x.smartfoxserver.com/Advanc ... ive-server for connecting to a remote server (our SmartFox server is running in a Jelastic environment). I added the necessary parameters and made sure the firewall has inbound and outbound rules allowed for the jmx port, and it refuses to connect. After many unsuccessful attempts, I checked the logs on the admin and realized that I was getting an exception every time I tried to connect VisualVM:
Code: Select all
java.lang.IllegalArgumentException:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Exception: java.lang.IllegalArgumentException
Message: Incoming request size too large: 1380796672, Current limit: 500000, From: { Id: 4, Type: DEFAULT, Logged: No, IP: 172.18.1.201:56785 }
Sender: { Id: 4, Type: DEFAULT, Logged: No, IP: 172.18.1.201:56785 }
+--- --- ---+
Stack Trace:
+--- --- ---+
com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.validateIncomingDataSize(BinaryIoHandler.java:527)
com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.handleDataSize(BinaryIoHandler.java:295)
com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.handleRead(BinaryIoHandler.java:183)
com.smartfoxserver.v2.protocol.SFSIoHandler.onDataRead(SFSIoHandler.java:143)
com.smartfoxserver.bitswarm.core.SocketReader.readTcpData(SocketReader.java:336)
com.smartfoxserver.bitswarm.core.SocketReader.readIncomingSocketData(SocketReader.java:220)
com.smartfoxserver.bitswarm.core.SocketReader.run(SocketReader.java:171)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
java.lang.Thread.run(Thread.java:745)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Client API: C# and Unity, version 1.5.0
Any idea why I'd be getting this exception when trying to connect VisualVM? Let me know if there's any other info you need. Thanks