Thanks :) On Thu, Jun 15, 2017 at 3:56 PM, afedotov <[email protected]> wrote:
> Sure. Just use regular Spring beans configuration approach. > > <bean class="org.apache.ignite.configuration.IgniteConfiguration"> > ... > <property name="connectorConfiguration"> > <bean class="org.apache.ignite.configuration.ConnectorConfiguration"> > <property name="port" value="11212"/> > </bean> > </property> > > > > Kind regards, > Alex. > > On Thu, Jun 15, 2017 at 1:18 PM, ishan-jain [via Apache Ignite Users] <[hidden > email] <http:///user/SendEmail.jtp?type=node&node=13817&i=0>> wrote: > >> But is there a way to firectly set it in xml file? >> >> On Thu, Jun 15, 2017 at 3:48 PM, Ishan Jain <[hidden email] >> <http:///user/SendEmail.jtp?type=node&node=13815&i=0>> wrote: >> >>> Hostname:Port/Cache_name >>> >>> Thanx,Anyways i found the solution. ignite.configuration().getConn >>> ectorConfiguration().setPort(11212); >>> >>> On Thu, Jun 15, 2017 at 3:39 PM, afedotov <[hidden email] >>> <http:///user/SendEmail.jtp?type=node&node=13815&i=1>> wrote: >>> >>>> Hi. >>>> >>>> Which kind of connection URL do you use: jdbc:ignite:cfg://[<params>@]< >>>> config_url> or jdbc:ignite://<hostname>:<port>/<cache_name> ? >>>> >>>> Kind regards, >>>> Alex. >>>> >>>> On Thu, Jun 15, 2017 at 11:26 AM, ishan-jain [via Apache Ignite Users] >>>> <[hidden email] <http:///user/SendEmail.jtp?type=node&node=13813&i=0>> >>>> wrote: >>>> >>>>> how can i set my jdbc discovery port value in ignite config xml file. >>>>> Need to change it from 11211 as i am using two ignite clusters >>>>> >>>>> ------------------------------ >>>>> If you reply to this email, your message will be added to the >>>>> discussion below: >>>>> http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-p >>>>> ort-tp13807.html >>>>> To start a new topic under Apache Ignite Users, email [hidden email] >>>>> <http:///user/SendEmail.jtp?type=node&node=13813&i=1> >>>>> To unsubscribe from Apache Ignite Users, click here. >>>>> NAML >>>>> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >>>>> >>>> >>>> >>>> ------------------------------ >>>> View this message in context: Re: Ignite-jdbc port >>>> <http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807p13813.html> >>>> >>>> Sent from the Apache Ignite Users mailing list archive >>>> <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com. >>>> >>> >>> >> >> >> ------------------------------ >> If you reply to this email, your message will be added to the discussion >> below: >> http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc- >> port-tp13807p13815.html >> To start a new topic under Apache Ignite Users, email [hidden email] >> <http:///user/SendEmail.jtp?type=node&node=13817&i=1> >> To unsubscribe from Apache Ignite Users, click here. >> NAML >> <http://apache-ignite-users.70518.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> >> > > > ------------------------------ > View this message in context: Re: Ignite-jdbc port > <http://apache-ignite-users.70518.x6.nabble.com/Ignite-jdbc-port-tp13807p13817.html> > Sent from the Apache Ignite Users mailing list archive > <http://apache-ignite-users.70518.x6.nabble.com/> at Nabble.com. >
