Hermes Cofiguration with SoapUI 5.0.0 - jms

I am trying to set hermesJMS config file under prefernces --> tools and have given the whole path of hermes-config.xml file like this c:\..\..\hermes-config.xml and saved the preferences. But when I am trying to open HermesJMS under tools from soapUI 5.0.0 it complains about setting the prefernces, which I've already set. I also tried restarting soapUI but doesnt work. Any help is appreciated. HermesJMS was installed when I installed soapui 5.0.0. I didnt install it separately. Thanks.

Got it working, we've to give path upto hermesJMS folder and not to hermes-config.xml file for soapUI 5.0.0 (hermes installed with soapUI). Thanks

I got a similar issue on latest version 5.0 - Error: Could not create the Java Virtual Machine.
Just that it may be helpful for others I am sharing the work around. Most likely, it was a memory issue.
By default, the location is C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\hermesJMS what you mentioned above. So, no need to change it.
One can go hermes.bat file at location C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\hermesJMS\bin and edit last line -XX:NewSize=256m -Xmx512m to -XX:NewSize=256m -Xmx1024m.

Related

Static files of drf-yasg is not found on production server #835

Static file not found
I'm using Django 4.0.2, drf-yasg is 1.21.4 and django-rest-swagger 2.2.0
I have installed all of the above mentioned things and swagger is working fine on my local system and everything working as expected.
But when I have pushed this code on the server (production) I'm getting a file not found error.
I have also attached a snapshot for the refernce.
I tried a few things related to static file location like STATICFILES_DIRS and collectstatics but it's not working.
Also tried to changibng the urls and path but still getting the same error
Can you please help me to resolve this issue?
Thanks! in Advance
You should install whitenoise, the problem will be solved
pip install whitenoise

Elasticsearch failed to start - CreateJavaVM Failed

sorry if this is a trivial question, but I've been banging my head against this and I'm getting nowhere, so I thought I'd throw it up.
I'm trying to install Elasticsearch on an Windows 2008 server on Azure. It appears to have installed correctly, but I cannot get it to start.
I have looked around for similar errors and double-checked my JAVA_HOME variable - it appears to be correct, as does the config file.
I also expanded out the heap size via editing the java options files, still no luck.
Any help would be greatly appreciated
Output Log file
JAVA_HOME variable
Which version are you installing? The latest, which would be 5.5.0?
Which installation method did you use? The ZIP or the MSI file?
The last line in your Output Log file screenshot actually shows the error message: The data area passed to a system call is too small.
I'm taking a wild guess: You set Java_HOME in the user variables, but it must be set in the system variables.

iReport-5.6.0 is not working

I installed iReport-5.6.0 on my system. I have jadk - 1.6.0_37 installed on my machine.
When I double click on iReport icon on my desktop, initially it shows loading cursor for 1-2 seconds and then disappeares. After that there is no responce.
I am not getting exactly what happening or what do I need to configure.
I edited ireport.config file and added path "C:\Program Files\Java\jdk1.6.0_37\bin". But its giving me following message:
When I am clicking on Ok its sying need to specify userdir using command --userdir.
Can someone please help me to configure this?
I got the solution :)
I replaced installation directory from "program files/jaspersoft/" to "program files(x86)" and updated my jdk path in ireport.config. Now its working fine.

Uninstalling IBM WebSphere

I am uninstalling WebSphere from my drive E by using IBM installation Manager, during uninstallation it gives me the following error:
"E:\Program Files\IBM\WebSphere\AppServer\bin\clearClassCache.bat" not found"
I have searched and found that the location of clearClassCache.bat file is:
"E:\Program Files\IBM\WebSphere\AppServer\profiles\AppSrv01\bin"
Should i copy the file from AppSrv01\bin to AppServer\bin and retry uninstallation? Or is there any other solution to this problem?
Scripts under AppServer\profiles\AppSrv01\bin should also be under AppServer\bin, but the copy under profiles is often (always?) modified to be profile-specific. So I doubt that copying it will work for you.
That specific script is under my AppServer\bin, so it seems it's been removed in your case. Possibly from the earlier part of the uninstallation.
Kinda an old question but here it goes.
Uninstall script is in <application_server>\uninstall folder. Not sure what is called under Windows but on Linux it is <application_server>\uninstall\uninstall ( yes script has the same name as folder)

How to resolve the error "Unable to access jarfile ApacheJMeter.jar errorlevel=1" while initiating Jmeter?

