Home » Archived » BIRT » ODA Extension
ODA Extension [message #198178] |
Sun, 29 October 2006 21:51 |
Eclipse User |
|
|
|
Originally posted by: jegd.ctv.es
Hi
I'm trying to create my own ODA driver so I can use several objects, EJBs mainly, deployed
in an application server (Weblogic 8.1), as my data sources. The plugin contains, besides
the oda extension classes, a couple of jars, the weblogic client wlclient.jar and one jar
containing my own classes (let's call it myclasses.jar).
Once I copy the plugin and its UI counterpart to the plugins directory I am able to create
my own data sources and data sets. I can test the connection and preview the data sets from
the edit Data set dialog. But when I try to use the preview tab of the Report Designer
perspective I get a ClassNotFoundException weblogic.jndi.InitialContextFactory. It looks like
the wlclient.jar classes are not being loaded when the tomcat plugin invokes my plugin, but
the classes in my own jar (myclasses.jar) are. In case you wonder both jars are in the runtime
classpath of my plugin.
The funny thing is, that if I test the connection, or preview the data set results, then the
preview tab works. I suppose this has something to do with tomcat's classloader, but I cannot
be sure. I know this is not strictly a birt problem, but I would really appreciatte any help.
This is the detailed exception:
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at myclasses.Service.getInitialContext(Service.java:628)
at myclasses.Service.getHome(Service.java:582)
at myclasses.Service.send(Service.java:502)
at org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
at org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown Source)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown Source)
at org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown Source)
at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known Source)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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 org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
... 73 more
javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi.WLInitialContextFactory [Root exception is java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
at javax.naming.InitialContext.init(InitialContext.java:219)
at javax.naming.InitialContext.<init>(InitialContext.java:195)
at myclasses.Service.getInitialContext(Service.java:628)
at myclasses.Service.getHome(Service.java:582)
at myclasses.Service.send(Service.java:502)
at org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
at org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
at org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
at org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
at org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
at org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
at org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown Source)
at org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown Source)
at org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown Source)
at org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown Source)
at org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown Source)
at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known Source)
at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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 org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
at org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
at org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:219)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
... 73 more
|
|
|
Re: ODA Extension [message #198195 is a reply to message #198178] |
Sun, 29 October 2006 23:08 |
|
Try
setThreadContextClassLoader="true">
In the oda plugin xml file.
Jason
<jegd@ctv.es> wrote in message news:ei37p4$2p1$1@utils.eclipse.org...
> Hi
>
> I'm trying to create my own ODA driver so I can use several objects, EJBs
> mainly, deployed
> in an application server (Weblogic 8.1), as my data sources. The plugin
> contains, besides
> the oda extension classes, a couple of jars, the weblogic client
> wlclient.jar and one jar
> containing my own classes (let's call it myclasses.jar).
>
> Once I copy the plugin and its UI counterpart to the plugins directory I
> am able to create
> my own data sources and data sets. I can test the connection and preview
> the data sets from
> the edit Data set dialog. But when I try to use the preview tab of the
> Report Designer
> perspective I get a ClassNotFoundException
> weblogic.jndi.InitialContextFactory. It looks like
> the wlclient.jar classes are not being loaded when the tomcat plugin
> invokes my plugin, but
> the classes in my own jar (myclasses.jar) are. In case you wonder both
> jars are in the runtime
> classpath of my plugin.
>
> The funny thing is, that if I test the connection, or preview the data set
> results, then the
> preview tab works. I suppose this has something to do with tomcat's
> classloader, but I cannot
> be sure. I know this is not strictly a birt problem, but I would really
> appreciatte any help.
>
> This is the detailed exception:
>
> javax.naming.NoInitialContextException: Cannot instantiate class:
> weblogic.jndi.WLInitialContextFactory [Root exception is
> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
> at javax.naming.InitialContext.init(InitialContext.java:219)
> at javax.naming.InitialContext.<init>(InitialContext.java:195)
> at myclasses.Service.getInitialContext(Service.java:628)
> at myclasses.Service.getHome(Service.java:582)
> at myclasses.Service.send(Service.java:502)
> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
> at
> org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
> at
> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
> at
> org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
> at
> org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
> at
> org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
> at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
> Source)
> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
> Source)
> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.ClassNotFoundException:
> weblogic.jndi.WLInitialContextFactory
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:219)
> at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
> ... 73 more
>
> javax.naming.NoInitialContextException: Cannot instantiate class:
> weblogic.jndi.WLInitialContextFactory [Root exception is
> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
> at javax.naming.InitialContext.init(InitialContext.java:219)
> at javax.naming.InitialContext.<init>(InitialContext.java:195)
> at myclasses.Service.getInitialContext(Service.java:628)
> at myclasses.Service.getHome(Service.java:582)
> at myclasses.Service.send(Service.java:502)
> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
> at
> org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
> at
> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
> at
> org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
> at
> org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
> at
> org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
> at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
> Source)
> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
> Source)
> at
> org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
> Source)
> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
> Source)
> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
> at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
> at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.ClassNotFoundException:
> weblogic.jndi.WLInitialContextFactory
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:219)
> at
> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
> at
> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
> ... 73 more
>
>
>
>
|
|
|
Re: ODA Extension [message #198238 is a reply to message #198195] |
Mon, 30 October 2006 05:42 |
Ravi Messages: 92 Registered: July 2009 |
Member |
|
|
Jason,
A similar problem, but using IBM JDK and WebSphere App Server.
When I set setThreadContextClassLoader="true" in the plugin.xml, strangly
jre's ext folder libraries are not getting loaded.
11:00:55.834 com.ibm.rmi.corba.PluginRegistry
loadPrereqPluginsGroupThree:269 TP-Processor4 ORBRas[default]
java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
at
com.ibm.ISecurityUtilityImpl.SSLConfiguration.<init>(SSLConfiguration.java:109)
at
com.ibm.ISecurityUtilityImpl.SecurityConfiguration.<init>(SecurityConfiguration.java:451)
and ...
11:00:55.834 com.ibm.rmi.corba.PluginRegistry
loadPrereqPluginsGroupThree:269 TP-Processor4 ORBRas[default]
java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
at
com.ibm.ISecurityUtilityImpl.SSLConfiguration.<init>(SSLConfiguration.java:109)
at
com.ibm.ISecurityUtilityImpl.SecurityConfiguration.<init>(SecurityConfiguration.java:451)
at com.ibm.ISecurityUtilityImpl.ServiceInit.init(ServiceInit.ja va:171)
at
com.ibm.ISecurityUtilityImpl.ServiceInit.initialize(ServiceI nit.java:125)
Any clue.
Ravi Chamarthy.
Jason Weathersby wrote:
> Try
> setThreadContextClassLoader="true">
> In the oda plugin xml file.
> Jason
> <jegd@ctv.es> wrote in message news:ei37p4$2p1$1@utils.eclipse.org...
>> Hi
>>
>> I'm trying to create my own ODA driver so I can use several objects, EJBs
>> mainly, deployed
>> in an application server (Weblogic 8.1), as my data sources. The plugin
>> contains, besides
>> the oda extension classes, a couple of jars, the weblogic client
>> wlclient.jar and one jar
>> containing my own classes (let's call it myclasses.jar).
>>
>> Once I copy the plugin and its UI counterpart to the plugins directory I
>> am able to create
>> my own data sources and data sets. I can test the connection and preview
>> the data sets from
>> the edit Data set dialog. But when I try to use the preview tab of the
>> Report Designer
>> perspective I get a ClassNotFoundException
>> weblogic.jndi.InitialContextFactory. It looks like
>> the wlclient.jar classes are not being loaded when the tomcat plugin
>> invokes my plugin, but
>> the classes in my own jar (myclasses.jar) are. In case you wonder both
>> jars are in the runtime
>> classpath of my plugin.
>>
>> The funny thing is, that if I test the connection, or preview the data set
>> results, then the
>> preview tab works. I suppose this has something to do with tomcat's
>> classloader, but I cannot
>> be sure. I know this is not strictly a birt problem, but I would really
>> appreciatte any help.
>>
>> This is the detailed exception:
>>
>> javax.naming.NoInitialContextException: Cannot instantiate class:
>> weblogic.jndi.WLInitialContextFactory [Root exception is
>> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
>> at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
>> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
>> at javax.naming.InitialContext.init(InitialContext.java:219)
>> at javax.naming.InitialContext.<init>(InitialContext.java:195)
>> at myclasses.Service.getInitialContext(Service.java:628)
>> at myclasses.Service.getHome(Service.java:582)
>> at myclasses.Service.send(Service.java:502)
>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
>> at
>>
org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
>> at
>>
org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
>> at
>>
org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
>> at
>>
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
>> at
>>
org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
>> at
>>
org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
>> at
>>
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
>> at
>>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
>> at
>>
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>> Source)
>> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
>> Source)
>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>> at
>>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at
>>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at
>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>> at
>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>> at
>>
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at
>>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>> at
>>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>> at
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>> at
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>> Caused by: java.lang.ClassNotFoundException:
>> weblogic.jndi.WLInitialContextFactory
>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:219)
>> at
>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
>> at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
>> ... 73 more
>>
>> javax.naming.NoInitialContextException: Cannot instantiate class:
>> weblogic.jndi.WLInitialContextFactory [Root exception is
>> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
>> at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
>> at javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
>> at javax.naming.InitialContext.init(InitialContext.java:219)
>> at javax.naming.InitialContext.<init>(InitialContext.java:195)
>> at myclasses.Service.getInitialContext(Service.java:628)
>> at myclasses.Service.getHome(Service.java:582)
>> at myclasses.Service.send(Service.java:502)
>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
>> at
>>
org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
>> at
>>
org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
>> at
>>
org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
>> at
>>
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
>> at
>>
org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
>> at
>>
org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
>> at
>>
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
>> at
>>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
>> at
>>
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>> Source)
>> at
>>
org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>> Source)
>> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
>> Source)
>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>> at
>>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at
>>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at
>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>> at
>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>> at
>>
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at
>>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>> at
>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>> at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>> at
>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>> at
>>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>> at
>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>> at
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>> at java.lang.Thread.run(Thread.java:534)
>> Caused by: java.lang.ClassNotFoundException:
>> weblogic.jndi.WLInitialContextFactory
>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:219)
>> at
>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
>> at
>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
>> ... 73 more
>>
>>
>>
>>
|
|
|
Re: ODA Extension [message #198456 is a reply to message #198238] |
Tue, 31 October 2006 19:53 |
|
Ravi,
Can you try adding the jre/libs to your plugin classptath?
Jason
"Ravi" <rchamarthy@mail.com> wrote in message
news:3015360505fbc02f5b3c999d0a13d08b$1@www.eclipse.org...
> Jason,
>
> A similar problem, but using IBM JDK and WebSphere App Server.
>
> When I set setThreadContextClassLoader="true" in the plugin.xml, strangly
> jre's ext folder libraries are not getting loaded.
>
> 11:00:55.834 com.ibm.rmi.corba.PluginRegistry
> loadPrereqPluginsGroupThree:269 TP-Processor4 ORBRas[default]
> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
> at
> com.ibm.ISecurityUtilityImpl.SSLConfiguration.<init>(SSLConfiguration.java:109)
> at
> com.ibm.ISecurityUtilityImpl.SecurityConfiguration.<init>(SecurityConfiguration.java:451)
>
>
> and ...
>
> 11:00:55.834 com.ibm.rmi.corba.PluginRegistry
> loadPrereqPluginsGroupThree:269 TP-Processor4 ORBRas[default]
> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
> at
> com.ibm.ISecurityUtilityImpl.SSLConfiguration.<init>(SSLConfiguration.java:109)
> at
> com.ibm.ISecurityUtilityImpl.SecurityConfiguration.<init>(SecurityConfiguration.java:451)
> at com.ibm.ISecurityUtilityImpl.ServiceInit.init(ServiceInit.ja va:171)
> at
> com.ibm.ISecurityUtilityImpl.ServiceInit.initialize(ServiceI nit.java:125)
>
> Any clue.
> Ravi Chamarthy.
>
>
> Jason Weathersby wrote:
>
>> Try
>> setThreadContextClassLoader="true">
>
>> In the oda plugin xml file.
>
>> Jason
>
>> <jegd@ctv.es> wrote in message news:ei37p4$2p1$1@utils.eclipse.org...
>>> Hi
>>>
>>> I'm trying to create my own ODA driver so I can use several objects,
>>> EJBs mainly, deployed
>>> in an application server (Weblogic 8.1), as my data sources. The plugin
>>> contains, besides
>>> the oda extension classes, a couple of jars, the weblogic client
>>> wlclient.jar and one jar
>>> containing my own classes (let's call it myclasses.jar).
>>>
>>> Once I copy the plugin and its UI counterpart to the plugins directory
>>> I am able to create
>>> my own data sources and data sets. I can test the connection and preview
>>> the data sets from
>>> the edit Data set dialog. But when I try to use the preview tab of the
>>> Report Designer
>>> perspective I get a ClassNotFoundException
>>> weblogic.jndi.InitialContextFactory. It looks like
>>> the wlclient.jar classes are not being loaded when the tomcat plugin
>>> invokes my plugin, but
>>> the classes in my own jar (myclasses.jar) are. In case you wonder both
>>> jars are in the runtime
>>> classpath of my plugin.
>>>
>>> The funny thing is, that if I test the connection, or preview the data
>>> set results, then the
>>> preview tab works. I suppose this has something to do with tomcat's
>>> classloader, but I cannot
>>> be sure. I know this is not strictly a birt problem, but I would really
>>> appreciatte any help.
>>>
>>> This is the detailed exception:
>>>
>>> javax.naming.NoInitialContextException: Cannot instantiate class:
>>> weblogic.jndi.WLInitialContextFactory [Root exception is
>>> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
>>> at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
>>> at
>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
>>> at javax.naming.InitialContext.init(InitialContext.java:219)
>>> at javax.naming.InitialContext.<init>(InitialContext.java:195)
>>> at myclasses.Service.getInitialContext(Service.java:628)
>>> at myclasses.Service.getHome(Service.java:582)
>>> at myclasses.Service.send(Service.java:502)
>>> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
>>> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
>>> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
>>> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
>>> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
>>> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
>>> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
>>> at
> org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
>>> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
>>> at
> org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
>>> at
> org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
>>> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
>>> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
>>> at
> org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
>>> at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
>>> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
>>> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
>>> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
>>> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
>>> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>>> Source)
>>> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
>>> Source)
>>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>>> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>>> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
>>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>>> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
>>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>>> at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>>> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>>> at
>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>>> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>>> at java.lang.Thread.run(Thread.java:534)
>>> Caused by: java.lang.ClassNotFoundException:
>>> weblogic.jndi.WLInitialContextFactory
>>> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
>>> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:219)
>>> at
>>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
>>> at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
>>> ... 73 more
>>>
>>> javax.naming.NoInitialContextException: Cannot instantiate class:
>>> weblogic.jndi.WLInitialContextFactory [Root exception is
>>> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
>>> at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
>>> at
>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
>>> at javax.naming.InitialContext.init(InitialContext.java:219)
>>> at javax.naming.InitialContext.<init>(InitialContext.java:195)
>>> at myclasses.Service.getInitialContext(Service.java:628)
>>> at myclasses.Service.getHome(Service.java:582)
>>> at myclasses.Service.send(Service.java:502)
>>> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
>>> at
> org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
>>> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
>>> at
> org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
>>> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
>>> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
>>> at
> org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
>>> at
> org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
>>> at
> org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
>>> at
> org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
>>> at
> org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
>>> at
> org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
>>> at
> org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
>>> at
> org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
>>> at
> org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
>>> at
> org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
>>> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
>>> at
> org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
>>> at
> org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
>>> at
> org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
>>> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>>> Source)
>>> at
> org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>>> Source)
>>> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
>>> Source)
>>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
> org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>>> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>>> at
> org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
> org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
> org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
>>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>>> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>> at
> org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
> org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>>> at
> org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>> at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>> at
>>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>>> at
>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>>> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>>> at
>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>>> at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>>> at java.lang.Thread.run(Thread.java:534)
>>> Caused by: java.lang.ClassNotFoundException:
>>> weblogic.jndi.WLInitialContextFactory
>>> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
>>> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Class.java:219)
>>> at
>>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
>>> at
>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
>>> ... 73 more
>>>
>>>
>>>
>>>
>
|
|
|
Re: ODA Extension -- Solved (osgi.parentClassloader=ext) [message #198602 is a reply to message #198456] |
Wed, 01 November 2006 06:39 |
Ravi Messages: 92 Registered: July 2009 |
Member |
|
|
Jason,
After looking through some off the bug descriptions, and the corresponding
conversations, what I understood is -- The problem is Eclipse Plugins
cannot load classes from JARs in the jre/libext directory. And looks like
it is a 'as-designed' functionality, (please correct me if I am wrong).
https://bugs.eclipse.org/bugs/show_bug.cgi?id=37441
https://bugs.eclipse.org/bugs/show_bug.cgi?id=30919
The workaround for my problem is to add the system property,
osgi.parentClassloader=ext while launching eclipse -- which looks for the
classes at the jre/lib/ext libraries before failing. This does solved the
below NoClassDefFoundErrors. But I am still skeptical if by setting such a
system property would cause any harm to the system, say if someone
accidentally dropped a different version of xerces.jar file, when compared
to the one used by BIRT. Anyways for now ... its ok.
Thanks,
Ravi Chamarthy
Jason Weathersby wrote:
> Ravi,
> Can you try adding the jre/libs to your plugin classptath?
> Jason
> "Ravi" <rchamarthy@mail.com> wrote in message
> news:3015360505fbc02f5b3c999d0a13d08b$1@www.eclipse.org...
>> Jason,
>>
>> A similar problem, but using IBM JDK and WebSphere App Server.
>>
>> When I set setThreadContextClassLoader="true" in the plugin.xml, strangly
>> jre's ext folder libraries are not getting loaded.
>>
>> 11:00:55.834 com.ibm.rmi.corba.PluginRegistry
>> loadPrereqPluginsGroupThree:269 TP-Processor4 ORBRas[default]
>> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
>> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
>> at
>>
com.ibm.ISecurityUtilityImpl.SSLConfiguration.<init>(SSLConfiguration.java:109)
>> at
>>
com.ibm.ISecurityUtilityImpl.SecurityConfiguration.<init>(SecurityConfiguration.java:451)
>>
>>
>> and ...
>>
>> 11:00:55.834 com.ibm.rmi.corba.PluginRegistry
>> loadPrereqPluginsGroupThree:269 TP-Processor4 ORBRas[default]
>> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
>> java.lang.NoClassDefFoundError: com/ibm/crypto/fips/provider/IBMJCEFIPS
>> at
>>
com.ibm.ISecurityUtilityImpl.SSLConfiguration.<init>(SSLConfiguration.java:109)
>> at
>>
com.ibm.ISecurityUtilityImpl.SecurityConfiguration.<init>(SecurityConfiguration.java:451)
>> at com.ibm.ISecurityUtilityImpl.ServiceInit.init(ServiceInit.ja va:171)
>> at
>> com.ibm.ISecurityUtilityImpl.ServiceInit.initialize(ServiceI nit.java:125)
>>
>> Any clue.
>> Ravi Chamarthy.
>>
>>
>> Jason Weathersby wrote:
>>
>>> Try
>>> setThreadContextClassLoader="true">
>>
>>> In the oda plugin xml file.
>>
>>> Jason
>>
>>> <jegd@ctv.es> wrote in message news:ei37p4$2p1$1@utils.eclipse.org...
>>>> Hi
>>>>
>>>> I'm trying to create my own ODA driver so I can use several objects,
>>>> EJBs mainly, deployed
>>>> in an application server (Weblogic 8.1), as my data sources. The plugin
>>>> contains, besides
>>>> the oda extension classes, a couple of jars, the weblogic client
>>>> wlclient.jar and one jar
>>>> containing my own classes (let's call it myclasses.jar).
>>>>
>>>> Once I copy the plugin and its UI counterpart to the plugins directory
>>>> I am able to create
>>>> my own data sources and data sets. I can test the connection and preview
>>>> the data sets from
>>>> the edit Data set dialog. But when I try to use the preview tab of the
>>>> Report Designer
>>>> perspective I get a ClassNotFoundException
>>>> weblogic.jndi.InitialContextFactory. It looks like
>>>> the wlclient.jar classes are not being loaded when the tomcat plugin
>>>> invokes my plugin, but
>>>> the classes in my own jar (myclasses.jar) are. In case you wonder both
>>>> jars are in the runtime
>>>> classpath of my plugin.
>>>>
>>>> The funny thing is, that if I test the connection, or preview the data
>>>> set results, then the
>>>> preview tab works. I suppose this has something to do with tomcat's
>>>> classloader, but I cannot
>>>> be sure. I know this is not strictly a birt problem, but I would really
>>>> appreciatte any help.
>>>>
>>>> This is the detailed exception:
>>>>
>>>> javax.naming.NoInitialContextException: Cannot instantiate class:
>>>> weblogic.jndi.WLInitialContextFactory [Root exception is
>>>> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
>>>> at
>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
>>>> at
>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
>>>> at javax.naming.InitialContext.init(InitialContext.java:219)
>>>> at javax.naming.InitialContext.<init>(InitialContext.java:195)
>>>> at myclasses.Service.getInitialContext(Service.java:628)
>>>> at myclasses.Service.getHome(Service.java:582)
>>>> at myclasses.Service.send(Service.java:502)
>>>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
>>>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
>>>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
>>>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
>>>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
>>>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
>>>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
>>>> at
>>
org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
>>>> at
>>
org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
>>>> at
>>
org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
>>>> at
>>
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
>>>> at
>>
org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
>>>> at
>>
org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
>>>> at
>>
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
>>>> at
>>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
>>>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
>>>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
>>>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
>>>> at
>>
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
>>>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>>>> Source)
>>>> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
>>>> Source)
>>>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>>>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>>>> at
>>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>>>> at
>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>>> at
>>
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>>>> at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>>>> at
>>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>>>> at
>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>>>> at
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>>>> at java.lang.Thread.run(Thread.java:534)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> weblogic.jndi.WLInitialContextFactory
>>>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
>>>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Class.java:219)
>>>> at
>>>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
>>>> at
>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
>>>> ... 73 more
>>>>
>>>> javax.naming.NoInitialContextException: Cannot instantiate class:
>>>> weblogic.jndi.WLInitialContextFactory [Root exception is
>>>> java.lang.ClassNotFoundException: weblogic.jndi.WLInitialContextFactory]
>>>> at
>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:652)
>>>> at
>>>> javax.naming.InitialContext.getDefaultInitCtx(InitialContext .java:243)
>>>> at javax.naming.InitialContext.init(InitialContext.java:219)
>>>> at javax.naming.InitialContext.<init>(InitialContext.java:195)
>>>> at myclasses.Service.getInitialContext(Service.java:628)
>>>> at myclasses.Service.getHome(Service.java:582)
>>>> at myclasses.Service.send(Service.java:502)
>>>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.executeQuer y(BaseDatos.java:156)
>>>> at
>>
org.eclipse.birt.report.data.oda.amcam.BaseDatos.getMetaData (BaseDatos.java:129)
>>>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.doGetMetaData(OdaQuery.java:388)
>>>> at
>>
org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQu ery.getMetaData(OdaQuery.java:356)
>>>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etRuntimeMetaData(PreparedStatement.java:369)
>>>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.g etProjectedColumns(PreparedStatement.java:339)
>>>> at
>>
org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.s etColumnsProjection(PreparedStatement.java:1028)
>>>> at
>>
org.eclipse.birt.data.engine.executor.DataSourceQuery.prepar e(DataSourceQuery.java:259)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQu eryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:344)
>>>> at
>>
org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecu tion(QueryExecutor.java:212)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(Pr eparedQuery.java:397)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:147)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute (PreparedOdaDSQuery.java:135)
>>>> at
>>
org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.ex ecute(PreparedDataSourceQuery.java:127)
>>>> at
>>
org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExec uteQuery(DteDataEngine.java:114)
>>>> at
>>
org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.e xecute(AbstractDataEngine.java:208)
>>>> at
>>
org.eclipse.birt.report.engine.executor.ExecutionContext.exe cuteQuery(ExecutionContext.java:1640)
>>>> at
>>
org.eclipse.birt.report.engine.executor.QueryItemExecutor.ex ecuteQuery(QueryItemExecutor.java:62)
>>>> at
>>
org.eclipse.birt.report.engine.executor.TableItemExecutor.ex ecute(TableItemExecutor.java:74)
>>>> at
>>
org.eclipse.birt.report.engine.internal.executor.l18n.Locali zedReportItemExecutor.execute(LocalizedReportItemExecutor.ja va:35)
>>>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout Children(HTMLPageLM.java:123)
>>>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout (HTMLPageLM.java:81)
>>>> at
>>
org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutE ngine.layout(HTMLReportLayoutEngine.java:80)
>>>> at
>>
org.eclipse.birt.report.engine.api.impl.RunAndRenderTask.run (RunAndRenderTask.java:194)
>>>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.ReportEngineService.runAndRe nderReport(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.BirtViewerReportService.runA ndRenderReport(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.actionhandler.BirtRunAndRend erActionHandler.__execute(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.service.actionhandler.AbstractBaseAc tionHandler.execute(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.presentation.aggregation.layout.Engi neFragment.doService(Unknown
>>>> Source)
>>>> at
>>
org.eclipse.birt.report.presentation.aggregation.AbstractBas eFragment.service(Unknown
>>>> Source)
>>>> at org.eclipse.birt.report.servlet.BirtEngineServlet.__doGet(Un known
>>>> Source)
>>>> at org.eclipse.birt.report.servlet.BaseReportEngineServlet.doGe t(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
>>
org.apache.catalina.core.ApplicationFilterChain.internalDoFi lter(ApplicationFilterChain.java:247)
>>>> at
>>
org.apache.catalina.core.ApplicationFilterChain.doFilter(App licationFilterChain.java:193)
>>>> at
>>
org.apache.catalina.core.StandardWrapperValve.invoke(Standar dWrapperValve.java:256)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>
org.apache.catalina.core.StandardContextValve.invoke(Standar dContextValve.java:191)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>
org.apache.catalina.valves.CertificatesValve.invoke(Certific atesValve.java:246)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>>> org.apache.catalina.core.StandardContext.invoke(StandardCont ext.java:2422)
>>>> at
>>
org.apache.catalina.core.StandardHostValve.invoke(StandardHo stValve.java:180)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(Error DispatcherValve.java:171)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>>> at
>>
org.eclipse.tomcat.internal.EclipseErrorReportValve.invoke(E clipseErrorReportValve.java:153)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:641)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>
org.apache.catalina.core.StandardEngineValve.invoke(Standard EngineValve.java:174)
>>>> at
>>
org.apache.catalina.core.StandardPipeline$StandardPipelineVa lveContext.invokeNext(StandardPipeline.java:643)
>>>> at
>>>>
org.apache.catalina.core.StandardPipeline.invoke(StandardPip eline.java:480)
>>>> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase. java:995)
>>>> at
>>>> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapte r.java:199)
>>>> at
>>>> org.apache.coyote.http11.Http11Processor.process(Http11Proce ssor.java:828)
>>>> at
>>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand ler.processConnection(Http11Protocol.java:700)
>>>> at
>>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndp oint.java:584)
>>>> at
>>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.ru n(ThreadPool.java:683)
>>>> at java.lang.Thread.run(Thread.java:534)
>>>> Caused by: java.lang.ClassNotFoundException:
>>>> weblogic.jndi.WLInitialContextFactory
>>>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1443)
>>>> at
>>
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap pClassLoader.java:1289)
>>>> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
>>>> at java.lang.Class.forName0(Native Method)
>>>> at java.lang.Class.forName(Class.java:219)
>>>> at
>>>> com.sun.naming.internal.VersionHelper12.loadClass(VersionHel per12.java:42)
>>>> at
>>>> javax.naming.spi.NamingManager.getInitialContext(NamingManag er.java:649)
>>>> ... 73 more
>>>>
>>>>
>>>>
>>>>
>>
|
|
|
Goto Forum:
Current Time: Thu Dec 26 20:19:37 GMT 2024
Powered by FUDForum. Page generated in 0.03258 seconds
|