Quantcast
Channel: SCN : Popular Discussions - Java SDK Application Development
Viewing all 1701 articles
Browse latest View live

Insert/Copy image to Crystal Report using importPicture - Error

$
0
0

Hello,

I wanted to replace an image in an existing report with an image on my computer. I found a sample from here:

Crystal Reports Java 12 Sample Codes

The sample used the method importPicture. When I used this method, I got this error:

 

Exception in thread "main" com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Not implemented.

Error in File {72E685E1-BFC1-11E3-B016-CAB8D4C9AB0C}.rpt:

Operation not yet implemented.---- Error code:-2147482649 Error code name:failed

    at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.s.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ImportPictureAction.g(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ax.for(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.importPicture(Unknown Source)

 

 

From the API:

RAS currently only supports adding IBlobFieldObject object(s) to a report. Note that you can only copy an IPictureObject object from one report to another; you cannot add an IPictureObject object from a file.

 

I have tried retrieving a picture object from one report and adding it to another using the ReportObjectController. I get this error:

 

Exception in thread "main" com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The picture data is missing.---- Error code:-2147213284 Error code name:invalidReportObject

    at com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException.throwReportDefControllerException(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.if(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportObjectController.add(Unknown Source)

 

Can someone tell me how I can copy a picture object from one report to another?

Please note I'm a Java amateur. I apologise if I've missed something obvious.

 

Thank you.


Need to change the destination email addresses in recurring schedules

$
0
0

Hi,

 

My company is undergoing some changes and as a part of Rebranding activity I need to update the user email addresses in destination section of recurring schedules. Only Domain name has to be updated for all the users.

 

I have already created a macro which would pull out information about recurring schedules. Once I have updated the email destinations, I have to upload the information in the existing recurring schedules.

This is where I am stuck right now.

 

Please guide me how this can be done.

 

Env details:

BI 4.1 sp4 patch1

redhat 5.9

 

Regards,

Richa

Grant/Revoke Create, Modify or Delete Connections in Designer Application

$
0
0

Hi,

 

I'm wondering if there is a way to grand or revoke the "Create, Modify or Delete Connections in Designer Application" by code for some specific users?

 

So basically I have a group that inherit the "Full Control" and inside that group I have the specific user that I want to revoke the access right to delete connections into the Designer program. Actually i have the following...But it's not working :

 

                IUserGroup oObjectGroup = (IUserGroup) executeQuery(this.FIND_GROUP_BY_NAME+_userGroupName+ "'").get(0);

                IInfoObject _obj = ((IInfoObject)_oObjectUser.getInfoObjects().get(0));

                ISecurityInfo2 _secu = _obj.getSecurityInfo2();

                IExplicitPrincipals _iExplicitPrincipals = _secu.getExplicitPrincipals();

                IExplicitPrincipal _iExplicitPrincipal =  _iExplicitPrincipals.add(oObjectGroup.getID());

               

                IExplicitRights _iExplicitRights=_iExplicitPrincipal.getRights();

 

                RightDescriptor rightDescriptor=new RightDescriptor(CeSecurityID.Right.DELETE,CeKind.DESIGNER, false);

 

                IExplicitRight iExplicitRight=_iExplicitRights.add(rightDescriptor);

                iExplicitRight.setGranted(false);

 

Can someone help me out on this?

 

Thanks

CMC query builder-users-group

$
0
0

Hi All,

 

I aim re posting this from BI session as i couldnt get enough updates...!

 

i am looking for an script to run in QB that would retrive the user's details like username, user DI ,user mail id and also other details like the user's member of(need  know the groups which that user has).

 

 

currently i have  one which will say how many users are there in a groups. like wise i am looking for list of groups the user is associated with.

 

ultimate aim is to look the user's security setup without viewing the users profile in the CMC.

 

please let me know if you still need any info on this.

 

Thanks in advance!!

Could not initialize class com.businessobjects.bcm.BCM

$
0
0

Hi,

 

When i am tring to view the report on My application with CR 2011 with Jboss Application Server 5.0  i am seeing below exception

 

 

java.lang.NoClassDefFoundError: Could not initialize class com.businessobjects.bcm.BCM

          at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.establishConfidentialChannel(ConfidentialChannelService.java:175)

          at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.createConfidentialChannel(ConfidentialChannelService.java:145)

          at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:985)

          at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:292)

          at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:191)

          at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody2(SessionMgr.java:446)

          at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody3$advice(SessionMgr.java:42)

          at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1)

 

 

