Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Installing BIRT Web Viewer in Weblogic
Installing BIRT Web Viewer in Weblogic [message #209525] Fri, 05 January 2007 15:14 Go to next message
Eclipse User
Originally posted by: xxx.xxxxx.xon

Has anybody been able to deploy the BIRT Web Viewer that comes with the
birt runtime on to weblogic server, I tried deploying it on Weblogic , but
I get the following error when I run the sample report that comes with
BIRT Runtime.Any sugegstions or pointers to solve this problem would be
highly appreciated.

Thanks in advance!

I try to run the report using the following URL

http://localhost:7001/WebViewerExample/run?__report=Report/S alesInvoice.rptdesign

I get the following error in the browser.
************************************************************ ******************



Error 500--Internal Server Error
java.lang.IllegalAccessError: org/mozilla/javascript/DefaultErrorReporter
at org.mozilla.javascript.CompilerEnvirons.()V(CompilerEnvirons .java:???)
at
org.eclipse.birt.core.data.ExpressionParserUtility.parse(Lja va.lang.String;Lorg.mozilla.javascript.Context;)Lorg.mozilla .javascript.ScriptOrFnNode;(ExpressionParserUtility.java:182 )
at
org.eclipse.birt.core.data.ExpressionParserUtility.compileCo lumnExpression(Ljava.lang.String;Z)Ljava.util.List;(Expressi onParserUtility.java:80)
at
org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;Z)Ljava.util.List;(ExpressionUtil.j ava:175)
at
org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;)Ljava.util.List;(ExpressionUtil.ja va:137)
at
org.eclipse.birt.report.model.parser.CompatibleMiscExpressio nState.setupBoundDataColumns(Lorg.eclipse.birt.report.model. core.DesignElement;Ljava.lang.String;Z)V(CompatibleMiscExpre ssionState.java:158)
at
org.eclipse.birt.report.model.parser.CompatibleBoundColumnEx prState.end()V(CompatibleBoundColumnExprState.java:70)
at
org.eclipse.birt.report.model.util.XMLParserHandler.endEleme nt(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V( XMLParserHandler.java:174)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.endElement( Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xn i.Augmentations;)V(AbstractSAXParser.java:585)
at
weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lw eblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni. Augmentations;)V(XMLNamespaceBinder.java:647)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canEndElement()I(XMLDocumentFragmentScannerImpl.java:1008)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$F ragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSca nnerImpl.java:1469)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DT DConfiguration.java:525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblo gic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfigurat ion.java:581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apa che.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg. xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.Input Source;)V(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.Input Source;)V(RegistryXMLReader.java:152)
at
javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;L org.xml.sax.helpers.DefaultHandler;)V(SAXParser.java:345)
at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (Lorg.eclipse.birt.report.model.parser.ModuleParserHandler;L java.io.InputStream;)Lorg.eclipse.birt.report.model.core.Mod ule;(ModuleReader.java:90)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Lorg. eclipse.birt.report.model.core.DesignSession;Ljava.lang.Stri ng;Ljava.io.InputStream;Lorg.eclipse.birt.report.model.api.M oduleOption;)Lorg.eclipse.birt.report.model.elements.ReportD esign;(DesignReader.java:90)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign( Ljava.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.rep ort.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.e lements.ReportDesign;(DesignSession.java:278)
at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(L java.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.repo rt.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.ap i.ReportDesignHandle;(SessionHandle.java:291)
at
org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(Ljava.lang.String;Ljava.io.InputStream;)Lorg.eclipse. birt.report.model.api.ReportDesignHandle;(ReportParser.java: 161)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava .util.Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnab le;(ReportEngineHelper.java:243)
at
org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util. Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Re portEngine.java:457)
at
org.eclipse.birt.report.service.ReportEngineService.openRepo rtDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util.M ap;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Unk nown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.getDesig nHandle(Ljavax.servlet.http.HttpServletRequest;)Lorg.eclipse .birt.report.service.api.IViewerReportDesignHandle;(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(Ljavax.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__init(L javax.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.BaseAttributeBean.init(Ljava x.servlet.http.HttpServletRequest;)V(Unknown
Source)
Re: Installing BIRT Web Viewer in Weblogic [message #209564 is a reply to message #209525] Fri, 05 January 2007 17:39 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Did you try folder deployment instead of war deployment?

Also you need to make sure to use the weblogic.xml bundled with the runtime
package.

Thanks,

David

> Has anybody been able to deploy the BIRT Web Viewer that comes with
> the birt runtime on to weblogic server, I tried deploying it on
> Weblogic , but I get the following error when I run the sample report
> that comes with BIRT Runtime.Any sugegstions or pointers to solve this
> problem would be highly appreciated.
>
> Thanks in advance!
>
> I try to run the report using the following URL
>
> http://localhost:7001/WebViewerExample/run?__report=Report/S alesInvoic
> e.rptdesign
>
> I get the following error in the browser.
> ************************************************************ **********
> ********
> Error 500--Internal Server Error
> java.lang.IllegalAccessError:
> org/mozilla/javascript/DefaultErrorReporter
> at
> org.mozilla.javascript.CompilerEnvirons.()V(CompilerEnvirons .java:???)
> at
> org.eclipse.birt.core.data.ExpressionParserUtility.parse(Lja va.lang.St
> ring;Lorg.mozilla.javascript.Context;)Lorg.mozilla.javascrip t.ScriptOr
> FnNode;(ExpressionParserUtility.java:182)
> at
> org.eclipse.birt.core.data.ExpressionParserUtility.compileCo lumnExpres
> sion(Ljava.lang.String;Z)Ljava.util.List;(ExpressionParserUt ility.java
> :80)
> at
> org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Lja
> va.lang.String;Z)Ljava.util.List;(ExpressionUtil.java:175)
> at
> org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Lja
> va.lang.String;)Ljava.util.List;(ExpressionUtil.java:137)
> at
> org.eclipse.birt.report.model.parser.CompatibleMiscExpressio nState.set
> upBoundDataColumns(Lorg.eclipse.birt.report.model.core.Desig nElement;L
> java.lang.String;Z)V(CompatibleMiscExpressionState.java:158)
> at
> org.eclipse.birt.report.model.parser.CompatibleBoundColumnEx prState.en
> d()V(CompatibleBoundColumnExprState.java:70)
> at
> org.eclipse.birt.report.model.util.XMLParserHandler.endEleme nt(Ljava.l
> ang.String;Ljava.lang.String;Ljava.lang.String;)V(XMLParserH andler.jav
> a:174)
> at
> weblogic.apache.xerces.parsers.AbstractSAXParser.endElement( Lweblogic.
> apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmenta tions;)V(A
> bstractSAXParser.java:585)
> at
> weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lw eblogic.ap
> ache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentati ons;)V(XML
> NamespaceBinder.java:647)
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canEndElem
> ent()I(XMLDocumentFragmentScannerImpl.java:1008)
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$F ragmentCon
> tentDispatcher.dispatch(Z)Z(XMLDocumentFragmentScannerImpl.j ava:1469)
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canDocumen
> t(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
> at
> weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DT DConfigura
> tion.java:525)
> at
> weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblo gic.apache
> .xerces.xni.parser.XMLInputSource;)V(DTDConfiguration.java:5 81)
> at
> weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apa che.xerces
> .xni.parser.XMLInputSource;)V(XMLParser.java:152)
> at
> weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg. xml.sax.In
> putSource;)V(AbstractSAXParser.java:1175)
> at
> weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.Input Source;)V(
> WebLogicXMLReader.java:135)
> at
> weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.Input Source;)V(
> RegistryXMLReader.java:152)
> at
> javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;L org.xml.sa
> x.helpers.DefaultHandler;)V(SAXParser.java:345)
> at
> org.eclipse.birt.report.model.parser.ModuleReader.readModule (Lorg.ecli
> pse.birt.report.model.parser.ModuleParserHandler;Ljava.io.In putStream;
> )Lorg.eclipse.birt.report.model.core.Module;(ModuleReader.ja va:90)
> at
> org.eclipse.birt.report.model.parser.DesignReader.read(Lorg. eclipse.bi
> rt.report.model.core.DesignSession;Ljava.lang.String;Ljava.i o.InputStr
> eam;Lorg.eclipse.birt.report.model.api.ModuleOption;)Lorg.ec lipse.birt
> .report.model.elements.ReportDesign;(DesignReader.java:90)
> at
> org.eclipse.birt.report.model.core.DesignSession.openDesign( Ljava.lang
> .String;Ljava.io.InputStream;Lorg.eclipse.birt.report.model. api.Module
> Option;)Lorg.eclipse.birt.report.model.elements.ReportDesign ;(DesignSe
> ssion.java:278)
> at
> org.eclipse.birt.report.model.api.SessionHandle.openDesign(L java.lang.
> String;Ljava.io.InputStream;Lorg.eclipse.birt.report.model.a pi.ModuleO
> ption;)Lorg.eclipse.birt.report.model.api.ReportDesignHandle ;(SessionH
> andle.java:291)
> at
> org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(Lja
> va.lang.String;Ljava.io.InputStream;)Lorg.eclipse.birt.repor t.model.ap
> i.ReportDesignHandle;(ReportParser.java:161)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportD
> esign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util.Map; )Lorg.ecli
> pse.birt.report.engine.api.IReportRunnable;(ReportEngineHelp er.java:24
> 3)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(
> Ljava.lang.String;Ljava.io.InputStream;Ljava.util.Map;)Lorg. eclipse.bi
> rt.report.engine.api.IReportRunnable;(ReportEngine.java:457)
> at
> org.eclipse.birt.report.service.ReportEngineService.openRepo rtDesign(L
> java.lang.String;Ljava.io.InputStream;Ljava.util.Map;)Lorg.e clipse.bir
> t.report.engine.api.IReportRunnable;(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.getDesig nHandle(Lj
> avax.servlet.http.HttpServletRequest;)Lorg.eclipse.birt.repo rt.service
> .api.IViewerReportDesignHandle;(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(L
> javax.servlet.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__init(L javax.serv
> let.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.BaseAttributeBean.init(Ljava x.servlet.
> http.HttpServletRequest;)V(Unknown
> Source)
>
Re: Installing BIRT Web Viewer in Weblogic [message #209598 is a reply to message #209564] Fri, 05 January 2007 17:59 Go to previous messageGo to next message
Eclipse User
Originally posted by: xxxx.xxxx.com

Thanks David,

I have created a new web project by importing teh folder from the runtime
package and its using the weblogic.xml from there, I still havent been
able to figure it out yet.

Any more ideas...
Re: Installing BIRT Web Viewer in Weblogic [message #209613 is a reply to message #209598] Fri, 05 January 2007 18:06 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Are you using 2.1.1? If not, you might want to try it.

Thanks,

David

> Thanks David,
>
> I have created a new web project by importing teh folder from the
> runtime package and its using the weblogic.xml from there, I still
> havent been able to figure it out yet.
>
> Any more ideas...
>
Re: Installing BIRT Web Viewer in Weblogic [message #209643 is a reply to message #209613] Fri, 05 January 2007 20:15 Go to previous messageGo to next message
Eclipse User
Originally posted by: aaa.xxxx.com

Yes David I am using 2.1.1
Re: Installing BIRT Web Viewer in Weblogic [message #209770 is a reply to message #209643] Mon, 08 January 2007 07:59 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Hi,

According to this bugzilla entry, it should work: https://bugs.eclipse.org/bugs/show_bug.cgi?id=156568

Maybe you could try getting the latest SP from Weblogic or getting the latest
2.1.2RC build from BIRT.

Thanks,

David

> Yes David I am using 2.1.1
>
Re: Installing BIRT Web Viewer in Weblogic [message #209914 is a reply to message #209770] Mon, 08 January 2007 17:00 Go to previous messageGo to next message
Eclipse User
Originally posted by: aaa.xxx.com

Thanks for the info I ll try upgrading to weblogic 8.1.6 and see if I get
the error again.

Thanks!
Re: Installing BIRT Web Viewer in Weblogic [message #210970 is a reply to message #209914] Thu, 11 January 2007 18:15 Go to previous messageGo to next message
shweta kautia is currently offline shweta kautia
Messages: 6
Registered: July 2009
Junior Member
Hi,

We have been trying very hard to get BIRT211 working with weblogic 8.1.5
but with no success. We cannot move to 8.1.6 and because of 211 not
working for us we have had to use BIRT2.0.1 for all our reports.

It will be great if somebody can share how they managed to get rid of
all the error messages and exceptions to get it working with weblogic 8.1.5.

The latest error I am getting is:
java.lang.AssertionError
at
org.eclipse.birt.core.framework.Platform.startup(Lorg/eclips e/birt/core/framework/PlatformConfig;)V(Platform.java:85)
at
org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(Ljavax/servlet/ServletContext;Ljavax/servlet/http/H ttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Ljava/lang/Object;Lorg/eclipse/birt/report/service/ap i/InputOptions;)V(Unknown
Source)
at
org.eclipse.birt.report.servlet.ViewerServlet.__getContext(L javax/servlet/http/HttpServletRequest;Ljavax/servlet/http/Ht tpServletResponse;)Lorg/eclipse/birt/report/context/IContext ;(Unknown
Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Ljavax/servlet/http/HttpServletRequest;Ljavax/ser vlet/http/HttpServletResponse;)V(Unknown
Source)
at
javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/H ttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V (HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(Ljava x/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpSe rvletResponse;)V(AxisServletBase.java:327)
at
javax.servlet.http.HttpServlet.service(Ljavax/servlet/Servle tRequest;Ljavax/servlet/ServletResponse;)V(HttpServlet.java: 853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationA ction.run()Ljava/lang/Object;(ServletStubImpl.java:1072)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;Lwe blogic/servlet/internal/FilterChainImpl;)V(ServletStubImpl.j ava:465)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V( ServletStubImpl.java:348)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvoca tionAction.run()Ljava/lang/Object;(WebAppServletContext.java :6981)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lwe blogic/security/subject/AbstractSubject;Ljava/security/Privi legedAction;)Ljava/lang/Object;(AuthenticatedSubject.java:32 1)
at
weblogic.security.service.SecurityManager.runAs(Lweblogic/se curity/acl/internal/AuthenticatedSubject;Lweblogic/security/ acl/internal/AuthenticatedSubject;Ljava/security/PrivilegedA ction;)Ljava/lang/Object;(SecurityManager.java:121)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet (Lweblogic/servlet/internal/ServletRequestImpl;Lweblogic/ser vlet/internal/ServletResponseImpl;)V(WebAppServletContext.ja va:3892)
at
weblogic.servlet.internal.ServletRequestImpl.execute(Lweblog ic/kernel/ExecuteThread;)V(ServletRequestImpl.java:2766)
at
weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/Execu teRequest;)V(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unkn own Source)

--------


Thanks,
Shweta Kautia


Birt Guy wrote:
> Thanks for the info I ll try upgrading to weblogic 8.1.6 and see if I
> get the error again.
>
> Thanks!
>
Re: Installing BIRT Web Viewer in Weblogic [message #211175 is a reply to message #210970] Fri, 12 January 2007 07:27 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Somebody else managed to get it working with 8.1.5 in this newsgroups, so
it should work. According to your error, the OSGi platform cannot start.
Do you see anything in the OSGI configuration folder? It's under WEB-INF/platform/configuration.

Thanks,

David


> Hi,
>
> We have been trying very hard to get BIRT211 working with weblogic
> 8.1.5 but with no success. We cannot move to 8.1.6 and because of 211
> not working for us we have had to use BIRT2.0.1 for all our reports.
>
> It will be great if somebody can share how they managed to get rid of
> all the error messages and exceptions to get it working with weblogic
> 8.1.5.
>
> The latest error I am getting is:
>
> java.lang.AssertionError
>
> at
>
> org.eclipse.birt.core.framework.Platform.startup(Lorg/eclips e/birt/cor
> e/framework/PlatformConfig;)V(Platform.java:85)
>
> at
>
> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(L
> javax/servlet/ServletContext;Ljavax/servlet/http/HttpServlet Request;)V
> (Unknown
>
> Source)
>
> at
>
> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Lja
> va/lang/Object;Lorg/eclipse/birt/report/service/api/InputOpt ions;)V(Un
> known
>
> Source)
>
> at
>
> org.eclipse.birt.report.servlet.ViewerServlet.__getContext(L javax/serv
> let/http/HttpServletRequest;Ljavax/servlet/http/HttpServletR esponse;)L
> org/eclipse/birt/report/context/IContext;(Unknown
>
> Source)
>
> at
>
> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet
> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/ HttpServle
> tResponse;)V(Unknown
>
> Source)
>
> at
>
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/H ttpServlet
> Request;Ljavax/servlet/http/HttpServletResponse;)V(HttpServl et.java:74
> 0)
>
> at
>
> org.apache.axis.transport.http.AxisServletBase.service(Ljava x/servlet/
> http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V(Axi
> sServletBase.java:327)
>
> at
>
> javax.servlet.http.HttpServlet.service(Ljavax/servlet/Servle tRequest;L
> javax/servlet/ServletResponse;)V(HttpServlet.java:853)
>
> at
>
> weblogic.servlet.internal.ServletStubImpl$ServletInvocationA ction.run(
> )Ljava/lang/Object;(ServletStubImpl.java:1072)
>
> at
>
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servlet
> /ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/ser vlet/inter
> nal/FilterChainImpl;)V(ServletStubImpl.java:465)
>
> at
>
> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servlet
> /ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStu bImpl.java
> :348)
>
> at
>
> weblogic.servlet.internal.WebAppServletContext$ServletInvoca tionAction
> .run()Ljava/lang/Object;(WebAppServletContext.java:6981)
>
> at
>
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lwe blogic/sec
> urity/subject/AbstractSubject;Ljava/security/PrivilegedActio n;)Ljava/l
> ang/Object;(AuthenticatedSubject.java:321)
>
> at
>
> weblogic.security.service.SecurityManager.runAs(Lweblogic/se curity/acl
> /internal/AuthenticatedSubject;Lweblogic/security/acl/intern al/Authent
> icatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Ob ject;(Secu
> rityManager.java:121)
>
> at
>
> weblogic.servlet.internal.WebAppServletContext.invokeServlet (Lweblogic
> /servlet/internal/ServletRequestImpl;Lweblogic/servlet/inter nal/Servle
> tResponseImpl;)V(WebAppServletContext.java:3892)
>
> at
>
> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblog ic/kernel/
> ExecuteThread;)V(ServletRequestImpl.java:2766)
>
> at
>
> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/Execu teRequest;
> )V(ExecuteThread.java:224)
>
> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
>
> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unkn own
> Source)
>
> --------
>
> Thanks,
> Shweta Kautia
> Birt Guy wrote:
>
>> Thanks for the info I ll try upgrading to weblogic 8.1.6 and see if I
>> get the error again.
>>
>> Thanks!
>>
Re: Installing BIRT Web Viewer in Weblogic [message #211230 is a reply to message #211175] Fri, 12 January 2007 09:17 Go to previous messageGo to next message
shweta kautia is currently offline shweta kautia
Messages: 6
Registered: July 2009
Junior Member
Hi David,

This is what i found in config.ini under the WEB-INF/platform/configuration:

#Product Runtime Configuration File
eclipse.product=org.eclipse.birt.report.engine.ReportEngineS DK
osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.jobs@2:start,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.registry@2:start,org.eclipse.equinox.preferences@2:start,org.eclipse.core.contenttype,org.eclipse.core.runtime@2:start,org.eclipse.update.configurator@3:start,com.ibm.icu,org.junit,org.mozilla.rhino,org.eclipse.birt.core@2:start
osgi.bundles.defaultStartLevel=4

I have also posted a reply to the user(perseusli) who said it worked for
them.

Thanks,
Shweta

David Michonneau wrote:
> Somebody else managed to get it working with 8.1.5 in this newsgroups,
> so it should work. According to your error, the OSGi platform cannot
> start. Do you see anything in the OSGI configuration folder? It's under
> WEB-INF/platform/configuration.
>
> Thanks,
>
> David
>
>
>> Hi,
>>
>> We have been trying very hard to get BIRT211 working with weblogic
>> 8.1.5 but with no success. We cannot move to 8.1.6 and because of 211
>> not working for us we have had to use BIRT2.0.1 for all our reports.
>>
>> It will be great if somebody can share how they managed to get rid of
>> all the error messages and exceptions to get it working with weblogic
>> 8.1.5.
>>
>> The latest error I am getting is:
>>
>> java.lang.AssertionError
>>
>> at
>>
>> org.eclipse.birt.core.framework.Platform.startup(Lorg/eclips e/birt/cor
>> e/framework/PlatformConfig;)V(Platform.java:85)
>>
>> at
>>
>> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext(L
>> javax/servlet/ServletContext;Ljavax/servlet/http/HttpServlet Request;)V
>> (Unknown
>>
>> Source)
>>
>> at
>>
>> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(Lja
>> va/lang/Object;Lorg/eclipse/birt/report/service/api/InputOpt ions;)V(Un
>> known
>>
>> Source)
>>
>> at
>>
>> org.eclipse.birt.report.servlet.ViewerServlet.__getContext(L javax/serv
>> let/http/HttpServletRequest;Ljavax/servlet/http/HttpServletR esponse;)L
>> org/eclipse/birt/report/context/IContext;(Unknown
>>
>> Source)
>>
>> at
>>
>> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet
>> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/ HttpServle
>> tResponse;)V(Unknown
>>
>> Source)
>>
>> at
>>
>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/H ttpServlet
>> Request;Ljavax/servlet/http/HttpServletResponse;)V(HttpServl et.java:74
>> 0)
>>
>> at
>>
>> org.apache.axis.transport.http.AxisServletBase.service(Ljava x/servlet/
>> http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V(Axi
>> sServletBase.java:327)
>>
>> at
>>
>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/Servle tRequest;L
>> javax/servlet/ServletResponse;)V(HttpServlet.java:853)
>>
>> at
>>
>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationA ction.run(
>> )Ljava/lang/Object;(ServletStubImpl.java:1072)
>>
>> at
>>
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servlet
>> /ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/ser vlet/inter
>> nal/FilterChainImpl;)V(ServletStubImpl.java:465)
>>
>> at
>>
>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servlet
>> /ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStu bImpl.java
>> :348)
>>
>> at
>>
>> weblogic.servlet.internal.WebAppServletContext$ServletInvoca tionAction
>> .run()Ljava/lang/Object;(WebAppServletContext.java:6981)
>>
>> at
>>
>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lwe blogic/sec
>> urity/subject/AbstractSubject;Ljava/security/PrivilegedActio n;)Ljava/l
>> ang/Object;(AuthenticatedSubject.java:321)
>>
>> at
>>
>> weblogic.security.service.SecurityManager.runAs(Lweblogic/se curity/acl
>> /internal/AuthenticatedSubject;Lweblogic/security/acl/intern al/Authent
>> icatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Ob ject;(Secu
>> rityManager.java:121)
>>
>> at
>>
>> weblogic.servlet.internal.WebAppServletContext.invokeServlet (Lweblogic
>> /servlet/internal/ServletRequestImpl;Lweblogic/servlet/inter nal/Servle
>> tResponseImpl;)V(WebAppServletContext.java:3892)
>>
>> at
>>
>> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblog ic/kernel/
>> ExecuteThread;)V(ServletRequestImpl.java:2766)
>>
>> at
>>
>> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/Execu teRequest;
>> )V(ExecuteThread.java:224)
>>
>> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
>>
>> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unkn own
>> Source)
>>
>> --------
>>
>> Thanks,
>> Shweta Kautia
>> Birt Guy wrote:
>>
>>> Thanks for the info I ll try upgrading to weblogic 8.1.6 and see if I
>>> get the error again.
>>>
>>> Thanks!
>>>
>
>
Re: Installing BIRT Web Viewer in Weblogic [message #211237 is a reply to message #211230] Fri, 12 January 2007 09:33 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Yes, that's the normal config file. Do you see any log file anywhere else?

Thanks,

David

> Hi David,
>
> This is what i found in config.ini under the
> WEB-INF/platform/configuration:
>
> #Product Runtime Configuration File
>
> eclipse.product=org.eclipse.birt.report.engine.ReportEngineS DK
>
> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.jobs@
> 2:start,org.eclipse.core.runtime.compatibility.registry,org. eclipse.eq
> uinox.registry@2:start,org.eclipse.equinox.preferences@2:start,org.ecl
> ipse.core.contenttype,org.eclipse.core.runtime@2:start,org.eclipse.upd
> ate.configurator@3:start,com.ibm.icu,org.junit,org.mozilla.rhino,org.e
> clipse.birt.core@2:start
>
> osgi.bundles.defaultStartLevel=4
>
> I have also posted a reply to the user(perseusli) who said it worked
> for them.
>
> Thanks,
> Shweta
> David Michonneau wrote:
>
>> Somebody else managed to get it working with 8.1.5 in this
>> newsgroups, so it should work. According to your error, the OSGi
>> platform cannot start. Do you see anything in the OSGI configuration
>> folder? It's under WEB-INF/platform/configuration.
>>
>> Thanks,
>>
>> David
>>
>>> Hi,
>>>
>>> We have been trying very hard to get BIRT211 working with weblogic
>>> 8.1.5 but with no success. We cannot move to 8.1.6 and because of
>>> 211 not working for us we have had to use BIRT2.0.1 for all our
>>> reports.
>>>
>>> It will be great if somebody can share how they managed to get rid
>>> of all the error messages and exceptions to get it working with
>>> weblogic 8.1.5.
>>>
>>> The latest error I am getting is:
>>>
>>> java.lang.AssertionError
>>>
>>> at
>>>
>>> org.eclipse.birt.core.framework.Platform.startup(Lorg/eclips e/birt/c
>>> or e/framework/PlatformConfig;)V(Platform.java:85)
>>>
>>> at
>>>
>>> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext
>>> (L
>>> javax/servlet/ServletContext;Ljavax/servlet/http/HttpServlet Request;
>>> )V (Unknown
>>>
>>> Source)
>>>
>>> at
>>>
>>> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(L
>>> ja
>>> va/lang/Object;Lorg/eclipse/birt/report/service/api/InputOpt ions;)V(
>>> Un known
>>>
>>> Source)
>>>
>>> at
>>>
>>> org.eclipse.birt.report.servlet.ViewerServlet.__getContext(L javax/se
>>> rv
>>> let/http/HttpServletRequest;Ljavax/servlet/http/HttpServletR esponse;
>>> )L org/eclipse/birt/report/context/IContext;(Unknown
>>>
>>> Source)
>>>
>>> at
>>>
>>> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doG
>>> et
>>> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/ HttpServ
>>> le tResponse;)V(Unknown
>>>
>>> Source)
>>>
>>> at
>>>
>>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/H ttpServl
>>> et
>>> Request;Ljavax/servlet/http/HttpServletResponse;)V(HttpServl et.java:
>>> 74 0)
>>>
>>> at
>>>
>>> org.apache.axis.transport.http.AxisServletBase.service(Ljava x/servle
>>> t/
>>> http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V(A
>>> xi sServletBase.java:327)
>>>
>>> at
>>>
>>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/Servle tRequest
>>> ;L javax/servlet/ServletResponse;)V(HttpServlet.java:853)
>>>
>>> at
>>>
>>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationA ction.ru
>>> n( )Ljava/lang/Object;(ServletStubImpl.java:1072)
>>>
>>> at
>>>
>>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servl
>>> et
>>> /ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/ser vlet/int
>>> er nal/FilterChainImpl;)V(ServletStubImpl.java:465)
>>>
>>> at
>>>
>>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servl
>>> et
>>> /ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStu bImpl.ja
>>> va :348)
>>>
>>> at
>>>
>>> weblogic.servlet.internal.WebAppServletContext$ServletInvoca tionActi
>>> on .run()Ljava/lang/Object;(WebAppServletContext.java:6981)
>>>
>>> at
>>>
>>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lwe blogic/s
>>> ec
>>> urity/subject/AbstractSubject;Ljava/security/PrivilegedActio n;)Ljava
>>> /l ang/Object;(AuthenticatedSubject.java:321)
>>>
>>> at
>>>
>>> weblogic.security.service.SecurityManager.runAs(Lweblogic/se curity/a
>>> cl
>>> /internal/AuthenticatedSubject;Lweblogic/security/acl/intern al/Authe
>>> nt
>>> icatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Ob ject;(Se
>>> cu rityManager.java:121)
>>>
>>> at
>>>
>>> weblogic.servlet.internal.WebAppServletContext.invokeServlet (Lweblog
>>> ic
>>> /servlet/internal/ServletRequestImpl;Lweblogic/servlet/inter nal/Serv
>>> le tResponseImpl;)V(WebAppServletContext.java:3892)
>>>
>>> at
>>>
>>> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblog ic/kerne
>>> l/ ExecuteThread;)V(ServletRequestImpl.java:2766)
>>>
>>> at
>>>
>>> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/Execu teReques
>>> t; )V(ExecuteThread.java:224)
>>>
>>> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
>>>
>>> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unkn own
>>> Source)
>>>
>>> --------
>>>
>>> Thanks,
>>> Shweta Kautia
>>> Birt Guy wrote:
>>>> Thanks for the info I ll try upgrading to weblogic 8.1.6 and see if
>>>> I get the error again.
>>>>
>>>> Thanks!
>>>>
Re: Installing BIRT Web Viewer in Weblogic [message #211328 is a reply to message #211237] Fri, 12 January 2007 16:00 Go to previous messageGo to next message
shweta kautia is currently offline shweta kautia
Messages: 6
Registered: July 2009
Junior Member
Hi,

No,, there are no other log files that have any information. BIRT log
files are 0kb.

But there is Good News! it somehow worked!! i have no idea what I
changed.. but the default report shows up without errors/exceptions.

I will be testing it for reports that were built using 201, i'm not sure
if it will handle them very well. If not, i'd have to convert them in
the designer before deploying.

Thanks for your help!
-shweta

David Michonneau wrote:
> Yes, that's the normal config file. Do you see any log file anywhere else?
>
> Thanks,
>
> David
>
>> Hi David,
>>
>> This is what i found in config.ini under the
>> WEB-INF/platform/configuration:
>>
>> #Product Runtime Configuration File
>>
>> eclipse.product=org.eclipse.birt.report.engine.ReportEngineS DK
>>
>> osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.core.jobs@
>> 2:start,org.eclipse.core.runtime.compatibility.registry,org. eclipse.eq
>> uinox.registry@2:start,org.eclipse.equinox.preferences@2:start,org.ecl
>> ipse.core.contenttype,org.eclipse.core.runtime@2:start,org.eclipse.upd
>> ate.configurator@3:start,com.ibm.icu,org.junit,org.mozilla.rhino,org.e
>> clipse.birt.core@2:start
>>
>> osgi.bundles.defaultStartLevel=4
>>
>> I have also posted a reply to the user(perseusli) who said it worked
>> for them.
>>
>> Thanks,
>> Shweta
>> David Michonneau wrote:
>>
>>> Somebody else managed to get it working with 8.1.5 in this
>>> newsgroups, so it should work. According to your error, the OSGi
>>> platform cannot start. Do you see anything in the OSGI configuration
>>> folder? It's under WEB-INF/platform/configuration.
>>>
>>> Thanks,
>>>
>>> David
>>>
>>>> Hi,
>>>>
>>>> We have been trying very hard to get BIRT211 working with weblogic
>>>> 8.1.5 but with no success. We cannot move to 8.1.6 and because of
>>>> 211 not working for us we have had to use BIRT2.0.1 for all our
>>>> reports.
>>>>
>>>> It will be great if somebody can share how they managed to get rid
>>>> of all the error messages and exceptions to get it working with
>>>> weblogic 8.1.5.
>>>>
>>>> The latest error I am getting is:
>>>>
>>>> java.lang.AssertionError
>>>>
>>>> at
>>>>
>>>> org.eclipse.birt.core.framework.Platform.startup(Lorg/eclips e/birt/c
>>>> or e/framework/PlatformConfig;)V(Platform.java:85)
>>>>
>>>> at
>>>>
>>>> org.eclipse.birt.report.service.ReportEngineService.setEngin eContext
>>>> (L
>>>> javax/servlet/ServletContext;Ljavax/servlet/http/HttpServlet Request;
>>>> )V (Unknown
>>>>
>>>> Source)
>>>>
>>>> at
>>>>
>>>> org.eclipse.birt.report.service.BirtViewerReportService.setC ontext(L
>>>> ja
>>>> va/lang/Object;Lorg/eclipse/birt/report/service/api/InputOpt ions;)V(
>>>> Un known
>>>>
>>>> Source)
>>>>
>>>> at
>>>>
>>>> org.eclipse.birt.report.servlet.ViewerServlet.__getContext(L javax/se
>>>> rv
>>>> let/http/HttpServletRequest;Ljavax/servlet/http/HttpServletR esponse;
>>>> )L org/eclipse/birt/report/context/IContext;(Unknown
>>>>
>>>> Source)
>>>>
>>>> at
>>>>
>>>> org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doG
>>>> et
>>>> (Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/ HttpServ
>>>> le tResponse;)V(Unknown
>>>>
>>>> Source)
>>>>
>>>> at
>>>>
>>>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/http/H ttpServl
>>>> et
>>>> Request;Ljavax/servlet/http/HttpServletResponse;)V(HttpServl et.java:
>>>> 74 0)
>>>>
>>>> at
>>>>
>>>> org.apache.axis.transport.http.AxisServletBase.service(Ljava x/servle
>>>> t/
>>>> http/HttpServletRequest;Ljavax/servlet/http/HttpServletRespo nse;)V(A
>>>> xi sServletBase.java:327)
>>>>
>>>> at
>>>>
>>>> javax.servlet.http.HttpServlet.service(Ljavax/servlet/Servle tRequest
>>>> ;L javax/servlet/ServletResponse;)V(HttpServlet.java:853)
>>>>
>>>> at
>>>>
>>>> weblogic.servlet.internal.ServletStubImpl$ServletInvocationA ction.ru
>>>> n( )Ljava/lang/Object;(ServletStubImpl.java:1072)
>>>>
>>>> at
>>>>
>>>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servl
>>>> et
>>>> /ServletRequest;Ljavax/servlet/ServletResponse;Lweblogic/ser vlet/int
>>>> er nal/FilterChainImpl;)V(ServletStubImpl.java:465)
>>>>
>>>> at
>>>>
>>>> weblogic.servlet.internal.ServletStubImpl.invokeServlet(Ljav ax/servl
>>>> et
>>>> /ServletRequest;Ljavax/servlet/ServletResponse;)V(ServletStu bImpl.ja
>>>> va :348)
>>>>
>>>> at
>>>>
>>>> weblogic.servlet.internal.WebAppServletContext$ServletInvoca tionActi
>>>> on .run()Ljava/lang/Object;(WebAppServletContext.java:6981)
>>>>
>>>> at
>>>>
>>>> weblogic.security.acl.internal.AuthenticatedSubject.doAs(Lwe blogic/s
>>>> ec
>>>> urity/subject/AbstractSubject;Ljava/security/PrivilegedActio n;)Ljava
>>>> /l ang/Object;(AuthenticatedSubject.java:321)
>>>>
>>>> at
>>>>
>>>> weblogic.security.service.SecurityManager.runAs(Lweblogic/se curity/a
>>>> cl
>>>> /internal/AuthenticatedSubject;Lweblogic/security/acl/intern al/Authe
>>>> nt
>>>> icatedSubject;Ljava/security/PrivilegedAction;)Ljava/lang/Ob ject;(Se
>>>> cu rityManager.java:121)
>>>>
>>>> at
>>>>
>>>> weblogic.servlet.internal.WebAppServletContext.invokeServlet (Lweblog
>>>> ic
>>>> /servlet/internal/ServletRequestImpl;Lweblogic/servlet/inter nal/Serv
>>>> le tResponseImpl;)V(WebAppServletContext.java:3892)
>>>>
>>>> at
>>>>
>>>> weblogic.servlet.internal.ServletRequestImpl.execute(Lweblog ic/kerne
>>>> l/ ExecuteThread;)V(ServletRequestImpl.java:2766)
>>>>
>>>> at
>>>>
>>>> weblogic.kernel.ExecuteThread.execute(Lweblogic/kernel/Execu teReques
>>>> t; )V(ExecuteThread.java:224)
>>>>
>>>> at weblogic.kernel.ExecuteThread.run()V(ExecuteThread.java:183)
>>>>
>>>> at java.lang.Thread.startThreadFromVM(Ljava/lang/Thread;)V(Unkn own
>>>> Source)
>>>>
>>>> --------
>>>>
>>>> Thanks,
>>>> Shweta Kautia
>>>> Birt Guy wrote:
>>>>> Thanks for the info I ll try upgrading to weblogic 8.1.6 and see if
>>>>> I get the error again.
>>>>>
>>>>> Thanks!
>>>>>
>
>
Re: Installing BIRT Web Viewer in Weblogic [message #211335 is a reply to message #211328] Fri, 12 January 2007 16:03 Go to previous messageGo to next message
Eclipse User
Originally posted by: xxx.xxx.com

Hello Shweta,

I am still getting teh following error , is there anything different you
did with weblogic, did you see this error will it be possible for you to
post you app/project structure of workshop???


************************************************************ *
java.lang.NoClassDefFoundError: org/mozilla/javascript/CompilerEnvirons
at
org.eclipse.birt.core.data.ExpressionParserUtility.parse(Lja va.lang.String;Lorg.mozilla.javascript.Context;)Lorg.mozilla .javascript.ScriptOrFnNode;(ExpressionParserUtility.java:182 )
at
org.eclipse.birt.core.data.ExpressionParserUtility.compileCo lumnExpression(Ljava.lang.String;Z)Ljava.util.List;(Expressi onParserUtility.java:80)
at
org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;Z)Ljava.util.List;(ExpressionUtil.j ava:175)
at
org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;)Ljava.util.List;(ExpressionUtil.ja va:137)
at
org.eclipse.birt.report.model.util.DataBoundColumnUtil.handl eJavaExpression(Ljava.util.List;Lorg.eclipse.birt.report.mod el.elements.TextItem;Lorg.eclipse.birt.report.model.core.Mod ule;Ljava.util.Map;)Ljava.util.Map;(DataBoundColumnUtil.java :636)
at
org.eclipse.birt.report.model.parser.TextItemState.end()V(Te xtItemState.java:104)
at
org.eclipse.birt.report.model.util.XMLParserHandler.endEleme nt(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V( XMLParserHandler.java:174)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.endElement( Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xn i.Augmentations;)V(AbstractSAXParser.java:585)
at
weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lw eblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni. Augmentations;)V(XMLNamespaceBinder.java:647)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canEndElement()I(XMLDocumentFragmentScannerImpl.java:1008)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$F ragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSca nnerImpl.java:1469)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DT DConfiguration.java:525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblo gic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfigurat ion.java:581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apa che.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg. xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.Input Source;)V(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.Input Source;)V(RegistryXMLReader.java:152)
at
javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;L org.xml.sax.helpers.DefaultHandler;)V(SAXParser.java:345)
at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (Lorg.eclipse.birt.report.model.parser.ModuleParserHandler;L java.io.InputStream;)Lorg.eclipse.birt.report.model.core.Mod ule;(ModuleReader.java:90)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Lorg. eclipse.birt.report.model.core.DesignSession;Ljava.lang.Stri ng;Ljava.io.InputStream;Lorg.eclipse.birt.report.model.api.M oduleOption;)Lorg.eclipse.birt.report.model.elements.ReportD esign;(DesignReader.java:90)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign( Ljava.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.rep ort.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.e lements.ReportDesign;(DesignSession.java:278)
at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(L java.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.repo rt.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.ap i.ReportDesignHandle;(SessionHandle.java:291)
at
org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(Ljava.lang.String;Ljava.io.InputStream;)Lorg.eclipse. birt.report.model.api.ReportDesignHandle;(ReportParser.java: 161)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava .util.Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnab le;(ReportEngineHelper.java:243)
at
org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util. Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Re portEngine.java:457)
at
org.eclipse.birt.report.service.ReportEngineService.openRepo rtDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util.M ap;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Unk nown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.getDesig nHandle(Ljavax.servlet.http.HttpServletRequest;)Lorg.eclipse .birt.report.service.api.IViewerReportDesignHandle;(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(Ljavax.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__init(L javax.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.BaseAttributeBean.init(Ljava x.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.(Ljavax. servlet.http.HttpServletRequest;)V(Unknown
Source)
Re: Installing BIRT Web Viewer in Weblogic [message #211360 is a reply to message #211335] Fri, 12 January 2007 17:23 Go to previous messageGo to next message
shweta kautia is currently offline shweta kautia
Messages: 6
Registered: July 2009
Junior Member
Hi,

we used to get this error earlier with birt 2.1.0 but not sure if it was
fixed, if at all. Did you get the itext.jar in the right place? i don't
think you need to do anything with prototype.js in birt211.

we're using weblogic 8.1.5 with birt 211.

Strangely, i did not get this with birt211.

regards,
shweta

Birt Guy wrote:
> Hello Shweta,
>
> I am still getting teh following error , is there anything different you
> did with weblogic, did you see this error will it be possible for you to
> post you app/project structure of workshop???
>
>
> ************************************************************ *
> java.lang.NoClassDefFoundError: org/mozilla/javascript/CompilerEnvirons
> at
> org.eclipse.birt.core.data.ExpressionParserUtility.parse(Lja va.lang.String;Lorg.mozilla.javascript.Context;)Lorg.mozilla .javascript.ScriptOrFnNode;(ExpressionParserUtility.java:182 )
>
> at
> org.eclipse.birt.core.data.ExpressionParserUtility.compileCo lumnExpression(Ljava.lang.String;Z)Ljava.util.List;(Expressi onParserUtility.java:80)
>
> at
> org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;Z)Ljava.util.List;(ExpressionUtil.j ava:175)
>
> at
> org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;)Ljava.util.List;(ExpressionUtil.ja va:137)
>
> at
> org.eclipse.birt.report.model.util.DataBoundColumnUtil.handl eJavaExpression(Ljava.util.List;Lorg.eclipse.birt.report.mod el.elements.TextItem;Lorg.eclipse.birt.report.model.core.Mod ule;Ljava.util.Map;)Ljava.util.Map;(DataBoundColumnUtil.java :636)
>
> at
> org.eclipse.birt.report.model.parser.TextItemState.end()V(Te xtItemState.java:104)
>
> at
> org.eclipse.birt.report.model.util.XMLParserHandler.endEleme nt(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V( XMLParserHandler.java:174)
>
> at
> weblogic.apache.xerces.parsers.AbstractSAXParser.endElement( Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xn i.Augmentations;)V(AbstractSAXParser.java:585)
>
> at
> weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lw eblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni. Augmentations;)V(XMLNamespaceBinder.java:647)
>
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canEndElement()I(XMLDocumentFragmentScannerImpl.java:1008)
>
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$F ragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSca nnerImpl.java:1469)
>
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
>
> at
> weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DT DConfiguration.java:525)
>
> at
> weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblo gic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfigurat ion.java:581)
>
> at
> weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apa che.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
>
> at
> weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg. xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
>
> at
> weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.Input Source;)V(WebLogicXMLReader.java:135)
>
> at
> weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.Input Source;)V(RegistryXMLReader.java:152)
>
> at
> javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;L org.xml.sax.helpers.DefaultHandler;)V(SAXParser.java:345)
>
> at
> org.eclipse.birt.report.model.parser.ModuleReader.readModule (Lorg.eclipse.birt.report.model.parser.ModuleParserHandler;L java.io.InputStream;)Lorg.eclipse.birt.report.model.core.Mod ule;(ModuleReader.java:90)
>
> at
> org.eclipse.birt.report.model.parser.DesignReader.read(Lorg. eclipse.birt.report.model.core.DesignSession;Ljava.lang.Stri ng;Ljava.io.InputStream;Lorg.eclipse.birt.report.model.api.M oduleOption;)Lorg.eclipse.birt.report.model.elements.ReportD esign;(DesignReader.java:90)
>
> at
> org.eclipse.birt.report.model.core.DesignSession.openDesign( Ljava.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.rep ort.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.e lements.ReportDesign;(DesignSession.java:278)
>
> at
> org.eclipse.birt.report.model.api.SessionHandle.openDesign(L java.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.repo rt.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.ap i.ReportDesignHandle;(SessionHandle.java:291)
>
> at
> org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(Ljava.lang.String;Ljava.io.InputStream;)Lorg.eclipse. birt.report.model.api.ReportDesignHandle;(ReportParser.java: 161)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava .util.Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnab le;(ReportEngineHelper.java:243)
>
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util. Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Re portEngine.java:457)
>
> at
> org.eclipse.birt.report.service.ReportEngineService.openRepo rtDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util.M ap;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Unk nown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.getDesig nHandle(Ljavax.servlet.http.HttpServletRequest;)Lorg.eclipse .birt.report.service.api.IViewerReportDesignHandle;(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(Ljavax.servlet.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__init(L javax.servlet.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.BaseAttributeBean.init(Ljava x.servlet.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.(Ljavax. servlet.http.HttpServletRequest;)V(Unknown
> Source)
>
>
Re: Installing BIRT Web Viewer in Weblogic [message #211376 is a reply to message #211360] Fri, 12 January 2007 17:52 Go to previous messageGo to next message
Eclipse User
Originally posted by: xxxx.xxx.com

Now I get this error....


*********************************************8
java.lang.IllegalAccessError: org/mozilla/javascript/DefaultErrorReporter
at org.mozilla.javascript.CompilerEnvirons.()V(CompilerEnvirons .java:???)
at
org.eclipse.birt.core.data.ExpressionParserUtility.parse(Lja va.lang.String;Lorg.mozilla.javascript.Context;)Lorg.mozilla .javascript.ScriptOrFnNode;(ExpressionParserUtility.java:182 )
at
org.eclipse.birt.core.data.ExpressionParserUtility.compileCo lumnExpression(Ljava.lang.String;Z)Ljava.util.List;(Expressi onParserUtility.java:80)
at
org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;Z)Ljava.util.List;(ExpressionUtil.j ava:175)
at
org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Ljava.lang.String;)Ljava.util.List;(ExpressionUtil.ja va:137)
at
org.eclipse.birt.report.model.util.DataBoundColumnUtil.handl eJavaExpression(Ljava.util.List;Lorg.eclipse.birt.report.mod el.elements.TextItem;Lorg.eclipse.birt.report.model.core.Mod ule;Ljava.util.Map;)Ljava.util.Map;(DataBoundColumnUtil.java :636)
at
org.eclipse.birt.report.model.parser.TextItemState.end()V(Te xtItemState.java:104)
at
org.eclipse.birt.report.model.util.XMLParserHandler.endEleme nt(Ljava.lang.String;Ljava.lang.String;Ljava.lang.String;)V( XMLParserHandler.java:174)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.endElement( Lweblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xn i.Augmentations;)V(AbstractSAXParser.java:585)
at
weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lw eblogic.apache.xerces.xni.QName;Lweblogic.apache.xerces.xni. Augmentations;)V(XMLNamespaceBinder.java:647)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canEndElement()I(XMLDocumentFragmentScannerImpl.java:1008)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$F ragmentContentDispatcher.dispatch(Z)Z(XMLDocumentFragmentSca nnerImpl.java:1469)
at
weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canDocument(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DT DConfiguration.java:525)
at
weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblo gic.apache.xerces.xni.parser.XMLInputSource;)V(DTDConfigurat ion.java:581)
at
weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apa che.xerces.xni.parser.XMLInputSource;)V(XMLParser.java:152)
at
weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg. xml.sax.InputSource;)V(AbstractSAXParser.java:1175)
at
weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.Input Source;)V(WebLogicXMLReader.java:135)
at
weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.Input Source;)V(RegistryXMLReader.java:152)
at
javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;L org.xml.sax.helpers.DefaultHandler;)V(SAXParser.java:345)
at
org.eclipse.birt.report.model.parser.ModuleReader.readModule (Lorg.eclipse.birt.report.model.parser.ModuleParserHandler;L java.io.InputStream;)Lorg.eclipse.birt.report.model.core.Mod ule;(ModuleReader.java:90)
at
org.eclipse.birt.report.model.parser.DesignReader.read(Lorg. eclipse.birt.report.model.core.DesignSession;Ljava.lang.Stri ng;Ljava.io.InputStream;Lorg.eclipse.birt.report.model.api.M oduleOption;)Lorg.eclipse.birt.report.model.elements.ReportD esign;(DesignReader.java:90)
at
org.eclipse.birt.report.model.core.DesignSession.openDesign( Ljava.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.rep ort.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.e lements.ReportDesign;(DesignSession.java:278)
at
org.eclipse.birt.report.model.api.SessionHandle.openDesign(L java.lang.String;Ljava.io.InputStream;Lorg.eclipse.birt.repo rt.model.api.ModuleOption;)Lorg.eclipse.birt.report.model.ap i.ReportDesignHandle;(SessionHandle.java:291)
at
org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(Ljava.lang.String;Ljava.io.InputStream;)Lorg.eclipse. birt.report.model.api.ReportDesignHandle;(ReportParser.java: 161)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava .util.Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnab le;(ReportEngineHelper.java:243)
at
org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util. Map;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Re portEngine.java:457)
at
org.eclipse.birt.report.service.ReportEngineService.openRepo rtDesign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util.M ap;)Lorg.eclipse.birt.report.engine.api.IReportRunnable;(Unk nown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.getDesig nHandle(Ljavax.servlet.http.HttpServletRequest;)Lorg.eclipse .birt.report.service.api.IViewerReportDesignHandle;(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(Ljavax.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__init(L javax.servlet.http.HttpServletRequest;)V(Unknown
Source)
at
org.eclipse.birt.report.context.BaseAttributeBean.init(Ljava x.servlet.http.HttpServletRequest;)V(Unknown
Source)
Re: Installing BIRT Web Viewer in Weblogic [message #211388 is a reply to message #211376] Sat, 13 January 2007 05:59 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Did you copy commons-logging-api.jar to WEB-INF/lib directory ?

Thanks,

David

> Now I get this error....
>
> *********************************************8
> java.lang.IllegalAccessError:
> org/mozilla/javascript/DefaultErrorReporter
> at
> org.mozilla.javascript.CompilerEnvirons.()V(CompilerEnvirons .java:???)
> at
> org.eclipse.birt.core.data.ExpressionParserUtility.parse(Lja va.lang.St
> ring;Lorg.mozilla.javascript.Context;)Lorg.mozilla.javascrip t.ScriptOr
> FnNode;(ExpressionParserUtility.java:182)
> at
> org.eclipse.birt.core.data.ExpressionParserUtility.compileCo lumnExpres
> sion(Ljava.lang.String;Z)Ljava.util.List;(ExpressionParserUt ility.java
> :80)
> at
> org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Lja
> va.lang.String;Z)Ljava.util.List;(ExpressionUtil.java:175)
> at
> org.eclipse.birt.core.data.ExpressionUtil.extractColumnExpre ssions(Lja
> va.lang.String;)Ljava.util.List;(ExpressionUtil.java:137)
> at
> org.eclipse.birt.report.model.util.DataBoundColumnUtil.handl eJavaExpre
> ssion(Ljava.util.List;Lorg.eclipse.birt.report.model.element s.TextItem
> ;Lorg.eclipse.birt.report.model.core.Module;Ljava.util.Map;) Ljava.util
> .Map;(DataBoundColumnUtil.java:636)
> at
> org.eclipse.birt.report.model.parser.TextItemState.end()V(Te xtItemStat
> e.java:104)
> at
> org.eclipse.birt.report.model.util.XMLParserHandler.endEleme nt(Ljava.l
> ang.String;Ljava.lang.String;Ljava.lang.String;)V(XMLParserH andler.jav
> a:174)
> at
> weblogic.apache.xerces.parsers.AbstractSAXParser.endElement( Lweblogic.
> apache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmenta tions;)V(A
> bstractSAXParser.java:585)
> at
> weblogic.apache.xerces.impl.XMLNamespaceBinder.endElement(Lw eblogic.ap
> ache.xerces.xni.QName;Lweblogic.apache.xerces.xni.Augmentati ons;)V(XML
> NamespaceBinder.java:647)
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canEndElem
> ent()I(XMLDocumentFragmentScannerImpl.java:1008)
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl$F ragmentCon
> tentDispatcher.dispatch(Z)Z(XMLDocumentFragmentScannerImpl.j ava:1469)
> at
> weblogic.apache.xerces.impl.XMLDocumentFragmentScannerImpl.s canDocumen
> t(Z)Z(XMLDocumentFragmentScannerImpl.java:329)
> at
> weblogic.apache.xerces.parsers.DTDConfiguration.parse(Z)Z(DT DConfigura
> tion.java:525)
> at
> weblogic.apache.xerces.parsers.DTDConfiguration.parse(Lweblo gic.apache
> .xerces.xni.parser.XMLInputSource;)V(DTDConfiguration.java:5 81)
> at
> weblogic.apache.xerces.parsers.XMLParser.parse(Lweblogic.apa che.xerces
> .xni.parser.XMLInputSource;)V(XMLParser.java:152)
> at
> weblogic.apache.xerces.parsers.AbstractSAXParser.parse(Lorg. xml.sax.In
> putSource;)V(AbstractSAXParser.java:1175)
> at
> weblogic.xml.jaxp.WebLogicXMLReader.parse(Lorg.xml.sax.Input Source;)V(
> WebLogicXMLReader.java:135)
> at
> weblogic.xml.jaxp.RegistryXMLReader.parse(Lorg.xml.sax.Input Source;)V(
> RegistryXMLReader.java:152)
> at
> javax.xml.parsers.SAXParser.parse(Lorg.xml.sax.InputSource;L org.xml.sa
> x.helpers.DefaultHandler;)V(SAXParser.java:345)
> at
> org.eclipse.birt.report.model.parser.ModuleReader.readModule (Lorg.ecli
> pse.birt.report.model.parser.ModuleParserHandler;Ljava.io.In putStream;
> )Lorg.eclipse.birt.report.model.core.Module;(ModuleReader.ja va:90)
> at
> org.eclipse.birt.report.model.parser.DesignReader.read(Lorg. eclipse.bi
> rt.report.model.core.DesignSession;Ljava.lang.String;Ljava.i o.InputStr
> eam;Lorg.eclipse.birt.report.model.api.ModuleOption;)Lorg.ec lipse.birt
> .report.model.elements.ReportDesign;(DesignReader.java:90)
> at
> org.eclipse.birt.report.model.core.DesignSession.openDesign( Ljava.lang
> .String;Ljava.io.InputStream;Lorg.eclipse.birt.report.model. api.Module
> Option;)Lorg.eclipse.birt.report.model.elements.ReportDesign ;(DesignSe
> ssion.java:278)
> at
> org.eclipse.birt.report.model.api.SessionHandle.openDesign(L java.lang.
> String;Ljava.io.InputStream;Lorg.eclipse.birt.report.model.a pi.ModuleO
> ption;)Lorg.eclipse.birt.report.model.api.ReportDesignHandle ;(SessionH
> andle.java:291)
> at
> org.eclipse.birt.report.engine.parser.ReportParser.getDesign Handle(Lja
> va.lang.String;Ljava.io.InputStream;)Lorg.eclipse.birt.repor t.model.ap
> i.ReportDesignHandle;(ReportParser.java:161)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.o penReportD
> esign(Ljava.lang.String;Ljava.io.InputStream;Ljava.util.Map; )Lorg.ecli
> pse.birt.report.engine.api.IReportRunnable;(ReportEngineHelp er.java:24
> 3)
> at
> org.eclipse.birt.report.engine.api.impl.ReportEngine.openRep ortDesign(
> Ljava.lang.String;Ljava.io.InputStream;Ljava.util.Map;)Lorg. eclipse.bi
> rt.report.engine.api.IReportRunnable;(ReportEngine.java:457)
> at
> org.eclipse.birt.report.service.ReportEngineService.openRepo rtDesign(L
> java.lang.String;Ljava.io.InputStream;Ljava.util.Map;)Lorg.e clipse.bir
> t.report.engine.api.IReportRunnable;(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.getDesig nHandle(Lj
> avax.servlet.http.HttpServletRequest;)Lorg.eclipse.birt.repo rt.service
> .api.IViewerReportDesignHandle;(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(L
> javax.servlet.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.ViewerAttributeBean.__init(L javax.serv
> let.http.HttpServletRequest;)V(Unknown
> Source)
> at
> org.eclipse.birt.report.context.BaseAttributeBean.init(Ljava x.servlet.
> http.HttpServletRequest;)V(Unknown
> Source)
>
Re: Installing BIRT Web Viewer in Weblogic [message #211702 is a reply to message #211388] Tue, 16 January 2007 10:40 Go to previous messageGo to next message
Eclipse User
Originally posted by: xxx.xxx.com

Hi David,

I dont see that fil included with BirtViewerApp Apllication that comes
with BIRT Runtime, I only see commons-logging.jar but NOT
commons-logging-api.jar, where can I get this jar file from?

Thanks.
Re: Installing BIRT Web Viewer in Weblogic [message #211796 is a reply to message #211702] Tue, 16 January 2007 12:11 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Try using commons-logging.jar. The -api is probably just a renaming of this
file, but with the same content. Let me know if it doesn't work.

Thanks,

David

> Hi David,
>
> I dont see that fil included with BirtViewerApp Apllication that comes
> with BIRT Runtime, I only see commons-logging.jar but NOT
> commons-logging-api.jar, where can I get this jar file from?
>
> Thanks.
>
Re: Installing BIRT Web Viewer in Weblogic [message #211859 is a reply to message #211796] Tue, 16 January 2007 13:00 Go to previous messageGo to next message
Eclipse User
Originally posted by: xxx.xxx.com

Hi David,

I already had commos-logging.jar file in the lib folder, all of a sudden
I dont get that error and I am able to go to the parameter box of the
Birt Web Viewer, but as soon as I type in a parameter value and press OK I
get a nullpointer exception any ideas why??

Thanks for yoru time!
Re: Installing BIRT Web Viewer in Weblogic [message #211882 is a reply to message #211859] Tue, 16 January 2007 13:26 Go to previous messageGo to next message
David Michonneau is currently offline David Michonneau
Messages: 1149
Registered: July 2009
Senior Member
Please post the stack trace.

Thanks,

David

> Hi David,
>
> I already had commos-logging.jar file in the lib folder, all of a
> sudden I dont get that error and I am able to go to the parameter box
> of the Birt Web Viewer, but as soon as I type in a parameter value and
> press OK I get a nullpointer exception any ideas why??
>
> Thanks for yoru time!
>
Re: Installing BIRT Web Viewer in Weblogic [message #212248 is a reply to message #211882] Wed, 17 January 2007 18:25 Go to previous message
Eclipse User
Originally posted by: ssss.sddd.com

Hello David,

I get the following error , this inspite of the fact that I set the
<prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml file
to use the js.jar in web-inf/lib.Any ideas why this is happening,ssems to
me its using the ImporterTopLevel class in the weblogic.jar file which is
in the server class path and not the one in the js.jar of web-inf/lib,
even though I set the element as
<prefer-web-inf-classes>true</prefer-web-inf-classes> in weblogic.xml
file.Any ideas?

Thanks.

java.lang.NoSuchMethodError:
org.mozilla.javascript.ImporterTopLevel.initStandardObjects( Lorg/mozilla/javascript/Conte
xt;Z)V
at
org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:81)
at
org.eclipse.birt.core.script.ScriptContext.<init>(ScriptContext.java:68)
at
org.eclipse.birt.report.engine.executor.ExecutionContext.<init >(ExecutionContext.java:291)
at
org.eclipse.birt.report.engine.api.impl.EngineTask.<init>(EngineTask.java:135)
at
org.eclipse.birt.report.engine.api.impl.GetParameterDefiniti onTask. <init>(GetParameterDefinitionTask.java:8
5)
at
org.eclipse.birt.report.engine.api.impl.ReportEngineHelper.c reateGetParameterDefinitionTask(ReportEngineHel
per.java:298)
at
org.eclipse.birt.report.engine.api.impl.ReportEngine.createG etParameterDefinitionTask(ReportEngine.java:303
)
at
org.eclipse.birt.report.service.ReportEngineService.createGe tParameterDefinitionTask(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.getP arameterDefinitionTask(Unknown
Source)
at
org.eclipse.birt.report.service.BirtViewerReportService.getP arameterDefinitions(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__initPa rameters(Unknown
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.__init(U nknown Source)
at org.eclipse.birt.report.context.BaseAttributeBean.init(Unkno wn
Source)
at
org.eclipse.birt.report.context.ViewerAttributeBean.<init>(Unknown Source)
at org.eclipse.birt.report.context.BirtContext.__init(Unknown
Source)
at org.eclipse.birt.report.context.BaseContext.<init>(Unknown
Source)
at org.eclipse.birt.report.context.BirtContext.<init>(Unknown
Source)
at
org.eclipse.birt.report.servlet.ViewerServlet.__getContext(U nknown Source)
at
org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherSer vlet.doGet(Unknown
Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at
org.apache.axis.transport.http.AxisServletBase.service(AxisS ervletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl$ServletInvocationA ction.run(ServletStubImpl.java:1006)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(Serv letStubImpl.java:419)
at
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.jav a:28)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterCha inImpl.java:27)
at
com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalSer vletFilter.java:293)
at
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterCha inImpl.java:27)
at
weblogic.servlet.internal.WebAppServletContext$ServletInvoca tionAction.run(WebAppServletContext.java:6724)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Aut henticatedSubject.java:321)
at
weblogic.security.service.SecurityManager.runAs(SecurityMana ger.java:121)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet (WebAppServletContext.java:3764)
at
weblogic.servlet.internal.ServletRequestImpl.execute(Servlet RequestImpl.java:2644)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219 )
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
Previous Topic:BIRT_VIEWER_LOG_LEVEL - 'ALL' not working
Next Topic:It is possible to have Report Viewer in Java Application (SWT) ?
Goto Forum:
  


Current Time: Sun Apr 20 06:54:10 EDT 2014

Powered by FUDForum. Page generated in 0.02994 seconds