I was running my script and it hanged and I had to force close.
Now this error appears:
Download "Plugins-manager.jar" from
https://jmeter-plugins.org/downloads/all/
Put downloaded .jar into JMETER_INSTALLED_DIRECTORY/lib/ext directory
Restart jmeter.
Open the script, it will show a download missing component dialog. Download missing component.
Hope this will help
It is indeed an error related to you missing the JMeter plugins. Since i am new to programming, I thought it might be useful i offer a more detailed guide on JMeter installation on Mac.
Prerequisites:
You have Java installed - i work with Java 8 version thus if you have an older or a newer version it might not work.
You can check your version with ~ java -version.
Here you can download the jdk 8: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.
You have brew installed. To install it run /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”, go to https://brew.sh/ for more info.
How to do it
Let’s first download the JMeter (version 4.0) from https://jmeter.apache.org/download_jmeter.cgi. You can find the zip files in the first section under Binaries - apache-jmeter-4.0.zip.
Alternatively, run brew install jmeter.
Then move it from Downloads to your root directory: (just for simplicity, you can put it anywhere you wish.
install apache-jmeter
Go inside that folder and it’s bin like this: ~ cd apache-jmeter-4.0/bin
From there run ./jmeter.sh
In JMeter you try to open the desired file but get the 'missing.class..' error:
missing.class com.thoughtworks.xstream.converters.ConversionException
Installing the JMeter plugins
Go to https://jmeter-plugins.org/wiki/PluginsManager/ and download the Plugins Manager JAR file.
Following the instructions: 'put the file into lib/ext directory' translates to you going to your apache-jmeter-4.0 folder (see the first screen shot) and place the file there inside lib/ext folder.
restart JMeter and you can see the Plugins Manager in JMeter Options.
Download plugins-manager.jar from https://jmeter-plugins.org/downloads/all/
Put plugins-manager.jar into jmeter/lib/ext
Restart jmeter
Open script, it will ask to download dependencies, press yes
Go to Plugin Manager and install all the required jar dependency
Re-start the application
I installed Jmeter on Ubuntu Linux using 'apt-get install jmeter', which it seems installs a very old version of Jmeter.
Old version => 2.x
I downloaded the latest version using curl and installed it and the problem disappeared.
New version => 5.x.
I think this is due to lower version JMeter.
Try with installing Apache Jmeter 3.3 and install python with enable "Add python.exe to Path http://www.python.org/downloads
i know it is late to respond to this query but it may help others who might face this issue in future.
For me, Moving to the latest Jmeter version 5.1.1 did the trick.
I was facing the same issue because i downloaded jmeter from
sudo apt install jmeter
and it installed the jmeter of version 2.X.X. Which i guess doesn't support anything now a days. I uninstalled the jmeter from command:
sudo apt purge jmeter
And installed the latest jmeter from http://jmeter.apache.org/download_jmeter.cgi?Preferred=https%3A%2F%2Fdownloads.apache.org%2F After that in bin folder as i'm using ubuntu Os i used command
sh jmeter.sh
Jmeter worked fine!!!
Related
Has anyone installed logstash-input-jmx (or any other "community" plugin for Logstash) in RHEL?
How did you manage the Ruby/gem dependencies?
After installing a recent version of Ruby, RubyGems, and Rails, the development/runtime gem dependencies have to be resolved, but attempting to install any of the gems mentioned in here, would lead to endless missing dependencies ...
Are there any packaged versions of Logstash JMX plugin around?
Thanks,
Babak.
Welcome to the house of fun. What I did was, which may be out of your scope but it might help....
$logstash_location/bin/logstash-plugin list
(as you might expect this shows what can be installed to your instance)
$logstash_location/bin/logstash-plugin install logstash-input-jmx
The plugin itself should resolve its own dependencies. I was having all sort of problems in Docker, but I had to build my Logstash tarball external to the machine. Make sure connectivity is ok too. It's a service, not local to your machine.
This post clearly describes the steps required to install a "community" logstash plugin, and can be used to install jmx plugin on RHEL. I've tried it on RHEL 7.3.
The main thing to consider is that in RHEL 7.3 the logstash can be found under /usr/share/logstash/ rather than /opt/logstash
I've been trying to install marvel plugin in elastic search.
I've already installed ElasticSearch as following:
brew update
brew install elasticsearch
This installed the 2.3.1 version.
Accordingly to the instructions, to install a plugin I had to go to the ES folder/bin and use the plugin script.
But in that folder there was no plugin script that helped me install the plugins. All there was in the bin folder was the elasticsearch script.
Thanks in advance for any help you can provide me.
For Mac OS, the plugin executable should be available in /usr/local/opt/elasticsearch/bin/plugin
Follow next command and see where plugin system is installed brew list elasticsearch|grep -m1 plugin
I've been trying to get past step one of installing grails, which is bad i know. But the issue im having is getting grails to work via the OSX terminal. similar to node using brew I type the command
brew install grails
this retrieves grails and installs it, simple. to see if its installed correctly you type grails -version
However when i do that it's as though my terminal restarts. Its a hard thing to describe so here is a link to a youtube video that shows you what happens. I have JAVA installed and working. Anyone have an idea?
https://www.youtube.com/watch?v=ButLwGfBTZo
As this is the first excursion I have had into any Java related development. I made a rookie mistake and was unaware of vital piece of information. You do not need Java to run Grails you need the Java Development Kit (JDK). Which is a different thing completely apparently.
Available here
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Once installed run this command in the terminal /usr/libexec/java_home -V This will show you all of the current Java Virtual Machines installed. In my case
Matching Java Virtual Machines (1):
1.8.0_11, x86_64: "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_11.jdk/Contents/Home
You then need to set your JAVA_HOME Environment variable to point to your JVM. Like so export JAVA_HOME=$(/usr/libexec/java_home) use /usr/libexec/java_home rather than the true location as this will specifi the version set in Java Preferences for the current user. The source for that nice little trick is here http://www.mkyong.com/java/how-to-set-java_home-environment-variable-on-mac-os-x/
Once you've done that you can type the command brew install grails or gvm install grails which is what i should probably use rather than brew as "SurrealAnalysis" rightly pointed out in one of the answers.
moment of truth grails -version and i got a response Grails version: 2.4.3... sweet.
Thank you all for the replies and help.
Following previous post, GVM it is not available in Homebrew, because of this.
GDK is also now officially SDKMAN!.
So, the steps would be:
curl -s "https://get.sdkman.io" | bash
source "/Users/{YOUR_USER_NAME}/.sdkman/bin/sdkman-init.sh"
sdk install groovy
Hope it helps! :)
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (generate-core-thrift) on project accumulo-core: Command execution failed. Cannot run program "C:\Documents and Settings\deepak\trunk\core\src\main\thrift\thrift.sh" (in directory "C:\Documents and Settings\deepak\trunk\core"): CreateProcess error=193, %1 is not a valid Win32 application -> [Help 1]
I went to the directory trunk containing pom.xml and executed: mvn compile
I tried finding the plugin at http://maven.apache.org/plugins/ but couldn't find any .
Can anyone please explain what the problem is ? These open source things are so complex.
Apache Accumulo does not currently support Windows in its build system. Consider using Ubuntu, Fedora, CentOS, Mac OSX, or another Linux or BSD system. If you really must build in Windows, you my have luck with Cygwin.
It's 2022 and we can now build Apache Accumulo on Windows using Windows Subsystem for Linux.
If you want to access your Linux files from Windows, the path is:
\\wsl$\<DistroName>\home\<UserName>
Note: the above is only available when you have a WSL instance up and running.
Assuming you have a clean install of Ubuntu on WSL. Open a WSL terminal for the setup steps.
Setup
Install OpenJDK
Update list of available packages.
sudo apt update
Search for available JDKs.
apt search jdk
We will be installing JDK11 as Accumulo uses that.
sudo apt-get install openjdk-11-jdk
Check for a successful installation.
java --version
Configure JAVA_HOME
readlink -f $(which java)
Removing /bin/java from the end of the output of the above command gives us the path to the JDK.
nano ~/.bashrc
Add the following line at the bottom of the file.
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
Reflect changes.
source ~/.bashrc
Ensure the changes are in effect.
echo $JAVA_HOME
Install make and g++
sudo apt install make
sudo apt install g++
Build
Clone the repo and cd to repo root.
Now build using (from WSL terminal)
mvn package
If you are using a Windows terminal (likely when using IDEs or GUI tools) prefix wsl,
wsl mvn package
There is another description for error 193: "You may see Windows error code 193 when you are starting a Windows Share Point server or a Windows Exchange server. The error message will also generate general Service Control Manager messages in your system logs, too."
Windows error code 193
Although it doesn't have direct answer on your problem but may be it will be also helpful for you.
Can anyone please provide me the direct to download the Ab.exe Apache benchmark utility?
On Ubuntu, I can install ab without installing all of Apache via the apache2-utils package. So:
sudo apt-get install apache2-utils
Just download Apache (www.apache.org). It comes with it (in ApacheX.X/bin)
...Guessing (from one of your other questions) that you're using a Mac... there appear to be instructions here:
http://switch.richard5.net/isp-in-a-box-v2/installing-apache-on-mac-os-x/
(if not, I can probably help with a Windows installation, but in general, Google is your friend!)
A list of mirrors for the windows binaries can be found here.
There are some basic instructions here:
http://www.ricocheting.com/how-to-install-on-windows/apache
...basically, install it, and the ab.exe will be in the 'bin' subdirectory of the installation
TMB nailed it with the link to XAMMP in the following question : How to install apache bench on windows 7?
For Windows Users there is no direct binary download.
One has do install the Apache server via the msi setup package, grab ab.exe from the Program Files/Apachge Group/bin folder and uninstall Apache again.
link to the msi package I used was once here:
http://mirror2.klaus-uwe.me/apache//httpd/binaries/win32/httpd-2.0.65-win32-x86-no_ssl.msi
but this is 404 as of today.
http://mirror2.klaus-uwe.me/apache//httpd/binaries/win32/
might help.
Download the Apache MSI-package (https://httpd.apache.org/download.cgi -> Binaries for the version you want -> win32 directory -> httpd-...-win32-x86-no_ssl.msi), open this .msi file with 7-Zip, find ab.exe, select it, and copy it to wherever you want.
I've just done that with http://.../httpd/binaries/win32/httpd-2.2.25-win32-x86-no_ssl.msi, and it works for me.
CentOS and Fedora users can find Apache Benchmark in package httpd-tools.
Example:
# CentOS
sudo yum install httpd-tools
# Fedora
sudo dnf install httpd-tools
Use installed Apache Benchmark binary as ab.
Get the .msi from archive site:
http://archive.apache.org/dist/httpd/binaries/win32/
once installed, go to your Windows explorer to the installation path like:
C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\ab.exe