bcm.jar and other Crystal jars are in classpath and these are working with other appservers. but not with Jboss Application Server

The system cannot find the path specified---- Error code:-2147467259 Error code name:failed

$
0
0

Friends,

 

Wish you a Happy New Year..

 

Í'm facing a breaker here. I tried to refresh a crystal report via RAS SDK. I got the below error..

 

The system cannot find the path specified---- Error code:-2147467259 Error code name:failed

 

 

So i just referred the RAS Log generated and below is what i found.

 

../cdtsagent.cpp (3321)

COM: 0x80070003

The system cannot find the path specified. -- detail msg end -->

ErrorLog 2015  1  2  6:46:49.392 26787 1062 (XBBKLME:267) (../reporthandler.cpp:12471): CReportHandler::buildReportViewerError: CSResultException thrown.   ErrorSrc:"CRPE" FileName:"../reporthandler.cpp" LineNum:12467 ErrorCode:515 ErrorMsg:"This field name is not known.

Error in File {72A288FD-8118-11E4-90BA-005056B20305}.rpt:

Error in formula  FRM_Total_Matches:

'//{#RT_System_Matched_ST}+{#RT_Manual_Match_ST}

This field name is not known.

Details: errorKind" DetailedErrorMsg:""

ErrorLog 2015  1  2  6:46:49.568 26787 1062 (XBBKLME:267) (../cdtsagent.cpp:3323): CDTSagent::doOneRequest reqId=134: <-- detail msg begin -- Analysis Server: 0x80004005

 

 

But the above field is validated and report works good when you refresh from Infoview with any custom DB connection.

 

Scenario appears like ,  If the custom DB configuration of crystal report is similar to the DB i want to connect , report output gets generated. Else it shoots the above error in log..

 

Awaiting your help guys..

 

Thanks,

Bharath

BO SDK code for Universe

$
0
0

Hi Experts,

 

I am trying to create a JSP page which will be used  to change universe object name without using IDT using BO SDK.

 

We are using Bo 4.0 SP6 and we generate the Universe with class name same as table name and columns name as objects names.I need a script which will modify these object name in the Universe with proper name.I have some information that we can use SL SDK to achieve the same.

 

Could you please guide me with some start points on SL SDK.I have some  prior experience in SDK programming but most of them are to extract information from CMS repo.

Thanks in advance for your help and guidance.

 

Regards

Kishore

Create lcmbiar from java sdk - few questions

$
0
0

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


How to get the universe metadata information (class , tables...) through JSP coding ?

$
0
0

Hi,

 

     I am new to BO. I am developing tool which will extract the metadat information of report and universe using JSP (java ) in BO XI R2 . My problem is how to get universe metadata ? i listed the universe name by quering the CI_APPOBJECTS table. i couldn't get other information (Class and objects in the universe ).. I need the advice or idea or code to complete work... Please help to resolve my problem..

 

 

Thanks Advance

[BO XI 4.1, JAVA] Migration from BO 3.1 to BO 4.1

$
0
0

Hi all,

 

I work on an application Java which connects to BO 3.1 and posts all the webis of the reference table, extracts the requests, the universes and the objects of a report Webi I want to migrate to the version 4.1 of BO, I have to use the jars of the version 4.1 but I have the following exception :

 

