试过修改sys的密码,环境变量也没问题
2021-05-12 21:02:59 [INFO ] [SwingWorker-pool-2-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2381)] className:oracle.jdbc.driver.OracleDriver 2021-05-12 21:02:59 [INFO ] [SwingWorker-pool-2-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2384)] URL: jdbc:oracle:oci:@IMCDB 2021-05-12 21:02:59 [INFO ] [SwingWorker-pool-2-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2388)] password = {PROTECTED} 2021-05-12 21:02:59 [INFO ] [SwingWorker-pool-2-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2390)] user = sys 2021-05-12 21:02:59 [INFO ] [SwingWorker-pool-2-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2390)] internal_logon = sysdba 2021-05-12 21:02:59 [ERROR] [SwingWorker-pool-2-thread-2] [com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog::doWork(2448)] Connect to database error java.sql.SQLException: ORA-12154: TNS: 无法解析指定的连接标识符 at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:1159) ~[ojdbc8.jar:18.3.0.0.0] at oracle.jdbc.driver.T2CConnection.checkError(T2CConnection.java:1062) ~[ojdbc8.jar:18.3.0.0.0] at oracle.jdbc.driver.T2CConnection.logon(T2CConnection.java:729) ~[ojdbc8.jar:18.3.0.0.0] at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:782) ~[ojdbc8.jar:18.3.0.0.0] at oracle.jdbc.driver.T2CDriverExtension.getConnection(T2CDriverExtension.java:60) ~[ojdbc8.jar:18.3.0.0.0] at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:704) ~[ojdbc8.jar:18.3.0.0.0] at java.sql.DriverManager.getConnection(DriverManager.java:677) ~[java.sql:?] at java.sql.DriverManager.getConnection(DriverManager.java:189) ~[java.sql:?] at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2394) [deploy.jar:?] at com.h3c.imc.deploy.dma.wizard.DatabaseSelectPanelDescriptor$DbConnectCheckingWorkingDialog.doWork(DatabaseSelectPanelDescriptor.java:2096) [deploy.jar:?] at com.h3c.imc.deploy.wizard.WorkingDialog$ProgressWorker.doInBackground(WorkingDialog.java:282) [deploy.jar:?] at javax.swing.SwingWorker$1.call(SwingWorker.java:304) [?:?] at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?] at javax.swing.SwingWorker.run(SwingWorker.java:343) [?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?] at java.lang.Thread.run(Thread.java:834) [?:?]
(0)
最佳答案
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
多谢~但是好像不是一个问题o(╥﹏╥)o