[jboss-remoting-issues] [JBoss JIRA] Created: (JBREM-992) Can't restart a Connector that uses SocketServerInvoker

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Thu Jun 5 17:17:21 EDT 2008


Can't restart a Connector that uses SocketServerInvoker
-------------------------------------------------------

                 Key: JBREM-992
                 URL: http://jira.jboss.com/jira/browse/JBREM-992
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.4.0.GA (Pinto)
            Reporter: Brian Stansberry
            Priority: Minor


You can't take a Connector that uses SocketServerInvoker through a restart, i.e. these lifecycle steps:

create/start/stop/start.

You have to do a full transition to destroy and back through create.

This is because SocketServerInvoker sets its maxPoolSize field to 0 as part of its cleanup work in stop(). If you then call start() you get a failure due to 0 being an invalid value for maxPoolSize:

2008-06-04 12:33:00,382 DEBUG [org.jboss.invocation.unified.server.UnifiedInvokerHA] (RMI TCP Connec
tion(31)-127.0.0.1) Starting failed jboss:service=invoker,type=unifiedha,partitionName=RestartPartit
ion
java.lang.IllegalArgumentException: Illegal cache capacities
	at org.jboss.util.LRUCachePolicy.<init>(LRUCachePolicy.java:77)
	at org.jboss.remoting.transport.socket.LRUPool.<init>(LRUPool.java:44)
	at org.jboss.remoting.transport.socket.SocketServerInvoker.start(SocketServerInvoker.java:231)
	at org.jboss.invocation.unified.server.UnifiedInvoker.startService(UnifiedInvoker.java:140)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376)
	at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322)
	at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-remoting-issues mailing list