Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Greetings,
I am capturing Statistics, Count and Log information of my jobs in a text file by using the Stats & Logs in Job Settings.Now my requirement is to Capture all these information in a table while the jobs are executing, So i have selected "On DataBases" option in Stats & Logs.To capture the information in table i have created a table in the below mentioned format.
create table TalendStatistics
(
Moment Date NULL,
PID VARCHAR(20) NULL,
Father_PID VARCHAR(20) NULL,
Root_PID VARCHAR(20) NULL,
System_PID Longint NULL,
Project VARCHAR(50) NULL,
Job Varchar(50) NULL,
Job_Repository_ID Varchar(255) NULL,
Job_Version Varchar(255) NULL,
Context Varchar(50) NULL,
Origin Varchar(255) NULL,
Message_Type Varchar(255) NULL,
"Message" Varchar(255) NULL,
Duration Longint NULL
)
I have given this table name as a value for "Stats Table" in Stats & Logs. When i execute a job i am facing error as given below
[statistics] connecting to socket on port 3583
[statistics] connected
Exception in component talendStats_DB
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at uaeexdw.queryinterval_ct_0_1.QueryInterval_CT.talendStats_STATSProcess(QueryInterval_CT.java:4668)
at uaeexdw.queryinterval_ct_0_1.QueryInterval_CT.runJobInTOS(QueryInterval_CT.java:6942)
at uaeexdw.queryinterval_ct_0_1.QueryInterval_CT.main(QueryInterval_CT.java:6774)
Exception in component talendStats_DB
java.lang.ClassNotFoundException: sun.jdbc.odbc.JdbcOdbcDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at PRJ.queryinterval_ct_0_1.QueryInterval_CT.talendStats_STATSProcess(QueryInterval_CT.java:4668)
at PRJ.queryinterval_ct_0_1.QueryInterval_CT.runJobInTOS(QueryInterval_CT.java:6979)
at PRJ.queryinterval_ct_0_1.QueryInterval_CT.main(QueryInterval_CT.java:6774)
[statistics] disconnected
Job QueryInterval_CT ended at 15:16 28/07/2015. [exit code=1]
In sybase IQ Message is a key word so i have created that with in Quotes "Message", if this is the reason for the error kindly advice in solving this issue.
Thanks in Advance,
Siva