You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Ramaprasad <pr...@gmail.com> on 2012/10/25 15:35:30 UTC

unable to start tomcat while qpid is running


When I follow the following sequence of actions, unable to start tomcat
1. start qpid
2. start tomcat


Ramaprasad
-- 
View this message in context: http://old.nabble.com/unable-to-start-tomcat-while-qpid-is-running-tp34601091p34601091.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: unable to start tomcat while qpid is running

Posted by Keith W <ke...@gmail.com>.
On 8 February 2013 15:44, lhoffman <lh...@netcentricinc.com> wrote:
>
> So I have looked and looked...How do I tell Qpid to not listen on port 8080?
> I don't see that in any config file.
>
> Thanks
> L

Lisa,

You need to look at the management/http element within the config.xml.
  To stop the Java Broker binding port 8080, either set enabled to
false, or assign a different port number.  If you choose the former,
you'll loose the ability to manage the Broker via the web interface.

eg.

<management>
  ...
  <http>
    <enabled>false</enabled>
  </http>

or

<management>
  ...
  <http>
    <port>8081</8081>
  </http>


The Java Broker startup message MNG-1002 confirms the port that have been bound.

[Broker] BRK-1001 : Startup : Version: 0.21 Build: exported
[Broker] BRK-1010 : Platform : JVM : Apple Inc. version:
1.6.0_37-b06-434-11M3909 OS : Mac OS X version: 10.8.2 arch: x86_64
[Broker] BRK-1011 : Maximum Memory : 1,069,416,448 bytes
[Broker] MNG-1001 : Web Management Startup
[Broker] MNG-1002 : Starting : HTTP : Listening on port 8081

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: unable to start tomcat while qpid is running

Posted by lhoffman <lh...@netcentricinc.com>.
So I have looked and looked...How do I tell Qpid to not listen on port 8080? 
I don't see that in any config file.

Thanks
L


Rob Godfrey wrote:
> 
> There are two Qpid Brokers, one written in Java, on in C++.
> 
> The Qpid Java broker includes a web management console which by
> default starts on port 8080.  If you are using this, and your tomcat
> configuration is also running on port 8080 then clearly they will not
> both start on the same machine at the same time.  If this is the case
> then you need to change either the configuration of Tomcat or the
> configuration of the Java Broker.  Similarly if you have chosen JMX
> ports to be the same in Tomcat and Qpid you will get a clash.
> 
> If you are running the C++ broker I have no idea why that would have
> an issue with Tomcat unless again you were trying to use the same port
> in configurations for both Qpid and Tomcat.
> 
> -- Rob
> 
> On 26 October 2012 10:21, Ramaprasad <pr...@gmail.com> wrote:
>>
>> yes, Qpid mean qpid borker
>> Operating system windowXP
>> qpid version is 0.18
>> tomcat version 6.0.26
>> qpid is listening 8999
>>
>>
>>
>> Darryl L. Pierce-2 wrote:
>>>
>>> On Thu, Oct 25, 2012 at 06:35:30AM -0700, Ramaprasad wrote:
>>>> When I follow the following sequence of actions, unable to start tomcat
>>>> 1. start qpid
>>>> 2. start tomcat
>>>
>>> Can you give som emore detail? By Qpid, you mean the qpidd broker? On
>>> what operating system? Which versions of Tomcat and Qpid? On what port
>>> is qpidd listening, assuming you're referring to the broker? What is the
>>> exactly error text you're seeing in Tomcat's logs?
>>>
>>> --
>>> Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
>>> Delivering value year after year.
>>> Red Hat ranks #1 in value among software vendors.
>>> http://www.redhat.com/promo/vendor/
>>>
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/unable-to-start-tomcat-while-qpid-is-running-tp34601091p34604648.html
>> Sent from the Qpid Developers mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
>> For additional commands, e-mail: dev-help@qpid.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/unable-to-start-tomcat-while-qpid-is-running-tp34601091p35000037.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: unable to start tomcat while qpid is running

Posted by Rob Godfrey <ro...@gmail.com>.
There are two Qpid Brokers, one written in Java, on in C++.

The Qpid Java broker includes a web management console which by
default starts on port 8080.  If you are using this, and your tomcat
configuration is also running on port 8080 then clearly they will not
both start on the same machine at the same time.  If this is the case
then you need to change either the configuration of Tomcat or the
configuration of the Java Broker.  Similarly if you have chosen JMX
ports to be the same in Tomcat and Qpid you will get a clash.

If you are running the C++ broker I have no idea why that would have
an issue with Tomcat unless again you were trying to use the same port
in configurations for both Qpid and Tomcat.

-- Rob

