我使用从元数据中的Oracle数据库连接导入的数据库连接的上下文变量创建了上下文组:。
在运行作业时,它会抛出以下错误:
Exception in component tOracleInput_1
java.sql.SQLRecoverableException: Io exception: Invalid number format for port number
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:101)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:112)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:173)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:229)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:458)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:465)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at local_project.praba_test_demo_2_0_1.praba_test_demo_2.tOracleInput_1Process(praba_test_demo_2.java:757)
[statistics] disconnected
at local_project.praba_test_demo_2_0_1.praba_test_demo_2.runJobInTOS(praba_test_demo_2.java:1297)
at local_project.praba_test_demo_2_0_1.praba_test_demo_2.main(praba_test_demo_2.java:1084)
Job praba_test_demo_2 ended at 14:37 15/12/2016. [exit code=1][enter image description here][1]
答案 0 :(得分:1)
我可以看到所有上下文都用引号(“”)编写,删除引号并像上下文一样编写上下文。&lt;&gt;。
如果仍然无效,请检查此编号是否正确。您是否尝试使用相同的属性连接到Oracle SQL编辑器?它连接了吗?