Hi Farasath,

Try Checking for ActiveMQ package repo as in answer in [1]. If not try
creating it as mentioned.

Also you can try [2] for any further fails by creating a config file.

[1]
http://stackoverflow.com/questions/17189053/how-to-start-activemq-on-an-ec2-machine

[2]
http://stackoverflow.com/questions/11231640/activemq-will-not-start-on-my-ubuntu-vm

On Sat, Feb 14, 2015 at 9:15 AM, Shavantha Weerasinghe <[email protected]>
wrote:

> Hi Farasath
>
> Try export ACTIVEMQ_OPTS_MEMORY="-Xmx512M -Xms512M" . This forum[1] should
> have the answer to the issue
>
> [1]
> http://activemq.2283324.n4.nabble.com/Activemq-on-amazon-ec2-td4667506.html
>
> Regards,
> Shavantha Weerasinghe
> Senior Software Engineer QA
> WSO2, Inc.
> lean.enterprise.middleware.
> http://wso2.com
> http://wso2.org
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
> On Fri, Feb 13, 2015 at 11:32 PM, Farasath Ahamed <[email protected]>
> wrote:
>
>> I am trying to do $subject.
>>
>> I tried to do this in two ways
>>
>> 1. installing using apt-get after ssh into ec2
>> 2. copying tar.gz using scp client
>>
>> in both ways when i run the broker using
>> bin/activemq start
>>
>> which gives me,
>>
>> *INFO: Loading '/etc/default/activemq'*
>> *INFO: Loading '/home/ubuntu/.activemqrc'*
>> *INFO: Using java '/usr/bin/java'*
>> *INFO: Starting - inspect logfiles specified in logging.properties and
>> log4j.properties to get details*
>> *INFO: pidfile created :
>> '/home/ubuntu/apache-activemq-5.10.0/data/activemq-ip-172-31-20-55.pid'
>> (pid '18284')*
>>
>> it creates a pid file, but a subsequent
>>
>> bin/activemq status reveals
>>
>> *INFO: Loading '/etc/default/activemq'*
>> *INFO: Loading '/home/ubuntu/.activemqrc'*
>> *INFO: Using java '/usr/bin/java'*
>> *ActiveMQ not running*
>>
>>
>> am I missing something here?
>> Can someone point me to the correct way of getting this done?
>>
>>
>>
>> --
>> *Farasath Ahamed*
>> Software Engineering Intern
>> WSO2 Inc.; http://wso2.com
>>
>> Mobile: +94 777 603 866
>> E-Mail:  farasath <http://goog_1999535192>[email protected]
>> Blog: http://thepseudocode.blogspot.com/
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Malith Munasinghe | Software Engineer
M: +94 (071) 9401122
E: [email protected]
W: http://wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to