Exception in thread "Thread-4" java.lang.NoSuchMethodError: com.rsa.jsafe.CryptoJ.isFIPS140Compliant()Z

  at com.businessobjects.bcm.internal.BcmRsaLib.initialize(BcmRsaLib.java:214)

  at com.businessobjects.bcm.internal.BcmRsaLib.<clinit>(BcmRsaLib.java:289)

  at com.businessobjects.bcm.BCM.<clinit>(BCM.java:1144)

  at com.crystaldecisions.enterprise.ocaframework.BCMInitializer.run(BCMInitializer.java:29)

  at java.lang.Thread.run(Thread.java:619)

Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class com.businessobjects.bcm.BCM

  at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.establishConfidentialChannel(ConfidentialChannelService.java:175)

  at com.crystaldecisions.sdk.occa.security.internal.ConfidentialChannelService.createConfidentialChannel(ConfidentialChannelService.java:145)

  at com.crystaldecisions.sdk.occa.security.internal.CCMap.locateCCItem(CCMap.java:63)

  at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:845)

  at com.crystaldecisions.sdk.occa.security.internal.LogonService.doUserLogon(LogonService.java:805)

  at com.crystaldecisions.sdk.occa.security.internal.LogonService.userLogon(LogonService.java:210)

  at com.crystaldecisions.sdk.occa.security.internal.SecurityMgr.userLogon(SecurityMgr.java:166)

  at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody0(SessionMgr.java:454)

  at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon_aroundBody1$advice(SessionMgr.java:512)

  at com.crystaldecisions.sdk.framework.internal.SessionMgr.logon(SessionMgr.java:1)

  at com.sqli.Utils.Connexion.connexion(Connexion.java:100)

  at com.sqli.UI.ConnexionBOGUI$5.run(ConnexionBOGUI.java:295)

  at java.lang.Thread.run(Thread.java:619)

 

 

There are the jars I use:

 

activation-1.1.jar

activation.jar

antlr.jar

asm-attrs.jar

asm.jar

xpp3.jar

xpp3-1.1.3_8.jar

xpp3_xpath.jar

xpp3_min.jar

xmlsec-1.4.6.jar

xml-apis.jar

xercesImpl.jar

XcelsiusServerSDK.jar

XcelsiusQuery.jar

XcelsiusApp.jar

xalan.jar

webi_proxies.jar

webreporting-jsf.jar

webreporting.jar

wilog.jar

wss4j-1.6.4.jar

wstk_java.jar

VISILUMS_plugins.jar

vsj-standard-3.3.jar

umpjni.jar

SetupWizard_en.jar

SharedObjects.jar

SIA_en.jar

sl_cdp_plugin_en.jar

sl_cdp_plugin.jar

SL_plugins.jar

slproxybridge.jar

SO.webi.adapter.jar

sslj.jar

stax-api-1.0.1.jar

SWFInjection_lang.en.jar

TraceLog.jar

ugv_services.jar

sdk.core.jar

sdk.core.server.common.jar

sdk.core.server.corba.jar

sdk.core.server.jar

sdk.core.session.cms.jar

sdk.core.session.jar

secOraApps.jar

secPSE1.jar

secpsenterprise.jar

secSAPR3.jar

secSiebel7.jar

serialization.jar

repo_proxy_jni.jar

repo_proxy.jar

repoaccess.jar

RepositoryProxyInterface.jar

rom.jar

rpoifs-14.1.jar

sap.com~tc~sec~csi.jar

sapjco3.jar

oda_en.jar

oda-api-services.jar

oda-bicsprovider_en.jar

oda-bicsprovider.jar

oda-bpc.jar

oda-core_en.jar

oda-core.jar

oda-ea.jar

oda-essbase_en.jar

oda-essbase.jar

oda-oracle.jar

oda-pcm.jar

oda-ssas_en.jar

oda-ssas.jar

oda-teradata.jar

oda-tom.jar

oda-xmla-core_en.jar

oda-xmla-core.jar

oda.jar

opensaml-2.5.1-1.jar

org.eclipse.emf.common_2.4.0.v200902171115.jar

org.eclipse.emf.ecore_2.4.2.v200902171115.jar

org.eclipse.emf.ecore.xmi_2.4.1.v200902171115.jar

org.eclipse.equinox.common_3.4.0.v20080421-2006.jar

org.eclipse.equinox.registry_3.4.0.v20080516-0950.jar

org.eclipse.osgi_3.4.3.R34x_v20081215-1030.jar

pdfcollation.jar

pfjgraphics_driver.jar

platformsearchplugins.jar

platformsearchsdk.jar

platformsearchsdkcommon.jar

poi-3.1-FINAL.jar

postprocessing_oca2service.jar

principalFileImport.jar

probe-CR.jar

probe-sdk_en.jar

probe-sdk.jar

probe-WebI.jar

protobuf.jar

pub_common_en.jar

pub_common.jar

pub_document_en.jar

pub_document.jar

pub_processing.jar

publishing_oca2service.jar

pullparser.jar

QueryBuilder.jar

