Run ScadaLTS with derby - derby

Is it possible to run ScadaLTS with derby instead mysql?
I tried to change to env.properties file but Scada doesn't srtart.
Thanks.

Yes! I'm using the ScadaLTS with Derby.
edit the env.properties file. You can find how change the env.properties file from ScadaBR manual Chapter 8
You can find a copy here:
Manual ScadaBR English 8 Chapter 8
Feedback are welcome!

Related

When I install Salt on OS X, cannot find configuration file

I am new to Salt, just want to install it on my MacBook for work.
I follow the instructions in https://salt.readthedocs.org/en/v0.16.4/topics/installation/osx.html
When I move the the step Salt-Master Customizations, I find I cannot find the configuration file.
I go to directory /etc/salt via Finder and only find one directory pki.
From http://docs.saltstack.com/en/latest/ref/configuration/examples.html#configuration-examples-master, it provides a sample configuration file. Then I am not sure what to do next? Do I need to create a configuration file under the directory of /etc/salt? If so, how to name the configuration file? Name it as master.conf?
Thanks very much!
Create a new file as:
/etc/salt/master
and add the sample configuration file you have found. More details can be found on the configuration page here: Configuring Salt
Have you tried adding -c /path/to/config/dir/ when starting the master?

Can Apache Configuration File (httpd.conf) Be Located Elsewhere?

I have been using Apache on Windows (+PHP +MySQL) for a long time now. Lately, I decided to have the configuration files of Apache, PHP and MySQL in one directory, outside of the installation folders of any of them.
With PHP it works by setting PHPIniDir in Apache's httpd.conf
With MySQL it works by setting the --defaults-file=<path/to/my.ini> option while installing on the command line as a Windows service.
With Apache itself, I haven't been able to find a way. Is it possible to choose an arbitrary location or name for the httpd.conf file? And how?
Thank you.
you could use "..-f httpd.conf" on startup. see http://httpd.apache.org/docs/current/de/invoking.html
Regards

Hermes Cofiguration with SoapUI 5.0.0

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.

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

Solr 3.1 index directory not found using post.jar from Windows CMD - newbie install following tutorial and getting #400 MIssing Solr Core Name error

Help. For the past two days I've tried to get Solr to index the exampledocs. I've learned a lot, but am completely stuck. I've tried it on two different Windows 7 PCs.
I'm following the basic tutorial at http://lucene.apache.org/solr/tutorial.html, I tried with Solr 1.4 and 3.1. I can get to the Solr admin page just fine and everything seems to be working at http://localhost:8983/solr/admin/.
Following the next step in tutorial to create sample index with java -jar post.jar *.xml inside Windows CMD screen. The process starts to read the first file (HD.xml) and then throws me the #400_Missing_Solr_Core_Name_in_path error.
I get same error when I try with -Durl=http://localhost:8938/solr/update command.
When I run start.jar, I can see in the resulting msgs:
Warning [] Solr index directory 'solr.\data\index doesn't exist. Creating new index.
I can then see the new data\index subdirectory, but why isn't solr recognizing it when using the post.jar?
I have not changed anything in the solrconfig.xml, which shows: ${solr.data.dir:}
My Solr admin shows this: cwd=C:\Program Files\Solr3\example SolrHome=solr.\
My directory structure is simply:
Solr3\client
solr3\contrib
solr3\dist
solr3\docs
solr3\example
solr3\example\etc
solr3\example\example-DIH
solr3\example\exampledocs
solr3\example\lib
solr3\example\logs
solr3\example\multicore
solr3\example\solr\bin
solr3\example\solr\conf
solr3\example\solr\data
solr3\example\solr\data\index
solr3\example\webapps
solr3\example\work
solr3\example\start.jar
I'm pulling my hair out just following the basic tutorial. Granted I'm using Windows OS, but what am I doing wrong?
Any help would be greatly appreciated.
UPDATE:
FINALLY got it to work on a 3rd Win 7 machine. Have no idea what went wrong on the first two... didn't think that the file structure of Solr would be so delicate. I had installed Lucid on the first PC (successfully) to learn and then tried using Solr under Tomcat, (defaults to :8080 instead of standard :8983), which probably buggered things up. Was surprised that I couldn't get basic Solr on Jetty to work on a 2nd clean Win7 PC.
The error says you have a multi-core setup, but you forgot to include the core name in the URL. So either you're running the multicore example or you modified the original default example.
If I run these simple steps it all works fine (Windows 7 64-bit, Java 1.6.0_20)
Unzip apache-solr-3.1.0.zip
Go to the "examples" directory, run java -jar start.jar, this launches the Solr server.
Go to the "examples/exampledocs" directory, run java -jar post.jar *.xml, you'll get this output:
SimplePostTool: version 1.3
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file gb18030-example.xml
SimplePostTool: POSTing file hd.xml
SimplePostTool: POSTing file ipod_other.xml
SimplePostTool: POSTing file ipod_video.xml
SimplePostTool: POSTing file mem.xml
SimplePostTool: POSTing file monitor.xml
SimplePostTool: POSTing file monitor2.xml
SimplePostTool: POSTing file mp500.xml
SimplePostTool: POSTing file sd500.xml
SimplePostTool: POSTing file solr.xml
SimplePostTool: POSTing file utf8-example.xml
SimplePostTool: POSTing file vidcard.xml
SimplePostTool: COMMITting Solr index changes..
From the solr mailing list :
. . .
The best tutorial is built right in:
http://lucene.apache.org/solr/tutorial.html
And you'll get your questions answered
here when you run into any issues.
Erik (Hatcher, the ,man!)
I hope this helps.
P.S. as you appear to be a new user, if you get an answer that helps you please remember to mark it as accepted, and/or give it a + (or -) as a useful answer.
I am running Solr on Windows/Tomcat. The Solr index files are located here for me.
C:\Program Files\Apache Software Foundation\Tomcat 7.0\solr\data\index
(I expected the data\index folder to be in the Solr Home directory, but it was not. Not sure why.)

Resources