Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 6366 invoked from network); 4 May 2010 06:00:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 May 2010 06:00:46 -0000 Received: (qmail 62962 invoked by uid 500); 4 May 2010 06:00:45 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 62851 invoked by uid 500); 4 May 2010 06:00:45 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 62844 invoked by uid 99); 4 May 2010 06:00:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 06:00:45 +0000 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=AWL,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of ashjain2@gmail.com designates 209.85.211.184 as permitted sender) Received: from [209.85.211.184] (HELO mail-yw0-f184.google.com) (209.85.211.184) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 06:00:38 +0000 Received: by ywh14 with SMTP id 14so2006365ywh.25 for ; Mon, 03 May 2010 23:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=6y+CI7G75YLjWsbVx/txJBVPOGSHpyPuax3hLuAagZo=; b=hij31cl7nPikthpZypWhqJCB6nTc2pb9rKfxPtxx/S8yLIzmEoGW6X9Q3e69GwtD0q A/79E+zdChY/mRUs9bYbJE9+7TJ385IFRGNe/zd2G1+fmn359/bNyrTHC0cOILHLMyh5 NAO9aAlLih6kWGia8dUD1KrQ/20J4dZLL7Q8M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=nK57n/75MnkuSRUteaY2mkDmHjOEtLyhXXsVAsR/wJazZpATp1klI5kfipx+1seyW3 kQhs7Rs2FZElUjRkWhaQ0uQrN41JD5xZcERLcyfrdqi6AoHFfN8/haoM1C9uIUVM2Bfp oYeSbZhIdKItYo2xtCukBZ0cXLhGnlXLZt3Ng= MIME-Version: 1.0 Received: by 10.91.129.4 with SMTP id g4mr3193970agn.11.1272952817870; Mon, 03 May 2010 23:00:17 -0700 (PDT) Received: by 10.90.51.10 with HTTP; Mon, 3 May 2010 23:00:17 -0700 (PDT) In-Reply-To: References: Date: Tue, 4 May 2010 11:30:17 +0530 Message-ID: Subject: Re: java -jar server.jar is failing to start server. From: Ashish Jain To: user@geronimo.apache.org Content-Type: multipart/alternative; boundary=0016e64654348669030485be6c68 --0016e64654348669030485be6c68 Content-Type: text/plain; charset=ISO-8859-1 The error clearly says 1099 port in use. Either free the port or specify portOffset variable in /var/config/config-substitution.properties. On Tue, May 4, 2010 at 9:38 AM, Tapas Mishra wrote: > I was able to install geromino.Could see admin control as per this page > > https://cwiki.apache.org/GMOxDOC11/quick-start-apache-geronimo-for-the-impatient.html > if I am starting java -jar server.jar > then I am having problem.What should I check in ? > I am using geronimo-jetty7-javaee5-2.2 > > > > > Booting Geronimo Kernel (in Java 1.6.0_18)... > Starting Geronimo Application Server v2.2 > [**** ] 11% 4s Loading > org.apache.ger...2010-05-03 22:36:40,611 WARN [RMIRegistryService] > RMI Registry failed > 2010-05-03 22:36:40,612 ERROR [GBeanInstanceState] Error while > starting; GBean is now in the FAILED state: > > abstractName="org.apache.geronimo.framework/rmi-naming/2.2/car?ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2/car,j2eeType=GBean,name=RMIRegistry" > java.rmi.server.ExportException: Port already in use: 1099; nested > exception is: > java.net.BindException: Address already in use > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:328) > at > sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:236) > at > sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411) > at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147) > at > sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207) > at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:110) > at sun.rmi.registry.RegistryImpl.(RegistryImpl.java:86) > at > java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:239) > at > org.apache.geronimo.kernel.rmi.RMIRegistryService.doStart(RMIRegistryService.java:72) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:953) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:269) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:103) > at > org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:125) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:539) > at > org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:377) > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816) > 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.gbean.GBeanLifecycle$$EnhancerByCGLIB$$574e04df.startConfiguration() > at > org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) > at > org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) > Caused by: java.net.BindException: Address already in use > at java.net.PlainSocketImpl.socketBind(Native Method) > at > java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336) > at java.net.ServerSocket.bind(ServerSocket.java:336) > at java.net.ServerSocket.(ServerSocket.java:202) > at > org.apache.geronimo.kernel.rmi.GeronimoRMIServerSocketFactory.createServerSocket(GeronimoRMIServerSocketFactory.java:35) > at > sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:667) > at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:317) > ... 33 more > [**** ] 11% 4s Startup failed > org.apache.geronimo.kernel.config.LifecycleException: start of > org.apache.geronimo.framework/rmi-naming/2.2/car failed > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34) > at > org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:816) > 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.gbean.GBeanLifecycle$$EnhancerByCGLIB$$574e04df.startConfiguration() > at > org.apache.geronimo.system.main.EmbeddedDaemon.doStartup(EmbeddedDaemon.java:161) > at > org.apache.geronimo.system.main.EmbeddedDaemon.execute(EmbeddedDaemon.java:78) > at > org.apache.geronimo.kernel.util.MainConfigurationBootstrapper.main(MainConfigurationBootstrapper.java:45) > at > org.apache.geronimo.cli.AbstractCLI.executeMain(AbstractCLI.java:65) > at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.java:30) > Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: > Unknown start exception > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522) > at > org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:190) > at > org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:546) > ... 16 more > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: > Configuration org.apache.geronimo.framework/rmi-naming/2.2/car failed > to start due to the following reasons: > The service > ServiceModule=org.apache.geronimo.framework/rmi-naming/2.2/car,j2eeType=GBean,name=RMIRegistry > did not start because Port already in use: 1099; nested exception is: > java.net.BindException: Address already in use > > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485) > ... 18 more > > > -- > Tapas > --0016e64654348669030485be6c68 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable The error clearly says 1099 port in use. Either free the port or specify po= rtOffset variable in <GERONIMO_HOME>/var/config/config-substitution.p= roperties.

