• Index
  •  » Talend Enterprise Data Integration » General questions
  •  » [resolved] about tjmsoutput and tjmsinput

#1 2012-06-21 03:17:55

draogn
Member
Registered: 2012-06-19
Posts: 10

[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 [Root exception is java.lang.ClassNotFoundException: 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)
[statistics] 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

Offline

#2 2012-06-21 05:08:24

pedro
Member
Registered: 2011-11-17
Posts: 3682

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


Only Paranoid Survive.

Offline

#3 2012-06-21 05:45:44

draogn
Member
Registered: 2012-06-19
Posts: 10

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

Offline

#4 2012-06-29 10:32:22

draogn
Member
Registered: 2012-06-19
Posts: 10

Re: [resolved] about tjmsoutput and tjmsinput

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

Offline

#5 2012-08-08 12:59:11

jg81
New member
Registered: 2011-11-15
Posts: 2

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

Last edited by jg81 (2012-08-08 13:00:05)

Offline

  • Index
  •  » Talend Enterprise Data Integration » General questions
  •  » [resolved] about tjmsoutput and tjmsinput

Board footer

Powered by FluxBB