You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Richie84 <ri...@aim.com> on 2009/01/28 14:58:28 UTC

Webconsole and Tomcat

Hi All

Sorry if this is a really basic question,

I'm wondering if anyone can help me out, I am trying to understand deploying
the activemq web console to tomcat. A couple of questions to start of

1) When you deploy the web console to tomcat, is this supposed to link to
broker instances that are already running on the server, or is it seen as a
separate instance of a message broker?

My understanding is that the web console should show details of brokers that
have already been started within activemq.

If someone can just clear this up for me that would be great.

Thanks

Richard
-- 
View this message in context: http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21706211.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Webconsole and Tomcat

Posted by James Strachan <ja...@gmail.com>.
The first error in the log looks descriptive...

2009-01-30 14:09:58,278 [main           ] ERROR BrokerService
        - Failed to start ActiveMQ JMS Message Broker. Reason:
java.lang.RuntimeException: java.io.IOException: Failed to create
directory 'activemq-data/localhost/tmp_storage'
java.lang.RuntimeException: java.io.IOException: Failed to create
directory 'activemq-data/localhost/tmp_storage'

looks like its not got permission to create the ActiveMQ data directory.


2009/1/30 Richie84 <ri...@aim.com>:
>
> Hi Degan
>
> There was a reference to jetty in the WEB-INF/activemq.xml file, however i
> have now done a fresh deployment of the web console, as I had previously
> made amendments to some of the config files to try and get it to work so i
> might have adding something that wasn't required. So now all the files are
> original from the deployment.
>
> When I start it up now, I do appear to be getting different errors, I have
> uploaded the errors which i think have the most relevance.
>
> http://www.nabble.com/file/p21748402/Errors.txt Errors.txt
>
> I don't know if there is configuration in any of the xml files that i need
> to do to get it to connect to my brokers that are running through activemq.
> Apologies if this is basic stuff.
>
> Regards
>
> Richard
>
>
>
> Dejan Bosanac wrote:
>>
>> Do you have <jetty> tag left in your WEB-INF/activemq.xml file?
>>
>> Cheers
>> --
>> Dejan Bosanac
>>
>> Open Source Integration - http://fusesource.com/
>> ActiveMQ in Action - http://www.manning.com/snyder/
>> Blog - http://www.nighttale.net
>>
>>
>> On Thu, Jan 29, 2009 at 3:25 PM, Richie84 <ri...@aim.com> wrote:
>>
>>>
>>> Hi
>>>
>>> Thanks for that, I have had a look at the documentation and attempted to
>>> deploy the web console within tomcat. This seems to all go well, with the
>>> console appearing to deploy succesfull within the webapps folder, I have
>>> placed activemq-all.jar within the common/lib folder, and added amended
>>> the
>>> configuration as stated. However when i browse to the URL it shows the
>>> following HTTP info page.
>>>
>>> HTTP Status 404 - /activemq-web-console-5.2.0/
>>>
>>> type Status report
>>>
>>> message /activemq-web-console-5.2.0/
>>>
>>> description The requested resource (/activemq-web-console-5.2.0/) is not
>>> available.
>>>
>>> When browsing the Tomcat logs the following entries are being made,
>>>
>>> http://www.nabble.com/file/p21727814/Errors.txt Errors.txt
>>>
>>> After deploying the web console, do you need to configure any of the xml
>>> files in order to link to an instance of a broker that is running?
>>>
>>> Any pointers would be great,
>>>
>>> Thanks
>>>
>>> Richard
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21727814.html
>>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>> -----
>> Dejan Bosanac
>>
>> Open Source Integration - http://fusesource.com/
>> ActiveMQ in Action - http://www.manning.com/snyder/
>> Blog - http://www.nighttale.net
>>
>
> --
> View this message in context: http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21748402.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>



-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://fusesource.com/

Re: Webconsole and Tomcat

Posted by Richie84 <ri...@aim.com>.
Hi Degan

There was a reference to jetty in the WEB-INF/activemq.xml file, however i
have now done a fresh deployment of the web console, as I had previously
made amendments to some of the config files to try and get it to work so i
might have adding something that wasn't required. So now all the files are
original from the deployment.

When I start it up now, I do appear to be getting different errors, I have
uploaded the errors which i think have the most relevance.

http://www.nabble.com/file/p21748402/Errors.txt Errors.txt 

I don't know if there is configuration in any of the xml files that i need
to do to get it to connect to my brokers that are running through activemq.
Apologies if this is basic stuff.

Regards

Richard



