Hello,
How to retrieve cluster name with server details using Java SDK.
Regards,
Atul.
Hello,
How to retrieve cluster name with server details using Java SDK.
Regards,
Atul.
Hello,
I have a trail version of SAP Crystal Server 2013 SP1 and am trying to connect our existing web application to CMS.
I've included the required jar files mentioned in the dev docs but receive this Exception when I try to login to CMS.
The doc mentions jar file wxts-asl-3.2.1.jar but I'm unable to find it in the installation. There is a jar file called
wstx-asl-3.2.9.jar which I have included.
10:40:26,083 INFO [com.wellscap.equity.crystal.controller.CrystalReportsManager] (EJB default - 1) username = Administrator
10:40:26,084 INFO [com.wellscap.equity.crystal.controller.CrystalReportsManager] (EJB default - 1) password = ********
10:40:26,087 INFO [com.wellscap.equity.crystal.controller.CrystalReportsManager] (EJB default - 1) cmsServerName = *********
10:40:26,087 INFO [com.wellscap.equity.crystal.controller.CrystalReportsManager] (EJB default - 1) authType = secEnterprise
10:40:27,538 ERROR [stderr] (Thread-86) Exception in thread "Thread-86" java.lang.ExceptionInInitializerError
10:40:27,566 ERROR [stderr] (Thread-86) at com.businessobjects.bcm.BCM.<clinit>(BCM.java:1144)
10:40:27,572 ERROR [stderr] (Thread-86) at com.crystaldecisions.enterprise.ocaframework.BCMInitializer.run(BCMInitializer.java:29)
10:40:27,572 ERROR [stderr] (Thread-86) at java.lang.Thread.run(Thread.java:745)
10:40:27,573 ERROR [stderr] (Thread-86) Caused by: java.lang.SecurityException: Toolkit not encapsulated by a jar.
10:40:27,573 ERROR [stderr] (Thread-86) at com.rsa.cryptoj.f.ug.d(Unknown Source)
10:40:27,574 ERROR [stderr] (Thread-86) at com.rsa.cryptoj.f.ug.b(Unknown Source)
10:40:27,574 ERROR [stderr] (Thread-86) at com.rsa.cryptoj.f.nd.b(Unknown Source)
10:40:27,575 ERROR [stderr] (Thread-86) at com.rsa.cryptoj.f.nd.c(Unknown Source)
10:40:27,576 ERROR [stderr] (Thread-86) at com.rsa.jsafe.CryptoJ.isFIPS140Compliant(Unknown Source)
10:40:27,577 ERROR [stderr] (Thread-86) at com.businessobjects.bcm.internal.BcmRsaLib.initialize(BcmRsaLib.java:214)
10:40:27,579 ERROR [stderr] (Thread-86) at com.businessobjects.bcm.internal.BcmRsaLib.<clinit>(BcmRsaLib.java:289)
10:40:27,580 ERROR [stderr] (Thread-86) ... 3 more
Any help would be appreciated!
Thanks,
Scott
HI,
In which jar file, I can get the following classes.
1. com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
2. com.crystaldecisions.report.web.viewer.CrystalReportViewer
Thanks & Regards,
Molay Dutta
Hello Everyone,
I am migrating reports from Crystal 9 to Crystal 2013 version. I am using Oracle Database. After migrating the reports, I need to test it through a Java application. When I test them some reports work fine while the others give me this error message.
(Note: All the migrated reports work fine on my machine) Also checked the server connection and it is running properly.
Servlet Engine Exception
Error:
Cannot open report document. --- Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.
StackTrace:
com.crystaldecisions.sdk.occa.managedreports.ras.internal.ManagedRASException: Cannot open report document. --- Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.
cause:com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.---- Error code:-2147467259 Error code name:failed
detail: Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.RASReportAppFactory.openDocument(Unknown Source)
at jsp_servlet.__viewreport.getReportClientDocument(__viewreport.java:254)
at jsp_servlet.__viewreport._jspService(__viewreport.java:710)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:184)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3732)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Unable to connect to the server: #####.CrystalReports2013ReportApplicationServer.---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.a(Unknown Source)
at com.crystaldecisions.sdk.occa.managedreports.ras.internal.CECORBACommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
... 19 more
Caused by: java.lang.IllegalArgumentException
at com.crystaldecisions.sdk.occa.report.definition.ObjectFormatConditionFormulaType.from_string(Unknown Source)
at com.crystaldecisions.sdk.occa.report.definition.ObjectFormatConditionFormulas.readElement(Unknown Source)
at com.crystaldecisions.xml.serialization.CrystalSAXParserHandler.endElement(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:585)
at org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLNamespaceBinder.java:898)
at org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:644)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1008)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1469)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:329)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:525)
at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:581)
at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1175)
at com.crystaldecisions.xml.serialization.XMLObjectSerializer.load(Unknown Source)
... 27 more
Could some one please help me with this?
Thank you
Hello,
I am using BO 4.1 and creating universe using CreateUniverseTest.java sample available in Semnatic Java SDK sample folder
I am able to create .unx and .cnx files but dfx and blx files are not created on BO server, these files are created localy on system
Hi!
I'm trying to make a .lcmbiar file for many of my BI objects (Webi, Universes, Connections without dependencies) - one .lcmbiar for one object. For now I do it in LCM command line tool, but it's not good, because it create job in CMC for each object and it takes time (it login to CMC for each execute). My questions are:
1. I need to create .lcmbiar without creating job in Promote Manager. How to do it?
2. It takes time to execute command for one objects (aspecially logging to SAP BO). Can I just one login, create biars (one biar for one object) and logout?
3. I see there is a lcm.jar, but it's only on server side (I don't see it when I install only client tools). Which jar's shoud I include? There is a 1.4 GB jars in \SAP BusinessObjects Enterprise XI 4.0\java\lib\ folder and I think, that lcm don't need all...
4. There is a biarengine.jar, that create .biar file. Can I use this .biar's to import object in Promote Manager? What is a diffrence with .biar and .lcmbiar?
SAP BO 4.1 SP3
Thanks!
Thomas
Is it possible to get the count of the currently running reports scheduled by a specific id in XI 3.1? I need to retrieve the count in a java program.
Hi everyone!
I need create an Java application to open a Crystal Reports 2013.
I use an Eclipse Mars.1 Release (4.5.1)
I created a Dynamic Web Project with the following configurations.
Not knowing which jars import for my application, I added almost all of BO 4.1 SP5.
I created one JSP, goes code below:
---------------------------------------------------------------------------------------------------------------------
<%@page import="com.crystaldecisions.report.web.viewer.CrPrintMode"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import="com.crystaldecisions.report.web.viewer.CrystalReportViewer" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
<%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
<%@ page import="java.io.Writer" %>
<%@ page import="javax.servlet.http.HttpServletResponse" %>
<%@ page import="javax.servlet.http.HttpServletRequest" %>
<%@ page import="javax.servlet.ServletContext" %>
<%
CrystalReportViewer viewer = new CrystalReportViewer();
viewer.setOwnPage(true);
viewer.setOwnForm(true);
viewer.setPrintMode(CrPrintMode.ACTIVEX);
Object reportSource = session.getAttribute("F:\\jrc_view_report");
viewer.setReportSource(reportSource);
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), null);
%>
---------------------------------------------------------------------------------------------------------------
But when I run the application, this message is shown:
type Exception report
messageUnable to compile class for JSP:
descriptionThe server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: [14] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]
Only a type can be imported. com.crystaldecisions.report.web.viewer.CrPrintMode resolves to a package
An error occurred at line: [15] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]
Only a type can be imported. com.crystaldecisions.report.web.viewer.CrystalReportViewer resolves to a package
An error occurred at line: [16] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]
Only a type can be imported. com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase resolves to a package
An error occurred at line: [17] in the generated java file: [C:\WorkSpace\EclipseProjets\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\AcessoCrystal\org\apache\jsp\report_005fsource_jsp.java]
Only a type can be imported. com.crystaldecisions.sdk.occa.report.reportsource.IReportSource resolves to a package
An error occurred at line: 16 in the jsp file: /report_source.jsp
CrystalReportViewer cannot be resolved to a type
13: <%
14:
15:
16: CrystalReportViewer viewer = new CrystalReportViewer();
17: viewer.setOwnPage(true);
18: viewer.setOwnForm(true);
19: viewer.setPrintMode(CrPrintMode.ACTIVEX);
An error occurred at line: 16 in the jsp file: /report_source.jsp
CrystalReportViewer cannot be resolved to a type
13: <%
14:
15:
16: CrystalReportViewer viewer = new CrystalReportViewer();
17: viewer.setOwnPage(true);
18: viewer.setOwnForm(true);
19: viewer.setPrintMode(CrPrintMode.ACTIVEX);
An error occurred at line: 19 in the jsp file: /report_source.jsp
CrPrintMode.ACTIVEX cannot be resolved to a type
16: CrystalReportViewer viewer = new CrystalReportViewer();
17: viewer.setOwnPage(true);
18: viewer.setOwnForm(true);
19: viewer.setPrintMode(CrPrintMode.ACTIVEX);
20:
21:
22: Object reportSource = session.getAttribute("F:\\jrc_view_report");
Stacktrace: org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:366) org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:485) org.apache.jasper.compiler.Compiler.compile(Compiler.java:379) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:341) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:662) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:364) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) javax.servlet.http.HttpServlet.service(HttpServlet.java:731) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
noteThe full stack trace of the root cause is available in the Apache Tomcat/7.0.65 logs.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Anyone know tells me where is the problem?
Hi Team,
I am trying to do Dynamic database change for Crystal reports and i 'm struggling with the following error. I am following below code listed in the following link
Please help me in resolve this issue. I have been struck up with this from 2 days
The Error Stack Trace is:
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Unexpected database connector error---- Error code:-2147467259 Error code name:failed
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2284)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:2304)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:736)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(SourceFile:166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(SourceFile:528)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(SourceFile:526)
at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(SourceFile:102)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(SourceFile:524)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(SourceFile:423)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(SourceFile:351)
at com.businessobjects.sdk.erom.jrc.a.a(SourceFile:54)
at com.businessobjects.sdk.erom.jrc.a.execute(SourceFile:67)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(SourceFile:716)
at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(SourceFile:125)
at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:537)
at com.crystaldecisions.sdk.occa.report.application.ds.a(SourceFile:186)
at com.crystaldecisions.sdk.occa.report.application.an.a(SourceFile:108)
at com.crystaldecisions.sdk.occa.report.application.b0.if(SourceFile:148)
at com.crystaldecisions.sdk.occa.report.application.b0.b(SourceFile:95)
at com.crystaldecisions.sdk.occa.report.application.bb.int(SourceFile:96)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.performDo(SourceFile:151)
at com.crystaldecisions.proxy.remoteagent.UndoUnitBase.a(SourceFile:106)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:2159)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:543)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(SourceFile:3898)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.replaceConnection(SourceFile:3865)
at org.apache.jsp.DynamicDBChange_jsp._jspService(DynamicDBChange_jsp.java:213)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.crystaldecisions.reports.common.QueryEngineException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.Table.new(SourceFile:1014)
at com.crystaldecisions.reports.queryengine.Table.byte(SourceFile:1791)
at com.crystaldecisions.reports.queryengine.Table.a(SourceFile:638)
at com.crystaldecisions.reports.queryengine.Table.vc(SourceFile:2419)
at com.crystaldecisions.reports.dataengine.datafoundation.AddDatabaseTableCommand.new(SourceFile:529)
at com.crystaldecisions.reports.common.CommandManager.a(SourceFile:71)
at com.crystaldecisions.reports.common.Document.a(SourceFile:203)
at com.businessobjects.reports.sdk.requesthandler.f.a(SourceFile:175)
at com.businessobjects.reports.sdk.requesthandler.DatabaseRequestHandler.byte(SourceFile:1079)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(SourceFile:1166)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(SourceFile:660)
... 46 more
Caused by: com.businessobjects.reports.jdbinterface.common.DBException: Unexpected database connector error
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCQueryDefinition.Execute(Unknown Source)
at com.crystaldecisions.reports.queryengine.driverImpl.jdbc.JDBCTable.GetFields(Unknown Source)
at com.crystaldecisions.reports.queryengine.Table.new(SourceFile:1010)
... 56 more
Caused by: java.sql.SQLException: ORA-01008: not all variables bound
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:439)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:395)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:802)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:436)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:186)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:521)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:194)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:1000)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1307)
at oracle.jdbc.driver.OracleStatement.executeInternal(OracleStatement.java:1882)
at oracle.jdbc.driver.OracleStatement.execute(OracleStatement.java:1847)
at oracle.jdbc.driver.OracleStatementWrapper.execute(OracleStatementWrapper.java:301)
... 60 more
Waiting for reply
Thanks
Penchal
I'm trying to get information about the connections (universe and business view) that have been set up in a BI 4.1 system. I get the IInfoObjects for these connections by running the following query:
Select * from CI_APPOBJECTS where SI_KIND like '%DataConnection'
From this I'm able to get information about what type of connection (ODBC, etc.) using the SI_CONNECTION_NETWORKLAYER property and the type of database using the "SI_CONNECTION_DATABASE" property. However, I'm not able to find information about the server name or database name. I assume this information would be in the connection string from either SI_CONNECTION_PARAMSTRING or SI_CONNECTION_CONNECTSTRING, but it appears that these properties are encrypted, which is understandable because they may contain passwords.
Is there any way to decrypt these fields? Or is there another way to get information about the connections instead of using IInfoObject (I've been unable to find a specific interface for this type of object...)
Thanks!
-Dell
Hi
Please I need to extract there data through SAP SDK
(
Folder_ID | Folder_Name | Report_ID | Report_Name | Type | Universe ID | Creation_Date | Owner | HAS_PROMPTS |
Hi Experts,
My team is developing a crystal report java application that access CR Report in the CR server X1.
The report retrieval works fine in windows dev environment (using Tomcat or Oracle App Server (OC4J)).
But when we deploy it to Oracle App server in Sun Solaris machine, we encounter this CMS server connection error.
[error]
08/12/01 18:40:43 com.crystaldecisions.sdk.exception.SDKException$OCAFramework: Unable to find servers in CMS <ip address> and cluster with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.
cause:com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <ip address> and cluster with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.
detail:Unable to find servers in CMS <ip address> and cluster with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.
The exception originally thrown was com.crystaldecisions.enterprise.ocaframework.OCAFrameworkException$AllServersDown: Unable to find servers in CMS <ip address> and cluster with kind cms and extra criteria null. All such servers could be down or disabled by the administrator. and had the following message: Unable to find servers in CMS 10.188.12.108 and cluster with kind cms and extra criteria null. All such servers could be down or disabled by the administrator.
[error]
I'm pretty sure that that CR server is not down since we can access it in our windows machine.
This might be a common problem and experts out there can share some resolutions.
Thank you in advance.
Regards,
Rulix
Hi,
I am using Bo4.1 sp3.I am working on semantic layer java Sdk in Eclipse IDE .
Whether can we work semantic layer Java sdk using Eclipse in local machine without BO Client?
I tried in eclipse without Bo client,I got the below error.
Exception in thread "main" com.sap.tools.commons.exception.NestedException: Interface requested not found : csLIB
at com.sap.tools.commons.exception.NestedException.create(Unknown Source)
at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.getPRM(DataFoundationSQLDecoder.java:81)
at com.businessobjects.mds.services.parser.decoder.DataFoundationSQLDecoder.<init>(DataFoundationSQLDecoder.java:96)
at com.businessobjects.mds.services.parser.decoder.UniverseSQLDecoder.<init>(UniverseSQLDecoder.java:40)
at com.businessobjects.mds.services.parser.EncodeDecodeHelper.decodeExpression(EncodeDecodeHelper.java:301)
at com.businessobjects.mds.services.helpers.BindingHelper.decodeExpression(BindingHelper.java:250)
Can anyone help.
Regards,
Kavitha S
HI,
In which jar file, I can get the following classes.
1. com.crystaldecisions.sdk.occa.report.application.ReportClientDocument
2. com.crystaldecisions.report.web.viewer.CrystalReportViewer
Thanks & Regards,
Molay Dutta
Hi Team,
Do we have any SDK where we can get the list of objects used in reports.
Env:BO XI 3.1
Regards,
Shiva Gunturu
Hi All,
I'm using Crystal Reports 2008. I have two fields FromDate and ToDate in reports. While running report, FromDate field should be displayed with CurrentDate + 00:00:00 in the UI and for ToDate it should be displayed with CurrentDate + 23:59:59 format.
I have tried the below things, But still I want to set CurrentDate + 00:00:00 time in DateTime field.
"In CR 2008 you would set the time portion to 00:00:00 in this way:
1) Edit the date/time parameter and look for the 'Default Value' option; it would be blank
2) Set this to 00:00:00
This would default the calendar to 12/30/1899 00:00:00. The only worry here is, when you click on the calendar icon you would be presented with the calendar for the year 1899 and it is painstaking to scroll all the way to the current year."
I found one solution in SAP forum and I have added the below lines in Record Selection formula,
{@FromDate} = date(@CurrentDate)+time(00,00,00)
{@ToDate} = date(@CurrentDate)+time(23,59,59)
When I run the report, I still getting the empty values in the input parameters screen.
Am I missing anything? Kindly help
Thanks,
Ramesh Kumar G.
Hi
I am trying to run the following command on SP5 Patch8
curl -i -X "POST" -H "content-type: application/xml" -H "accept: application/xml" -d "E:\login.xml" http://localhost:6405/biprws/logon/long | find "X-SAPLogonToken: " > xsaplogontoken.txtfor /f "tokens=1,2 delims= " %a in (xsaplogontoken.txt) do @echo %b > xsaplogontoken.txt
The output is
Access Denied
When i tried to run the following command its giving the error followed, I have place login.xml in E drive
curl -i -X "POST" -H "content-type: application/xml" -H "accept: application/xml" -d "E\login.xml" http://localhost:6405/biprws/logon/long
Output:
HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
Date: Fri, 07 Jun 2013 02:59:20 GMT
Content-Type: application/xml
Content-Length: 3918
<error>
<error_code>RWS 000079</error_code>
<message>Please validate your input. (RWS 000079)</message>
<stack_trace>com.sap.bip.rs.exceptions.InvalidEntSessionException
at com.sap.bip.rs.exceptions.InvalidEntSessionException.InvalidInput(Inv
alidEntSessionException.java:99)
at com.sap.bip.rs.session.SessionFactory.getSession2(SessionFactory.java
:53)
at com.sap.bip.rs.infostore.LogonResource.doLongFormLogon(LogonResource.
java:231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(Abst
ractInvoker.java:173)
at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker
.java:89)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:153)
at org.apache.cxf.jaxrs.JAXRSInvoker.invoke(JAXRSInvoker.java:87)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInv
okerInterceptor.java:58)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:44
1)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
3;
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecu
tor.java:37)
at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(Se
rviceInvokerInterceptor.java:106)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseIntercept
orChain.java:255)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainIniti
ationObserver.java:113)
at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDes
tination.java:97)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(
ServletController.java:461)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletCont
roller.java:149)
at com.sap.bip.rs.server.servlet.BIPServletController.invoke(BIPServletC
ontroller.java:90)
at org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCX
FServlet.java:148)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(Ab
stractHTTPServlet.java:179)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractH
TTPServlet.java:103)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(Abstract
HTTPServlet.java:159)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
555)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:852)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:722)
</stack_trace>
</error>
I am able to read the file successfully using
curl -G http://<serverName>:6405/biprws/logon/long -H accept="application/xml" Please let me know what acn be the issue Regards, Praveen
Hello,
When I try to login to SAP Crystal Server 2013 SP1 from our Web app using the following method:
CrystalEnterprise.getSessionMgr().logon(username, password, cmsServerName, authType)
I receive the NoClassDefFound exception for: (stack trace is attached)
org/apache/cxf/jaxrs/provider/AtomEntryProvider
I've included all the jar files that are in the development docs for deploying Crystal with an application and I
have been unable to locate this class in any of those jar files from the installation.
Where may I find the jar file that contains this class?
Thanks,
Scott
I use java implement some function, and I want to find a API to study. but I can not find in the Inter Net. If someBody kindly to advice someWhere can download the API.
thank you so much
Alex
We need to import Business Objects Enterprise Java SDK's jar files. However, there is no document or forum post that have the directory for version BOXI3.1.
By searching for the cecore.jar file, we find a directory that contains many Business Objects Enterprise Java SDK jar files:
D:\Business Objects\BusinessObjects Enterprise 12.0\warfiles\WebApps\BusinessProcessBI\WEB-INF\lib
Is this the correct directory for the Business Object Enterprise jar files?
We imported bellow SDK jar files:
asn1.jar
cecore.jar
celib.jar
ceplugins_client.jar
ceplugins_core.jar
ceplugins_cr.jar
cereports.jar
certj.jar
cesession.jar
ceutils.jar
clientplugins.jar
commons-codec-1.3.jar
commons-logging-1.1.jar
corbaidl.jar
ebus405.jar
flash.jar
freessl201.jar
jsafe.jar
logging.jar
pluginhelper.jar
postprocessing_oca2service.jar
publishing_oca2service.jar
rasapp.jar
rascore.jar
reporttemplate.jar
serialization.jar
SL_plugins.jar
webreporting.jar
xbean.jar
xcelsius.jar
XcelsiusSLPlugins.jar
Is this the complete list that we should import for X3.1? there are some files like commons-codec-1.3.jar, it looks a Apache jar file, not the SDK's jar file. shall i include such files as well?