xtramind - 2006-10-11

Hallo to all,

we use mom4j as middleware to our reporting.
A ReportingServer try to connect to the JMS server.

In this context we got the following exception:

the JMSReportingConsumer  is this stacktrace represent the javax.jms.MessageConsumer.

Has anybody an idea how we can solve this problem?

Thanks for help
joerg lenz

21:28:57,689 [ReportingTimerTask] ERROR com.xtramind.common.reporting.server.JMSReportingConsumer - Could not reset 2006-10-08 21:28:57,689 [ReportingTimerTask] ERROR com.xtramind.common.reporting.server.JMSReportingConsumer - javax.naming.NamingException: No buffer space available (maximum connections reached?): connect [Root exception is java.net.SocketException: No buffer space available (maximum connections reached?): connect]
    at org.mom4j.jndi.ContextImpl.lookup(ContextImpl.java:265)
    at org.mom4j.jndi.ContextImpl.lookup(ContextImpl.java:251)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.xtramind.common.messaging.AbstractJMSConnector.createConnection(:348)
    at com.xtramind.common.reporting.server.JMSReportingConsumer.reset(:99)
    at com.xtramind.common.reporting.server.JMSReportingConsumer.receive(:189)
    at com.xtramind.common.reporting.server.JMSReportingConsumer.receiveReportingObjects(:115)
    at com.xtramind.common.reporting.server.ReportingTimerTask.run(:63)
    at java.util.TimerThread.mainLoop(Unknown Source)
    at java.util.TimerThread.run(Unknown Source)
Caused by: java.net.SocketException: No buffer space available (maximum connections reached?): connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.<init>(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at org.mom4j.xcp.XcpSender.openConnection(XcpSender.java:115)
    at org.mom4j.xcp.XcpSender.send(XcpSender.java:75)
    at org.mom4j.jndi.ContextImpl.lookup(ContextImpl.java:263)
    ... 9 more