rampart-core-1.6.2.jar

rampart-policy-1.6.2.jar

rampart-trust-1.6.2.jar

ras21proc.jar

rascore.jar

rcpcommon.jar

rcpinterface.jar

RCPLibs.jar

RcpUI.jar

rebean.common.jar

rebean.jar

rebean.wi.adapter.jar

rebean.wi.jar

rebean.wi.model.jar

rebean.wi.server.commands.jar

rebean.wi.server.jar

rebean.wi.server.requests.jar

lcm_en.jar

libsw_en.jar

libsw.jar

log4j-1.2.12.jar

log4j.jar

logging.jar

mail.jar

mda.clients.common.jar

mda.clients.platform.boe.client_plugin.jar

monitoring-plugins_en.jar

monitoring-plugins.jar

monitoring-sdk_en.jar

monitoring-sdk.jar

junit-4.4.jar

keycodeDecoder.jar

dom4j-1.6.1.jar

ds_excel_idl.jar

ds_excel.jar

dsl_desktop_plugin.jar

dsl_engine_lang.en.jar

dsl_sdk_server.jar

dsws-federator.jar

ehcache-1.1.jar

fdb-sql-parser-1.6.6-SNAPSHOT.jar

GenWSDLImports.jar

guice-1.0.jar

hibernate-commons-annotations-4.0.1.Final.jar

hibernate-core-4.0.1.Final.jar

hibernate-jpa-2.0-api-1.0.1.Final.jar

icu4j-3_8_1.jar

icu4j.jar

InitSmartServers_en.jar

javassist-3.15.0-GA.jar

JavaSwfTool.jar

jboss-logging-3.1.0.GA.jar

jboss-transaction-api_1.1_spec-1.0.0.Final.jar

jcsi_license.jar

JDBInterface.jar

jsafe.jar

com.azalea.ufl.barcode.1.0.jar

com.businessobjects.datafederator.sourcedefiner.source.jar

commons_driver_en.jar

commons-beanutils.jar

commons-cli-1.2.jar

commons-codec-1.3.jar

commons-codec-1.4.jar

commons-collections-3.1.jar

commons-collections-3.2.jar

commons-configuration-1.2.jar

commons-digester-1.6.jar

commons-fileupload-1.3.1.jar

commons-httpclient-3.0.1.jar

commons-io-1.1.jar

commons-jxpath-1.2.jar

commons-lang-2.1.jar

commons-lang-2.3.jar

commons-logging-1.0.4.jar

commons-logging.jar

commons-math-1.1.jar

crdataprovider.jar

CRDBJavabeansServer.jar

CRDBJavaServer.jar

CRDBJavaServerCommon.jar

CRDBJDBCServer.jar

CRDBWicServer.jar

CRDBXMLServer.jar

credential.jar

crlov.jar

crlovmanifest.jar

CrystalEnterpriseRepository.jar

CrystalEnterpriseRepositoryService.jar

cs_server.jar

customdsidl.jar

cvom_chart_lib_en.jar

cvom_en.jar

cvom_ui_helpers.jar

asn1.jar

axiom-api-1.2.5.jar

axiom-impl-1.2.5.jar

axis2-kernel-1.3.jar

backport-util-concurrent-2.2.jar

c3p0-0.9.0.jar

cdsframework_common.jar

cdsframework.jar

cdsframeworkutils.jar

cdsuiframework.jar

cdztools_jshell.jar

certj.jar

cesearch.jar

cglib-2.1.3.jar

rebean.fc.jar

cecore.jar

celib.jar

xcelsius.jar

flash.jar

biplugins.jar

boconfig.jar

cdz_cluster_mgmt_types_idl.jar

cdzidl.jar

ceaspect.jar

sforce-api.jar

SIA_fr.jar

sit.jar

sqljdbc.jar

stempel-1.0.jar

struts.jar

swt.jar

tm-extractors-0.4.jar

u211java.jar

URIUtil.jar

woden-1.0-incubating-M7b.jar

wsdl4j-1.6.2.jar

wsdl4j.jar

wss4j-1.5.3.jar

wstx-asl-3.2.1.jar

xbean_xpath.jar

xbean-2.2.0.jar

xbean.jar

XcelsiusSLPlugins.jar

xmlmerger.jar

xmlpublic.jar

