Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

log cannot be resolved in tJMSOutput (ESB 6.5.1)

Hi,

 

    We're trying to develop a communication throw TIBCO EMS with tJMSOutput, but we're facing the error "log cannot be resolved".

 

   This was working in previsious version (we used 5.6) by importing tibjms.jar, but for 6.5.1 it doesn't work.

 

   Any idea what needs to be done?

 

Best regards,

David Machado

Labels (3)
6 Replies
Anonymous
Not applicable
Author

Hello,

Talend Studio requires specific third-party Java libraries or database drivers (.jar files) to be installed to connect to sources and targets.

Those libraries or database drivers, known as external modules, may be required by some of Talend components or by some connection wizards or by both. Due to license restrictions, Talend may not be able to ship some of these external modules within Talend Studio. You need to install them for your Studio to functional properly since 6.0.

Please refer to this installation guide for more information:TalendHelpCenter:Installing external modules

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

 

   The activity already have this error when nothing is changed in configuration.

 

   The problem is while logging exceptions:

   ...

    catch (Exception e) {
       log.error(currentComponent + " " + e.getMessage(), e);

   ....

 

    Any idea what should be import or is missing?

 

Best regards,

David Machado

Anonymous
Not applicable
Author

Hello,

Could you please let us know what's JDK build version you are using?

Best regards

Sabrina

Anonymous
Not applicable
Author

Hello,

Using tJmsOutput with tibco ems, you need to add tibjms.jar (which is you can acquire from your tibco ems bin directory) to talend modules.
I would also suggest adding tibemsd_sec.jar, tibcrypt.jar, and tibjmsadmin.jar to talend modules.
To use it, you need load all the jar file using tLibraryLoad first. Then in tJmsOutput/Input, select tibjms.jar on Module List selection..
Let us know if it is OK with you.

Best regards

Sabrina

Anonymous
Not applicable
Author

Hi,

 

   Yes I'm doing that, but I've the same error.

 

   The only solution that worked was changing tJMSOutput_finally.javajet file, in components\tJMSOutput, by comment those line that mentioned log.

 

   But this is a workaround and not a solution.

 

   I'm using jdk 1.8.0.

 

Best regards,

David Machado

Anonymous
Not applicable
Author

Hello,

Have you tried to active log4j to avoid this?  The error indicates the "log" variable is not defined at the beginning of the class.

Best regards

Sabrina