Thanks Ilya.. Regards, Sriveena
From: Ilya Kasnacheev [mailto:[email protected]] Sent: Tuesday, December 18, 2018 9:56 PM To: [email protected] Subject: Re: Settings to override default Ignite JDBC Thin Driver port 10800 Hello! As far as my understanding goes, you can have client connectors on both client and server nodes, so it is up to you to decide which nodes you will be using as endpoints for thin clients. Regards, -- Ilya Kasnacheev вт, 18 дек. 2018 г. в 17:06, Sriveena Mattaparthi <[email protected]<mailto:[email protected]>>: Thanks Ilya.. Are the client node changes mentioned below during start up not required then?please confirm Regards, Sriveena ________________________________ From: Ilya Kasnacheev <[email protected]<mailto:[email protected]>> Sent: 18 December 2018 19:22:45 To: [email protected]<mailto:[email protected]> Subject: Re: Settings to override default Ignite JDBC Thin Driver port 10800 Hello! On server, you can use <property name="clientConnectorConfiguration"> <bean class="org.apache.ignite.configuration.ClientConnectorConfiguration"> <property name="port" value="10850"/> </bean> </property> Regards, -- Ilya Kasnacheev вт, 18 дек. 2018 г. в 16:20, Sriveena Mattaparthi <[email protected]<mailto:[email protected]>>: Thanks Ilya, Could you please correct the settings to be done for overrring the default port then? Thanks & Regards, Sriveena From: Ilya Kasnacheev [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, December 18, 2018 6:21 PM To: [email protected]<mailto:[email protected]> Subject: Re: Settings to override default Ignite JDBC Thin Driver port 10800 Hello! Client connector port is a different thing than either communication port or discovery port. You don't have to override neither of those. Regards, -- Ilya Kasnacheev вт, 18 дек. 2018 г. в 15:49, Sriveena Mattaparthi <[email protected]<mailto:[email protected]>>: Hi, We would like to override the default port 10800. For this we have made the below changes. On client node Ignition.setClientMode(true); ClientConnectorConfiguration clientCfg = new ClientConnectorConfiguration(); clientCfg.setPort(10850); IgniteConfiguration cfg = new IgniteConfiguration().setClientConnectorConfiguration(clientCfg) ignite = Ignition.start(cfg); ignite.cluster().active(true); and get the jdbc connection using Connection conn = DriverManager.getConnection("jdbc:ignite:thin://127.0.0.1:10850/<https://apac01.safelinks.protection.outlook.com/?url=http%3A%2F%2F127.0.0.1%3A10850%2F&data=02%7C01%7CSriveena.Mattaparthi%40ekaplus.com%7C1228890b9d194ead51a408d665059620%7C2a5b4e9716be4be4b2d40f3fcb3d373c%7C1%7C0%7C636807472020983000&sdata=nsFrNP5z%2Bd08m2bBneuDjqOH8AciThkSHR53lzutaHI%3D&reserved=0>"); On Ignite server We didn’t setup 10850 port in any of the xml except <property name="discoverySpi"> <bean class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi"> <property name="localPort" value="48500"/> <property name="communicationSpi"> <bean class="org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi"> <property name="localPort" value="48100"/> Do we have to setup the communication port 10850 in the xml also? Please confirm. Thanks & Regards, Sriveena “Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.” “Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.” “Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.” “Confidentiality Notice: The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited.”
