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 E5F73200CD9 for ; Thu, 3 Aug 2017 20:02:52 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id E467A16C345; Thu, 3 Aug 2017 18:02:52 +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 DC24216C343 for ; Thu, 3 Aug 2017 20:02:51 +0200 (CEST) Received: (qmail 1783 invoked by uid 500); 3 Aug 2017 18:02:50 -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 1769 invoked by uid 99); 3 Aug 2017 18:02:49 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2017 18:02:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 66899180812 for ; Thu, 3 Aug 2017 18:02:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.379 X-Spam-Level: ** X-Spam-Status: No, score=2.379 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_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id FQC_OUvdwrjc for ; Thu, 3 Aug 2017 18:02:47 +0000 (UTC) Received: from mail-vk0-f51.google.com (mail-vk0-f51.google.com [209.85.213.51]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 6934B5FAC5 for ; Thu, 3 Aug 2017 18:02:47 +0000 (UTC) Received: by mail-vk0-f51.google.com with SMTP id n125so8137976vke.1 for ; Thu, 03 Aug 2017 11:02:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lVNfVByuGudFLXNSWDQvn/Lql/fpRdRuf9bTklntvtA=; b=qSQWjl2dq2OVjMVWZGl1BgFQni5vrgbbu0w5mVrlkYvL4kL18sBkrbRiH/NeDMDOT5 ysHqQiUsU9p5fk6ZJ8tOP0DqcL8Tv36/GwJXGDT9QvE4kFmJjMi8GD18hKuYBuCkfNS4 7xNlINvXitDqUwyoW7Ksj+ZlAhz11fRe0uBsvU2Y//OPUzENXqShl01+bso1xUkMpTSs buAatlZb0fyYX/hksHUVp1j/vSyogFK1SWIFxInhYLSE00EQ9dcOIX0j9KyWG2+rRq8M Snb68l4Hm+jZqREOSKS2+Bcxdp/G3c0NGhGRH0qn1axEzDwlUdeTrh7zb39Gk/DqAsHM +vGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lVNfVByuGudFLXNSWDQvn/Lql/fpRdRuf9bTklntvtA=; b=pCUUcsbBWap/8K3wH4hSR1trn/z2L9crX5BHHBfA6DWP0nyeeekSwYq/VhuPpZdKv0 JgZjWTfSgzb5+Q/4zoxMcMwnO4EweE1jfqrPevOdpUQRngmISSbkDX88qdCGWXHEo8r3 T9hlLS2DnKP4qNyCRJvtR39E4oKOlWJEVjF5B4s4hPW6vZE/oZX/DdDwK+G8oMf5KTLg KjyLrFCNRzs7c81wOU0yTJLg8WZdt4BXqnt6wE/x+ogfBJR0VBtcqk7DhbOTPfMLQF8k sRz7QOD4mUoM7aSOOFk0FiU883K3rY2rRmtFM40J9ZYLGv9I9N/0FNPN1Stwpv0Kd2ZW ceEQ== X-Gm-Message-State: AIVw1118Vt6S7jzWA9uGIlvCsdLGSVA0NcSuH3+bMwLy8vmaGGkUyg4N eskpLnWlcKmXHTVorX4QrSSDY8gx67lz X-Received: by 10.31.204.1 with SMTP id c1mr1388891vkg.128.1501783360441; Thu, 03 Aug 2017 11:02:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.83.73 with HTTP; Thu, 3 Aug 2017 11:02:19 -0700 (PDT) In-Reply-To: References: From: Muthu Date: Thu, 3 Aug 2017 11:02:19 -0700 Message-ID: Subject: Re: Trouble using latest Ignite Web Console (2.1) To: user@ignite.apache.org Content-Type: multipart/alternative; boundary="001a114bd2eaba91290555dd2f0a" archived-at: Thu, 03 Aug 2017 18:02:53 -0000 --001a114bd2eaba91290555dd2f0a Content-Type: text/plain; charset="UTF-8" Hi Andrey, The latest version worked for the connection. However when i try to import domain models from my database it fails past the schema selection page..once i select my database and hit next it doesn't show my two tables that i have in that. Also when i select all (instead of my specific schema) & hit next it doesn't proceed at all & shows an error message "java.sql.SQLException: Failed to collect metadata". Any clue? I also see this exception in the logs, [2017-08-03 11:00:11,291][ERROR][pool-6-thread-1][DatabaseListener] Failed to collect metadata java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String at org.apache.ignite.console.agent.db.dialect.JdbcMetadataDialect.tables(JdbcMetadataDialect.java:128) at org.apache.ignite.console.agent.db.DbMetadataReader.metadata(DbMetadataReader.java:95) at org.apache.ignite.console.agent.handlers.DatabaseListener.metadata(DatabaseListener.java:280) at org.apache.ignite.console.agent.handlers.DatabaseListener$2.execute(DatabaseListener.java:122) at org.apache.ignite.console.agent.handlers.AbstractListener$1.run(AbstractListener.java:67) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:473) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Regards, Muthu -- The real danger with modern technology isn't that machines will begin to think like people, but that people will begin to think like machines. -- Faith is to believe what you do not see; the reward of this faith is to see what you believe. On Wed, Aug 2, 2017 at 10:50 PM, Muthu wrote: > Thanks Andrey...I did use the latest..also i validated the token without > which the agent doesn't even connect (btw i couldn't initially get the > web-agent version downloaded from console.gridgain to connect to web > console...it failed complaining version mismatch...then i took the version > from inside the web console image & then got it to connect properly). > > I see the new image has been pushed a couple hours back..will retry with > that & let you know. > > Regards, > Muthu > > -- The real danger with modern technology isn't that machines will begin > to think like people, but that people will begin to think like machines. > -- Faith is to believe what you do not see; the reward of this faith is to > see what you believe. > > On Wed, Aug 2, 2017 at 8:54 PM, Andrey Novikov > wrote: > >> Hi Muthu, >> >> Do you use following image (in console execute following command: "docker >> images")? >> REPOSITORY TAG >> IMAGE ID >> apacheignite/web-console-standalone latest ae3d24152e68 >> >> Also, please validate token in agent configuration should be the same as >> on profile page. >> >> On 2017-08-03 09:47, Muthu wrote: >> > Hi Folks, >> > >> > First a big thanks for making the latest version of web console >> available >> > on docker hub (https://hub.docker.com/r/apac >> heignite/web-console-standalone/). >> > As i understand this has fixes for some issues i encountered with ignite >> > 2.0 version >> > >> > I tried it but unfortunately it looks like this latest version has >> trouble >> > connecting to ignite grid. Even though i have ignite & web-agent >> running on >> > the same Linux host as the container (with all properly connected as >> seen >> > from the logs) web console is unable to connect to it. >> > >> > As a result i am also unable to use it to connect to my db for >> model/cache >> > artifact generation, etc. >> > >> > Has any one else tried using it? >> > >> > Regards, >> > Muthu >> > >> > -- The real danger with modern technology isn't that machines will >> begin to >> > think like people, but that people will begin to think like machines. >> > -- Faith is to believe what you do not see; the reward of this faith is >> to >> > see what you believe. >> > >> > > --001a114bd2eaba91290555dd2f0a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Andrey,

The latest version worked fo= r the connection. However when i try to import domain models from my databa= se it fails past the schema selection page..once i select my database and h= it next it doesn't show my two tables that i have in that. Also when i = select all (instead of my specific schema) & hit next it doesn't pr= oceed at all & shows an error message "java.sql.SQLException: Fail= ed to collect metadata". Any clue?

I also see= this exception in the logs,

[2017-08-03 11:0= 0:11,291][ERROR][pool-6-thread-1][DatabaseListener] Failed to collect metad= ata
java.lang.ClassCastException: java.util.ArrayList cannot be c= ast to java.lang.String
a= t org.apache.ignite.console.agent.db.dialect.JdbcMetadataDialect.tables(Jdb= cMetadataDialect.java:128)
at org.apache.ignite.console.agent.db.DbMetadataReader.metadata(DbMetadat= aReader.java:95)
at org.a= pache.ignite.console.agent.handlers.DatabaseListener.metadata(DatabaseListe= ner.java:280)
at org.apac= he.ignite.console.agent.handlers.DatabaseListener$2.execute(DatabaseListene= r.java:122)
at org.apache= .ignite.console.agent.handlers.AbstractListener$1.run(AbstractListener.java= :67)
at java.util.concurr= ent.Executors$RunnableAdapter.call(Executors.java:473)
at java.util.concurrent.FutureTask.run(Future= Task.java:262)
at java.ut= il.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.Thr= eadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)


