troubleshooting Question

deploy java site on

Avatar of Anthony Matovu
Anthony MatovuFlag for Uganda asked on
JavaWindows OSWindows 7
3 Comments3 Solutions38 ViewsLast Modified:
deploying java website,

I am using windows 7 to develop my java website, I can properly connect to MySQL for localhost but it fails to connect to MySQL on the deployment server.
I am using MySQL connect j 8 for windows  and i add it into the deployment assemblies,

it fails at this line
DriverManager.registerDriver(new com.mysql.jdbc.Driver());


below is the detailed information of my server
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

   Static hostname: server.dat-ran.com
         Icon name: computer-vm
           Chassis: vm
        Machine ID: 69b8add88df5f04c3166358606bd052f
           Boot ID: b345d09e0ba94e9897a81b1ad5651fe2
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-1062.18.1.el7.x86_64
      Architecture: x86-64

What
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 3 Answers and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros