Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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)
Hello,
Could you please attach error log and share it on community which will be helpful for us to address this issue?
Best regards
Sabrina
HI Sabrina - I have attached the log
Hello,
Could you please give us the task execution log?
Here is a community knowledge article about: https://community.talend.com/s/article/Log-management-and-monitoring-in-Talend-Cloud-D6MD7
Hope it helps.
Best regards
Sabrina
Hi XDSHI
Below is the error message i see task execution log
Error: Could not find or load main class
Hello,
What's JDK version are you using? Are you getting this issue when you execute a job newly published on TIC? If so, you can create a fresh workspace in the studio and can publish the job to TIC from there. It is because of the corrupted workspace of the Studio. Feel free to let us know if it helps.
Best regards
Sabrina
jdk1.8.0_161.
Yes when I execute a job newly published on Cloud ( TMC ) iam getting this error.
I created a new work space and tried again still getting the same error.
Also i uninstalled Talend and re-installed again still the same issue .
Please Help .
Hello,
Are you able to execute your job successfully in studio? Could you clarify what's talend build version you are using?
Best regards
Sabrina
Hi ,
No iam not able to execute jobs from Studio , they are failing with the same error
(Could not find or load main class)
iam using Talend 7.3
Hi,
The "Could not find or load main class" error is gone after i provided jms.jar in the Module list
Now iam getting the following 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