Last Updated on
I’m receiving an unknown Java error and would like to see the Java logging additional to the Ephesoft logging.
This can be done quite easily in the Ephesoft application. This however will require Oracle Java to be installed on the RHEL/CentOS 6.5 server in order to open the Java Control Panel. For these steps, please follow the instructions here.
Enable logging in the Java JDK:
Navigate to /opt/Ephesoft/Dependencies/jdk1.7.0_40/bin
execute the following command:
The Java Control Panel will come up. Navigate to the Advanced tab. Select the check boxes next to ‘Enable tracing’ and ‘Enable Logging’ at the top of the window.
If you receive an error like the following,
[root@EphesoftServer ephesoft]# /opt/Ephesoft/Dependencies/jdk1.7.0_40/bin/ControlPanel
/opt/Ephesoft/Dependencies/jdk1.7.0_40/bin/ControlPanel: line 1: jcontrol: command not found
Please check the version of Java that your server is using. If it says the following, please refer to the link above and remove OpenJDK and install Oracle JDK on the server.
[root@EphesoftServer ephesoft]# java -version
java version “1.7.0_65”
OpenJDK Runtime Environment (rhel-184.108.40.206.el6_5-x86_64 u65-b17)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)