XmlSchema-1.3.2.jar

xmlsec-1.4.0.jar

wi_srvadmin.jar

BOLMT.jar

aspectjrt.jar

jtools.jar

biarengine.jar

cesession.jar

corbaidl.jar

ebus405.jar

cereports.jar

ceplugins_core.jar

ceplugins_cr.jar

cesdk.jar

inproc_container.jar

ie_proxies.jar

IEPlugin_idl.jar

i18n4j.jar

GenericContainer_idl.jar

GenericContainer_proxy.jar

dsl_sdk_commands.jar

dsl_sdk_requests.jar

dsl_sdk_services.jar

cvom_chart_lib.jar

cvom.jar

CTPlugin_idl.jar

derby.jar

AdminTools_en.jar

AdminTools.jar

apache-mime4j-core-0.7.2.jar

axiom-api-1.2.13.jar

axiom-dom-1.2.13.jar

axis2-kernel-1.6.2.jar

axis2-transport-http-1.6.2.jar

axis2-transport-local-1.6.2.jar

axiom-dom-1.2.5.jar

axis.jar

axis2-adb-1.3.jar

axis2-adb-codegen-1.3.jar

axis2-ant-plugin-1.3.jar

axis2-clustering-1.3.jar

axis2-codegen-1.3.jar

axis2-fastinfoset-1.3.jar

axis2-java2wsdl-1.3.jar

axis2-jaxbri-1.3.jar

axis2-jaxws-1.3.jar

axis2-jaxws-api-1.3.jar

axis2-jibx-1.3.jar

axis2-json-1.3.jar

axis2-jws-api-1.3.jar

axis2-metadata-1.3.jar

axis2-mtompolicy-1.3.jar

axis2-saaj-1.3.jar

axis2-saaj-api-1.3.jar

axis2-spring-1.3.jar

axis2-xmlbeans-1.3.jar

bcprov-jdk15-132.jar

BIExtensionPoint.jar

biws-langpack-resource_en.jar

biws-langpack-resource_fr.jar

boeserver.jar

businessgraphics.jar

cafinstall.jar

cdz_ext_lifecycle.jar

cdz_ext.jar

cdzextidl.jar

ceplugins_client.jar

ceutils.jar

cfoundation.jar

classes12.jar

clientplugins.jar

com.businessobjects.datafederator.nativeconnection.jar

com.businessobjects.datafederator.sourcedefiner.jar

com.businessobjects.sdk.plugin.desktop.ao.jar

com.sap.js.passport.api.jar

commons_driver.jar

commons-discovery.jar

commons-httpclient-3.0.jar

comparisonengine.jar

Concurrent.jar

crdataprovider_en.jar

crdataprovider_fr.jar

CRDBSForceServer.jar

CRDBWicExternal.jar

CrystalCommon2.jar

CrystalFormulas.jar

CrystalReportingCommon.jar

CrystalReportsSDK.jar

cvom_chart_lib_fr.jar

cvom_fr.jar

data_en.jar

data_fr.jar

data-native.jar

data.jar

dm.jar

dqw.cpb.boe.lcm.jar

dsws-bicatalog.jar

dsws-biplatform.jar

dsws-common-util.jar

dsws-common.jar

dsws-managequeryasaservice-provider.jar

dsws-managequeryasaservice.jar

dsws-publish.jar

dsws-queryservice.jar

dsws-reportengine.jar

dsws-session.jar

EnableSIAServers.jar

fc2fcengine.jar

fc2widengine.jar

federation_en.jar

federation_fr.jar

fedmaster.jar

fedslave.jar

fmtlib_bridge.jar

geographic_driver_en.jar

geographic_driver_fr.jar

geographic_driver.jar

geomaps.jar

geronimo-stax-api_1.0_spec-1.0.1.jar

IJobProcessingSubsystem.jar

InitSmartServers_fr.jar

InitSmartServers.jar

InstallEntSdkWrapper.jar

itext-1.4.5.jar

jaxrpc.jar

jdom-beta8.jar

jide-common.jar

jide-dock.jar

JNITools.jar

json.jar

jsr173_1.0_api.jar

jxl.jar

serializedEditor.jar

setupConfiguration.jar

UpdateXMLSampleReports.jar

verifyrights.jar

log4j-1.2.14.jar

