[resolved] Help!!How to use [tBirtOutputExec]??

One Star

[resolved] Help!!How to use [tBirtOutputExec]??

Hi, I'm new one use TOS.
I use TOS ver4.1.1.
I'd like to input data from ".csv" and output graph in ".pdf" with BIRT.
but, I couldn't.
So what should I do??
I got Errors like under:
connecting to socket on port 3504
connected
Exception in thread "main" java.lang.Error: java.lang.NoClassDefFoundError: org/eclipse/birt/core/framework/eclipse/EclipseExtensionRegistry
at test01.birt_0_1.birt.tFileInputDelimited_1Process(birt.java:639)
at test01.birt_0_1.birt.runJobInTOS(birt.java:3198)
at test01.birt_0_1.birt.main(birt.java:3050)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/birt/core/framework/eclipse/EclipseExtensionRegistry
at org.eclipse.birt.core.framework.eclipse.EclipsePlatform.getExtensionRegistry(EclipsePlatform.java:56)
at org.eclipse.birt.core.framework.eclipse.EclipsePlatform.createFactoryObject(EclipsePlatform.java:348)
at org.eclipse.birt.core.framework.Platform.createFactoryObject(Platform.java:261)
at test01.birt_0_1.birt.tFileInputDelimited_1Process(birt.java:538)
... 2 more
disconnected
Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.birt.core (4).
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:121)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.birt.core.internal.plugin.CorePlugin.start() of bundle org.eclipse.birt.core.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:806)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:106)
... 14 more
Caused by: java.lang.NoSuchMethodError: org.eclipse.birt.core.framework.Platform.setContextClassLoader(Ljava/lang/ClassLoaderSmiley WinkV
at org.eclipse.birt.core.internal.plugin.CorePlugin.start(CorePlugin.java:44)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:774)
... 20 more
??? birt ? 16:01 07/01/2011 ????????

Accepted Solutions
One Star

Re: [resolved] Help!!How to use [tBirtOutputExec]??

It was solved
*I'm using birt-runtime version 2.6.1
1) Copy all .jar files which in birt-runtime-2_6_1/ReporEngine/lib/
2) tBirtOutputExec component which was downloaded before, there are .jar files. Delete all of them(.jar files in tBirtOutputExec)
3) put 1)s .jar files to 2) tBirtOutputExec
4)write 1)s .jar file's name as<IMPORT>~</IMPORT> like default in tBirtOutputExec_java.xml.
Now, I can output .pdf file which designed Birt ( including data setting)
but, I'm looking for the way which input data on talend.
so,
If anyone knows the way,Please tell me how to do it.
thanks.

All Replies
One Star

Re: [resolved] Help!!How to use [tBirtOutputExec]??

It was solved
*I'm using birt-runtime version 2.6.1
1) Copy all .jar files which in birt-runtime-2_6_1/ReporEngine/lib/
2) tBirtOutputExec component which was downloaded before, there are .jar files. Delete all of them(.jar files in tBirtOutputExec)
3) put 1)s .jar files to 2) tBirtOutputExec
4)write 1)s .jar file's name as<IMPORT>~</IMPORT> like default in tBirtOutputExec_java.xml.
Now, I can output .pdf file which designed Birt ( including data setting)
but, I'm looking for the way which input data on talend.
so,
If anyone knows the way,Please tell me how to do it.
thanks.
One Star

Re: [resolved] Help!!How to use [tBirtOutputExec]??

Thanks for your looking here.
I solved a part of that.
1) On Birt Set Datasource like *****.csv
2) On TOS "Input" Data I want to output by Birt ,and "Output" *****.csv (tFileOutputDelimited)
3) On TOS connect tFileOutputDelimited and tBirtOutputExec by or .
That's all
Then, I could get text data.
BUT, I couldn't get chart.
...Out of the frying pan into the fire.
I'm waiting for your replay, Thanks.
hata