[resolved] about tjmsoutput and tjmsinput

One Star

[resolved] about tjmsoutput and tjmsinput

Hello
I use components tjmsoutput and tjmsinput by jms of weblogic to transfer files,but it produce errors as follow:
Exception in component tJMSOutput_1
javax.naming.NoInitialContextException: Cannot instantiate class: com.tibco.tibjms.naming.TibjmsInitialContextFactory
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at talenddemosjava.test_0_1.test.tOracleInput_1Process(test.java:578)
at talenddemosjava.test_0_1.test.runJobInTOS(test.java:1045)
at talenddemosjava.test_0_1.test.main(test.java:900)
Caused by: java.lang.ClassNotFoundException: com.tibco.tibjms.naming.TibjmsInitialContextFactory
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
disconnected
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
... 7 more
that's configure wrong in jms or other errors? and can you give me a example about tjmsoutput and tjmsinput,
thank you!
best wishes

Accepted Solutions
One Star

Re: [resolved] about tjmsoutput and tjmsinput

I solved the problem in another way,
thank you for all your help!

All Replies
One Star

Re: [resolved] about tjmsoutput and tjmsinput

Hi
The exception is because you didn't import tibjms.jar in Module List.
You have to download it from internet or other ways. It is commercial.
Regards,
Pedro
One Star

Re: [resolved] about tjmsoutput and tjmsinput

Hi,pedro
Thank you for your warmly help!
It's mean that I can't use tjmsinput and tjmsoutput to transfer message unless buy the tibjms.jar,
Are there other ways to use tjmsinput and tjmsoutput except the tibjms.jar?
best regards
dragon
One Star

Re: [resolved] about tjmsoutput and tjmsinput

I solved the problem in another way,
thank you for all your help!
One Star

Re: [resolved] about tjmsoutput and tjmsinput

HI Draogn
I am getting the same error. We have our own jar file to connect to the fiorano mq. so can you please let me know how yu got around it?
thanks
J
Four Stars

Re: [resolved] about tjmsoutput and tjmsinput

Hi,

 

How did u solve this??

 

Regards,

Raj.