[jboss-remoting-issues] [JBoss JIRA] Resolved: (JBREM-992) Can't restart a Connector that uses SocketServerInvoker
Trustin Lee (JIRA)
jira-events at lists.jboss.org
Mon Jan 5 02:07:54 EST 2009
[ https://jira.jboss.org/jira/browse/JBREM-992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee resolved JBREM-992.
-------------------------------
Resolution: Done
Assignee: Trustin Lee (was: Ron Sigal)
Checked in the fix. Please confirm and close.
> Can't restart a Connector that uses SocketServerInvoker
> -------------------------------------------------------
>
> Key: JBREM-992
> URL: https://jira.jboss.org/jira/browse/JBREM-992
> Project: JBoss Remoting
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.4.0.GA (Pinto), 2.4.0.SP1 (Pinto), 2.5.0.GA (Flounder)
> Reporter: Brian Stansberry
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 2.5.0.SP3 (Flounder)
>
>
> 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: https://jira.jboss.org/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