Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C0B75200B61 for ; Tue, 9 Aug 2016 15:11:43 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BF530160AA5; Tue, 9 Aug 2016 13:11:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DE1B3160AA4 for ; Tue, 9 Aug 2016 15:11:42 +0200 (CEST) Received: (qmail 32658 invoked by uid 500); 9 Aug 2016 13:11:42 -0000 Mailing-List: contact user-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.apache.org Delivered-To: mailing list user@ignite.apache.org Received: (qmail 32646 invoked by uid 99); 9 Aug 2016 13:11:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Aug 2016 13:11:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 9B90EC12FE for ; Tue, 9 Aug 2016 13:11:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.793 X-Spam-Level: * X-Spam-Status: No, score=1.793 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_WEB=0.614, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id uFEn_lmNaxzS for ; Tue, 9 Aug 2016 13:11:38 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 4731C5F230 for ; Tue, 9 Aug 2016 13:11:38 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id q128so32428876wma.1 for ; Tue, 09 Aug 2016 06:11:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:message-id:references:to; bh=+RIeVml+Zs77rmAOSSpGy7oTSE5Xwz6blcumYyHoCFU=; b=XnzLXrdtOzXJi9car79IqU9JsMDkWhabNkUq9cpYB2WSSGOKH7+09mB6RV46F7CuF3 NdtccOXXh0AylxNQnFPZbvw3gA+nuWSyNCbCyD/w3MRZ7mTZGSEW66dRAqcaFgrZ+rtt 6wVJtcnN3obbGMZ8l1CWf+0vAttsIr39/Pq/xvxZiMOI8KxQ9zcXBXdQaN9dwzM72I1h V1Gx8KK+0He89RC16kkC9nIIlNHnr4+joA5Cd24Wp2c4Cle8jye0i57U1oYaSCZtqrlA NKRTdSXCC1ubpDkkEThT72LOEBqdZ3pAZkk6D1rCqCIbyQWVTiVC6yfnGsKAfBz6RlbM vSow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :message-id:references:to; bh=+RIeVml+Zs77rmAOSSpGy7oTSE5Xwz6blcumYyHoCFU=; b=mNdm2rWTsib6vJUrVCEQzPx1/cVYE3R262NbYXV/+QqT8wCHu0cn6XlXXBUg9BEpPF rgodosN5yPudJvMiOh8wNYxAuadC14gatQIhl0j6f0ffcPFiay7w8G2dGZIXpWC3T/rT GIPGXMKvvDXygtodC6HUdNrnKb/lGkFHL7L5FUzvNt9KxgPDkvErRpkTX39ka4gxglk7 cnXUlMW1/jH4WNP+UBQYzGLAhIHmYMGxAFxPO8q4iiVJW9RG3Yzx5c9DRKaTF9snj+aX nWU37VETYblC+P+D03E/AzQ8YvnrDwy6su32KhnNW996gzkX0zDnaxJF4MKMFzBM9FLn 2FEg== X-Gm-Message-State: AEkooutVgRI8BSlTKD6nWMtyR58/1v/je5BEXUAdROnLJf1SursH8K2l5iBLNyBY0thy9g== X-Received: by 10.25.142.204 with SMTP id q195mr25061199lfd.220.1470748292228; Tue, 09 Aug 2016 06:11:32 -0700 (PDT) Received: from [10.0.0.18] ([109.188.125.43]) by smtp.gmail.com with ESMTPSA id 206sm6539041ljj.4.2016.08.09.06.11.23 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 09 Aug 2016 06:11:24 -0700 (PDT) Content-Type: multipart/signed; boundary="Apple-Mail=_4284D1BA-3981-483F-A0C0-EF5EBC39CFE3"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Address bind error X-Pgp-Agent: GPGMail From: Alisher Alimov In-Reply-To: <1470747581682-6878.post@n6.nabble.com> Date: Tue, 9 Aug 2016 16:11:22 +0300 Message-Id: <7DAB8CE2-C608-4C66-A1D1-31A67D71B91D@gmail.com> References: <1470747581682-6878.post@n6.nabble.com> To: user@ignite.apache.org X-Mailer: Apple Mail (2.3124) archived-at: Tue, 09 Aug 2016 13:11:43 -0000 --Apple-Mail=_4284D1BA-3981-483F-A0C0-EF5EBC39CFE3 Content-Type: multipart/alternative; boundary="Apple-Mail=_E6B28455-9A8E-4A98-88DC-8DEDC52E9714" --Apple-Mail=_E6B28455-9A8E-4A98-88DC-8DEDC52E9714 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi! Ignite uses Jetty server to provide HTTP Rest API and seems that you = bind Ignite REST server on same port as Tomcat You can find more information about it here: = http://apacheignite.gridgain.org/docs/configuration With best regards Alisher Alimov alimovalisher@gmail.com > On 9 =D0=B0=D0=B2=D0=B3. 2016 =D0=B3., at 15:59, Ravi Puri = wrote: >=20 > I got the below error as i am running tomcat server at localhost and = also the > ignite-config.xml at same host. is this the problem due to this? or is = it > something error not related to i mentioned above?? >=20 >=20 >=20 >=20 > WARNING: FAILED ServerConnector@e11eade{HTTP/1.1}{0.0.0.0:8080}: > java.net.BindException: Address already in use: bind > java.net.BindException: Address already in use: bind > at sun.nio.ch.Net.bind0(Native Method) > at sun.nio.ch.Net.bind(Unknown Source) > at sun.nio.ch.Net.bind(Unknown Source) > at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) > at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) > at = org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) > at > = org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkC= onnector.java:80) > at > = org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:236)= > at > = org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle= .java:68) > at org.eclipse.jetty.server.Server.doStart(Server.java:366) > at > = org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle= .java:68) > at > = org.apache.ignite.internal.processors.rest.protocols.http.jetty.GridJettyR= estProtocol.startJetty(GridJettyRestProtocol.java:220) > at > = org.apache.ignite.internal.processors.rest.protocols.http.jetty.GridJettyR= estProtocol.start(GridJettyRestProtocol.java:177) > at > = org.apache.ignite.internal.processors.rest.GridRestProcessor.startProtocol= (GridRestProcessor.java:861) > at > = org.apache.ignite.internal.processors.rest.GridRestProcessor.startHttpProt= ocol(GridRestProcessor.java:832) > at > = org.apache.ignite.internal.processors.rest.GridRestProcessor.start(GridRes= tProcessor.java:447) > at > = org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKernal.java:1= 518) >=20 >=20 >=20 > -- > View this message in context: = http://apache-ignite-users.70518.x6.nabble.com/Address-bind-error-tp6878.h= tml > Sent from the Apache Ignite Users mailing list archive at Nabble.com. --Apple-Mail=_E6B28455-9A8E-4A98-88DC-8DEDC52E9714 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 Hi!

