Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Syntax error on token "import", assert expected
java.sql.Connection cannot be resolved to a variable
Syntax error on token "import", assert expected
java.sql.DriverManager cannot be resolved to a variable
Syntax error on token "import", assert expected
java.util.Properties cannot be resolved to a variable
Syntax error on token "import", assert expected
com.jcraft cannot be resolved to a variable
Syntax error on token "import", assert expected
com.jcraft cannot be resolved to a variable
Syntax error on token "import", assert expected
com.jcraft cannot be resolved to a variable
Illegal modifier for the local class CTestDriver; only abstract or final is permitted
The method doSshTunnel cannot be declared static; static methods can only be declared in a static or top level type
JSchException cannot be resolved to a type
JSch cannot be resolved to a type
JSch cannot be resolved to a type
Session cannot be resolved to a type
Properties cannot be resolved to a type
Properties cannot be resolved to a type
The method main cannot be declared static; static methods can only be declared in a static or top level type
The method doSshTunnel(String, String, String, int, String, int, int) from the type CTestDriver refers to the missing type JSchException
Connection cannot be resolved to a type
DriverManager cannot be resolved
at natcobidw.testingssh_0_1.TestingSSH.tJava_1Process(TestingSSH.java:341)
at natcobidw.testingssh_0_1.TestingSSH.runJobInTOS(TestingSSH.java:1308)
at natcobidw.testingssh_0_1.TestingSSH.main(TestingSSH.java:1173)
Exception in component tMysqlRow_1
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (4739923 > 1048576). You can change this value on the server by setting the max_allowed_packet' variable.
at com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:605)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1078)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2412)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2445)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2230)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:813)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
disconnected
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:334)
at java.sql.DriverManager.getConnection(DriverManager.java:579)
at java.sql.DriverManager.getConnection(DriverManager.java:221)
at ourworkspace.testingssh_0_1.TestingSSH.tMysqlRow_1Process(TestingSSH.java:703)
at ourworkspace.testingssh_0_1.TestingSSH.tSshTunnel_2Process(TestingSSH.java:375)
at ourworkspace.testingssh_0_1.TestingSSH.runJobInTOS(TestingSSH.java:1060)
at ourworkspace.testingssh_0_1.TestingSSH.main(TestingSSH.java:925)
No I mean something like this:
tSystem (call the necessary ssh command) --(OnSubjobOK)--> tMysqlConnection --(OnSubjobOK)--> ... any mysql comps in flows.