ActiveMQ :Web demo not working - activemq

I am a newbie to activemq stuff.I tried to run the web demos using the steps mentioned on the site http://activemq.apache.org/web-samples.html and I am getting 404 not found.I googled for the same and tried digging through the logs as well .But my bad , I could not get any clue even from the logs. I even copied the demo folder to the webapps folder but some of the links don’t work.
Kindly help me out with the steps to run these web demos

.\bin\activemq.bat start xbean:examples/conf/activemq-demo.xml - works perfectly fine on Windows 10. start was missing in other answers.

I encounter similar issue in Windows Platform.
The documentation at Getting Started Page or Web Sample Page states how to start the ActiveMQ with examples in Linux/Unix Platform.
There is an minor issue in activemq.bat file as stated in Apache's JIRA. Put double quotes around %ACTIVEMQ_CONF%\login.config fixes this issue.
To Start ActiveMQ in Windows in unzipped apache-activemq-5.9.0 folder use the below command,
.\bin\activemq.bat xbean:examples/conf/activemq-demo.xml
I was able to open http://localhost:8161/demo/ without any Issue.

I ran into the same issue. It seems like
bin\activemq console
is not an option on Windows. I finally got around it by using:
bin/activemq start xbean:examples/conf/activemq-demo.xml
http://activemq.apache.org/version-5-getting-started.html#Version5GettingStarted-ActiveMQ5.9onwards

Related

Image php5.6-apache. debbuging my code

I'm using docker-compose to create two containers connected between them. (the images are php5.6-apache and mysql).
Everything is running OK. my problem is when i want to start working. i cant see the typical errors in php. (i always worked on xampp). i've seen a lot of documentation how to enable the debugs but i cant find a solution. I tried to find php.ini but apparently it is not in the apache container. I tried to install xdebug as the documentation...
anyone know how to do it?
I need to do it in php 5.6 as my application doesn't work with newer versions.

Errors when installing fbctf

I'm trying to install Facebook Capture the flag. I get the errors show in screenshot.
The Server is the recommended Ubuntu 14.4. Server 64bit.
Does anyone know how to fix them? Thanks!
It seems like some kind of locale issue. Maybe you can check here:
"Do you have your locale settings configured correctly? The vendor folder won't get created properly if you don't. I recommend following the instructions on this thread: https://askubuntu.com/questions/162391/how-do-i-fix-my-locale-issue"
The install instructions have been updated and is working as expected now.

Splunk Sideview Editor throws 404

I installed latest sideview utils app in my spunk 4.2.2 installation and ran straight away into a problem. Evertime I try to launch sideview editor it throws 404 errors.
Any pointers would help
This just means that you have not restarted Splunk after installing the app.
Splunk should give you a notification after installing the app through the Manager section, that a restart is required. I think that notification system in Splunk may not be working on all Splunk's supported platforms, because we seem to be getting this problem reported with some regularity, where something or other doesn't work properly and ends up being just because the server hasn't been restarted.
By the way, you'll find a ton of questions and answers about this app over on answers.splunk.com rather than here on stackoverflow.

problems deploying openMRS.war to glassfish v.2

I'm trying to deploy openMRS v.1.9.2 to a local VM running CentOS & Glassfish 2 for work. Unfortunately, I could not get it to work. Normally, I just download the standalone found at source forge. I just double-click the jar, and I'm good to go.
I normally just SSH into the the VM, so I first tried doing everything through a terminal. Here are the steps I took:
Using wget, retrieve the .zip
Create a dir (I just called it /openmrs), cd into the new directory, and then expand the .zip.
cd into the directory.
At this point, there are two options to start openMRS.
Run the bash script: ./run-on-linux.sh
Run the .JAR: java -jar [insert_jar_name].jar -commandline
When I run the .JAR, I get a stack trace.
When I try to run the bash script, I get another error.
Anyways, I thought I found a potential solution in an openMRS JIRA ticket, but it seems aimed at Glassfish 3, and not Glassfish 2 (which is what I need to use).
I then tried deploying the .WAR via the Glassfish admin UI. I thought it would work, but after going through the steps of selecting a language, whether or not to use demo data, etc. I received this.
Does anyone have experience deploying openMRS to Glassfish 2.1.1? Unfortunately Glassfish 3 doesn't seem to be a realistic option. I would really appreciate any help here. Thanks.
Although it doesn't solve my problem of not being able to successfully deploy openMRS to an instance of Glassfish v.2, I did manage to get myself further by just installing MySQL on the VM. Our work machines are all set up for postgres, so I think should have guessed earlier that not having a MySQL server installation was the problem.
Here is a tutorial I used to install MySQL

Joomla Mootools file getting truncated

I am trying to run Joomla on my local machine. I have installed wamp 2.0 and everything installed ok with it and I managed to see it running. I have now come to install Joomla 1.5.18 but I am having a problem with the mootools file on the installation wizard.
When running through the installation process in FireFox with firebug turned on I get errors about the mootools file missing a }. When I view the file through windows explorer it is complete and everything is fine with it but when I click on the error in firebug to see the error the file is truncated which I assume is why it is not working and complaining about a missing }. To test the file I created a test page which pulls in the same mootools file and this works fine (running locally and not through Joomla ).
Does anyone know why this is happening and how to fix it? I think it must be a problem with wamp as like I said the file is fine and runs ok if I run it from the file system, however I know nothing about servers so this is a guess. Maybe a limit on the size of a file which can be returned as the mootools file is around 7000 characters long.
I have tried un-installing both Joomla and Wamp but none this has not worked and I still get the same error. Thanks
I'm just curious, have you tried installing a newer version of Joomla? 1.5.8 is a little bit old and you may have better luck using something a version or two newer. Alternately speaking, if you're not a big fan of installing WAMP and then manually installing Joomla, you can use a Bitnami Joomla stack. Basically, Bitnami installs Apache, mySQL, PHP, and Joomla all in one quick and easy install.
I hope that some of this helps!
I would suggest that your problem is not with the Mootools package but with your template or modules that are loaded in. Can you turn off all of your modules and reenable them one by one until you see the error again?