What is the other local host server for sonar, since local 9000 is not working? - huawei-mobile-services

What is the other local host server for sonar, since local 9000 is not working? Should the command prompt be running in the background while using the local host? Since whenever I try to open start sonar the command prompt automatically closes.

This issue usually occurs if Java version being used is not Java 11. Therefore, do make sure that the installed java version is JAVA 11 only, as Sonarqube seems to have few compatibility issues when tried with other java versions.
How to download JAVA 11 ?
Download the zip from this link.
Say you have downloaded "openjdk-11.0.2_windows-x64_bin" in this location - "D:\openjdk-11.0.2_windows-x64_bin", then configure the following ENVIRONMENT_VARIABLES with values mentioned below:
a. JAVA_HOME - D:\openjdk-11.0.2_windows-x64_bin
b. PATH - D:\openjdk-11.0.2_windows-x64_bin\jdk-11.0.2\bin
Once this is done, you can make sure JAVA 11 is installed and configured by entering "java -version" in the command prompt window

Related

Is there any way to start a selenium server from the command prompt with out internet

i would like to run the selenium server from the command prompt with out the internet connection. Every time when i run below command
webdriver-manager start will always needs internet connection to start the server because this commands is checking for new binaries .
But i would like to run the selenium server with the binaries which are already downloaded to my system with out checking for new binaries.
When i search for above question i found a below solution.
webdriver-manager start --versions.standalone version number
Even though i am using above command and try to run the selenium server by specifying the version number still it is depends on internet connection.
Can any one help me how to start the selenium server with out internet . I dont want checking process while starting the server
Actually, webdriver-manager start execute a Java CLI after query latest binary, so you can just execute the Java CLI directly if you have download the binary to avoid access internet to query latest binary.
set Webdriver_Basedir=C:\Tools\npm-global\node_modules\webdriver-manager\selenium
java
-Dwebdriver.chrome.driver=%Webdriver_Basedir%\chromedriver_2.35.exe -Dwebdriver.gecko.driver=%Webdriver_Basedir%\geckodriver-v0.19.1.exe -jar %Webdriver_Basedir%\selenium-server-standalone-3.9.1.jar -port 4444
1.Download Selenium Remote Control from http://seleniumhq.org/download.
2.Extract the ZIP file.
3.Start a Command Prompt or a console window and navigate to where the ZIP file was extracted.
3.Run the command java –jar selenium-server-standalone.jar
Please try this the above

PHP Startup: unable to load dynamic library 'C:\xampp\php\ext\php_memcached.dll' -%1 is not a valid Win32 application

PHP Startup: unable to load dynamic library
'C:\xampp\php\ext\php_memcached.dll' -%1 is not a valid Win32
application.
This error is keep showing whenever I restart Apache Server(Using xampp).
I have installed memcached and started using command prompt, memcached.exe -d start and its running fine as I checked task manager.
Now, How to fix it? Am I not using right .dll file?
Try phpinfo() and check right on top, where it says Compiler, if you downloaded the correct VC8/9/10 32/64bit version of the .dll, exchange it - if needed - restart apache and you should be fine. Sometimes this can be a bit tedious to find the corresponding .dll's, good luck!
yes. regardless windows 64, 86 version nor non-thread safe version or other. Try all version to figure out if what version is suite for your xampp.

Eclipse 'Add CVS Repository' hangs on known-good settings

I have a CVS server which is known to be ok (works from other machines).
I am trying to set up Eclipse to connect from an Ubuntu box.
The following command-line command succeeds:
cvs -d ':extssh:myuser#myhost/path/to/repository' checkout myrepository
Yet when I do Eclipse 'Add CVS Repository' it hangs on this, using both extssh and pserver protocols. extssh using port 22.
(There's no error message, it just hangs. Regardless whether 'Validate connection on finish' is on or off.)
I verified that all of the settings are ok. Port 22 is not blocked.
I double-checked Preferences under 'General>Network Connections' and 'Team>CVS'
I do not think it is an issue with keyless ssh either.
This is on an Ubuntu box, but these exact same Eclipse CVS client settings succeed from a Mac box.
(The Ubuntu box uses 9.10, and Eclipse is installed as EasyEclipse 1.3.1, installed as user, not root.
Plugin org.eclipse.team.* versions are:
(Ubuntu)
org.eclipse.team.cvs.ssh,.ssh2 3.2.100
org.eclipse.team.ui,.core,.cvs.core,.cvs.ui 3.3.r33x_2007...
(Mac)
org.eclipse.team.cvs.ssh2 3.2.300
org.eclipse.team.ui,.cvs.core,.cvs.ui 3.5.100.l20100527-0800
(EasyEclipse prevents me from upgrading the Ubuntu plugins, it insists these 4-year-old ones are the latest. Maybe an argument against using EasyEclipse.)
How to troubleshoot? How to trace what is actually happening inside Eclipse?
(as 'cvs -t -t' would give)
(As a sidebar, Eclipse should actually be printing a proper error message.
I've checked every appnote and userguide I can find with Google.)
Consensus was that EasyEclipse prevents user from upgrading the (4-year-old) Ubuntu plugins, insists that 3.3.x are the latest available, which cause this hang.
As of 5/2011, EasyEclipse is retired unless a new maintainer steps up.

Using zf-tool with xampp and Windows 7

I'm new to Zend Framework and i'm trying to do some tests on my local server. I use xampp on a Windows 7 pc.
So i downloaded the zend package who comes with a command line tool to setting up projects. Copied the folder with zf.sh on the hard-drive on the location C:\Program Files (x86)\ZendFrameworkCli\bin, than updated the system variables to make it work.
When i type in the command line "zf show version" i get an error by "php.exe". I guess this happens becouse php and apache are not installed on the OS but runs under xampp server.
So, there's any way to make it work with xampp? Thanx in advance.
You need to had the php executable path to you PATH variable. You can do this with the system icon in your configuration panel. You can also use a nice utility : RedmondPath ( http://sites.google.com/site/redmondlab/path)
After that, launch a command prompt and type php -v to make sure that all is correct.

Oracle fusion middleware 12c weblogic installation window doesn't be shown automatically after extracting fmw_12.2.1.0.0_wls.jar file in cmd

When I want to install oracle weblogic using fmw_12.2.1.0.0_wls.jar file in windows 10, the installation window doesn't be shown automatically and I just get this message in cmd : press any key to exit. why? How can I fix it?
This picture shows my problem:
Could be a problem with your java. Try downloading and installing Oracle's Java 8. FMW 12c is certified with Java 8 and runs best with Oracle's Java - JDK/SDK to be specific. Openjdk is not certified and won't work for an install.
Could also be an issue with your X display. Ensure that you have the display variable correctly set and a Xhost client running. Test your X display with another program to verify functionality. If you have X issues, try unsetting the DISPLAY variable and have it run the character based installer.