lucene-analyzers-2.1.0.jar

lucene-analyzers-2.3.1.jar

lucene-core-2.1.0.jar

lucene-core-2.3.1.jar

lucene-demos-2.1.0.jar

lucene-demos-2.3.1.jar

lucene-highlighter-2.3.1.jar

lucene-snowball-2.1.0.jar

lucene-snowball-2.3.1.jar

lucene-spellchecker-2.1.0.jar

lucene-spellchecker-2.3.1.jar

MetafileRenderer.jar

neethi-3.0.2.jar

olap_api.jar

PDFBox-0.7.2.jar

pluginhelper.jar

poi-2.5.1-final-20040804.jar

poi-contrib-2.5.1-final-20040804.jar

poi-scratchpad-2.5.1-final-20040804.jar

PostMigrator.jar

procAuthUpdate.jar

procPlatformSearch.jar

procPrincipalFileImport.jar

procReplication.jar

procSecurityQueryExport.jar

pub_common_fr.jar

REDynamicRecipients.jar

ReportPrinter.jar

reporttemplate.jar

ReportViewer.jar

resolver.jar

rpoifs.jar

saaj.jar

procJavaAdapter.jar

datafederator_services.jar

ccis.jar

commons-logging-1.1.jar

ConnectionServer.jar

deploy.jar

dsl_engine.jar

encrypt.jar

freessl201.jar

rasapp.jar

adv_ivcdzview.jar

procWebiPublishing.jar

bcm.jar

certjFIPS.jar

cryptojFIPS.jar

ssljFIPS.jar

 

 

Regards

Hajer

BO4 url.exit not working for timeout

$
0
0

Hi,

  We are launching BO4 launchpad from external application and logout from BO4 needs to be redirected to external application logout url.

There is a property "url.exit" in BILaunchpad.properties file to achieve this.

It works fine for explicit logout click on launchpad but doesn't work when user times out.

On timeout it takes user to default BO4 login page.

 

Anybody have any idea how we can solve this problem?

 

Thanks,

Ajay.

Delete Enterprise alias

$
0
0

I have windows AD configured with BI4.

 

I have windows AD users\groups alias scheduled every 15mins.

 

I also have Enterprise alias script scheduled daily to create a enterprise alias for any AD user created on AD side.

 

so, once the user created on AD and mapped to the BO Group then its AD and Enterprise alias is automatically created in BO.

 

Now the issue is if the AD user is deleted on AD side i still have its Enterprise alias present in BO once its AD alias is removed.

 

Can anyone share a script to delete Enterprise User based on the condition which does not have any AD alise associated.

No exception of type SDKException can be thrown; an exception type must be

$
0
0

Can some one help me out in fixing the exception as below please

 

Scenario:

 

Trying to logon to the BOE Server with SDK

 

Below is the code I used -

 

try {

     iSessionMgr = CrystalEnterprise.getSessionMgr();

     iEnterpriseSession = iSessionMgr.logon(userName, password, cmsName, authentication);

} catch (SDKException sdkException) {

}

 

Error is as below -

 

No exception of type SDKException can be thrown; an exception type must be subclass of Throwable

 

Thanks in advance

 

Michael

BO BI 4.0 java sdk NoClassDefFoundError IException

$
0
0

We are upgrade current system BO XI R2-->BO BI 4.0. Everything is ok in windows environment.

 

After we deploy web app to websphere unix environment, we get java exception:

 

java.lang.NoClassDefFoundError: com/businessobjects/foundation/exception/IException

     at java.lang.ClassLoader.defineClass1(Native Method)

     at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

.............

 

java code like this:

   try{

       ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr(); <---java error (NoClassDefFoundError:IException)

      // Enter your CMS logon info here

       enterpriseSession = sessionMgr.logon(CE_User, CE_Pwd, CE_APS, CE_Auth);

       // Save Session Manage to session

       session.setAttribute("ceSession", enterpriseSession);

       ....

   }catch(SDKException se){

      log.error("Exception:", se);

      .....

  }

 

********************

unix Websphere 6.1.0.35

IBM JDK 1.5.0_26-b03

*************************

jar list:

09/29/2011 09:38 AM 116,039 aspectjrt.jar

09/29/2011 09:38 AM 123,895 bcm.jar

