activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <tb...@alumni.duke.edu>
Subject Re: java.io.EOFException when ActiveMQ starts
Date Wed, 12 Oct 2016 15:22:22 GMT
Unfortunately the use of the term "discovery" is misleading.  The term is
used as a generic superset over the discovery transport (which allows
dynamic discovery at runtime) and the static transport (which allows static
discovery at configuration time based on what's in your config file, but no
dynamic discovery at runtime; the phrase "hard code" from the page you
linked to is the relevant one).  It doesn't inherently mean you get dynamic
discovery; you need to use the discovery transport for that.

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

> I was referring to this(static discovery section).
>
> http://activemq.apache.org/networks-of-brokers.html
>
>
> On Wed, Oct 12, 2016 at 6:44 PM, Tim Bain [via ActiveMQ] <
> ml-node+s2283324n4717831h70@n4.nabble.com> wrote:
>
> > 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" <[hidden email]
> > <http:///user/SendEmail.jtp?type=node&node=4717831&i=0>> 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] <
> > > [hidden email] <http:///user/SendEmail.jtp?
> type=node&node=4717831&i=1>>
> > 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.
> >
> >
> > ------------------------------
> > 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-tp4717598p4717831.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-tp4717598p4717832.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message