Steffen Busch wrote:
> I've just downloaded the current Resin Pro 4.0 snapshot 
> (resin-pro-4.0.s091112) and installed it on a Linux box. 
> While changing resin.xml which forced a restart and later on while 
> looking on the really nice enhancements in /resin-admin the following 
> IllegalStateException caught my attention on the console output:
>
> [09-11-17 22:11:12.961] {resin-31} java.lang.IllegalStateException: 
> DESTROYED is an illegal idle state
Thanks. I just caught that one as part of the checkout.

The connection management is becoming an interesting problem, because we 
now have async (comet) as well as websockets (full duplex tcp after http 
handshake), along with the usual http request and keepalive. The state 
machine is become fairly large. 4.0.2 has a good deal of cleanup, and it 
looks like we can do some more cleanup for 4.0.3.

-- Scott

> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.server.port.ConnectionState.toIdle(ConnectionState.java:346)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.server.port.TcpConnection.toIdle(TcpConnection.java:1001)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.server.port.Port.free(Port.java:1651)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.server.port.TcpConnection.finishThread(TcpConnection.java:1029)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1103)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1121)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:900)
> [09-11-17 22:11:12.961] {resin-31}      at 
> com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:867)
> [09-11-17 22:11:13.238] {http--8080-2} Resin shutdown from 
> Server.destroy()
>
> [09-11-17 22:34:05.104] {http--8443-3} 
> java.lang.IllegalStateException: DESTROYED is an illegal accept state
> [09-11-17 22:34:05.104] {http--8443-3}  at 
> com.caucho.server.port.ConnectionState.toAccept(ConnectionState.java:180)
> [09-11-17 22:34:05.104] {http--8443-3}  at 
> com.caucho.server.port.TcpConnection$AcceptTask.doTask(TcpConnection.java:1140)
> [09-11-17 22:34:05.104] {http--8443-3}  at 
> com.caucho.server.port.TcpConnection$ConnectionReadTask.runThread(TcpConnection.java:1090)
> [09-11-17 22:34:05.104] {http--8443-3}  at 
> com.caucho.server.port.TcpConnection$AcceptTask.run(TcpConnection.java:1121)
> [09-11-17 22:34:05.104] {http--8443-3}  at 
> com.caucho.util.ThreadPool$PoolThread.runTasks(ThreadPool.java:900)
> [09-11-17 22:34:05.104] {http--8443-3}  at 
> com.caucho.util.ThreadPool$PoolThread.run(ThreadPool.java:867)
>
>
> -- Steffen
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>   




_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to