On Tue, May 4, 2010 at 9:38 AM= , Tapas Mishra <mightydreams@gmail.com> wrote:
I was able to ins= tall geromino.Could see admin control as per this page
https://cwiki.apache.org/GMOxDOC11= /quick-start-apache-geronimo-for-the-impatient.html
if I am starting java -jar server.jar
then I am having problem.What should I check in ?
I am using geronimo-jetty7-javaee5-2.2




Booting Geronimo Kernel (in Java 1.6.0_18)...
Starting Geronimo Application Server v2.2
[**** =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0] =A011% =A0 4s =A0Loading
org.apache.ger...2010-05-03 22:36:40,611 WARN =A0[RMIRegistryService]
RMI Registry failed
2010-05-03 22:36:40,612 ERROR [GBeanInstanceState] Error while
starting; GBean is now in the FAILED state:
abstractName=3D"org.apache.geronimo.framework/rmi-naming/2.2/car?Servi= ceModule=3Dorg.apache.geronimo.framework/rmi-naming/2.2/car,j2eeType=3DGBea= n,name=3DRMIRegistry"
java.rmi.server.ExportException: Port already in use: 1099; nested
exception is:
=A0 =A0 =A0 =A0java.net.BindException: Address already in use
=A0 =A0 =A0 =A0at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.j= ava:328)
=A0 =A0 =A0 =A0at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTrans= port.java:236)
=A0 =A0 =A0 =A0at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoi= nt.java:411)
=A0 =A0 =A0 =A0at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)=
=A0 =A0 =A0 =A0at sun.rmi.server.UnicastServerRef.exportObject(UnicastServ= erRef.java:207)
=A0 =A0 =A0 =A0at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:11= 0)
=A0 =A0 =A0 =A0at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.= java:86)
=A0 =A0 =A0 =A0at java.rmi.registry.LocateRegistry.createRegistry(LocateRe= gistry.java:239)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.rmi.RMIRegistryService.doStar= t(RMIRegistryService.java:72)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.createIn= stance(GBeanInstance.java:953)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.att= emptFullStart(GBeanInstanceState.java:269)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.sta= rt(GBeanInstanceState.java:103)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstanceState.sta= rtRecursive(GBeanInstanceState.java:125)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.startRec= ursive(GBeanInstance.java:539)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.basic.BasicKernel.startRecurs= iveGBean(BasicKernel.java:377)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.ConfigurationUtil.star= tConfigurationGBeans(ConfigurationUtil.java:456)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.KernelConfigurationMan= ager.start(KernelConfigurationManager.java:190)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.SimpleConfigurationMan= ager.startConfiguration(SimpleConfigurationManager.java:546)
=A0 =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth= od)
=A0 =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod= AccessorImpl.java:57)
=A0 =A0 =A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati= ngMethodAccessorImpl.java:43)
=A0 =A0 =A0 =A0at java.lang.reflect.Method.invoke(Method.java:616)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoke= r.invoke(ReflectionMethodInvoker.java:34)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(= GBeanOperation.java:130)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(G= BeanInstance.java:816)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawI= nvoker.java:57)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.basic.RawOperationInvoker.inv= oke(RawOperationInvoker.java:35)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.= intercept(ProxyMethodInterceptor.java:96)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLI= B$$574e04df.startConfiguration(<generated>)
=A0 =A0 =A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup= (EmbeddedDaemon.java:161)
=A0 =A0 =A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.execute(E= mbeddedDaemon.java:78)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.util.MainConfigurationBootstr= apper.main(MainConfigurationBootstrapper.java:45)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.AbstractCLI.executeMain(Abstract= CLI.java:65)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.= java:30)
Caused by: java.net.BindException: Address already in use
=A0 =A0 =A0 =A0at java.net.PlainSocketImpl.socketBind(Native Method)
=A0 =A0 =A0 =A0at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocke= tImpl.java:336)
=A0 =A0 =A0 =A0at java.net.ServerSocket.bind(ServerSocket.java:336)
=A0 =A0 =A0 =A0at java.net.ServerSocket.<init>(ServerSocket.java:202= )
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.rmi.GeronimoRMIServerSocketFa= ctory.createServerSocket(GeronimoRMIServerSocketFactory.java:35)
=A0 =A0 =A0 =A0at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEnd= point.java:667)
=A0 =A0 =A0 =A0at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.j= ava:317)
=A0 =A0 =A0 =A0... 33 more
[**** =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0] =A011% =A0 4s Startup failed
org.apache.geronimo.kernel.config.LifecycleException: start of
org.apache.geronimo.framework/rmi-naming/2.2/car failed
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.SimpleConfigurationMan= ager.startConfiguration(SimpleConfigurationManager.java:562)
=A0 =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Meth= od)
=A0 =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethod= AccessorImpl.java:57)
=A0 =A0 =A0 =A0at sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegati= ngMethodAccessorImpl.java:43)
=A0 =A0 =A0 =A0at java.lang.reflect.Method.invoke(Method.java:616)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoke= r.invoke(ReflectionMethodInvoker.java:34)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(= GBeanOperation.java:130)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(G= BeanInstance.java:816)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawI= nvoker.java:57)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.basic.RawOperationInvoker.inv= oke(RawOperationInvoker.java:35)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.= intercept(ProxyMethodInterceptor.java:96)
=A0 =A0 =A0 =A0at org.apache.geronimo.gbean.GBeanLifecycle$$EnhancerByCGLI= B$$574e04df.startConfiguration(<generated>)
=A0 =A0 =A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.doStartup= (EmbeddedDaemon.java:161)
=A0 =A0 =A0 =A0at org.apache.geronimo.system.main.EmbeddedDaemon.execute(E= mbeddedDaemon.java:78)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.util.MainConfigurationBootstr= apper.main(MainConfigurationBootstrapper.java:45)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.AbstractCLI.executeMain(Abstract= CLI.java:65)
=A0 =A0 =A0 =A0at org.apache.geronimo.cli.daemon.DaemonCLI.main(DaemonCLI.= java:30)
Caused by: org.apache.geronimo.kernel.config.InvalidConfigException:
Unknown start exception
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.ConfigurationUtil.star= tConfigurationGBeans(ConfigurationUtil.java:522)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.KernelConfigurationMan= ager.start(KernelConfigurationManager.java:190)
=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.SimpleConfigurationMan= ager.startConfiguration(SimpleConfigurationManager.java:546)
=A0 =A0 =A0 =A0... 16 more
Caused by: org.apache.geronimo.gbean.InvalidConfigurationException:
Configuration org.apache.geronimo.framework/rmi-naming/2.2/car failed
to start due to the following reasons:
=A0The service ServiceModule=3Dorg.apache.geronimo.framework/rmi-naming/2.= 2/car,j2eeType=3DGBean,name=3DRMIRegistry
did not start because Port already in use: 1099; nested exception is:
=A0 =A0 =A0 =A0java.net.BindException: Address already in use

=A0 =A0 =A0 =A0at org.apache.geronimo.kernel.config.ConfigurationUtil.star= tConfigurationGBeans(ConfigurationUtil.java:485)
=A0 =A0 =A0 =A0... 18 more


--
Tapas

--0016e64654348669030485be6c68--