Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 1681 invoked from network); 15 Jun 2009 08:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Jun 2009 08:59:22 -0000 Received: (qmail 42232 invoked by uid 500); 15 Jun 2009 08:59:33 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 42152 invoked by uid 500); 15 Jun 2009 08:59:32 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 42144 invoked by uid 99); 15 Jun 2009 08:59:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 08:59:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jun 2009 08:59:29 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CE572234C1F2 for ; Mon, 15 Jun 2009 01:59:07 -0700 (PDT) Message-ID: <323261011.1245056347844.JavaMail.jira@brutus> Date: Mon, 15 Jun 2009 01:59:07 -0700 (PDT) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4686) No clear hints in startup error when 1050 port is already in use. In-Reply-To: <851386641.1245051967694.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan updated GERONIMO-4686: --------------------------- Fix Version/s: 2.2 2.1.5 > No clear hints in startup error when 1050 port is already in use. > ------------------------------------------------------------------- > > Key: GERONIMO-4686 > URL: https://issues.apache.org/jira/browse/GERONIMO-4686 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: CORBA > Affects Versions: 1.1.1, 2.0-M1, 2.0-M2, 2.0-M3, 2.0-M4, 2.0-M5, 2.0-M6, 2.0-M7, 2.0, 2.0.1, 2.0.2, 2.1, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.2 > Reporter: Shawn Jiang > Assignee: Shawn Jiang > Priority: Minor > Fix For: 2.1.5, 2.2 > > Attachments: G4686_g21.patch, G4686_trunk.patch > > > When 1050 is used by other apps. If you start geronimo, there will be a startup error: > org.apache.geronimo.corba.security.config.ConfigException: Error starting transient name service > at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:179) > at org.apache.geronimo.yoko.ORBConfigAdapter$$FastClassByCGLIB$$76e4a002.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at org.apache.geronimo.corba.security.config.ConfigAdapter$$EnhancerByCGLIB$$3f9e1dfe.createNameService() > at org.apache.geronimo.corba.NameService.doStart(NameService.java:164) > at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:996) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:268) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) > at org.apache.geronimo.gbean.runtime.GBeanInstance.start(GBeanInstance.java:539) > at org.apache.geronimo.gbean.runtime.GBeanDependency.attemptFullStart(GBeanDependency.java:111) > at org.apache.geronimo.gbean.runtime.GBeanDependency.addTarget(GBeanDependency.java:146) > at org.apache.geronimo.gbean.runtime.GBeanDependency$1.running(GBeanDependency.java:120) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireRunningEvent(BasicLifecycleMonitor.java:176) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$300(BasicLifecycleMonitor.java:44) > at org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireRunningEvent(BasicLifecycleMonitor.java:254) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:294) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:102) > at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:553) > at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379) > at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:448) > at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:187) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:530) > at org.apache.geronimo.kernel.config.SimpleConfigurationManager$$FastClassByCGLIB$$ce77a924.invoke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.java:38) > at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124) > at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:830) > at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57) > at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35) > at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96) > at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$236fa26e.startConfiguration() > at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) > at org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:83) > at org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:67) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) > Caused by: > org.apache.yoko.orb.CosNaming.tnaming.TransientServiceException: Unable to initialize name service > at org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:156) > at org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.run(TransientNameService.java:116) > at org.apache.geronimo.yoko.ORBConfigAdapter.createNameService(ORBConfigAdapter.java:175) > ... 42 more > Caused by: > org.omg.CORBA.COMM_FAILURE: bind() failed: Address already in use: NET_Bind: vmcid: Apache minor code: 0x8 completed: No > at org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.(Acceptor_impl.java:475) > at org.apache.yoko.orb.OCI.IIOP.AccFactory_impl.create_acceptor(AccFactory_impl.java:159) > at org.apache.yoko.orb.OBPortableServer.POAManagerFactory_impl.create_POAManager(POAManagerFactory_impl.java:252) > at org.apache.yoko.orb.OB.ORBControl.initializeRootPOA(ORBControl.java:539) > at org.apache.yoko.orb.OBCORBA.ORB_impl.resolve_initial_references(ORB_impl.java:1098) > at org.apache.yoko.orb.CosNaming.tnaming.TransientNameService.initialize(TransientNameService.java:130) > ... 44 more > Caused by: > java.net.BindException: Address already in use: NET_Bind > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:415) > at java.net.ServerSocket.bind(ServerSocket.java:331) > at java.net.ServerSocket.(ServerSocket.java:197) > at java.net.ServerSocket.(ServerSocket.java:153) > at org.apache.yoko.orb.OCI.IIOP.DefaultConnectionHelper.createServerSocket(DefaultConnectionHelper.java:51) > at org.apache.yoko.orb.OCI.IIOP.Acceptor_impl.(Acceptor_impl.java:465) > ... 49 more > The problem is that no clear message here about which port is in use. It does not like the clear error message when RMI 1099 is occupied. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.