09/29/2011 09:38 AM 724,814 biarengine.jar

09/29/2011 09:38 AM 3,673 ceaspect.jar

09/29/2011 09:38 AM 6,273,791 cecore.jar

09/29/2011 09:38 AM 289,963 celib.jar

09/29/2011 09:38 AM 22,918 ceplugins_core.jar

09/29/2011 09:38 AM 669,318 cereports.jar

09/29/2011 09:38 AM 648,664 certjFIPS.jar

09/29/2011 09:38 AM 71,369 cesearch.jar

09/29/2011 09:38 AM 44,861 cesession.jar

09/29/2011 09:38 AM 3,749 ceutils.jar

09/29/2011 09:38 AM 60,588 clientlogic.jar

09/29/2011 09:38 AM 133,437 coarsegrain.jar

09/29/2011 09:38 AM 1,313,469 corbaidl.jar

09/29/2011 09:38 AM 2,177,493 cryptojFIPS.jar

09/29/2011 09:38 AM 4,602,867 CrystalReportsSDK.jar

09/29/2011 09:38 AM 2,052,529 ebus405.jar

09/29/2011 09:38 AM 104,220 freessl201.jar

09/29/2011 09:38 AM 375,087 jsafe.jar

09/30/2011 11:53 AM 19,923 jstl.jar

09/29/2011 09:38 AM 126,699 logging.jar

09/29/2011 09:38 AM 118,348 ras21sdk.jar

09/29/2011 09:38 AM 43,750 SL_plugins.jar

09/29/2011 09:38 AM 429,588 ssljFIPS.jar

09/29/2011 09:38 AM 570,525 TraceLog.jar

09/29/2011 09:38 AM 32,013 webreporting-jsf.jar

09/29/2011 09:38 AM 1,115,675 webreporting.jar

09/29/2011 09:38 AM 119,804 xpp3.jar

****************

web.xml:

 

<web-app>

<context-param>

<param-name>crystal_image_uri</param-name>

<param-value>crystalreportviewers</param-value>

</context-param>

 

<servlet>

<servlet-name>ReportViewerServlet</servlet-name>

<servlet-class>ReportViewerServlet</servlet-class>--our

code

</servlet>

<servlet>

<servlet-name>CrystalReportViewerServlet</servlet-name>

<servlet-

class>com.crystaldecisions.report.web.viewer.CrystalReportViewerServlet</servlet-class>

</servlet>

 

<servlet-mapping>

<servlet-name>ReportViewerServlet</servlet-name>

<url-pattern>/ReportViewerServlet</url-pattern>

</servlet-mapping>

<servlet-mapping>

<servlet-name>CrystalReportViewerServlet</servlet-name>

<url-pattern>/CrystalReportViewerHandler</url-pattern>

</servlet-mapping>

</web-app>

 

BO XI 3.1 Enterprise Architecture

$
0
0

Hello BO experts,

I need to design a proposed architecture to refresh BO reports from a Java web based application. It is a 5 tier architecture. I am not sure of how each tier/DB interacts with each other. Would really appreciate if someone sends me over a revised diagram with arrows or notes.


Thanks


Crystal Reports print Control slow printing

$
0
0

We are using Edge BI 3.1 SP5 for Crystal reports. When a report is shown on the screen (report is complet) and you click on the print icon
it will last about 24 seconds until the printer dialog is showing up. In most cases the default printer is a network printer.

 

 

SAP support says, that's normal because of the network printer. This is not realy a satisfying answer. Our sales are complaining about the time
it needs until they can print the report..

 

If you configure a lokal printer as a default printer it's faster. Does anybody have a solution for this? I mean if I print on the same printer out of Winword or Excel I don't have to wait.

 

Thank's for any help on this.

 

Roland

JSONObject["ancestors"] is not a JSONArray

$
0
0

I'm using the Crystal Reports 12.1 Java SDK. I receive this exception when a report initially loads and each time I page through the report:

 

