hi all,
<br><br>
I am running Websphere 6.1 on a linux environment (Red Hat enterprise 5.5). I am using the Crystal Reports 2008 SDK API to generate the report and I get the following exception.
<br><br>
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: com.businessobjects.reports.jdbinterface.connection.IConnection---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:286)
at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)
at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)
at com.csdcsystems.amanda.common.CRJavaHelper.getSqlStatement(CRJavaHelper.java:882)
at com.ibm._jsp._CustomReportParameters._jspService(_CustomReportParameters.java:289)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1146)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1087)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.csdcsystems.amanda.common.CsdcServletFilter.doFilter(CsdcServletFilter.java:107)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:848)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:691)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:588)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:526)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at <br>com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:233)<br>
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3574)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:269)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:831)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1478)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:133)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:450)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:508)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:296)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at <br>com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)<br>
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:196)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:751)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:881)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1551)<br><br>
Caused by: java.lang.NoClassDefFoundError: com.businessobjects.reports.jdbinterface.connection.IConnection
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:59)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:120)
at com.crystaldecisions.reports.queryengine.Session.a2(SourceFile:244)
at com.crystaldecisions.reports.datafoundation.DataFoundation.do(SourceFile:376)
at com.crystaldecisions.reports.dataengine.dfadapter.DFAdapter.do(SourceFile:111)
at com.crystaldecisions.reports.dataengine.datafoundation.CreateDataConnectionCommand.new(SourceFile:81)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:442)
at com.businessobjects.reports.reportconverter.v12.e.a(SourceFile:231)
at com.businessobjects.reports.reportconverter.v12.d.m(SourceFile:192)
at com.businessobjects.reports.reportconverter.v12.f.if(SourceFile:210)
at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:242)
at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)
at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)
at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)
at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:229)
... 42 more<br>
<br><br>
The code is packaged as an EAR file and this EAR file works fine in a websphere windows environment. So it is not a classpath issue which I am pretty sure of. I also verified that the IConnection class is in a JAR file within the EAR file so no doubts on that front.
<br><br>
Has anyone else run into this issue? Please feel free to ask any other questions pertaining to the environment which I have where I ran into this issue.
<br><br>
Thanks,<br>
Yogi<br>
Edited by: Yogendran.G on Feb 25, 2011 3:37 PM