Dejan Bosanac wrote:
> 
> Do you have <jetty> tag left in your WEB-INF/activemq.xml file?
> 
> Cheers
> --
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> On Thu, Jan 29, 2009 at 3:25 PM, Richie84 <ri...@aim.com> wrote:
> 
>>
>> Hi
>>
>> Thanks for that, I have had a look at the documentation and attempted to
>> deploy the web console within tomcat. This seems to all go well, with the
>> console appearing to deploy succesfull within the webapps folder, I have
>> placed activemq-all.jar within the common/lib folder, and added amended
>> the
>> configuration as stated. However when i browse to the URL it shows the
>> following HTTP info page.
>>
>> HTTP Status 404 - /activemq-web-console-5.2.0/
>>
>> type Status report
>>
>> message /activemq-web-console-5.2.0/
>>
>> description The requested resource (/activemq-web-console-5.2.0/) is not
>> available.
>>
>> When browsing the Tomcat logs the following entries are being made,
>>
>> http://www.nabble.com/file/p21727814/Errors.txt Errors.txt
>>
>> After deploying the web console, do you need to configure any of the xml
>> files in order to link to an instance of a broker that is running?
>>
>> Any pointers would be great,
>>
>> Thanks
>>
>> Richard
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21727814.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -----
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 

-- 
View this message in context: http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21748402.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Webconsole and Tomcat

Posted by Dejan Bosanac <de...@nighttale.net>.
Do you have <jetty> tag left in your WEB-INF/activemq.xml file?

Cheers
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Thu, Jan 29, 2009 at 3:25 PM, Richie84 <ri...@aim.com> wrote:

>
> Hi
>
> Thanks for that, I have had a look at the documentation and attempted to
> deploy the web console within tomcat. This seems to all go well, with the
> console appearing to deploy succesfull within the webapps folder, I have
> placed activemq-all.jar within the common/lib folder, and added amended the
> configuration as stated. However when i browse to the URL it shows the
> following HTTP info page.
>
> HTTP Status 404 - /activemq-web-console-5.2.0/
>
> type Status report
>
> message /activemq-web-console-5.2.0/
>
> description The requested resource (/activemq-web-console-5.2.0/) is not
> available.
>
> When browsing the Tomcat logs the following entries are being made,
>
> http://www.nabble.com/file/p21727814/Errors.txt Errors.txt
>
> After deploying the web console, do you need to configure any of the xml
> files in order to link to an instance of a broker that is running?
>
> Any pointers would be great,
>
> Thanks
>
> Richard
>
> --
> View this message in context:
> http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21727814.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>

Re: Webconsole and Tomcat

Posted by Richie84 <ri...@aim.com>.
Hi

Thanks for that, I have had a look at the documentation and attempted to
deploy the web console within tomcat. This seems to all go well, with the
console appearing to deploy succesfull within the webapps folder, I have
placed activemq-all.jar within the common/lib folder, and added amended the
configuration as stated. However when i browse to the URL it shows the
following HTTP info page.

HTTP Status 404 - /activemq-web-console-5.2.0/

type Status report

message /activemq-web-console-5.2.0/

description The requested resource (/activemq-web-console-5.2.0/) is not
available.

When browsing the Tomcat logs the following entries are being made, 

http://www.nabble.com/file/p21727814/Errors.txt Errors.txt 

After deploying the web console, do you need to configure any of the xml
files in order to link to an instance of a broker that is running?

Any pointers would be great,

Thanks

Richard

-- 
View this message in context: http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21727814.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: Webconsole and Tomcat

Posted by Dejan Bosanac <de...@nighttale.net>.
Hi,

take a look at this article for starters

http://activemq.apache.org/web-console.html#WebConsole-StartingtheWebConsoleinaseperateVM/inaWebContainer

Regards
--
Dejan Bosanac

Open Source Integration - http://fusesource.com/
ActiveMQ in Action - http://www.manning.com/snyder/
Blog - http://www.nighttale.net


On Wed, Jan 28, 2009 at 2:58 PM, Richie84 <ri...@aim.com> wrote:

>
> Hi All
>
> Sorry if this is a really basic question,
>
> I'm wondering if anyone can help me out, I am trying to understand
> deploying
> the activemq web console to tomcat. A couple of questions to start of
>
> 1) When you deploy the web console to tomcat, is this supposed to link to
> broker instances that are already running on the server, or is it seen as a
> separate instance of a message broker?
>
> My understanding is that the web console should show details of brokers
> that
> have already been started within activemq.
>
> If someone can just clear this up for me that would be great.
>
> Thanks
>
> Richard
> --
> View this message in context:
> http://www.nabble.com/Webconsole-and-Tomcat-tp21706211p21706211.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
>