On 26 October 2012 10:21, Ramaprasad <pr...@gmail.com> wrote:
>
> yes, Qpid mean qpid borker
> Operating system windowXP
> qpid version is 0.18
> tomcat version 6.0.26
> qpid is listening 8999
>
>
>
> Darryl L. Pierce-2 wrote:
>>
>> On Thu, Oct 25, 2012 at 06:35:30AM -0700, Ramaprasad wrote:
>>> When I follow the following sequence of actions, unable to start tomcat
>>> 1. start qpid
>>> 2. start tomcat
>>
>> Can you give som emore detail? By Qpid, you mean the qpidd broker? On
>> what operating system? Which versions of Tomcat and Qpid? On what port
>> is qpidd listening, assuming you're referring to the broker? What is the
>> exactly error text you're seeing in Tomcat's logs?
>>
>> --
>> Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
>> Delivering value year after year.
>> Red Hat ranks #1 in value among software vendors.
>> http://www.redhat.com/promo/vendor/
>>
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/unable-to-start-tomcat-while-qpid-is-running-tp34601091p34604648.html
> Sent from the Qpid Developers mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: unable to start tomcat while qpid is running

Posted by Robbie Gemmell <ro...@gmail.com>.
>From the ports I am going to guess you are not using qpidd (c++) as Darryl
asked, but the Java broker instead.

The 0.18 Java broker will listen on the following ports with the default
config:
AMQP: 5672
RMI registry for JMX management: 8999
JMXConnectorServer:9099
HTTP management: 8080

I would guess you have tomcat using one of these ports, probably 8080, as
unless you have embedded the broker within it there should be no other
relation between the two and they wont be sharing a pid (which suggest your
'kill by pid' script is also based on the ports used).

You can either disable the http management using the
management.http.enabled element in etc/config.xml, or change the management
port by adding a 'port' element inside the existing management.http section
in etc/config.xml, e.g:

..
<management>
   <http>
      <port>your.port.number</port>
..

On 26 October 2012 09:21, Ramaprasad <pr...@gmail.com> wrote:

>
> yes, Qpid mean qpid borker
> Operating system windowXP
> qpid version is 0.18
> tomcat version 6.0.26
> qpid is listening 8999
>
>
>
> Darryl L. Pierce-2 wrote:
> >
> > On Thu, Oct 25, 2012 at 06:35:30AM -0700, Ramaprasad wrote:
> >> When I follow the following sequence of actions, unable to start tomcat
> >> 1. start qpid
> >> 2. start tomcat
> >
> > Can you give som emore detail? By Qpid, you mean the qpidd broker? On
> > what operating system? Which versions of Tomcat and Qpid? On what port
> > is qpidd listening, assuming you're referring to the broker? What is the
> > exactly error text you're seeing in Tomcat's logs?
> >
> > --
> > Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
> > Delivering value year after year.
> > Red Hat ranks #1 in value among software vendors.
> > http://www.redhat.com/promo/vendor/
> >
> >
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/unable-to-start-tomcat-while-qpid-is-running-tp34601091p34604648.html
> Sent from the Qpid Developers mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
> For additional commands, e-mail: dev-help@qpid.apache.org
>
>

Re: unable to start tomcat while qpid is running

Posted by Ramaprasad <pr...@gmail.com>.
yes, Qpid mean qpid borker
Operating system windowXP
qpid version is 0.18 
tomcat version 6.0.26
qpid is listening 8999



Darryl L. Pierce-2 wrote:
> 
> On Thu, Oct 25, 2012 at 06:35:30AM -0700, Ramaprasad wrote:
>> When I follow the following sequence of actions, unable to start tomcat
>> 1. start qpid
>> 2. start tomcat
> 
> Can you give som emore detail? By Qpid, you mean the qpidd broker? On
> what operating system? Which versions of Tomcat and Qpid? On what port
> is qpidd listening, assuming you're referring to the broker? What is the
> exactly error text you're seeing in Tomcat's logs?
> 
> -- 
> Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
> Delivering value year after year.
> Red Hat ranks #1 in value among software vendors.
> http://www.redhat.com/promo/vendor/
> 
> 
>  
> 

-- 
View this message in context: http://old.nabble.com/unable-to-start-tomcat-while-qpid-is-running-tp34601091p34604648.html
Sent from the Qpid Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Re: unable to start tomcat while qpid is running

Posted by "Darryl L. Pierce" <dp...@redhat.com>.
On Thu, Oct 25, 2012 at 06:35:30AM -0700, Ramaprasad wrote:
> When I follow the following sequence of actions, unable to start tomcat
> 1. start qpid
> 2. start tomcat

Can you give som emore detail? By Qpid, you mean the qpidd broker? On
what operating system? Which versions of Tomcat and Qpid? On what port
is qpidd listening, assuming you're referring to the broker? What is the
exactly error text you're seeing in Tomcat's logs?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/