Converter 转换时“A general system error occurred:SSL.

故障现象:
在使用Converter进行P2V或V2V转换时,碰到了如下报错,导致无法进行下去“A general system error occurred: SSL Exception: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol”。
Converter 转换时“A general system error occurred:SSL.

处理方式如下:
1.显示隐藏文件,在如下路径下(以Win7为例)找到4个配置文件:

C:\ProgramData\VMware\VMware vCenter Converter Standalone
-converter-server.xml
-converter-worker.xml
-converter-agent.xml

C:\Program Files (x86)\VMware\VMware vCenter Converter Standalone
-converter-client.xml

2.先将这4个文件复制一份做备份以免需要恢复时使用。右击这4个文件都依次使用记事本编辑,找到: <sslOptions> 123422720 <sslOptions>,然后将“123422720 ”替换成“56313856”,保存后关闭:
Converter 转换时“A general system error occurred:SSL.
Converter 转换时“A general system error occurred:SSL.

3.重启服务中的Converter三个服务:
Converter 转换时“A general system error occurred:SSL.

4.然后再运行converter程序,此时就不会再报错了:
Converter 转换时“A general system error occurred:SSL.

Converter 转换时“A general system error occurred:SSL.

转载于:https://blog.51cto.com/lander/2104651

The error message "An error occurred: com.mysql.cj.jdbc.Driver" usually occurs when you're trying to connect to a MySQL database using Java, specifically using the JDBC (Java Database Connectivity) API and the MySQL Connector/J driver. The `com.mysql.cj.jdbc.Driver` is the JDBC driver for MySQL, but it seems there's an issue during the connection. Here are some possible reasons and solutions: 1. **Driver not found or loaded**: Make sure that the MySQL Connector/J jar (mysql-connector-java-x.x.x.jar) is in your classpath or added as a dependency to your project. You can download it from the official website and add it manually or via build tools like Maven or Gradle. 2. **Incorrect JDBC URL**: Double-check your JDBC URL format, which should look like `jdbc:mysql://[hostname]:[port]/[database]?serverTimezone=[timezone]`. Ensure all parts are correct. 3. **Incorrect credentials**: Verify that you have provided valid username and password for the MySQL user you're trying to connect as. 4. **Database not running**: Confirm if the MySQL server is up and running, and that the specified database exists. 5. **Incompatible versions**: If you're using an older version of the driver with a newer MySQL server, compatibility issues might arise. Upgrade or adjust accordingly. 6. **Error in code**: There could be a coding error, like a missing connection statement, wrong handling of exceptions, or incorrect use of the driver. To resolve this, try these steps, and if the issue persists, please provide more context or the exact code snippet where the error is occurring so I can help further.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值