PDO driver is not enabled after installation - pdo

I have installed rh-php70-pdo.x86_64 package and restart the httpd.service.
But PDO driver is not shown as enabled in phpinfo().
I also try with php-pdo.x86_64 but failed.
I use CentOS 7.

Related

Glassfish with install javamail module problem

I have a Debian linux server with glassfish 6.1 and JDK 11.
When configure the javamail session the server answer with a error javamail module not found.
I have installed the javamail with apt-get install, but it is not working.
How to configure the javamail module inside glassfish system ?
Thank you.

XAMPP tomcat service is not starting with error as "Tomcat Started/Stopped with errors, return code: 1"

I have installed XAMPP 7.2.10 on my Win 10 and other services like Apache and MySQL are working fine.
But the Tomcat service is not starting and is throwing an error as:
"Tomcat Started/Stopped with errors, return code: 1,
Make sure you have Java JDK or JRE installed and the required ports are free,
Check the "/xampp/tomcat/logs" folder for more information"
XAMPP Tomcat error image
I have installed Java JDK in "C:\Program Files\Java" and have set the environment variables path.
I have set the "JAVA_HOME" variable path as "C:\Program Files\Java\jdk-10.0.2"
Also, no other program is using the required ports.
When I run the "catalina_start.bat", I get error as:
"ERROR: The system was unable to find the specified registry key or value.
. [XAMPP]: Cannot find current JDK installation!
. [XAMPP]: Cannot set JAVA_HOME. Aborting ..."
What mistakes have I made here?
I had the same problem (XAMPP 7.3.0 / Windows Server 2016 / Java 11). I first checked the environment variables, the java installation - all seemed to be fine.
Sadly the XAMPP error message is not very meaningful, so i looked inside of tomcat installation. To my surprise XAMPP 7.3.0 uses a very old version of Apache Tomcat (7.0.56 from 2014!), that don’t work well with Java 9+. The reason is Tomcat 7.0.56 uses the "-Djava.endorsed.dirs" option, that is no longer supported in Java 9+. Up-to-date Tomcat versions have no problem with java 9+. To solve this you can just stay with Java 8 (if possible for you) or try to fix this on your own by modify Tomcat start-up: Go to your \xampp\tomcat\ folder and see this fix in Tomcat 7.0.73 doesn't work with java 9.
But i would recommend you to install a up-to-date version of tomcat and don’t use the XAMPP one (what i finally did) - at least until XAMPP updates there tomcat version .

Installation of red5 1.0.5 on windows

Can anyone please tell me how to install RED5 media server version 1.0.5 on windows7,i have already tried installing using executable file from https://github.com/Red5/red5-server/releases but jre file isnot there.Also red5 isn't appearing in Administrative tools/services to start the server.
Make it in following steps:
Uninstall your previous Java and Red5 install. Reboot.
Download JDK 8u45 64 bit and install
Install RED5 1.05 windows and install
Go to RED5 directory and run install service
Reboot
Go to services and make sure RED5 service is installed and start service. 7. Set service to start in "Automatic"

VisualVM hangs when installing plugins

I'm trying to install some plugins for VisualVM but it keeps hanging on the below screen - telling me "Please wait until the installer discovers plugin dependencies". I'm running Ubuntu 12.04. It hangs both when I try and install them from the "available plugins" list and when I try to install them manually after downloading them from the VisualVM plugins centre.
I have just got the same problem with visualvm 1.3.2 installed from default ubuntu repo.
It used opendjdk as default (configured in /usr/lib/visualvm/etc/visualvm.conf), it works after I switch to oracle jdk, for example, assuming you installed oracle jdk at /usr/lib/jvm/jdk1.6.0_43
try
jvisualvm --jdkhome /usr/lib/jvm/jdk1.6.0_43/
Ubuntu 12.04, Visual VM 1.3.2.
Fixed the same issue by switching from OpenJDK 6 to OpenJDK 7.
jdkhome="/usr/lib/jvm/java-7-openjdk-i386" in /usr/lib/visualvm/etc/visualvm.conf.

Glassfish will not start

I am installing Glassfish 3.1.2 on a vps server running Ubuntu 12.04 LTS and a I am not being able to start glassfish.
As X are not installed and I am connecting via ssh I am using the manual unzip method to install Glassfish.
Inside Glassfish bin directory with the glassfish user I do ./asadmin start-domain and nothing happens. It seems to hang. I cannot even stop it with ctrl+c. I need to kill the java process from another console.
The server.log file in the domain does not show any error. Last two lines are:
mar 23, 2013 1:12:03 AM com.sun.enterprise.admin.launcher.GFLauncherLogger info
INFO: Se ha iniciado correctamente en 7 mseg.
Thank you very much for your help.
I had the same problem when I was installing glassfish. I fixed this problem by running Glassfish on an old version of jre. I was trying to install with version 1.8 and ended up using an old installation of jre6. Server started fine after I installed Glassfish using version 1.6.
It looks like a bug with the log levels. GFFileHandler logging level might be set to "OFF".
Try this:
asadmin start-domain
asadmin set-log-levels com.sun.enterprise.server.logging.GFFileHandler=ALL
asadmin restart-domain