Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Transitioning from a TOS7 to a Talend V8, I happen to experience troubles with the logging configuration.
We were used to logging into an AS400 DB, with a stats&log configuration defined at the project level.
When trying to apply the same scheme in the newly created V8 project I experience oddities for which I would need some help.
The project properties were copied from the working V7 project. As you can see in the first picture, we rely on a JDBC driver with a definition of the AS400JDBCDriver Class for accessing DB.
When running a simple job though, the application will express the impossibility to find that driver (see picture 2). Every attempt to log will then indeed fail. I later realized that adding a tAS400 component or a tRunJob on a subjob that opens an AS400 connection will allow the application to run smoothly. I guess adding a tLoadLibrary might have the same effect.
My guess is that adding "com.ibm.as400.access.AS400JDBCDriver" as a class name in the project properties isn't enough (anymore ?) to get the class imported. Is there a way to force project imports ?
Any help or insights are welcome.
--Ben
( Version: 8 Build id: 20260102_0846-patch on windows)
project defined stats and logs properties
A simple toy job
Adding com.ibm.as400.access.AS400JDBCDriver to project properties is often insufficient; you must manually import the jt400.jar into Talend’s modules view or ensure it is referenced in a configured JDBC driver connection to force the class loading.
How to Force Driver Import in Talend:
Ensure the jt400.jar itself is not corrupt, as this often causes silent failures.
Hi Greg, and thanks a lot for your answer.
Unfortunately, it didn't help me yet to solve my problems.
Module view : if I understand you well, you advise to manually fetch the jt400.jar file somewhere on the net, and then to import it through button (1) in the module view (see first picture).
I didn't do that yet though, because :
JDBC Metadata : Never did that, and didn't really understand why I would need it here. I nonetheless complied, and created a JDBC DB connection as a metadata, using the jt400 jar shipped with the aforementioned tAS400 components. Everything seemed to work fine (class automatically detected), except that probing the connection failed (see second picture).
I still followed the remaining steps of your procedure, but the final result is unchanged :
No problem. At this point, I would recommend opening a Support Case with our Support Team.