com.businessobjects.report.web.json.JSONException: JSONObject["ancestors"] is not a JSONArray.

  at com.businessobjects.report.web.json.JSONObject.getJSONArray(JSONObject.java:456)

  at com.businessobjects.report.web.shared.JSONParameter.getDiscreteValueFromJSON(JSONParameter.java:708)

  at com.businessobjects.report.web.shared.JSONParameter.getValueFromJSON(JSONParameter.java:635)

  at com.businessobjects.report.web.shared.JSONParameter.jsonToFieldValues(JSONParameter.java:592)

  at com.businessobjects.report.web.shared.JSONParameter.getValues(JSONParameter.java:455)

  at com.businessobjects.report.web.shared.JSONParameter.toParameterField(JSONParameter.java:919)

 

I'm wondering if it is because I am handling the report parameter screen myself rather than having the viewer prompt the user to enter parameters. The user fills out a custom parameter screen and the parameters are sent back to the server and injected into the viewer using the setParameterFields() method. The report runs fine, I'm just concerned about these exceptions that are being thrown.  I don't see the exceptions when running a report that does not require parameters.

 

If anybody has seen this before please let me know. Thanks.

BO4 url.exit not working for timeout

$
0
0

Hi,

  We are launching BO4 launchpad from external application and logout from BO4 needs to be redirected to external application logout url.

There is a property "url.exit" in BILaunchpad.properties file to achieve this.

It works fine for explicit logout click on launchpad but doesn't work when user times out.

On timeout it takes user to default BO4 login page.

 

Anybody have any idea how we can solve this problem?

 

Thanks,

Ajay.

Converting VBA code to Java with equivalent APIs

$
0
0

Hi,

I have the following code that is in VBA that I would like to convert to Java with equivalent APIs.  What I mean is I want the program in Java to behave the same as that of the program in VBA code.  What it does is:

1) Open a document.

2) Add a filter variable - this is for sectioning.

3) Add a complex filter - this is to pull the content that belongs to the filtering (i.e employee Id).

4) Save the content to a file based on the filtering value and format.

I have been searching for in this forum to see any APIs that can do the same in Java, but I could not find anything.  Currently the VBA code processes Deski doucment and I want to do the same and Webi in Java.  Please help.  Thanks!  Code snippet in VBA enclosed below:

 

    Set myFilterVar = mydoc.DocumentVariables(in_filter_var)

    Set myFilterVarValueName = mydoc.DocumentVariables.Add("Value", "Filter_Value")

   

    If myFilterVar.ValueCount > 0 Then

        intNumChoices = UBound(myFilterVar.Values(boUniqueValues))

        'collect the number of choices in a variant variable

        myFilterChoices = myFilterVar.Values(boUniqueValues)

     

        For i = 1 To intNumChoices

   'Get the variable value

   strNextValue = Replace(myFilterChoices(i), "'", "")

       

   For j = 1 To TabCount

    Set myrpt = mydoc.Reports(j)

    'build filter

    If IsNumeric(myFilterChoices(i)) Then

     myrpt.AddComplexFilter myFilterVar, "=<" & myFilterVar.Name & "> = ToNumber(<" & myFilterVarValueName.Name & ">)"

    Else

     myrpt.AddComplexFilter myFilterVar, "=<" & myFilterVar.Name & "> = " & """" & strNextValue & """"

    End If

   

    myFilterVarValueName.Formula = strNextValue

    'recompute the report

    myrpt.ForceCompute

   Next j

           

   'now export to desired format, using the filter value as part of the name

   If g_report_file_type_id = pdf Then

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".pdf")

   ElseIf g_report_file_type_id = xls Then

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".xls")

   ElseIf g_report_file_type_id = both Then

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".pdf")

    mydoc.SaveAs (lDir & mydoc.Name & "-" & strNextValue & ".xls")

   End If       

        Next i

    End If

Unable to open a document using api - Error: RWI 00014

$
0
0

Hi Guys,

I am attempting to schedule  a report using the java apis.

Have reached a point where I am able to create a "ReportEngine" instance.

However when I try to create a DocumentInstance using the code :


DocumentInstance documentInstance = reportEngine.openDocument(1234)


I get an exception -

com.businessobjects.sdk.core.exception.common.AssertException: An unexpected error has occurred. (Error: RWI 00014)

Cause - java.lang.NoSuchFieldError: PVL


which means

Cause

You cannot retrieve more than one report part in DHTML output format simultaneously.

Action

Enter a single report part reference.

 

Not sure how to resove this.


Version

SAP BusinessObjects BI Platform 4.2 Support Pack 2

 

 

Thanks

Viewing all 1701 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>