Skip to main content



      Home
Home » Archived » BIRT » Problem of calling Report from JSP.
Problem of calling Report from JSP. [message #101976] Fri, 23 December 2005 02:17 Go to next message
Eclipse UserFriend
I am getting error while calling BIRT report from my servlet.

type Exception report

message

description The server encountered an internal error () that prevented it
from fulfilling this request.

exception

java.lang.IllegalArgumentException: The extension with ID
'org.eclipse.birt.report.data.oda.jdbc' is not found!
org.eclipse.birt.report.model.extension.oda.ODAManifestUtil. getDataSourceExtension(ODAManifestUtil.java:51)
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eODADataSourceExtensionID(OdaDataSourceState.java:104)
org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eAttrs(OdaDataSourceState.java:54)
org.eclipse.birt.report.model.parser.DesignParserHandler.sta rtElement(DesignParserHandler.java:87)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(AbstractSAXParser.java:533)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.j ava:878)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFra gmentScannerImpl.java:1693)
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 368)
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:834)
com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:764)
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(X MLParser.java:148)
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(AbstractSAXParser.java:1242)
javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:88)
org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:153)
org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:157)
org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:90)
org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:83)
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:216)
ParameterServlet.doPost(ParameterServlet.java:71)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.12 logs.
Re: Problem of calling Report from JSP. [message #102172 is a reply to message #101976] Fri, 23 December 2005 14:21 Go to previous messageGo to next message
Eclipse UserFriend
Jagdish

Do you have a plugins directory beneath your context?
Look at the Runtime download and get the plugins from the Web View Example
directory.

Jason Weatherby
BIRT PMC

"jagdish" <jagbhise@in.ibm.com> wrote in message
news:e20a61fab8ec30b45991bda27218ce0c$1@www.eclipse.org...
>I am getting error while calling BIRT report from my servlet.
>
> type Exception report
>
> message
> description The server encountered an internal error () that prevented it
> from fulfilling this request.
>
> exception
> java.lang.IllegalArgumentException: The extension with ID
> 'org.eclipse.birt.report.data.oda.jdbc' is not found!
> org.eclipse.birt.report.model.extension.oda.ODAManifestUtil. getDataSourceExtension(ODAManifestUtil.java:51)
> org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eODADataSourceExtensionID(OdaDataSourceState.java:104)
> org.eclipse.birt.report.model.parser.OdaDataSourceState.pars eAttrs(OdaDataSourceState.java:54)
> org.eclipse.birt.report.model.parser.DesignParserHandler.sta rtElement(DesignParserHandler.java:87)
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .startElement(AbstractSAXParser.java:533)
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.j ava:878)
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFra gmentScannerImpl.java:1693)
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentS cannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 368)
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:834)
> com.sun.org.apache.xerces.internal.parsers.XML11Configuratio n.parse(XML11Configuration.java:764)
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(X MLParser.java:148)
> com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser .parse(AbstractSAXParser.java:1242)
> javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
> org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:88)
> org.eclipse.birt.report.model.parser.DesignReader.read(Desig nReader.java:153)
> org.eclipse.birt.report.model.core.DesignSession.openDesign( DesignSession.java:157)
> org.eclipse.birt.report.model.api.SessionHandle.openDesign(S essionHandle.java:90)
> org.eclipse.birt.report.engine.parser.ReportParser.parse(Rep ortParser.java:83)
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(ReportEngineHelper.java:87)
> org.eclipse.birt.report.engine.api.ReportEngine.openReportDe sign(ReportEngine.java:216)
> ParameterServlet.doPost(ParameterServlet.java:71)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/5.5.12 logs.
>
>
>
Re: Problem of calling Report from JSP. [message #102354 is a reply to message #102172] Mon, 26 December 2005 02:35 Go to previous messageGo to next message
Eclipse UserFriend
Dear Sir,
I have plugin copied all the plugins from the web viwer
directory to eclipse\plugin directory but the error remains the same.
Re: Problem of calling Report from JSP. [message #102395 is a reply to message #102354] Mon, 26 December 2005 04:35 Go to previous messageGo to next message
Eclipse UserFriend
Dear Sir,
I seen one warning that check the correct path for the BIRT
Engine and no plugins found in BIRT_HOME ,so i copied plugin folder from
eclipse\plugin directory then that Error is not coming but the report
designing is not opening.

following are the console outputs it is showing Data Engine starts up but
still report is not opening?

Dec 26, 2005 2:59:15 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Portable Runtime which allows optimal performance in
production environments was not found on the java.library.path:
C:\jdk1.5.0_04\bin;C:\BIRT\Datasweep\Tomcat 5.5\bin
Dec 26, 2005 2:59:15 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 26, 2005 2:59:15 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1656 ms
Dec 26, 2005 2:59:15 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 26, 2005 2:59:15 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
Dec 26, 2005 2:59:15 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
Dec 26, 2005 2:59:18 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive Datasweep.war
Dec 26, 2005 2:59:18 PM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
[org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News
/ Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com],
[org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL:
http://jakarta.apache.org]]
Dec 26, 2005 2:59:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings',
returnNull=true
Dec 26, 2005 2:59:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='org.apache.struts.action.ActionResources',
returnNull=true
Dec 26, 2005 2:59:21 PM org.apache.struts.util.PropertyMessageResources
<init>
INFO: Initializing, config='com.yourcompany.struts.ApplicationResources',
returnNull=true
Dec 26, 2005 2:59:23 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Dec 26, 2005 2:59:23 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Dec 26, 2005 2:59:24 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 26, 2005 2:59:24 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 26, 2005 2:59:24 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/266 config=null
Dec 26, 2005 2:59:25 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
Dec 26, 2005 2:59:26 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10532 ms
Init
Dec 26, 2005 2:59:36 PM org.eclipse.birt.core.util.BirtTimer logTimeTaken
INFO: Engine startup takes 2266 Milliseconds.
Function openReport
Dec 26, 2005 2:59:41 PM org.eclipse.birt.data.engine.impl.DataEngineImpl
<init>
INFO: Data Engine starts up
Re: Problem of calling Report from JSP. [message #102996 is a reply to message #101976] Thu, 29 December 2005 14:23 Go to previous message
Eclipse UserFriend
Originally posted by: acraciun.everstream.com

I believe that this means one of the following:

1.) Either you have an old copy of the \plugin in the Report Engine
download.

or

2.) You need to rebuild and republish your web project. Then restarting
the server has usually gotten rid of this error message for me ....

Hope this helps.

Aric
Previous Topic:Methods for including reports in jsp pages
Next Topic:report params & filtering.... and using report parameters in data set filter
Goto Forum:
  


Current Time: Sun Jun 08 20:04:34 EDT 2025

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

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

Back to the top