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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
vkm27
Contributor
Contributor

tjmsinput component to read and load jms messages

Hi iam trying to use tjmsinput component to read and load jms messages from the queue to a file 

My flow is 

tjmsunput --- > tfileoutputdelimited

when i execute this iam getting folowing error any help error

failed with code -1 and error Job stopped with errors or unable to run. (check the task execution logs for the error details)

at org.talend.ipaas.rt.flow.controller.impl.JobControllerImpl.doRun(JobControllerImpl.java:131) ~[?:?]

at org.talend.ipaas.rt.flow.controller.impl.AbstractControllerImpl.lambda$run$0(AbstractControllerImpl.java:106) ~[?:?]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_242]

Caused by: java.lang.Exception: Job stopped with errors or unable to run. (check the task execution logs for the error details)

Labels (2)
13 Replies
Anonymous
Not applicable

Hello,

There is a missing jar issue.

Please make sure all required external jar files are installed in your studio.

For more information, please have a look at this documentation: TalendHelpCenter: Installing external modules

Best regards

Sabrina

 

 

 

 

 

 

 

vkm27
Contributor
Contributor
Author

I installed the jms.jar file which was missing when i tried to use tjmsinput component. iam stil getting the same error

 

javax.naming.NoInitialContextException: Cannot instantiate class: com.tibco.tibjms.naming.TibjmsInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory]

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)

at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)

at javax.naming.InitialContext.init(InitialContext.java:244)

at javax.naming.InitialContext.<init>(InitialContext.java:216)

at .tJMSInput_1Process(.java:669)

at .runJobInTOS(.java:1380)

at .main(.java:1162)

Caused by: java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)

at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)

... 6 more

[statistics] disconnected

 

Can you please let me know which specific jar or modules i need to install to make this work

 

 

 

 

vkm27
Contributor
Contributor
Author

Hi,

 

I installed the jms.jar but still getting same error

 

Here are the SS of my config

 

0693p000009Sp2MAAS.jpg0693p000009Sp2MAAS.jpg

javax.naming.NoInitialContextException: Cannot instantiate class: com.tibco.tibjms.naming.TibjmsInitialContextFactory [Root exception is java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory]

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:674)

at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:313)

at javax.naming.InitialContext.init(InitialContext.java:244)

at javax.naming.InitialContext.<init>(InitialContext.java:216)

at .tJMSInput_1Process(.java:669)

at .runJobInTOS(.java:1380)

at .main(.java:1162)

Caused by: java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory

at java.net.URLClassLoader.findClass(URLClassLoader.java:381)

at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)

at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:348)

at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:72)

at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:61)

at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:672)

 

 

 

 

Anonymous
Not applicable

Hello,

From above error message, you need to import the tibjms.jar.

It seems you need to download that jar file and import that manually by clicking the button of Module List.

Best regards

Sabrina