java.lang.NegativeArraySizeException

Solution Verified - Updated -

Issue

we are experiencing a lot of the following errors in our JBoss Production environment:

2012-12-12 09:34:34,028 ERROR [org.jboss.remoting.transport.socket.SocketServerInvoker] (AcceptorThread[ServerSocket[addr=/10.1.1.1,port=0,localport=3874]]) Thread[AcceptorThread[ServerSocket[addr=/10.1.1.1,port=0,localport=3874]],5,jboss] failed to handle socket
java.io.IOException: java.lang.NegativeArraySizeException
at org.jboss.security.negotiation.spnego.net.SPNEGOServerSocket.accept(SPNEGOServerSocket.java:137)
at org.jboss.remoting.transport.socket.SocketServerInvoker.accept(SocketServerInvoker.java:1169)
at org.jboss.remoting.transport.socket.SocketServerInvoker.access$200(SocketServerInvoker.java:69)
at org.jboss.remoting.transport.socket.SocketServerInvoker$AcceptThread.run(SocketServerInvoker.java:1080)
Caused by: java.lang.NegativeArraySizeException
at org.jboss.security.negotiation.spnego.net.SPNEGOServerSocket.acceptSocket(SPNEGOServerSocket.java:181)
at org.jboss.security.negotiation.spnego.net.SPNEGOServerSocket.accept(SPNEGOServerSocket.java:132)
... 3 more

Environment

Red Hat JBoss Enterprise Application Platform (EAP)
- 5.x
- 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.