Download Jmeter and execute the batch file (Jmeter\apache-jmeter-2.6\bin\jmeter.bat).
We get the error message in the console:
Unable to access jarfile ApacheJMeter.jar errorlevel=1
Kindly help me to resolve the problem.
Try downloading apache-jmeter-2.6.zip from http://www.apache.org/dist/jmeter/binaries/
This contains the proper ApacheJMeter.jar that is needed to initiate.
Go to bin folder in the command prompt and try java -jar ApacheJMeter.jar if the download is correct this should open the GUI.
Edit on 23/08/2018:
The correct answer as of current modern JMeter versions is https://stackoverflow.com/a/51973791/460802
I got this error today because the "Source" is missing the ApacheJmeter.jar. I downloaded it again from "Binaries" and everything works as expected.
JMeter should be started using :
jmeter/bin/jmeter.sh for Linux
jmeter/bin/jmeter.bat for windows
this will ensure correct property files are read and necessary jars in lib are loaded.
any other method will expose you to a lot of trouble.
the most upvoted answer is wrong !
See 1.4 Running JMeter in reference documentation :
https://jmeter.apache.org/usermanual/get-started.html
If you'd like to learn more about JMeter and performance testing this book can help you.
I'm running JMeter 2.8 (Windows 7) and received a message similar to that in the original post:
C:\>jmeter
Error: Unable to access jarfile C:\local\software\jMeter\apache-jmeter-2.8\binApacheJMeter.jar
errorlevel=1
Press any key to continue . . .
I'd created a Windows environment variable JMETER_BIN and set it to the JMeter path which I could see contained ApacheJMeter.jar (so it wasn't a question that the jar was missing).
I should have noticed at the time this portion of the error: "binApacheJMeter.jar"
When I went to the jmeter.bat file to troubleshoot, I noticed this line:
%JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS%
and that caused me to revisit the "binApacheJMeter.jar" portion of the error.
What was happening was that the batch file was requiring a trailing slash on the end of the path in the JMETER_BIN environment variable to correctly specify the location of the .jar.
Once I corrected my environment variable, adding the trailing slash, all was wonderful.
YMMV, but this worked for me.
If you'll go through these steps:
In the Terminal type brew install jmeter and hit Enter
When it'll be done type jmeter and hit Enter again
You won't have to solve any kind of issue.
Don't thank 😀
I faced with the same error, when i downloaded the Jmeter Source, and it got fixed once i downloaded Jmeter Binary. Please watch this video.
navigate to the url http://jmeter.apache.org/download_jmeter.cgi-->download apache-jmeter-2.11.zip, which is under binaries.
this error is occurring since Apache jmeter.jar is missing in bin folder
If you are using linux and faced such problem during creating link, try to change jar file path of original jmeter file.
+ java -server -XX:+HeapDumpOnOutOfMemoryError -Xms512m -Xmx512m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2 -XX:PermSize=64m -XX:MaxPermSize=128m -XX:+CMSClassUnloadingEnabled -jar ./ApacheJMeter.jar -help
Change to:
java $ARGS $JVM_ARGS -jar "/opt/apache-jmeter-2.11/bin/ApacheJMeter.jar" "$#"
Try to use updated JMeter version which is JMeter 3.0 now.
I had moved the apache jmeter folder to c:, open cmd with admin grant and execute jmater.bat.
This solved the problem for me.
This error could also happen because of version mismatch of jmeter and java. As jmeter versions supports different java versions as below.
Download the zip accordingly and you are good to go.
For people still getting the issue.
I face same problem and seems some .jar file missing.
so try tar -xf apache-jmeter-5.2.1.tgz in the console rather than just right click unzip. And also, try binary package if source package still has an issue.
this solve my issue (I am using ubuntu)
For window if you download scr folder say apache-jmeter-5.3_src then you won't find ApacheJMeter.jar file insider bin folder.One might have downloaded zip file under source section. Form this link download zip file under binaries section and click on ApacheJMeter.jar from bin folder https://jmeter.apache.org/download_jmeter.cgi
When we download the binary of apache-jmeter-x.x.tgz, where x could be any version of apache Jmeter. ApacheJMeter.jar must present inside apache-jmeter-x/bin folder , if it is not present somewhere your package not downloaded properly. Cause could be slow internet, or improper shutdown
Download package again and make sure ApacheJMeter.jar present in apache-jmeter-x/bin folder. Once it is present hit sh jemeter.sh
This issue will come if you download the source from the below URL :
https://jmeter.apache.org/download_jmeter.cgi
Solution :
Always download :
Apache JMeter 5.5 (Requires Java 8+)
Binaries
apache-jmeter-5.5.tgz sha512 pgp
apache-jmeter-5.5.zip sha512 pgp --- > This one
worked for me

Resources