[ http://jira.jboss.com/jira/browse/JBREM-82?page=history ] Tom Elrod reopened JBREM-82: -----------------------------
Reopening to move to 1.0.2 release. > Bad warning in Connector. > ------------------------- > > Key: JBREM-82 > URL: http://jira.jboss.com/jira/browse/JBREM-82 > Project: JBoss Remoting > Type: Bug > Components: transport > Versions: 1.2.0 beta > Environment: In Jboss Head (CVS) > Reporter: rimmeraj > Assignee: Tom Elrod > Priority: Minor > Fix For: 1.0.2 final > > > JBoss head: > remoting/src/main/org/jboss/remoting/transport/Connector.java , start method > after you create the server invoker you try to register it with the mbean > server. If it fails you register a warning. When you are using the ejb3 > deployers it registers its own socket Connector. It is quite legal to have > the standard Connector in conf/jboss-service.xml registers a socket > protocol. The EJB3 deployer registers a socket listener on a different port. > This triggers an annoying warning that in my option is more of a programming > error that a valid warning. > > Warning. > Error registering invoker [EMAIL PROTECTED] with MBeanServer. > javax.management.InstanceAlreadyExistsException: > jboss.remoting:service=invoker,transport=socket already registered. > Suggested Fix. > 1. org/jboss/remoting/transport/InvokerRegistry.java, createServerInvoker > should log a warning if the InvokerLocator is already found. > 2. Connector.java, start should check to see if the object name is not > registered before trying. Something like > ObjectName name=new ObjectName(invoker.getMBeanObjectName()); > try > { > server.getInstance(name); > } > catch(InstanceNotFoundException e) > { > server.registerMBean(invoker, name); > invoker.setMBeanServer(server); > } > -- 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 - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development