Sonar Tomcat installation fails - mysql

I installed both Sonar and Jenkins on the same Tomcat (7.0.29) version. I followed the instructions, which means that I created the sonarqube database (we are using MySQL), that I built and created the WAR file, and that I deployed that file to Tomcat. I also modified the Tomcat CATALINA_OPTS value to give Tomcat more memory. Jenkins will run, but Sonar will give me a "We're sorry, but something went wrong." error. I checked all of the Tomcat logs but could not find anything useful such as an exception. Does anyone have any ideas on this?
Thanks in advance...

Deployment on Tomcat won't be supported as of next version. Therefore, I recommend you to use the standalone mode instead. Note also that is not recommended to install SonarQube and Jenkins on the same machine. See http://docs.codehaus.org/display/SONAR/Installing#Installing-SonarQubePlatformOverview.

Related

Install Dreamfactory on Xampp

I have been trying to install Dreamfactory on Xampp but can't find a single article on how to do so.
Purpose: To generate REST API in php with mysql.
What I have tried:
Initially I installed windows version of
Dreamfactory from official site. It was installed successfully but it don't allow access to MYSQL database in free version. Paid version is out of my budget, so I tried with Xampp. I downloaded open-source version from
Github. After extracting it, executed php artisan serve in xampp command shell as mentioned on Dreamfactory Wikipedia Installation guide. This resulted in following error:
Warning: require(D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php): failed to open stream: No such file or directory in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
Fatal error: require(): Failed opening required 'D:\xampp\htdocs\sandbox\dreamfactory\public/../vendor/autoload.php' (include_path='D:\xampp\php\PEAR') in D:\xampp\htdocs\sandbox\dreamfactory\public\index.php on line 24
As mentioned in Git documentation, they have given installation procedures for Ubuntu and Debian. Further more, they have mentioned about Bitnami official installation software, but non for XAMPP or stuff like that.
Question:
Is there any way we can install Dreamfactory on XAMPP? If yes, how so!
I'd venture it's going to be fairly difficult task to run DreamFactory on XAMPP because DreamFactory requires quite a few dependencies which are not installed on XAMPP by default.
Your best bet would be to run the Bitnami for DreamFactory environment, or alternatively use Docker. Both can be downloaded from the DreamFactory website downloads page. Alternatively, if you'd like to run DreamFactory in a VM, the OSS download README points to automated installers for Debian and Ubuntu. Additional installers for CentOS and Fedora are found here, they work great however we just haven't moved them into the official distribution yet.

Can a Tomcat7/Java/Mysql/Ant application run on Openshift? If so, how to install the jdbc driver?

I'm trying to install OpenGTS on Red Hat's Openshift cloud platform.
OpenGTS is a Java/Tomcat7/Mysql/Ant application, so I created a JbossEWS app on Openshift, installed the standard Mysql cartridge, and an Ant cartridge I found online.
Our application does not have to be scalable, so that's what I chose.
I add a call to Ant in Openshift's build hook.
So far it has been impossible to install the jdbc driver however:
As I'm using Ant, I deleted the pom.xml for Openshift's standard Maven.
Neither is there a standalone.xml in JbossEWS. (There is one for JbossEAP).
Java's ext/lib directories are not accessible on Openshift.
So I copied the jdbc driver jar in $OPENSHIFT_DATA_DIR,
but nevertheless, when started, JbossEWS complains it cannot find a suitable jdbc driver for Mysql.
Is it even possible to run OpenGTS on Openshift?
It is comment about above question so we are following this link.
Here is the link https://blog.openshift.com/jndi-tomcat-configuration-howto/
And also catalina.properties file
common.loader=${catalina.base}/lib,${catalina.base}/lib/.jar,${catalina.home}/lib,${catalina.home}/lib/.jar,${catalina.home}/../app-root/data/*.jar

Business Objects BI Platform 4.1SP2 installation failure -- java VM installer

I am stuck at the moment and need some help advise. I am trying to install the software above on a windows 8 machine for the company I work for. Initially I installed it but when I tried to do the wdeploy predeployall I got an error with acess denied to sAPJVM, it didn't actually exist in the win64_X64 folder. After reading abit, I decided to uninstall and re-install. Howver the re-install failed with the following error
java virtual machine launcher
could not find main class: com/businessobjects/sdk/biar/utility/xsdutility. program will exit
Now I can't uninstall or install so stuck in abit of a limbo. I also notice that the SAPJVM is not there either.
Can anyone offer advise on how I get over this.
thanks
It turns out if your using a tomcat server and the server is on another box, you need to run cmd as the administrator. This was my issue.

How to install ejabberd community version on Windows XP?

I am a bit confused the link to use to install ejabberd on my windows XP box [http://www.ejabberd.im] ? What are the steps involved and dependencies there off?
=====UPDATE=====
I installed ejabberd windows version from link as mentioned in reply thread - but when I started the app it stated:
Starting ejabberd...
./ejabberdctl: e:\bin\erl.exe: can't execute: (14001) Error 14001
There is a problem starting Erlang.
If the error you see is 14001, you need to install:
Microsoft Visual C++ 2005 SP1 Redistributable Package
You can download that installer from www.microsoft.com
You can also check the ejabberd Administrator Guide
But even after downloading the package http://www.microsoft.com/en-in/download/details.aspx?id=5638 and successfully installing I still get the same error?
Please let me know how to resolve the same?
You could install 2.1.11 using the installer provided by Process-One here. Windows installer for 2.1.13 is not there yet.
no additional dependencies are required as ejabberd installer includes a build of Erlang runtime.
But really I fail to see what's the problem with putting up a cheap box running some free OS (I'd personally recommend Debian) where ejabberd would be installable via the OS's package manager, and will be upgraded along with the rest of the OS when the next release comes out.

Unable to connect to http://localhost:8091/index.html

I have just installed CouchBase Server Enterprise v2.0.0 using the setup.exe on my Windows 7 64bit machine and supposedly the Browser based Console should appear automatically after installation but all i am getting is
Unable to Connect:
**Firefox can't establish a connection to the server at localhost:8091.**
The CouchBase service is running when I check?
I have uninstalled and reinstalled a couple of times now?
Am I missing something here?
You are probably hitting a known issue related to IP address acquisition during startup of Couchbase Server.
I have documented a work around here: http://tugdualgrall.blogspot.com/2012/12/what-to-do-if-your-couchbase-server.html
As stated in the blog post it will be fixed in the 2.0.1 release