I don't see anywhere that you're using the discovery transport (
http://activemq.apache.org/discovery-transport-reference.html); am I just
not seeing it?  Automatic broker discovery isn't the default behavior; you
have to use the discovery transport if you want that behavior.

On Oct 12, 2016 7:08 AM, "divinedragon" <just...@gmail.com> wrote:

> I wanted to configure automatic broker discovery. As of now, I just have
> one broker(localhost) and that is what I configured. Isn't it how that
> should be configured?
>
> On Wed, Oct 12, 2016 at 6:02 PM, Tim Bain [via ActiveMQ] <
> ml-node+s2283324n4717827...@n4.nabble.com> wrote:
>
> > OK.  And is it really pointing to localhost   (i.e. this broker is
> > connecting to itself)?  I've never tried that myself, but I can't imagine
> > that resulting in good behavior...  How come that URI isn't to some other
> > (cross-site) host?
> >
> > Tim
> >
> > On Oct 12, 2016 1:04 AM, "divinedragon" <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4717827&i=0>> wrote:
> >
> > > Oh my bad. Sorry about the type. The value is this.
> > >
> > > JMS_X_SITE_CSV_URL=ssl://localhost:7031/
> > >
> > >
> > >
> > > On Wed, Oct 12, 2016 at 12:23 PM, Tim Bain [via ActiveMQ] <
> > > [hidden email] <http:///user/SendEmail.jtp?
> type=node&node=4717827&i=1>>
> > wrote:
> > >
> > > > It looks like you're using the tcp transport to connect to an SSL
> > > > endpoint;
> > > > shouldn't you either use the ssl transport or port 7029?
> > > >
> > > > On Oct 12, 2016 12:38 AM, "divinedragon" <[hidden email]
> > > > <http:///user/SendEmail.jtp?type=node&node=4717820&i=0>> wrote:
> > > >
> > > > > I don't suppose the value is incorrect. Here are all the values in
> > the
> > > > > properties file.
> > > > >
> > > > > JMS_PORT=7029
> > > > > JMS_STOMP_PORT=7030
> > > > > JMS_SSL_PORT=7031
> > > > > JMS_X_SITE_CSV_URL=tcp://localhost:7031/
> > > > >
> > > > >
> > > > > On Mon, Oct 10, 2016 at 6:49 PM, Tim Bain [via ActiveMQ] <
> > > > > [hidden email] <http:///user/SendEmail.jtp?
> > > type=node&node=4717820&i=1>>
> > > > wrote:
> > > > >
> > > > > > What's the value of ${JMS_X_SITE_CSV_URL} at runtime for your
> > > process?
> > > > > Is
> > > > > > it a valid URI?  Could something be wrong with that variable?
> > > > > >
> > > > > > On Oct 10, 2016 2:49 AM, "divinedragon" <[hidden email]
> > > > > > <http:///user/SendEmail.jtp?type=node&node=4717740&i=0>> wrote:
> > > > > >
> > > > > > > Ok. So, removing the <networkConnectors> does get rid of the
> > WARN
> > > > > entry.
> > > > > > > But, then I don't want to remove it. What is the configuration
> > > issue
> > > > > > with
> > > > > > > the <networkConnectors>???
> > > > > > >
> > > > > > > On Mon, Oct 10, 2016 at 12:16 PM, Tim Bain [via ActiveMQ] <
> > > > > > > [hidden email] <http:///user/SendEmail.jtp?
> > > > > type=node&node=4717740&i=1>>
> > > > > > wrote:
> > > > > > >
> > > > > > > > Does the behavior change if you comment out your
> > > > <networkConnectors>
> > > > > > > > element?  I can't think of a reason why a problem there would
> > > > cause
> > > > > > the
> > > > > > > > broker to shut down, but since that's the first place the
> > > shutdown
> > > > > > > > manifests in the logs, let's see if there really is a link
> > > between
> > > > > the
> > > > > > > two
> > > > > > > > or if it's a red herring.
> > > > > > > >
> > > > > > > > Tim
> > > > > > > >
> > > > > > > > On Sun, Oct 9, 2016 at 10:48 PM, divinedragon <[hidden email]
> > > > > > > > <http:///user/SendEmail.jtp?type=node&node=4717710&i=0>>
> > wrote:
> > > > > > > >
> > > > > > > > > My activemq.xml is configured like below.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > View this message in context: http://activemq.2283324.n4.
> > > > > > > > > nabble.com/java-io-EOFException-when-ActiveMQ-
> > > > > > > > > starts-tp4717598p4717709.html
> > > > > > > > > Sent from the ActiveMQ - User mailing list archive at
> > > > Nabble.com.
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > ------------------------------
> > > > > > > > If you reply to this email, your message will be added to the
> > > > > > discussion
> > > > > > > > below:
> > > > > > > > http://activemq.2283324.n4.nabble.com/java-io-
> > > > > > > EOFException-when-ActiveMQ-
> > > > > > > > starts-tp4717598p4717710.html
> > > > > > > > To unsubscribe from java.io.EOFException when ActiveMQ
> starts,
> > > > click
> > > > > > here
> > > > > > > > <http://activemq.2283324.n4.nabble.com/template/
> > > > > NamlServlet.jtp?macro=
> > > > > > > unsubscribe_by_code&node=4717598&code=
> > > anVzdGRwa0BnbWFpbC5jb218NDcxNz
> > > >
> > > > > > > U5OHwtMjEzOTUzNTk3Ng==>
> > > > > > > > .
> > > > > > > > NAML
> > > > > > > > <http://activemq.2283324.n4.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: http://activemq.2283324.n4.
> > > > > > > nabble.com/java-io-EOFException-when-ActiveMQ-
> > > > > > > starts-tp4717598p4717733.html
> > > > > > > Sent from the ActiveMQ - User mailing list archive at
> > Nabble.com.
> > > > > >
> > > > > >
> > > > > > ------------------------------
> > > > > > If you reply to this email, your message will be added to the
> > > > discussion
> > > > > > below:
> > > > > > http://activemq.2283324.n4.nabble.com/java-io-
> > > > > EOFException-when-ActiveMQ-
> > > > > > starts-tp4717598p4717740.html
> > > > > > To unsubscribe from java.io.EOFException when ActiveMQ starts,
> > click
> > > > here
> > > > > > <http://activemq.2283324.n4.nabble.com/template/
> > > NamlServlet.jtp?macro=
> > > > > unsubscribe_by_code&node=4717598&code=
> anVzdGRwa0BnbWFpbC5jb218NDcxNz
> >
> > > > > U5OHwtMjEzOTUzNTk3Ng==>
> > > > > > .
> > > > > > NAML
> > > > > > <http://activemq.2283324.n4.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: http://activemq.2283324.n4.
> > > > > nabble.com/java-io-EOFException-when-ActiveMQ-
> > > > > starts-tp4717598p4717819.html
> > > > > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> > > >
> > > >
> > > > ------------------------------
> > > > If you reply to this email, your message will be added to the
> > discussion
> > > > below:
> > > > http://activemq.2283324.n4.nabble.com/java-io-
> > > EOFException-when-ActiveMQ-
> > > > starts-tp4717598p4717820.html
> > > > To unsubscribe from java.io.EOFException when ActiveMQ starts, click
> > here
> > > > <http://activemq.2283324.n4.nabble.com/template/
> NamlServlet.jtp?macro=
> > > unsubscribe_by_code&node=4717598&code=anVzdGRwa0BnbWFpbC5jb218NDcxNz
> > > U5OHwtMjEzOTUzNTk3Ng==>
> > > > .
> > > > NAML
> > > > <http://activemq.2283324.n4.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: http://activemq.2283324.n4.
> > > nabble.com/java-io-EOFException-when-ActiveMQ-
> > > starts-tp4717598p4717821.html
> > > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
> >
> > ------------------------------
> > If you reply to this email, your message will be added to the discussion
> > below:
> > http://activemq.2283324.n4.nabble.com/java-io-
> EOFException-when-ActiveMQ-
> > starts-tp4717598p4717827.html
> > To unsubscribe from java.io.EOFException when ActiveMQ starts, click here
> > <http://activemq.2283324.n4.nabble.com/template/NamlServlet.jtp?macro=
> unsubscribe_by_code&node=4717598&code=anVzdGRwa0BnbWFpbC5jb218NDcxNz
> U5OHwtMjEzOTUzNTk3Ng==>
> > .
> > NAML
> > <http://activemq.2283324.n4.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: http://activemq.2283324.n4.
> nabble.com/java-io-EOFException-when-ActiveMQ-
> starts-tp4717598p4717829.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to