Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Rhino version(Rhino version 1.7R4)
Rhino version [message #1059021] Thu, 16 May 2013 09:07 Go to next message
Gregor Marinšek is currently offline Gregor Marinšek
Messages: 1
Registered: May 2013
Junior Member
Hi all!

In our application we are using Eclipse BIRT for generating reports. Application is deployed on Jboss 4.2.3. We are using Birt version 2.5.2.

The problem is, that we want to use rhino version 1.7R4 options in our other functionalities but this conflicts with rhino version shipped and supported by birt engine.

Is there any way to resolve this issue? When it is planned for Birt to ship with version 1.7R4 of rhino engine?

Thanks in advance for your answers!

Gregor
Re: Rhino version [message #1059123 is a reply to message #1059021] Thu, 16 May 2013 20:35 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1639
Registered: July 2009
Senior Member

BIRT 2.5.2 still uses the OSGi runtime which has its own classloader, so I don't think there should be a conflict between BIRT and your external use of a different release of Rhino. What is the conflict you're having?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Re: Rhino version [message #1067890 is a reply to message #1059123] Thu, 11 July 2013 07:02 Go to previous messageGo to next message
Boštjan Ritonja is currently offline Boštjan Ritonja
Messages: 2
Registered: July 2013
Junior Member
Hello,

I have the same problem as described in post above. Using Birt 2.5.2 and rhino 1.7.R4 . The error trace is following after generating document via Birt engine:

Plug-in org.eclipse.birt.report.engine.script.javascript was unable to load class org.eclipse.birt.report.engine.javascript.JavascriptEngineFactory.
org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.birt.report.engine.script.javascript was unable to load class org.eclipse.birt.report.engine.javascript.JavascriptEngineFactory.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.birt.core.internal.plugin.ScriptEngineFactoryManagerImpl.createFactory(ScriptEngineFactoryManagerImpl.java:60)
at org.eclipse.birt.core.script.ScriptEngineFactoryManager.getScriptEngineFactory(ScriptEngineFactoryManager.java:50)
at org.eclipse.birt.core.script.ScriptContext.getScriptEngine(ScriptContext.java:222)
at org.eclipse.birt.report.engine.adapter.ModelDteApiAdapter.<init>(ModelDteApiAdapter.java:176)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.<init>(AbstractDataEngine.java:107)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.<init>(DteDataEngine.java:85)
at org.eclipse.birt.report.engine.data.DataEngineFactory.createDataEngine(DataEngineFactory.java:100)
at org.eclipse.birt.report.engine.executor.ExecutionContext.openDataEngine(ExecutionContext.java:843)
at org.eclipse.birt.report.engine.executor.ExecutionContext.getDataEngine(ExecutionContext.java:865)
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:123)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute(SuppressDuplciateReportExecutor.java:42)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.execute(LocalizedReportExecutor.java:61)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:168)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)
at de.novum.vger.printing_archive.ejb.docgen.DocumentGeneration.execute(DocumentGeneration.java:156)


I would appreciate any help.

Thanks Boštjan
Re: Rhino version [message #1067913 is a reply to message #1059123] Thu, 11 July 2013 08:41 Go to previous messageGo to next message
Boštjan Ritonja is currently offline Boštjan Ritonja
Messages: 2
Registered: July 2013
Junior Member
Hello,
I have the same problem as described in post above. Using Birt 2.5.2 and rhino 1.7.R4 . The error trace is following after generating document via Birt engine:

Plug-in org.eclipse.birt.report.engine.script.javascript was unable to load class org.eclipse.birt.report.engine.javascript.JavascriptEngineFactory.
org.eclipse.core.runtime.CoreException: Plug-in org.eclipse.birt.report.engine.script.javascript was unable to load class org.eclipse.birt.report.engine.javascript.JavascriptEngineFactory.
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
at org.eclipse.birt.core.internal.plugin.ScriptEngineFactoryManagerImpl.createFactory(ScriptEngineFactoryManagerImpl.java:60)
at org.eclipse.birt.core.script.ScriptEngineFactoryManager.getScriptEngineFactory(ScriptEngineFactoryManager.java:50)
at org.eclipse.birt.core.script.ScriptContext.getScriptEngine(ScriptContext.java:222)
at org.eclipse.birt.report.engine.adapter.ModelDteApiAdapter.<init>(ModelDteApiAdapter.java:176)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.<init>(AbstractDataEngine.java:107)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.<init>(DteDataEngine.java:85)
at org.eclipse.birt.report.engine.data.DataEngineFactory.createDataEngine(DataEngineFactory.java:100)
at org.eclipse.birt.report.engine.executor.ExecutionContext.openDataEngine(ExecutionContext.java:843)
at org.eclipse.birt.report.engine.executor.ExecutionContext.getDataEngine(ExecutionContext.java:865)
at org.eclipse.birt.report.engine.executor.ReportExecutor.execute(ReportExecutor.java:123)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplciateReportExecutor.execute(SuppressDuplciateReportExecutor.java:42)
at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportExecutor.execute(WrappedReportExecutor.java:60)
at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportExecutor.execute(LocalizedReportExecutor.java:61)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.doRun(RunAndRenderTask.java:168)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run(RunAndRenderTask.java:75)
at de.novum.vger.printing_archive.ejb.docgen.DocumentGeneration.execute(DocumentGeneration.java:156)

I would appreciate any help.
Thanks Boštjan
Re: Rhino version [message #1071371 is a reply to message #1067913] Sat, 20 July 2013 00:15 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1639
Registered: July 2009
Senior Member

Are you replacing BIRT's version of Rhino? Can you explain more?

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Can Birt 4.2.2 work on CentOS 6.4?
Next Topic:missing fonts exporting to PDF
Goto Forum:
  


Current Time: Tue Oct 21 19:55:40 GMT 2014

Powered by FUDForum. Page generated in 0.07282 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software