Ignite = uses Jetty server to provide HTTP Rest API and seems that you bind = Ignite REST server on same port as Tomcat 

You can find more information about it = here: http://apacheignite.gridgain.org/docs/configuration

With best regards
Alisher = Alimov




On 9 =D0=B0=D0=B2=D0=B3. 2016 =D0=B3., at 15:59, Ravi Puri = <ravikumarpuri04@gmail.com> wrote:

I = got the below error as i am running tomcat server at localhost and also = the
ignite-config.xml at same host. is this the problem = due to this? or is it
something error not related to i = mentioned above??




WARNING: FAILED = ServerConnector@e11eade{HTTP/1.1}{0.0.0.0:8080}:
java.net.BindException: Address already in use: bind
java.net.BindException: Address already in use: bind
= at sun.nio.ch.Net.bind0(Native Method)
at = sun.nio.ch.Net.bind(Unknown Source)
at = sun.nio.ch.Net.bind(Unknown Source)
at = sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
= at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
= at = org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:321) = at
org.eclipse.jetty.server.AbstractNetworkConnector.doStart(Abstr= actNetworkConnector.java:80)
at
org.eclipse.jetty.server.ServerConnector.doStart(ServerConnecto= r.java:236)
at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abstra= ctLifeCycle.java:68)
at = org.eclipse.jetty.server.Server.doStart(Server.java:366)
= at
org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abstra= ctLifeCycle.java:68)
at
org.apache.ignite.internal.processors.rest.protocols.http.jetty= .GridJettyRestProtocol.startJetty(GridJettyRestProtocol.java:220)
= at
org.apache.ignite.internal.processors.rest.protocols.http.jetty= .GridJettyRestProtocol.start(GridJettyRestProtocol.java:177)
= at
org.apache.ignite.internal.processors.rest.GridRestProcessor.st= artProtocol(GridRestProcessor.java:861)
at
org.apache.ignite.internal.processors.rest.GridRestProcessor.st= artHttpProtocol(GridRestProcessor.java:832)
at
org.apache.ignite.internal.processors.rest.GridRestProcessor.st= art(GridRestProcessor.java:447)
at
org.apache.ignite.internal.IgniteKernal.startProcessor(IgniteKe= rnal.java:1518)



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Address-bind-err= or-tp6878.html
Sent from the Apache Ignite Users = mailing list archive at Nabble.com.

= --Apple-Mail=_E6B28455-9A8E-4A98-88DC-8DEDC52E9714-- --Apple-Mail=_4284D1BA-3981-483F-A0C0-EF5EBC39CFE3 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXqdZ6AAoJEAJwPlFY4Tr9f3cH/3IN/wA7tUTUqDg2jgpe3ziE 2phDl+Yk+ERjlYdMCsMXGZaP7yH/R71CCd7tffWHWGtET4+FvD/paZNIvSD0qcJh 6QOA56ttbmPRihQ+ZAfi+VOM6s82cLOoGqmq+Fprtm/1ROrPUqZ+gVKBWlLEhGMr 3vf3rTqVjLvvEKP2nJ2/z2ObLcpqiR/Ogpp/nniCDOnOr8qos1ySD2apoHM95Qp7 AlXqOyeAeVdBxEik5tZD+R26nFpsLmUdipubTPbIRKmCYYmCgqFsbhwG0tyNiyk6 2PdvkpZTJuOR8kXsqH+ANuDjP9r/nsAQiMlS6vASJUZRfQiuxxni8xtUdfDfkyA= =5NVI -----END PGP SIGNATURE----- --Apple-Mail=_4284D1BA-3981-483F-A0C0-EF5EBC39CFE3--