Regards= ,
Muthu

-- The real danger with modern technology isn't that = machines will begin to think like people, but that people will begin to thi= nk like machines.
--=C2=A0Faith is to believe what you do not see; the r= eward of this faith is to see what you believe.

On Wed, Aug 2, 2017 at 10:50 PM, Muthu <muthu.kumaran.l@gmail.com> wrote:
Thanks Andrey...I did use= the latest..also i validated the token without which the agent doesn't= even connect (btw i couldn't initially get the web-agent version downl= oaded from console.gridgain to connect to web console...it failed complaini= ng version mismatch...then i took the version from inside the web console= =C2=A0image & then got it to connect properly).

I se= e the new image has been pushed a couple hours back..will retry with that &= amp; let you know.

=
Regards,
Muthu

-- The real= danger with modern technology isn't that machines will begin to think = like people, but that people will begin to think like machines.
--=C2=A0= Faith is to believe what you do not see; the reward of this faith is to see= what you believe.

On Wed, = Aug 2, 2017 at 8:54 PM, Andrey Novikov <anovikov@apache.org> wrote:
Hi Muthu,
Do you use following image (in console execute following command: "doc= ker images")?
REPOSITORY=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 TAG=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 IMAGE ID
apacheignite/web-console-standalone=C2=A0 =C2=A0latest=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ae3d24152e68

Also, please validate token in agent configuration should be the same as on= profile page.

On 2017-08-03 09:47, Muthu <muthu.kumaran.l@gmail.com> wrote:
> Hi Folks,
>
> First a big thanks for making the latest version of web console availa= ble
> on docker hub (https://hub.docker.= com/r/apacheignite/web-console-standalone/).
> As i understand this has fixes for some issues i encountered with igni= te
> 2.0 version
>
> I tried it but unfortunately it looks like this latest version has tro= uble
> connecting to ignite grid. Even though i have ignite & web-agent r= unning on
> the same Linux host as the container (with all properly connected as s= een
> from the logs) web console is unable to connect to it.
>
> As a result i am also unable to use it to connect to my db for model/c= ache
> artifact generation, etc.
>
> Has any one else tried using it?
>
> Regards,
> Muthu
>
> -- The real danger with modern technology isn't that machines will= begin to
> think like people, but that people will begin to think like machines.<= br> > -- Faith is to believe what you do not see; the reward of this faith i= s to
> see what you believe.
>


--001a114bd2eaba91290555dd2f0a--